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

41 lines
1.3 KiB
JavaScript

// numeral.js locale configuration
// locale : Bulgarian
// author : Don Vince : https://github.com/donvince/
(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', 'bg', {
delimiters: {
thousands: ' ',
decimal: ','
},
abbreviations: { // I found these here http://www.unicode.org/cldr/charts/28/verify/numbers/bg.html
thousand: 'хил',
million: 'млн',
billion: 'млрд',
trillion: 'трлн'
},
ordinal: function (number) {
// google translate suggests:
// 1st=1-ви; 2nd=2-ри; 7th=7-ми;
// 8th=8-ми and many others end with -ти
// for example 3rd=3-ти
// However since I've seen suggestions that in
// Bulgarian the ordinal can be taken in
// different forms (masculine, feminine, neuter)
// I've opted to wimp out on commiting that to code
return '';
},
currency: {
symbol: 'лв'
}
});
}));