et-EE.js 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /*!
  2. * numbro.js language configuration
  3. * language : Estonian
  4. * locale: Estonia
  5. * author : Illimar Tambek : https://github.com/ragulka
  6. *
  7. * Note: in Estonian, abbreviations are always separated
  8. * from numbers with a space
  9. */
  10. (function () {
  11. 'use strict';
  12. var language = {
  13. langLocaleCode: 'et-EE',
  14. cultureCode: 'et-EE',
  15. delimiters: {
  16. thousands: ' ',
  17. decimal: ','
  18. },
  19. abbreviations: {
  20. thousand: ' tuh',
  21. million: ' mln',
  22. billion: ' mld',
  23. trillion: ' trl'
  24. },
  25. ordinal: function () {
  26. return '.';
  27. },
  28. currency: {
  29. symbol: '€',
  30. position: 'postfix'
  31. },
  32. defaults: {
  33. currencyFormat: ',4 a'
  34. },
  35. formats: {
  36. fourDigits: '4 a',
  37. fullWithTwoDecimals: ',0.00 $',
  38. fullWithTwoDecimalsNoCurrency: ',0.00',
  39. fullWithNoDecimals: ',0 $'
  40. }
  41. };
  42. // CommonJS
  43. if (typeof module !== 'undefined' && module.exports) {
  44. module.exports = language;
  45. }
  46. // Browser
  47. if (typeof window !== 'undefined' && window.numbro && window.numbro.culture) {
  48. window.numbro.culture(language.cultureCode, language);
  49. }
  50. }.call(typeof window === 'undefined' ? this : window));