UNPKG

893 BJavaScriptView Raw
1/*!
2 * numeral.js language configuration
3 * language : Estonian
4 * author : Illimar Tambek : https://github.com/ragulka
5 *
6 * Note: in Estonian, abbreviations are always separated
7 * from numbers with a space
8 */
9(function () {
10 var language = {
11 delimiters: {
12 thousands: ' ',
13 decimal: ','
14 },
15 abbreviations: {
16 thousand: ' tuh',
17 million: ' mln',
18 billion: ' mld',
19 trillion: ' trl'
20 },
21 ordinal: function (number) {
22 return '.';
23 },
24 currency: {
25 symbol: '€'
26 }
27 };
28
29 // Node
30 if (typeof module !== 'undefined' && module.exports) {
31 module.exports = language;
32 }
33 // Browser
34 if (typeof window !== 'undefined' && this.numeral && this.numeral.language) {
35 this.numeral.language('et', language);
36 }
37}());