1
0
Fork 0
arangodb/js/node/node_modules/numeral/languages/ru-UA.js

36 lines
988 B
JavaScript

// numeral.js language configuration
// language : Russian for the Ukraine (ru-UA)
// author : Anatoli Papirovski : https://github.com/apapirovski
(function () {
var language = {
delimiters: {
thousands: ' ',
decimal: ','
},
abbreviations: {
thousand: 'тыс.',
million: 'млн',
billion: 'b',
trillion: 't'
},
ordinal: function () {
// not ideal, but since in Russian 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('ru-UA', language);
}
}());