he-IL.js 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /*!
  2. * numbro.js language configuration
  3. * language : Hebrew
  4. * locale : IL
  5. * author : Eli Zehavi : https://github.com/eli-zehavi
  6. */
  7. (function () {
  8. 'use strict';
  9. var language = {
  10. langLocaleCode: 'he-IL',
  11. cultureCode: 'he-IL',
  12. delimiters: {
  13. thousands: ',',
  14. decimal: '.'
  15. },
  16. abbreviations: {
  17. thousand: 'אלף',
  18. million: 'מליון',
  19. billion: 'בליון',
  20. trillion: 'טריליון'
  21. },
  22. currency: {
  23. symbol: '₪',
  24. position: 'prefix'
  25. },
  26. defaults: {
  27. currencyFormat: ',4 a'
  28. },
  29. formats: {
  30. fourDigits: '4 a',
  31. fullWithTwoDecimals: '₪ ,0.00',
  32. fullWithTwoDecimalsNoCurrency: ',0.00',
  33. fullWithNoDecimals: '₪ ,0'
  34. }
  35. };
  36. // CommonJS
  37. if (typeof module !== 'undefined' && module.exports) {
  38. module.exports = language;
  39. }
  40. // Browser
  41. if (typeof window !== 'undefined' && window.numbro && window.numbro.culture) {
  42. window.numbro.culture(language.cultureCode, language);
  43. }
  44. }.call(typeof window === 'undefined' ? this : window));