rails-i18n 5.1.3 → 7.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (139) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +129 -3
  3. data/README.md +96 -24
  4. data/lib/rails_i18n/common_pluralizations/east_slavic.rb +1 -1
  5. data/lib/rails_i18n/common_pluralizations/serbian.rb +32 -0
  6. data/lib/rails_i18n/railtie.rb +3 -0
  7. data/lib/rails_i18n.rb +0 -1
  8. data/rails/locale/af.yml +21 -21
  9. data/rails/locale/ar.yml +59 -59
  10. data/rails/locale/az.yml +19 -19
  11. data/rails/locale/be.yml +43 -43
  12. data/rails/locale/bg.yml +14 -14
  13. data/rails/locale/bn.yml +24 -24
  14. data/rails/locale/bs.yml +38 -38
  15. data/rails/locale/ca.yml +46 -22
  16. data/rails/locale/cs.yml +19 -19
  17. data/rails/locale/cy.yml +29 -29
  18. data/rails/locale/da.yml +43 -29
  19. data/rails/locale/de-AT.yml +17 -17
  20. data/rails/locale/de-CH.yml +17 -17
  21. data/rails/locale/de-DE.yml +17 -17
  22. data/rails/locale/de.yml +17 -17
  23. data/rails/locale/el-CY.yml +46 -33
  24. data/rails/locale/el.yml +48 -35
  25. data/rails/locale/en-AU.yml +22 -22
  26. data/rails/locale/en-CA.yml +23 -23
  27. data/rails/locale/en-CY.yml +22 -22
  28. data/rails/locale/en-GB.yml +22 -22
  29. data/rails/locale/en-IE.yml +22 -22
  30. data/rails/locale/en-IN.yml +25 -25
  31. data/rails/locale/en-NZ.yml +22 -22
  32. data/rails/locale/en-TT.yml +213 -0
  33. data/rails/locale/en-US.yml +22 -22
  34. data/rails/locale/en-ZA.yml +25 -25
  35. data/rails/locale/en.yml +25 -25
  36. data/rails/locale/eo.yml +16 -16
  37. data/rails/locale/es-419.yml +22 -21
  38. data/rails/locale/es-AR.yml +21 -21
  39. data/rails/locale/es-CL.yml +21 -21
  40. data/rails/locale/es-CO.yml +27 -27
  41. data/rails/locale/es-CR.yml +20 -20
  42. data/rails/locale/es-EC.yml +22 -21
  43. data/rails/locale/es-ES.yml +27 -27
  44. data/rails/locale/es-MX.yml +20 -20
  45. data/rails/locale/es-NI.yml +23 -23
  46. data/rails/locale/es-PA.yml +29 -27
  47. data/rails/locale/es-PE.yml +21 -21
  48. data/rails/locale/es-US.yml +20 -20
  49. data/rails/locale/es-VE.yml +20 -20
  50. data/rails/locale/es.yml +27 -27
  51. data/rails/locale/et.yml +19 -19
  52. data/rails/locale/eu.yml +23 -23
  53. data/rails/locale/fa.yml +22 -21
  54. data/rails/locale/fi.yml +24 -24
  55. data/rails/locale/fr-CA.yml +27 -25
  56. data/rails/locale/fr-CH.yml +25 -23
  57. data/rails/locale/fr-FR.yml +25 -23
  58. data/rails/locale/fr.yml +38 -36
  59. data/rails/locale/gl.yml +16 -16
  60. data/rails/locale/he.yml +16 -16
  61. data/rails/locale/hi-IN.yml +17 -17
  62. data/rails/locale/hi.yml +17 -17
  63. data/rails/locale/hr.yml +39 -30
  64. data/rails/locale/hu.yml +14 -14
  65. data/rails/locale/id.yml +22 -21
  66. data/rails/locale/is.yml +16 -16
  67. data/rails/locale/it-CH.yml +28 -15
  68. data/rails/locale/it.yml +21 -18
  69. data/rails/locale/ja.yml +23 -23
  70. data/rails/locale/ka.yml +19 -20
  71. data/rails/locale/km.yml +16 -16
  72. data/rails/locale/kn.yml +17 -17
  73. data/rails/locale/ko.yml +17 -17
  74. data/rails/locale/lb.yml +45 -42
  75. data/rails/locale/lo.yml +28 -28
  76. data/rails/locale/lt.yml +23 -23
  77. data/rails/locale/lv.yml +28 -28
  78. data/rails/locale/mg.yml +219 -0
  79. data/rails/locale/mk.yml +16 -16
  80. data/rails/locale/ml.yml +28 -28
  81. data/rails/locale/mn.yml +14 -14
  82. data/rails/locale/mr-IN.yml +19 -19
  83. data/rails/locale/ms.yml +14 -14
  84. data/rails/locale/nb.yml +27 -21
  85. data/rails/locale/ne.yml +20 -20
  86. data/rails/locale/nl.yml +17 -17
  87. data/rails/locale/nn.yml +16 -16
  88. data/rails/locale/oc.yml +24 -24
  89. data/rails/locale/or.yml +14 -14
  90. data/rails/locale/pa.yml +19 -19
  91. data/rails/locale/pap-AW.yml +215 -0
  92. data/rails/locale/pap-CW.yml +215 -0
  93. data/rails/locale/pl.yml +56 -56
  94. data/rails/locale/pt-BR.yml +57 -57
  95. data/rails/locale/pt.yml +58 -57
  96. data/rails/locale/rm.yml +24 -24
  97. data/rails/locale/ro.yml +69 -69
  98. data/rails/locale/ru.yml +45 -45
  99. data/rails/locale/sk.yml +17 -17
  100. data/rails/locale/sl.yml +39 -39
  101. data/rails/locale/sq.yml +87 -79
  102. data/rails/locale/sr.yml +48 -48
  103. data/rails/locale/st.yml +215 -0
  104. data/rails/locale/sv-SE.yml +19 -19
  105. data/rails/locale/sv.yml +23 -23
  106. data/rails/locale/sw.yml +14 -14
  107. data/rails/locale/ta.yml +19 -19
  108. data/rails/locale/te.yml +23 -25
  109. data/rails/locale/th.yml +8 -8
  110. data/rails/locale/tl.yml +132 -132
  111. data/rails/locale/tr.yml +19 -19
  112. data/rails/locale/tt.yml +16 -16
  113. data/rails/locale/ug.yml +16 -16
  114. data/rails/locale/uk.yml +42 -42
  115. data/rails/locale/ur.yml +26 -25
  116. data/rails/locale/uz.yml +37 -37
  117. data/rails/locale/vi.yml +18 -17
  118. data/rails/locale/wo.yml +21 -21
  119. data/rails/locale/zh-CN.yml +16 -16
  120. data/rails/locale/zh-HK.yml +34 -34
  121. data/rails/locale/zh-TW.yml +21 -21
  122. data/rails/locale/zh-YUE.yml +34 -34
  123. data/rails/ordinals/fr-CA.rb +19 -0
  124. data/rails/ordinals/fr-CH.rb +19 -0
  125. data/rails/ordinals/fr-FR.rb +19 -0
  126. data/rails/ordinals/fr.rb +19 -0
  127. data/rails/pluralization/ka.rb +2 -2
  128. data/rails/pluralization/pap-AW.rb +3 -0
  129. data/rails/pluralization/pap-CW.rb +3 -0
  130. data/rails/pluralization/pt-BR.rb +3 -0
  131. data/rails/pluralization/sr.rb +2 -2
  132. data/rails/pluralization/st.rb +3 -0
  133. data/rails/pluralization/ta.rb +3 -0
  134. data/rails/pluralization/tr.rb +2 -2
  135. data/rails/transliteration/da.yml +10 -0
  136. data/rails/transliteration/ka.yml +37 -0
  137. data/rails/transliteration/uk.rb +5 -21
  138. metadata +30 -15
  139. data/lib/rails_i18n/unicode.rb +0 -1
data/rails/locale/wo.yml CHANGED
@@ -3,10 +3,10 @@ wo:
3
3
  activerecord:
4
4
  errors:
5
5
  messages:
6
- record_invalid: "Validation failed: %{errors}"
6
+ record_invalid: 'Validation failed: %{errors}'
7
7
  restrict_dependent_destroy:
8
- has_one: "Cannot delete record because a dependent %{record} exists"
9
- has_many: "Cannot delete record because dependent %{record} exist"
8
+ has_one: Cannot delete record because a dependent %{record} exists
9
+ has_many: Cannot delete record because dependent %{record} exist
10
10
  date:
11
11
  abbr_day_names:
12
12
  - Dib
@@ -17,7 +17,7 @@ wo:
17
17
  - Ajj
18
18
  - Gaw
19
19
  abbr_month_names:
20
- -
20
+ -
21
21
  - Jan
22
22
  - Feb
23
23
  - Mar
@@ -40,10 +40,10 @@ wo:
40
40
  - Gaawu
41
41
  formats:
42
42
  default: "%Y-%m-%d"
43
- long: "%B %d, %Y"
44
- short: "%b %d"
43
+ long: "%d %B, %Y"
44
+ short: "%d %b"
45
45
  month_names:
46
- -
46
+ -
47
47
  - Tamkharit
48
48
  - Digui Gamou
49
49
  - Gamou
@@ -75,36 +75,36 @@ wo:
75
75
  one: almost 1 year
76
76
  other: almost %{count} years
77
77
  half_a_minute: half a minute
78
- less_than_x_minutes:
79
- one: less than a minute
80
- other: less than %{count} minutes
81
78
  less_than_x_seconds:
82
79
  one: less than 1 second
83
80
  other: less than %{count} seconds
81
+ less_than_x_minutes:
82
+ one: less than a minute
83
+ other: less than %{count} minutes
84
84
  over_x_years:
85
85
  one: over 1 year
86
86
  other: over %{count} years
87
- x_days:
88
- one: 1 day
89
- other: "%{count} days"
87
+ x_seconds:
88
+ one: 1 second
89
+ other: "%{count} seconds"
90
90
  x_minutes:
91
91
  one: 1 minute
92
92
  other: "%{count} minutes"
93
+ x_days:
94
+ one: 1 day
95
+ other: "%{count} days"
93
96
  x_months:
94
97
  one: 1 month
95
98
  other: "%{count} months"
96
99
  x_years:
97
100
  one: 1 year
98
- other: "%{count} years"
99
- x_seconds:
100
- one: 1 second
101
- other: "%{count} seconds"
101
+ other: "%{count} years"
102
102
  prompts:
103
- day: Day
104
- hour: Hour
103
+ second: Second
105
104
  minute: Minute
105
+ hour: Hour
106
+ day: Day
106
107
  month: Month
107
- second: Seconds
108
108
  year: Year
109
109
  errors:
110
110
  format: "%{attribute} %{message}"
@@ -203,6 +203,6 @@ wo:
203
203
  am: am
204
204
  formats:
205
205
  default: "%a, %d %b %Y %H:%M:%S %z"
206
- long: "%B %d, %Y %H:%M"
206
+ long: "%d %B, %Y %H:%M"
207
207
  short: "%d %b %H:%M"
208
208
  pm: pm
@@ -3,7 +3,7 @@ zh-CN:
3
3
  activerecord:
4
4
  errors:
5
5
  messages:
6
- record_invalid: "验证失败: %{errors}"
6
+ record_invalid: '验证失败: %{errors}'
7
7
  restrict_dependent_destroy:
8
8
  has_one: 由于 %{record} 需要此记录,所以无法移除记录
9
9
  has_many: 由于 %{record} 需要此记录,所以无法移除记录
@@ -17,7 +17,7 @@ zh-CN:
17
17
  - 周五
18
18
  - 周六
19
19
  abbr_month_names:
20
- -
20
+ -
21
21
  - 1月
22
22
  - 2月
23
23
  - 3月
@@ -43,7 +43,7 @@ zh-CN:
43
43
  long: "%Y年%m月%d日"
44
44
  short: "%m月%d日"
45
45
  month_names:
46
- -
46
+ -
47
47
  - 一月
48
48
  - 二月
49
49
  - 三月
@@ -67,28 +67,27 @@ zh-CN:
67
67
  about_x_years: 大约 %{count} 年
68
68
  almost_x_years: 接近 %{count} 年
69
69
  half_a_minute: 半分钟
70
- less_than_x_minutes: 不到 %{count} 分钟
71
70
  less_than_x_seconds: 不到 %{count} 秒
71
+ less_than_x_minutes: 不到 %{count} 分钟
72
72
  over_x_years: "%{count} 年多"
73
- x_days: "%{count} "
73
+ x_seconds: "%{count} "
74
74
  x_minutes: "%{count} 分钟"
75
+ x_days: "%{count} 天"
75
76
  x_months: "%{count} 个月"
76
77
  x_years: "%{count} 年"
77
- x_seconds: "%{count} 秒"
78
78
  prompts:
79
- day:
80
- hour: 时
79
+ second:
81
80
  minute: 分
81
+ hour: 时
82
+ day: 日
82
83
  month: 月
83
- second: 秒
84
84
  year: 年
85
85
  errors:
86
- format: "%{attribute}%{message}"
86
+ format: "%{attribute} %{message}"
87
87
  messages:
88
88
  accepted: 必须是可被接受的
89
89
  blank: 不能为空字符
90
- present: 必须是空白
91
- confirmation: 与确认值不匹配
90
+ confirmation: 与 %{attribute} 不匹配
92
91
  empty: 不能留空
93
92
  equal_to: 必须等于 %{count}
94
93
  even: 必须为双数
@@ -99,16 +98,17 @@ zh-CN:
99
98
  invalid: 是无效的
100
99
  less_than: 必须小于 %{count}
101
100
  less_than_or_equal_to: 必须小于或等于 %{count}
102
- model_invalid: "验证失败: %{errors}"
101
+ model_invalid: '验证失败: %{errors}'
103
102
  not_a_number: 不是数字
104
103
  not_an_integer: 必须是整数
105
104
  odd: 必须为单数
105
+ other_than: 长度非法(不可为 %{count} 个字符
106
+ present: 必须是空白
106
107
  required: 必须存在
107
108
  taken: 已经被使用
108
109
  too_long: 过长(最长为 %{count} 个字符)
109
110
  too_short: 过短(最短为 %{count} 个字符)
110
111
  wrong_length: 长度非法(必须为 %{count} 个字符)
111
- other_than: 长度非法(不可为 %{count} 个字符
112
112
  template:
113
113
  body: 如下字段出现错误:
114
114
  header: 有 %{count} 个错误发生导致“%{model}”无法被保存。
@@ -154,12 +154,12 @@ zh-CN:
154
154
  format: "%n %u"
155
155
  units:
156
156
  byte: 字节
157
+ eb: EB
157
158
  gb: GB
158
159
  kb: KB
159
160
  mb: MB
160
- tb: TB
161
161
  pb: PB
162
- eb: EB
162
+ tb: TB
163
163
  percentage:
164
164
  format:
165
165
  delimiter: ''
@@ -3,7 +3,7 @@ zh-HK:
3
3
  activerecord:
4
4
  errors:
5
5
  messages:
6
- record_invalid: "驗證失敗︰%{errors}"
6
+ record_invalid: 驗證失敗︰%{errors}
7
7
  restrict_dependent_destroy:
8
8
  has_one: 由於%{record}依賴此記錄,無法移除
9
9
  has_many: 由於%{record}依賴此記錄,無法移除
@@ -17,7 +17,7 @@ zh-HK:
17
17
  - 周五
18
18
  - 周六
19
19
  abbr_month_names:
20
- -
20
+ -
21
21
  - 1月
22
22
  - 2月
23
23
  - 3月
@@ -43,7 +43,7 @@ zh-HK:
43
43
  long: "%Y年%m月%d日"
44
44
  short: "%m月%d日"
45
45
  month_names:
46
- -
46
+ -
47
47
  - 一月
48
48
  - 二月
49
49
  - 三月
@@ -75,60 +75,61 @@ zh-HK:
75
75
  one: 接近一年
76
76
  other: 接近%{count}年
77
77
  half_a_minute: 半分鐘
78
- less_than_x_minutes:
79
- one: 不到一分鐘
80
- other: 不到%{count}分鐘
81
78
  less_than_x_seconds:
82
79
  one: 不到一秒
83
80
  other: 不到%{count}秒
81
+ less_than_x_minutes:
82
+ one: 不到一分鐘
83
+ other: 不到%{count}分鐘
84
84
  over_x_years:
85
85
  one: 超過一年
86
86
  other: 超過%{count}年
87
- x_days:
88
- one: 一天
89
- other: "%{count}"
87
+ x_seconds:
88
+ one: 一秒
89
+ other: "%{count}"
90
90
  x_minutes:
91
91
  one: 一分鐘
92
92
  other: "%{count}分鐘"
93
+ x_days:
94
+ one: 一天
95
+ other: "%{count}天"
93
96
  x_months:
94
97
  one: 一個月
95
98
  other: "%{count}個月"
96
99
  x_years:
97
100
  one: 一年
98
101
  other: "%{count} 年"
99
- x_seconds:
100
- one: 一秒
101
- other: "%{count}秒"
102
102
  prompts:
103
- day:
104
- hour: 時
103
+ second:
105
104
  minute: 分
105
+ hour: 時
106
+ day: 日
106
107
  month: 月
107
- second: 秒
108
108
  year: 年
109
109
  errors:
110
110
  format: "%{attribute} %{message}"
111
111
  messages:
112
112
  accepted: 必定要被接受
113
- blank: "不可以是空白"
114
- present: "必定要是空白"
115
- confirmation: 兩次輸入不一致
116
- empty: "不可以留空"
117
- equal_to: "必須等於 %{count}"
118
- even: "必須要是雙數"
119
- exclusion: "是被保留的關鍵字"
120
- greater_than: "必須大於 %{count}"
121
- greater_than_or_equal_to: "必須大於或等於 %{count}"
122
- inclusion: "並非可被接受的內容"
123
- invalid: "是無效的"
124
- less_than: "必須小於 %{count}"
125
- less_than_or_equal_to: "必須小於或等於 %{count}"
126
- model_invalid: "驗證失敗︰%{errors}"
127
- not_a_number: "必須是數字"
128
- not_an_integer: "必須是整數"
129
- odd: "必須是單數"
113
+ blank: 不可以是空白
114
+ confirmation: 與 %{attribute} 不一致
115
+ empty: 不可以留空
116
+ equal_to: 必須等於 %{count}
117
+ even: 必須要是雙數
118
+ exclusion: 是被保留的關鍵字
119
+ greater_than: 必須大於 %{count}
120
+ greater_than_or_equal_to: 必須大於或等於 %{count}
121
+ inclusion: 並非可被接受的內容
122
+ invalid: 是無效的
123
+ less_than: 必須小於 %{count}
124
+ less_than_or_equal_to: 必須小於或等於 %{count}
125
+ model_invalid: 驗證失敗︰%{errors}
126
+ not_a_number: 必須是數字
127
+ not_an_integer: 必須是整數
128
+ odd: 必須是單數
129
+ other_than: 不可以是 %{count} 個字
130
+ present: 必定要是空白
130
131
  required: 必須存在
131
- taken: "已被使用"
132
+ taken: 已被使用
132
133
  too_long:
133
134
  one: 太長(最長為一個字元)
134
135
  other: 太長(最長為 %{count} 個字元)
@@ -138,7 +139,6 @@ zh-HK:
138
139
  wrong_length:
139
140
  one: 字數錯誤 (應為一個字元)
140
141
  other: 字數錯誤 (應為 %{count} 個字元)
141
- other_than: "不可以是 %{count} 個字"
142
142
  template:
143
143
  body: 以下欄位發生問題︰
144
144
  header:
@@ -3,7 +3,7 @@ zh-TW:
3
3
  activerecord:
4
4
  errors:
5
5
  messages:
6
- record_invalid: "校驗失敗: %{errors}"
6
+ record_invalid: '校驗失敗: %{errors}'
7
7
  restrict_dependent_destroy:
8
8
  has_one: 由於 %{record} 需要此記錄,所以無法移除記錄
9
9
  has_many: 由於 %{record} 需要此記錄,所以無法移除記錄
@@ -17,7 +17,7 @@ zh-TW:
17
17
  - 周五
18
18
  - 周六
19
19
  abbr_month_names:
20
- -
20
+ -
21
21
  - 1月
22
22
  - 2月
23
23
  - 3月
@@ -43,7 +43,7 @@ zh-TW:
43
43
  long: "%Y年%m月%d日"
44
44
  short: "%m月%d日"
45
45
  month_names:
46
- -
46
+ -
47
47
  - 一月
48
48
  - 二月
49
49
  - 三月
@@ -75,44 +75,43 @@ zh-TW:
75
75
  one: 接近一年
76
76
  other: 接近 %{count} 年
77
77
  half_a_minute: 半分鐘
78
- less_than_x_minutes:
79
- one: 不到一分鐘
80
- other: 不到 %{count} 分鐘
81
78
  less_than_x_seconds:
82
79
  one: 不到一秒
83
80
  other: 不到 %{count} 秒
81
+ less_than_x_minutes:
82
+ one: 不到一分鐘
83
+ other: 不到 %{count} 分鐘
84
84
  over_x_years:
85
85
  one: 一年多
86
86
  other: "%{count} 年多"
87
- x_days:
88
- one: 一天
89
- other: "%{count} "
87
+ x_seconds:
88
+ one: 一秒
89
+ other: "%{count} "
90
90
  x_minutes:
91
91
  one: 一分鐘
92
92
  other: "%{count} 分鐘"
93
+ x_days:
94
+ one: 一天
95
+ other: "%{count} 天"
93
96
  x_months:
94
97
  one: 一個月
95
98
  other: "%{count} 個月"
96
99
  x_years:
97
100
  one: 一年
98
101
  other: "%{count} 年"
99
- x_seconds:
100
- one: 一秒
101
- other: "%{count} 秒"
102
102
  prompts:
103
- day:
104
- hour: 時
103
+ second:
105
104
  minute: 分
105
+ hour: 時
106
+ day: 日
106
107
  month: 月
107
- second: 秒
108
108
  year: 年
109
109
  errors:
110
- format: "%{attribute} %{message}"
110
+ format: "%{attribute}%{message}"
111
111
  messages:
112
112
  accepted: 必須是可被接受的
113
113
  blank: 不能為空白
114
- present: 必須是空白
115
- confirmation: 兩次輸入須一致
114
+ confirmation: 與 %{attribute} 須一致
116
115
  empty: 不能留空
117
116
  equal_to: 必須等於 %{count}
118
117
  even: 必須是偶數
@@ -123,10 +122,12 @@ zh-TW:
123
122
  invalid: 是無效的
124
123
  less_than: 必須小於 %{count}
125
124
  less_than_or_equal_to: 必須小於或等於 %{count}
126
- model_invalid: "校驗失敗: %{errors}"
125
+ model_invalid: '校驗失敗: %{errors}'
127
126
  not_a_number: 不是數字
128
127
  not_an_integer: 必須是整數
129
128
  odd: 必須是奇數
129
+ other_than: 不可以是 %{count} 個字
130
+ present: 必須是空白
130
131
  required: 必須存在
131
132
  taken: 已經被使用
132
133
  too_long:
@@ -138,7 +139,6 @@ zh-TW:
138
139
  wrong_length:
139
140
  one: 字數錯誤 (必須是一個字)
140
141
  other: 字數錯誤 (必須是 %{count} 個字)
141
- other_than: 不可以是 %{count} 個字
142
142
  template:
143
143
  body: 以下欄位發生問題:
144
144
  header:
@@ -155,7 +155,7 @@ zh-TW:
155
155
  currency:
156
156
  format:
157
157
  delimiter: ","
158
- format: "%u %n"
158
+ format: "%u%n"
159
159
  precision: 2
160
160
  separator: "."
161
161
  significant: false
@@ -3,7 +3,7 @@ zh-YUE:
3
3
  activerecord:
4
4
  errors:
5
5
  messages:
6
- record_invalid: "驗證失敗︰%{errors}"
6
+ record_invalid: 驗證失敗︰%{errors}
7
7
  restrict_dependent_destroy:
8
8
  has_one: 唔可以刪除,因為%{record}要用佢
9
9
  has_many: 唔可以刪除,因為%{record}要用佢
@@ -17,7 +17,7 @@ zh-YUE:
17
17
  - 周五
18
18
  - 周六
19
19
  abbr_month_names:
20
- -
20
+ -
21
21
  - 1月
22
22
  - 2月
23
23
  - 3月
@@ -43,7 +43,7 @@ zh-YUE:
43
43
  long: "%Y年%b%d日"
44
44
  short: "%b%d日"
45
45
  month_names:
46
- -
46
+ -
47
47
  - 一月
48
48
  - 二月
49
49
  - 三月
@@ -75,60 +75,61 @@ zh-YUE:
75
75
  one: 差唔多一年
76
76
  other: 差唔多%{count}年
77
77
  half_a_minute: 半分鐘
78
- less_than_x_minutes:
79
- one: 唔夠一分鐘
80
- other: 唔夠%{count}分鐘
81
78
  less_than_x_seconds:
82
79
  one: 唔夠一秒
83
80
  other: 唔夠%{count}秒
81
+ less_than_x_minutes:
82
+ one: 唔夠一分鐘
83
+ other: 唔夠%{count}分鐘
84
84
  over_x_years:
85
85
  one: 超過一年
86
86
  other: 超過%{count}年
87
- x_days:
88
- one: 一日
89
- other: "%{count}"
87
+ x_seconds:
88
+ one: 一秒
89
+ other: "%{count}"
90
90
  x_minutes:
91
91
  one: 一分鐘
92
92
  other: "%{count}分鐘"
93
+ x_days:
94
+ one: 一日
95
+ other: "%{count}日"
93
96
  x_months:
94
97
  one: 一個月
95
98
  other: "%{count}個月"
96
99
  x_years:
97
100
  one: 一年
98
101
  other: "%{count} 年"
99
- x_seconds:
100
- one: 一秒
101
- other: "%{count}秒"
102
102
  prompts:
103
- day:
104
- hour: 點
103
+ second:
105
104
  minute: 分
105
+ hour: 點
106
+ day: 日
106
107
  month: 月
107
- second: 秒
108
108
  year: 年
109
109
  errors:
110
110
  format: "%{attribute} %{message}"
111
111
  messages:
112
112
  accepted: 一定要被接受
113
- blank: "唔可以空白"
114
- present: "一定要空白"
115
- confirmation: "兩次輸入唔夾"
116
- empty: "唔可以漏空"
117
- equal_to: "要等於 %{count}"
118
- even: "要係雙數"
119
- exclusion: "唔用得"
120
- greater_than: "要大過%{count}"
121
- greater_than_or_equal_to: "要大過或者等於%{count}"
122
- inclusion: "唔係可被接受嘅內容"
123
- invalid: "無效"
124
- less_than: "要細過%{count}"
125
- less_than_or_equal_to: "要細過或者等於%{count}"
126
- model_invalid: "驗證失敗︰%{errors}"
127
- not_a_number: "唔係一個數字"
128
- not_an_integer: "要係整數"
129
- odd: "要係單數"
113
+ blank: 唔可以空白
114
+ confirmation: 與 %{attribute} 唔夾
115
+ empty: 唔可以漏空
116
+ equal_to: 要等於 %{count}
117
+ even: 要係雙數
118
+ exclusion: 唔用得
119
+ greater_than: 要大過%{count}
120
+ greater_than_or_equal_to: 要大過或者等於%{count}
121
+ inclusion: 唔係可被接受嘅內容
122
+ invalid: 無效
123
+ less_than: 要細過%{count}
124
+ less_than_or_equal_to: 要細過或者等於%{count}
125
+ model_invalid: 驗證失敗︰%{errors}
126
+ not_a_number: 唔係一個數字
127
+ not_an_integer: 要係整數
128
+ odd: 要係單數
129
+ other_than: 唔可以係%{count} 個字
130
+ present: 一定要空白
130
131
  required: 必須存在
131
- taken: "已經用緊"
132
+ taken: 已經用緊
132
133
  too_long:
133
134
  one: 太長(最多 1 個字)
134
135
  other: 太長(最多 %{count} 個字)
@@ -138,7 +139,6 @@ zh-YUE:
138
139
  wrong_length:
139
140
  one: 唔啱字數 (要係 1 個字)
140
141
  other: 唔啱字數 (要係 %{count} 個字)
141
- other_than: "唔可以係%{count} 個字"
142
142
  template:
143
143
  body: 呢啲有問題︰
144
144
  header:
@@ -0,0 +1,19 @@
1
+ {
2
+ "fr-CA": {
3
+ number: {
4
+ nth: {
5
+ ordinals: -> (_key, number:, **_options) {
6
+ if number.to_i.abs == 1
7
+ 'er'
8
+ else
9
+ 'e'
10
+ end
11
+ },
12
+
13
+ ordinalized: -> (_key, number:, **_options) {
14
+ "#{number}#{ActiveSupport::Inflector.ordinal(number)}"
15
+ }
16
+ }
17
+ }
18
+ }
19
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "fr-CH": {
3
+ number: {
4
+ nth: {
5
+ ordinals: -> (_key, number:, **_options) {
6
+ if number.to_i.abs == 1
7
+ 'er'
8
+ else
9
+ 'e'
10
+ end
11
+ },
12
+
13
+ ordinalized: -> (_key, number:, **_options) {
14
+ "#{number}#{ActiveSupport::Inflector.ordinal(number)}"
15
+ }
16
+ }
17
+ }
18
+ }
19
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "fr-FR": {
3
+ number: {
4
+ nth: {
5
+ ordinals: -> (_key, number:, **_options) {
6
+ if number.to_i.abs == 1
7
+ 'er'
8
+ else
9
+ 'e'
10
+ end
11
+ },
12
+
13
+ ordinalized: -> (_key, number:, **_options) {
14
+ "#{number}#{ActiveSupport::Inflector.ordinal(number)}"
15
+ }
16
+ }
17
+ }
18
+ }
19
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ fr: {
3
+ number: {
4
+ nth: {
5
+ ordinals: -> (_key, number:, **_options) {
6
+ if number.to_i.abs == 1
7
+ 'er'
8
+ else
9
+ 'e'
10
+ end
11
+ },
12
+
13
+ ordinalized: -> (_key, number:, **_options) {
14
+ "#{number}#{ActiveSupport::Inflector.ordinal(number)}"
15
+ }
16
+ }
17
+ }
18
+ }
19
+ }
@@ -1,3 +1,3 @@
1
- require 'rails_i18n/common_pluralizations/other'
1
+ require 'rails_i18n/common_pluralizations/one_other'
2
2
 
3
- ::RailsI18n::Pluralization::Other.with_locale(:ka)
3
+ ::RailsI18n::Pluralization::OneOther.with_locale(:ka)
@@ -0,0 +1,3 @@
1
+ require 'rails_i18n/common_pluralizations/other'
2
+
3
+ ::RailsI18n::Pluralization::Other.with_locale(:'pap-AW')
@@ -0,0 +1,3 @@
1
+ require 'rails_i18n/common_pluralizations/other'
2
+
3
+ ::RailsI18n::Pluralization::Other.with_locale(:'pap-CW')
@@ -0,0 +1,3 @@
1
+ require 'rails_i18n/common_pluralizations/one_other'
2
+
3
+ ::RailsI18n::Pluralization::OneOther.with_locale(:'pt-BR')
@@ -1,3 +1,3 @@
1
- require 'rails_i18n/common_pluralizations/east_slavic'
1
+ require 'rails_i18n/common_pluralizations/serbian'
2
2
 
3
- ::RailsI18n::Pluralization::EastSlavic.with_locale(:sr)
3
+ ::RailsI18n::Pluralization::Serbian.with_locale(:sr)
@@ -0,0 +1,3 @@
1
+ require 'rails_i18n/common_pluralizations/one_other'
2
+
3
+ ::RailsI18n::Pluralization::OneOther.with_locale(:st)
@@ -0,0 +1,3 @@
1
+ require 'rails_i18n/common_pluralizations/one_other'
2
+
3
+ ::RailsI18n::Pluralization::OneOther.with_locale(:ta)
@@ -1,3 +1,3 @@
1
- require 'rails_i18n/common_pluralizations/other'
1
+ require 'rails_i18n/common_pluralizations/one_other'
2
2
 
3
- ::RailsI18n::Pluralization::Other.with_locale(:tr)
3
+ ::RailsI18n::Pluralization::OneOther.with_locale(:tr)