mirror of https://gitee.com/bigwinds/arangodb
36 lines
1.0 KiB
JavaScript
36 lines
1.0 KiB
JavaScript
// numeral.js language configuration
|
|
// language : Ukrainian for the Ukraine (uk-UA)
|
|
// author : Michael Piefel : https://github.com/piefel (with help from Tetyana Kuzmenko)
|
|
(function () {
|
|
var language = {
|
|
delimiters: {
|
|
thousands: ' ',
|
|
decimal: ','
|
|
},
|
|
abbreviations: {
|
|
thousand: 'тис.',
|
|
million: 'млн',
|
|
billion: 'млрд',
|
|
trillion: 'блн'
|
|
},
|
|
ordinal: function () {
|
|
// not ideal, but since in Ukrainian it can taken on
|
|
// different forms (masculine, feminine, neuter)
|
|
// this is all we can do
|
|
return '';
|
|
},
|
|
currency: {
|
|
symbol: '\u20B4'
|
|
}
|
|
};
|
|
|
|
// Node
|
|
if (typeof module !== 'undefined' && module.exports) {
|
|
module.exports = language;
|
|
}
|
|
// Browser
|
|
if (typeof window !== 'undefined' && this.numeral && this.numeral.language) {
|
|
this.numeral.language('uk-UA', language);
|
|
}
|
|
}());
|