Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
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.

fr.js 3.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. //! moment.js locale configuration
  2. //! locale : French [fr]
  3. //! author : John Fischer : https://github.com/jfroffice
  4. import moment from '../moment';
  5. var monthsStrictRegex = /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,
  6. monthsShortStrictRegex = /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,
  7. monthsRegex = /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,
  8. monthsParse = [
  9. /^janv/i,
  10. /^févr/i,
  11. /^mars/i,
  12. /^avr/i,
  13. /^mai/i,
  14. /^juin/i,
  15. /^juil/i,
  16. /^août/i,
  17. /^sept/i,
  18. /^oct/i,
  19. /^nov/i,
  20. /^déc/i,
  21. ];
  22. export default moment.defineLocale('fr', {
  23. months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(
  24. '_'
  25. ),
  26. monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(
  27. '_'
  28. ),
  29. monthsRegex: monthsRegex,
  30. monthsShortRegex: monthsRegex,
  31. monthsStrictRegex: monthsStrictRegex,
  32. monthsShortStrictRegex: monthsShortStrictRegex,
  33. monthsParse: monthsParse,
  34. longMonthsParse: monthsParse,
  35. shortMonthsParse: monthsParse,
  36. weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
  37. weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
  38. weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
  39. weekdaysParseExact: true,
  40. longDateFormat: {
  41. LT: 'HH:mm',
  42. LTS: 'HH:mm:ss',
  43. L: 'DD/MM/YYYY',
  44. LL: 'D MMMM YYYY',
  45. LLL: 'D MMMM YYYY HH:mm',
  46. LLLL: 'dddd D MMMM YYYY HH:mm',
  47. },
  48. calendar: {
  49. sameDay: '[Aujourd’hui à] LT',
  50. nextDay: '[Demain à] LT',
  51. nextWeek: 'dddd [à] LT',
  52. lastDay: '[Hier à] LT',
  53. lastWeek: 'dddd [dernier à] LT',
  54. sameElse: 'L',
  55. },
  56. relativeTime: {
  57. future: 'dans %s',
  58. past: 'il y a %s',
  59. s: 'quelques secondes',
  60. ss: '%d secondes',
  61. m: 'une minute',
  62. mm: '%d minutes',
  63. h: 'une heure',
  64. hh: '%d heures',
  65. d: 'un jour',
  66. dd: '%d jours',
  67. w: 'une semaine',
  68. ww: '%d semaines',
  69. M: 'un mois',
  70. MM: '%d mois',
  71. y: 'un an',
  72. yy: '%d ans',
  73. },
  74. dayOfMonthOrdinalParse: /\d{1,2}(er|)/,
  75. ordinal: function (number, period) {
  76. switch (period) {
  77. // TODO: Return 'e' when day of month > 1. Move this case inside
  78. // block for masculine words below.
  79. // See https://github.com/moment/moment/issues/3375
  80. case 'D':
  81. return number + (number === 1 ? 'er' : '');
  82. // Words with masculine grammatical gender: mois, trimestre, jour
  83. default:
  84. case 'M':
  85. case 'Q':
  86. case 'DDD':
  87. case 'd':
  88. return number + (number === 1 ? 'er' : 'e');
  89. // Words with feminine grammatical gender: semaine
  90. case 'w':
  91. case 'W':
  92. return number + (number === 1 ? 're' : 'e');
  93. }
  94. },
  95. week: {
  96. dow: 1, // Monday is the first day of the week.
  97. doy: 4, // The week that contains Jan 4th is the first week of the year.
  98. },
  99. });