locale.py 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. from __future__ import annotations
  2. from pendulum.locales.fr.custom import translations as custom_translations
  3. """
  4. fr locale file.
  5. It has been generated automatically and must not be modified directly.
  6. """
  7. locale = {
  8. "plural": lambda n: "one" if (n == n and ((n == 0) or (n == 1))) else "other",
  9. "ordinal": lambda n: "one" if (n == n and (n == 1)) else "other",
  10. "translations": {
  11. "days": {
  12. "abbreviated": {
  13. 0: "lun.",
  14. 1: "mar.",
  15. 2: "mer.",
  16. 3: "jeu.",
  17. 4: "ven.",
  18. 5: "sam.",
  19. 6: "dim.",
  20. },
  21. "narrow": {0: "L", 1: "M", 2: "M", 3: "J", 4: "V", 5: "S", 6: "D"},
  22. "short": {0: "lu", 1: "ma", 2: "me", 3: "je", 4: "ve", 5: "sa", 6: "di"},
  23. "wide": {
  24. 0: "lundi",
  25. 1: "mardi",
  26. 2: "mercredi",
  27. 3: "jeudi",
  28. 4: "vendredi",
  29. 5: "samedi",
  30. 6: "dimanche",
  31. },
  32. },
  33. "months": {
  34. "abbreviated": {
  35. 1: "janv.",
  36. 2: "févr.",
  37. 3: "mars",
  38. 4: "avr.",
  39. 5: "mai",
  40. 6: "juin",
  41. 7: "juil.",
  42. 8: "août",
  43. 9: "sept.",
  44. 10: "oct.",
  45. 11: "nov.",
  46. 12: "déc.",
  47. },
  48. "narrow": {
  49. 1: "J",
  50. 2: "F",
  51. 3: "M",
  52. 4: "A",
  53. 5: "M",
  54. 6: "J",
  55. 7: "J",
  56. 8: "A",
  57. 9: "S",
  58. 10: "O",
  59. 11: "N",
  60. 12: "D",
  61. },
  62. "wide": {
  63. 1: "janvier",
  64. 2: "février",
  65. 3: "mars",
  66. 4: "avril",
  67. 5: "mai",
  68. 6: "juin",
  69. 7: "juillet",
  70. 8: "août",
  71. 9: "septembre",
  72. 10: "octobre",
  73. 11: "novembre",
  74. 12: "décembre",
  75. },
  76. },
  77. "units": {
  78. "year": {"one": "{0} an", "other": "{0} ans"},
  79. "month": {"one": "{0} mois", "other": "{0} mois"},
  80. "week": {"one": "{0} semaine", "other": "{0} semaines"},
  81. "day": {"one": "{0} jour", "other": "{0} jours"},
  82. "hour": {"one": "{0} heure", "other": "{0} heures"},
  83. "minute": {"one": "{0} minute", "other": "{0} minutes"},
  84. "second": {"one": "{0} seconde", "other": "{0} secondes"},
  85. "microsecond": {"one": "{0} microseconde", "other": "{0} microsecondes"},
  86. },
  87. "relative": {
  88. "year": {
  89. "future": {"other": "dans {0} ans", "one": "dans {0} an"},
  90. "past": {"other": "il y a {0} ans", "one": "il y a {0} an"},
  91. },
  92. "month": {
  93. "future": {"other": "dans {0} mois", "one": "dans {0} mois"},
  94. "past": {"other": "il y a {0} mois", "one": "il y a {0} mois"},
  95. },
  96. "week": {
  97. "future": {"other": "dans {0} semaines", "one": "dans {0} semaine"},
  98. "past": {"other": "il y a {0} semaines", "one": "il y a {0} semaine"},
  99. },
  100. "day": {
  101. "future": {"other": "dans {0} jours", "one": "dans {0} jour"},
  102. "past": {"other": "il y a {0} jours", "one": "il y a {0} jour"},
  103. },
  104. "hour": {
  105. "future": {"other": "dans {0} heures", "one": "dans {0} heure"},
  106. "past": {"other": "il y a {0} heures", "one": "il y a {0} heure"},
  107. },
  108. "minute": {
  109. "future": {"other": "dans {0} minutes", "one": "dans {0} minute"},
  110. "past": {"other": "il y a {0} minutes", "one": "il y a {0} minute"},
  111. },
  112. "second": {
  113. "future": {"other": "dans {0} secondes", "one": "dans {0} seconde"},
  114. "past": {"other": "il y a {0} secondes", "one": "il y a {0} seconde"},
  115. },
  116. },
  117. "day_periods": {
  118. "midnight": "minuit",
  119. "am": "AM",
  120. "noon": "midi",
  121. "pm": "PM",
  122. "morning1": "du matin",
  123. "afternoon1": "de l’après-midi",
  124. "evening1": "du soir",
  125. "night1": "de nuit",
  126. },
  127. "week_data": {
  128. "min_days": 1,
  129. "first_day": 0,
  130. "weekend_start": 5,
  131. "weekend_end": 6,
  132. },
  133. },
  134. "custom": custom_translations,
  135. }