1 | // numeral.js language configuration
|
2 | // language : Ukrainian for the Ukraine (uk-UA)
|
3 | // author : Michael Piefel : https://github.com/piefel (with help from Tetyana Kuzmenko)
|
4 | (function () {
|
5 | var language = {
|
6 | delimiters: {
|
7 | thousands: ' ',
|
8 | decimal: ','
|
9 | },
|
10 | abbreviations: {
|
11 | thousand: 'тис.',
|
12 | million: 'млн',
|
13 | billion: 'млрд',
|
14 | trillion: 'блн'
|
15 | },
|
16 | ordinal: function () {
|
17 | // not ideal, but since in Ukrainian it can taken on
|
18 | // different forms (masculine, feminine, neuter)
|
19 | // this is all we can do
|
20 | return '';
|
21 | },
|
22 | currency: {
|
23 | symbol: '\u20B4'
|
24 | }
|
25 | };
|
26 |
|
27 | // Node
|
28 | if (typeof module !== 'undefined' && module.exports) {
|
29 | module.exports = language;
|
30 | }
|
31 | // Browser
|
32 | if (typeof window !== 'undefined' && this.numeral && this.numeral.language) {
|
33 | this.numeral.language('uk-UA', language);
|
34 | }
|
35 | }());
|