33 lines
845 B
JavaScript
33 lines
845 B
JavaScript
// numeral.js locale configuration
|
|
// locale : polish (pl)
|
|
// author : Dominik Bulaj : https://github.com/dominikbulaj
|
|
|
|
(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', 'pl', {
|
|
delimiters: {
|
|
thousands: ' ',
|
|
decimal: ','
|
|
},
|
|
abbreviations: {
|
|
thousand: 'tys.',
|
|
million: 'mln',
|
|
billion: 'mld',
|
|
trillion: 'bln'
|
|
},
|
|
ordinal: function (number) {
|
|
return '.';
|
|
},
|
|
currency: {
|
|
symbol: 'PLN'
|
|
}
|
|
});
|
|
}));
|