Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

eo.js 2.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. //! moment.js locale configuration
  2. //! locale : Esperanto [eo]
  3. //! author : Colin Dean : https://github.com/colindean
  4. //! author : Mia Nordentoft Imperatori : https://github.com/miestasmia
  5. //! comment : miestasmia corrected the translation by colindean
  6. import moment from '../moment';
  7. export default moment.defineLocale('eo', {
  8. months : 'januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro'.split('_'),
  9. monthsShort : 'jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec'.split('_'),
  10. weekdays : 'dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato'.split('_'),
  11. weekdaysShort : 'dim_lun_mard_merk_ĵaŭ_ven_sab'.split('_'),
  12. weekdaysMin : 'di_lu_ma_me_ĵa_ve_sa'.split('_'),
  13. longDateFormat : {
  14. LT : 'HH:mm',
  15. LTS : 'HH:mm:ss',
  16. L : 'YYYY-MM-DD',
  17. LL : 'D[-a de] MMMM, YYYY',
  18. LLL : 'D[-a de] MMMM, YYYY HH:mm',
  19. LLLL : 'dddd, [la] D[-a de] MMMM, YYYY HH:mm'
  20. },
  21. meridiemParse: /[ap]\.t\.m/i,
  22. isPM: function (input) {
  23. return input.charAt(0).toLowerCase() === 'p';
  24. },
  25. meridiem : function (hours, minutes, isLower) {
  26. if (hours > 11) {
  27. return isLower ? 'p.t.m.' : 'P.T.M.';
  28. } else {
  29. return isLower ? 'a.t.m.' : 'A.T.M.';
  30. }
  31. },
  32. calendar : {
  33. sameDay : '[Hodiaŭ je] LT',
  34. nextDay : '[Morgaŭ je] LT',
  35. nextWeek : 'dddd [je] LT',
  36. lastDay : '[Hieraŭ je] LT',
  37. lastWeek : '[pasinta] dddd [je] LT',
  38. sameElse : 'L'
  39. },
  40. relativeTime : {
  41. future : 'post %s',
  42. past : 'antaŭ %s',
  43. s : 'sekundoj',
  44. ss : '%d sekundoj',
  45. m : 'minuto',
  46. mm : '%d minutoj',
  47. h : 'horo',
  48. hh : '%d horoj',
  49. d : 'tago',//ne 'diurno', ĉar estas uzita por proksimumo
  50. dd : '%d tagoj',
  51. M : 'monato',
  52. MM : '%d monatoj',
  53. y : 'jaro',
  54. yy : '%d jaroj'
  55. },
  56. dayOfMonthOrdinalParse: /\d{1,2}a/,
  57. ordinal : '%da',
  58. week : {
  59. dow : 1, // Monday is the first day of the week.
  60. doy : 7 // The week that contains Jan 7th is the first week of the year.
  61. }
  62. });