locale.py 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. from __future__ import annotations
  2. from pendulum.locales.zh.custom import translations as custom_translations
  3. """
  4. zh locale file.
  5. It has been generated automatically and must not be modified directly.
  6. """
  7. locale = {
  8. "plural": lambda n: "other",
  9. "ordinal": lambda n: "other",
  10. "translations": {
  11. "days": {
  12. "abbreviated": {
  13. 0: "周一",
  14. 1: "周二",
  15. 2: "周三",
  16. 3: "周四",
  17. 4: "周五",
  18. 5: "周六",
  19. 6: "周日",
  20. },
  21. "narrow": {0: "一", 1: "二", 2: "三", 3: "四", 4: "五", 5: "六", 6: "日"},
  22. "short": {0: "周一", 1: "周二", 2: "周三", 3: "周四", 4: "周五", 5: "周六", 6: "周日"},
  23. "wide": {
  24. 0: "星期一",
  25. 1: "星期二",
  26. 2: "星期三",
  27. 3: "星期四",
  28. 4: "星期五",
  29. 5: "星期六",
  30. 6: "星期日",
  31. },
  32. },
  33. "months": {
  34. "abbreviated": {
  35. 1: "1月",
  36. 2: "2月",
  37. 3: "3月",
  38. 4: "4月",
  39. 5: "5月",
  40. 6: "6月",
  41. 7: "7月",
  42. 8: "8月",
  43. 9: "9月",
  44. 10: "10月",
  45. 11: "11月",
  46. 12: "12月",
  47. },
  48. "narrow": {
  49. 1: "1",
  50. 2: "2",
  51. 3: "3",
  52. 4: "4",
  53. 5: "5",
  54. 6: "6",
  55. 7: "7",
  56. 8: "8",
  57. 9: "9",
  58. 10: "10",
  59. 11: "11",
  60. 12: "12",
  61. },
  62. "wide": {
  63. 1: "一月",
  64. 2: "二月",
  65. 3: "三月",
  66. 4: "四月",
  67. 5: "五月",
  68. 6: "六月",
  69. 7: "七月",
  70. 8: "八月",
  71. 9: "九月",
  72. 10: "十月",
  73. 11: "十一月",
  74. 12: "十二月",
  75. },
  76. },
  77. "units": {
  78. "year": {"other": "{0}年"},
  79. "month": {"other": "{0}个月"},
  80. "week": {"other": "{0}周"},
  81. "day": {"other": "{0}天"},
  82. "hour": {"other": "{0}小时"},
  83. "minute": {"other": "{0}分钟"},
  84. "second": {"other": "{0}秒钟"},
  85. "microsecond": {"other": "{0}微秒"},
  86. },
  87. "relative": {
  88. "year": {"future": {"other": "{0}年后"}, "past": {"other": "{0}年前"}},
  89. "month": {"future": {"other": "{0}个月后"}, "past": {"other": "{0}个月前"}},
  90. "week": {"future": {"other": "{0}周后"}, "past": {"other": "{0}周前"}},
  91. "day": {"future": {"other": "{0}天后"}, "past": {"other": "{0}天前"}},
  92. "hour": {"future": {"other": "{0}小时后"}, "past": {"other": "{0}小时前"}},
  93. "minute": {"future": {"other": "{0}分钟后"}, "past": {"other": "{0}分钟前"}},
  94. "second": {"future": {"other": "{0}秒钟后"}, "past": {"other": "{0}秒钟前"}},
  95. },
  96. "day_periods": {
  97. "midnight": "午夜",
  98. "am": "上午",
  99. "pm": "下午",
  100. "morning1": "清晨",
  101. "morning2": "上午",
  102. "afternoon1": "下午",
  103. "afternoon2": "下午",
  104. "evening1": "晚上",
  105. "night1": "凌晨",
  106. },
  107. "week_data": {
  108. "min_days": 1,
  109. "first_day": 0,
  110. "weekend_start": 5,
  111. "weekend_end": 6,
  112. },
  113. },
  114. "custom": custom_translations,
  115. }