de-DE.js 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /*!
  2. * numbro.js language configuration
  3. * language : German
  4. * locale: Germany
  5. * author : Marco Krage : https://github.com/sinky
  6. *
  7. * Generally useful in Germany, Austria, Luxembourg, Belgium
  8. */
  9. (function () {
  10. 'use strict';
  11. var language = {
  12. langLocaleCode: 'de-DE',
  13. cultureCode: 'de-DE',
  14. delimiters: {
  15. thousands: '.',
  16. decimal: ','
  17. },
  18. abbreviations: {
  19. thousand: 'k',
  20. million: 'm',
  21. billion: 'b',
  22. trillion: 't'
  23. },
  24. ordinal: function () {
  25. return '.';
  26. },
  27. currency: {
  28. symbol: '€',
  29. position: 'postfix',
  30. spaceSeparated: true
  31. },
  32. defaults: {
  33. currencyFormat: ',4'
  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));