lv-LV.js 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /*!
  2. * numbro.js language configuration
  3. * language : Latvian
  4. * locale: Latvia
  5. * author : Lauris Bukšis-Haberkorns : https://github.com/Lafriks
  6. */
  7. (function () {
  8. 'use strict';
  9. var language = {
  10. langLocaleCode: 'lv-LV',
  11. cultureCode: 'lv-LV',
  12. delimiters: {
  13. thousands: ' ',
  14. decimal: ','
  15. },
  16. abbreviations: {
  17. thousand: ' tūkst.',
  18. million: ' milj.',
  19. billion: ' mljrd.',
  20. trillion: ' trilj.'
  21. },
  22. ordinal: function () {
  23. return '.';
  24. },
  25. currency: {
  26. symbol: '€',
  27. position: 'postfix'
  28. },
  29. defaults: {
  30. currencyFormat: ',4 a'
  31. },
  32. formats: {
  33. fourDigits: '4 a',
  34. fullWithTwoDecimals: ',0.00 $',
  35. fullWithTwoDecimalsNoCurrency: ',0.00',
  36. fullWithNoDecimals: ',0 $'
  37. }
  38. };
  39. // CommonJS
  40. if (typeof module !== 'undefined' && module.exports) {
  41. module.exports = language;
  42. }
  43. // Browser
  44. if (typeof window !== 'undefined' && window.numbro && window.numbro.culture) {
  45. window.numbro.culture(language.cultureCode, language);
  46. }
  47. }.call(typeof window === 'undefined' ? this : window));