Icard/angular-clarity-master(work.../node_modules/numeral/locales/uk-ua.js

36 lines
1.0 KiB
JavaScript

// numeral.js locale configuration
// locale : Ukrainian for the Ukraine (uk-ua)
// author : Michael Piefel : https://github.com/piefel (with help from Tetyana Kuzmenko)
(function (global, factory) {
if (typeof define === 'function' && define.amd) {
define(['../numeral'], factory);
} else if (typeof module === 'object' && module.exports) {
factory(require('../numeral'));
} else {
factory(global.numeral);
}
}(this, function (numeral) {
numeral.register('locale', 'uk-ua', {
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'
}
});
}));