@quantlab/handsontable
Version:
Spreadsheet-like data grid editor that provides copy/paste functionality compatible with Excel/Google Docs
48 lines (44 loc) • 1.26 kB
JavaScript
/*!
* numbro.js language configuration
* language : Hebrew
* locale : IL
* author : Eli Zehavi : https://github.com/eli-zehavi
*/
(function () {
'use strict';
var language = {
langLocaleCode: 'he-IL',
cultureCode: 'he-IL',
delimiters: {
thousands: ',',
decimal: '.'
},
abbreviations: {
thousand: 'אלף',
million: 'מליון',
billion: 'בליון',
trillion: 'טריליון'
},
currency: {
symbol: '₪',
position: 'prefix'
},
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));