@quantlab/handsontable
Version:
Spreadsheet-like data grid editor that provides copy/paste functionality compatible with Excel/Google Docs
50 lines (47 loc) • 1.31 kB
JavaScript
/*!
* numbro.js language configuration
* language : Polish
* locale : Poland
* author : Dominik Bulaj : https://github.com/dominikbulaj
*/
(function () {
'use strict';
var language = {
langLocaleCode: 'pl-PL',
cultureCode: 'pl-PL',
delimiters: {
thousands: ' ',
decimal: ','
},
abbreviations: {
thousand: 'tys.',
million: 'mln',
billion: 'mld',
trillion: 'bln'
},
ordinal: function () {
return '.';
},
currency: {
symbol: ' zł',
position: 'postfix'
},
defaults: {
currencyFormat: ',4 a'
},
formats: {
fourDigits: '4 a',
fullWithTwoDecimals: ',0.00 $',
fullWithTwoDecimalsNoCurrency: ',0.00',
fullWithNoDecimals: ',0 $'
}
};
// CommonJS
if (typeof module !== 'undefined' && module.exports) {
module.exports = language;
}
// Browser
if (typeof window !== 'undefined' && window.numbro && window.numbro.culture) {
window.numbro.culture(language.cultureCode, language);
}
}.call(typeof window === 'undefined' ? this : window));