rails-i18n 6.0.0 → 7.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +159 -1
- data/README.md +97 -16
- data/lib/rails_i18n/common_pluralizations/east_slavic.rb +3 -3
- data/lib/rails_i18n/common_pluralizations/one_few_other.rb +39 -0
- data/lib/rails_i18n/common_pluralizations/one_other.rb +1 -1
- data/lib/rails_i18n/common_pluralizations/one_two_other.rb +5 -7
- data/lib/rails_i18n/common_pluralizations/one_upto_two_other.rb +4 -2
- data/lib/rails_i18n/common_pluralizations/one_with_zero_other.rb +6 -1
- data/lib/rails_i18n/common_pluralizations/romanian.rb +5 -2
- data/lib/rails_i18n/common_pluralizations/west_slavic.rb +4 -6
- data/lib/rails_i18n/railtie.rb +9 -3
- data/lib/rails_i18n.rb +10 -1
- data/rails/locale/af.yml +22 -22
- data/rails/locale/ar.yml +3 -3
- data/rails/locale/az.yml +12 -12
- data/rails/locale/bg.yml +12 -12
- data/rails/locale/bn.yml +22 -19
- data/rails/locale/bs.yml +6 -6
- data/rails/locale/ca.yml +44 -20
- data/rails/locale/cy.yml +83 -78
- data/rails/locale/da.yml +20 -12
- data/rails/locale/de-AT.yml +7 -4
- data/rails/locale/de-CH.yml +7 -4
- data/rails/locale/de-DE.yml +7 -4
- data/rails/locale/de.yml +8 -5
- data/rails/locale/dz.yml +213 -0
- data/rails/locale/el-CY.yml +23 -10
- data/rails/locale/el.yml +21 -8
- data/rails/locale/en-AU.yml +15 -15
- data/rails/locale/en-CA.yml +16 -16
- data/rails/locale/en-CY.yml +15 -15
- data/rails/locale/en-GB.yml +15 -15
- data/rails/locale/en-IE.yml +15 -15
- data/rails/locale/en-IN.yml +18 -18
- data/rails/locale/en-NZ.yml +15 -15
- data/rails/locale/en-TT.yml +213 -0
- data/rails/locale/en-US.yml +19 -17
- data/rails/locale/en-ZA.yml +21 -21
- data/rails/locale/en.yml +17 -15
- data/rails/locale/eo.yml +5 -5
- data/rails/locale/es-419.yml +20 -18
- data/rails/locale/es-AR.yml +21 -19
- data/rails/locale/es-CL.yml +21 -19
- data/rails/locale/es-CO.yml +27 -25
- data/rails/locale/es-CR.yml +20 -18
- data/rails/locale/es-EC.yml +20 -18
- data/rails/locale/es-ES.yml +21 -19
- data/rails/locale/es-MX.yml +20 -18
- data/rails/locale/es-NI.yml +20 -18
- data/rails/locale/es-PA.yml +20 -18
- data/rails/locale/es-PE.yml +20 -18
- data/rails/locale/es-US.yml +20 -18
- data/rails/locale/es-VE.yml +20 -18
- data/rails/locale/es.yml +21 -19
- data/rails/locale/eu.yml +4 -4
- data/rails/locale/fa.yml +2 -2
- data/rails/locale/fi.yml +16 -16
- data/rails/locale/fr-CA.yml +12 -10
- data/rails/locale/fr-CH.yml +12 -10
- data/rails/locale/fr-FR.yml +12 -10
- data/rails/locale/fr.yml +16 -14
- data/rails/locale/fy.yml +215 -0
- data/rails/locale/gd.yml +252 -0
- data/rails/locale/gl.yml +13 -13
- data/rails/locale/hi-IN.yml +5 -5
- data/rails/locale/hi.yml +5 -5
- data/rails/locale/hr.yml +59 -50
- data/rails/locale/hu.yml +12 -12
- data/rails/locale/id.yml +7 -7
- data/rails/locale/is.yml +14 -14
- data/rails/locale/it-CH.yml +23 -10
- data/rails/locale/it.yml +16 -15
- data/rails/locale/ja.yml +15 -39
- data/rails/locale/ka.yml +16 -16
- data/rails/locale/kk.yml +225 -0
- data/rails/locale/kn.yml +8 -8
- data/rails/locale/ko.yml +34 -58
- data/rails/locale/lb.yml +7 -7
- data/rails/locale/lo.yml +13 -85
- data/rails/locale/lt.yml +8 -8
- data/rails/locale/lv.yml +12 -2
- data/rails/locale/mg.yml +6 -6
- data/rails/locale/mk.yml +2 -2
- data/rails/locale/ml.yml +13 -13
- data/rails/locale/mn.yml +15 -15
- data/rails/locale/mr-IN.yml +5 -5
- data/rails/locale/ms.yml +13 -13
- data/rails/locale/nb.yml +26 -20
- data/rails/locale/ne.yml +18 -18
- data/rails/locale/nl.yml +7 -7
- data/rails/locale/nn.yml +10 -10
- data/rails/locale/oc.yml +1 -1
- data/rails/locale/or.yml +12 -12
- data/rails/locale/pa.yml +18 -18
- data/rails/locale/pap-AW.yml +215 -0
- data/rails/locale/pap-CW.yml +215 -0
- data/rails/locale/pl.yml +27 -27
- data/rails/locale/pt-BR.yml +19 -17
- data/rails/locale/pt.yml +16 -14
- data/rails/locale/rm.yml +2 -2
- data/rails/locale/ro.yml +60 -60
- data/rails/locale/ru.yml +17 -15
- data/rails/locale/sc.yml +223 -0
- data/rails/locale/sk.yml +1 -0
- data/rails/locale/sl.yml +10 -10
- data/rails/locale/sq.yml +21 -25
- data/rails/locale/sr.yml +2 -2
- data/rails/locale/st.yml +215 -0
- data/rails/locale/sv-FI.yml +207 -0
- data/rails/locale/sv-SE.yml +4 -1
- data/rails/locale/sv.yml +8 -5
- data/rails/locale/sw.yml +9 -9
- data/rails/locale/ta.yml +13 -13
- data/rails/locale/te.yml +3 -3
- data/rails/locale/tr.yml +16 -16
- data/rails/locale/uk.yml +5 -5
- data/rails/locale/ur.yml +2 -2
- data/rails/locale/uz.yml +1 -1
- data/rails/locale/vi.yml +14 -37
- data/rails/locale/wo.yml +18 -18
- data/rails/locale/zh-CN.yml +29 -29
- data/rails/locale/zh-HK.yml +28 -60
- data/rails/locale/zh-TW.yml +32 -64
- data/rails/locale/zh-YUE.yml +23 -55
- data/rails/ordinals/de-AT.rb +15 -0
- data/rails/ordinals/de-CH.rb +15 -0
- data/rails/ordinals/de-DE.rb +15 -0
- data/rails/ordinals/de.rb +15 -0
- data/rails/ordinals/fr-CA.rb +19 -0
- data/rails/ordinals/fr-CH.rb +19 -0
- data/rails/ordinals/fr-FR.rb +19 -0
- data/rails/ordinals/fr.rb +19 -0
- data/rails/ordinals/gd.rb +24 -0
- data/rails/pluralization/ar.rb +3 -2
- data/rails/pluralization/bs.rb +2 -2
- data/rails/pluralization/el-CY.rb +3 -0
- data/rails/pluralization/en-CY.rb +3 -0
- data/rails/pluralization/en-IE.rb +3 -0
- data/rails/pluralization/en-TT.rb +3 -0
- data/rails/pluralization/en-US.rb +3 -0
- data/rails/pluralization/en-ZA.rb +3 -0
- data/rails/pluralization/fy.rb +3 -0
- data/rails/pluralization/gd.rb +8 -4
- data/rails/pluralization/hr.rb +2 -2
- data/rails/pluralization/hsb.rb +7 -9
- data/rails/pluralization/ka.rb +2 -2
- data/rails/pluralization/kk.rb +3 -0
- data/rails/pluralization/lt.rb +3 -2
- data/rails/pluralization/lv.rb +1 -2
- data/rails/pluralization/mk.rb +2 -3
- data/rails/pluralization/pap-AW.rb +3 -0
- data/rails/pluralization/pap-CW.rb +3 -0
- data/rails/pluralization/pl.rb +4 -3
- data/rails/pluralization/pt-BR.rb +3 -0
- data/rails/pluralization/sc.rb +3 -0
- data/rails/pluralization/sl.rb +7 -11
- data/rails/pluralization/sr.rb +2 -2
- data/rails/pluralization/st.rb +3 -0
- data/rails/pluralization/ta.rb +3 -0
- data/rails/pluralization/tr.rb +2 -2
- data/rails/transliteration/da.yml +10 -0
- data/rails/transliteration/de.yml +1 -0
- data/rails/transliteration/ka.yml +37 -0
- data/rails/transliteration/uk.rb +5 -21
- metadata +44 -57
- data/lib/rails_i18n/unicode.rb +0 -1
- data/rails/pluralization/ak.rb +0 -3
- data/rails/pluralization/am.rb +0 -3
- data/rails/pluralization/bh.rb +0 -3
- data/rails/pluralization/bm.rb +0 -3
- data/rails/pluralization/bo.rb +0 -3
- data/rails/pluralization/br.rb +0 -31
- data/rails/pluralization/by.rb +0 -3
- data/rails/pluralization/cy.rb +0 -24
- data/rails/pluralization/dz.rb +0 -3
- data/rails/pluralization/ff.rb +0 -3
- data/rails/pluralization/ga.rb +0 -27
- data/rails/pluralization/guw.rb +0 -3
- data/rails/pluralization/gv.rb +0 -22
- data/rails/pluralization/ig.rb +0 -3
- data/rails/pluralization/ii.rb +0 -3
- data/rails/pluralization/iu.rb +0 -3
- data/rails/pluralization/jv.rb +0 -3
- data/rails/pluralization/kab.rb +0 -3
- data/rails/pluralization/kde.rb +0 -3
- data/rails/pluralization/kea.rb +0 -3
- data/rails/pluralization/ksh.rb +0 -23
- data/rails/pluralization/kw.rb +0 -3
- data/rails/pluralization/lag.rb +0 -24
- data/rails/pluralization/ln.rb +0 -3
- data/rails/pluralization/mo.rb +0 -3
- data/rails/pluralization/mt.rb +0 -28
- data/rails/pluralization/my.rb +0 -3
- data/rails/pluralization/naq.rb +0 -3
- data/rails/pluralization/nso.rb +0 -3
- data/rails/pluralization/root.rb +0 -3
- data/rails/pluralization/sah.rb +0 -3
- data/rails/pluralization/se.rb +0 -3
- data/rails/pluralization/ses.rb +0 -3
- data/rails/pluralization/sg.rb +0 -3
- data/rails/pluralization/sh.rb +0 -3
- data/rails/pluralization/shi.rb +0 -3
- data/rails/pluralization/sma.rb +0 -3
- data/rails/pluralization/smi.rb +0 -3
- data/rails/pluralization/smj.rb +0 -3
- data/rails/pluralization/smn.rb +0 -3
- data/rails/pluralization/sms.rb +0 -3
- data/rails/pluralization/ti.rb +0 -3
- data/rails/pluralization/to.rb +0 -3
- data/rails/pluralization/tzm.rb +0 -21
- data/rails/pluralization/wa.rb +0 -3
- data/rails/pluralization/yo.rb +0 -3
- data/rails/pluralization/zh.rb +0 -3
data/rails/locale/wo.yml
CHANGED
@@ -40,8 +40,8 @@ wo:
|
|
40
40
|
- Gaawu
|
41
41
|
formats:
|
42
42
|
default: "%Y-%m-%d"
|
43
|
-
long: "%
|
44
|
-
short: "%
|
43
|
+
long: "%d %B, %Y"
|
44
|
+
short: "%d %b"
|
45
45
|
month_names:
|
46
46
|
-
|
47
47
|
- Tamkharit
|
@@ -63,41 +63,41 @@ wo:
|
|
63
63
|
datetime:
|
64
64
|
distance_in_words:
|
65
65
|
about_x_hours:
|
66
|
-
one: about
|
66
|
+
one: about %{count} hour
|
67
67
|
other: about %{count} hours
|
68
68
|
about_x_months:
|
69
|
-
one: about
|
69
|
+
one: about %{count} month
|
70
70
|
other: about %{count} months
|
71
71
|
about_x_years:
|
72
|
-
one: about
|
72
|
+
one: about %{count} year
|
73
73
|
other: about %{count} years
|
74
74
|
almost_x_years:
|
75
|
-
one: almost
|
75
|
+
one: almost %{count} year
|
76
76
|
other: almost %{count} years
|
77
77
|
half_a_minute: half a minute
|
78
78
|
less_than_x_seconds:
|
79
|
-
one: less than
|
79
|
+
one: less than %{count} second
|
80
80
|
other: less than %{count} seconds
|
81
81
|
less_than_x_minutes:
|
82
82
|
one: less than a minute
|
83
83
|
other: less than %{count} minutes
|
84
84
|
over_x_years:
|
85
|
-
one: over
|
85
|
+
one: over %{count} year
|
86
86
|
other: over %{count} years
|
87
87
|
x_seconds:
|
88
|
-
one:
|
88
|
+
one: "%{count} second"
|
89
89
|
other: "%{count} seconds"
|
90
90
|
x_minutes:
|
91
|
-
one:
|
91
|
+
one: "%{count} minute"
|
92
92
|
other: "%{count} minutes"
|
93
93
|
x_days:
|
94
|
-
one:
|
94
|
+
one: "%{count} day"
|
95
95
|
other: "%{count} days"
|
96
96
|
x_months:
|
97
|
-
one:
|
97
|
+
one: "%{count} month"
|
98
98
|
other: "%{count} months"
|
99
99
|
x_years:
|
100
|
-
one:
|
100
|
+
one: "%{count} year"
|
101
101
|
other: "%{count} years"
|
102
102
|
prompts:
|
103
103
|
second: Second
|
@@ -127,18 +127,18 @@ wo:
|
|
127
127
|
odd: must be odd
|
128
128
|
taken: has already been taken
|
129
129
|
too_long:
|
130
|
-
one: is too long (maximum is
|
130
|
+
one: is too long (maximum is %{count} character)
|
131
131
|
other: is too long (maximum is %{count} characters)
|
132
132
|
too_short:
|
133
|
-
one: is too short (minimum is
|
133
|
+
one: is too short (minimum is %{count} character)
|
134
134
|
other: is too short (minimum is %{count} characters)
|
135
135
|
wrong_length:
|
136
|
-
one: is the wrong length (should be
|
136
|
+
one: is the wrong length (should be %{count} character)
|
137
137
|
other: is the wrong length (should be %{count} characters)
|
138
138
|
template:
|
139
139
|
body: 'There were problems with the following fields:'
|
140
140
|
header:
|
141
|
-
one:
|
141
|
+
one: "%{count} error prohibited this %{model} from being saved"
|
142
142
|
other: "%{count} errors prohibited this %{model} from being saved"
|
143
143
|
helpers:
|
144
144
|
select:
|
@@ -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: "%
|
206
|
+
long: "%d %B, %Y %H:%M"
|
207
207
|
short: "%d %b %H:%M"
|
208
208
|
pm: pm
|
data/rails/locale/zh-CN.yml
CHANGED
@@ -3,10 +3,10 @@ zh-CN:
|
|
3
3
|
activerecord:
|
4
4
|
errors:
|
5
5
|
messages:
|
6
|
-
record_invalid:
|
6
|
+
record_invalid: 验证失败:%{errors}
|
7
7
|
restrict_dependent_destroy:
|
8
|
-
has_one:
|
9
|
-
has_many:
|
8
|
+
has_one: 由于%{record}需要此记录,所以无法移除记录
|
9
|
+
has_many: 由于%{record}需要此记录,所以无法移除记录
|
10
10
|
date:
|
11
11
|
abbr_day_names:
|
12
12
|
- 周日
|
@@ -62,19 +62,19 @@ zh-CN:
|
|
62
62
|
- :day
|
63
63
|
datetime:
|
64
64
|
distance_in_words:
|
65
|
-
about_x_hours:
|
66
|
-
about_x_months:
|
67
|
-
about_x_years:
|
68
|
-
almost_x_years:
|
65
|
+
about_x_hours: 大约%{count}小时
|
66
|
+
about_x_months: 大约%{count}个月
|
67
|
+
about_x_years: 大约%{count}年
|
68
|
+
almost_x_years: 接近%{count}年
|
69
69
|
half_a_minute: 半分钟
|
70
|
-
less_than_x_seconds:
|
71
|
-
less_than_x_minutes:
|
72
|
-
over_x_years: "%{count}
|
73
|
-
x_seconds: "%{count}
|
74
|
-
x_minutes: "%{count}
|
75
|
-
x_days: "%{count}
|
76
|
-
x_months: "%{count}
|
77
|
-
x_years: "%{count}
|
70
|
+
less_than_x_seconds: 不到%{count}秒
|
71
|
+
less_than_x_minutes: 不到%{count}分钟
|
72
|
+
over_x_years: "%{count}年多"
|
73
|
+
x_seconds: "%{count}秒"
|
74
|
+
x_minutes: "%{count}分钟"
|
75
|
+
x_days: "%{count}天"
|
76
|
+
x_months: "%{count}个月"
|
77
|
+
x_years: "%{count}年"
|
78
78
|
prompts:
|
79
79
|
second: 秒
|
80
80
|
minute: 分
|
@@ -87,31 +87,31 @@ zh-CN:
|
|
87
87
|
messages:
|
88
88
|
accepted: 必须是可被接受的
|
89
89
|
blank: 不能为空字符
|
90
|
-
confirmation:
|
90
|
+
confirmation: 与%{attribute}不匹配
|
91
91
|
empty: 不能留空
|
92
|
-
equal_to:
|
92
|
+
equal_to: 必须等于%{count}
|
93
93
|
even: 必须为双数
|
94
94
|
exclusion: 是保留关键字
|
95
|
-
greater_than:
|
96
|
-
greater_than_or_equal_to:
|
95
|
+
greater_than: 必须大于%{count}
|
96
|
+
greater_than_or_equal_to: 必须大于或等于%{count}
|
97
97
|
inclusion: 不包含于列表中
|
98
98
|
invalid: 是无效的
|
99
|
-
less_than:
|
100
|
-
less_than_or_equal_to:
|
101
|
-
model_invalid:
|
99
|
+
less_than: 必须小于%{count}
|
100
|
+
less_than_or_equal_to: 必须小于或等于%{count}
|
101
|
+
model_invalid: 验证失败:%{errors}
|
102
102
|
not_a_number: 不是数字
|
103
103
|
not_an_integer: 必须是整数
|
104
104
|
odd: 必须为单数
|
105
|
-
other_than:
|
105
|
+
other_than: 长度非法(不可为%{count}个字符)
|
106
106
|
present: 必须是空白
|
107
107
|
required: 必须存在
|
108
108
|
taken: 已经被使用
|
109
|
-
too_long:
|
110
|
-
too_short:
|
111
|
-
wrong_length:
|
109
|
+
too_long: 过长(最长为%{count}个字符)
|
110
|
+
too_short: 过短(最短为%{count}个字符)
|
111
|
+
wrong_length: 长度非法(必须为%{count}个字符)
|
112
112
|
template:
|
113
113
|
body: 如下字段出现错误:
|
114
|
-
header:
|
114
|
+
header: 有%{count}个错误发生导致“%{model}”无法被保存。
|
115
115
|
helpers:
|
116
116
|
select:
|
117
117
|
prompt: 请选择
|
@@ -169,8 +169,8 @@ zh-CN:
|
|
169
169
|
delimiter: ''
|
170
170
|
support:
|
171
171
|
array:
|
172
|
-
last_word_connector: "
|
173
|
-
two_words_connector:
|
172
|
+
last_word_connector: "、"
|
173
|
+
two_words_connector: 和
|
174
174
|
words_connector: "、"
|
175
175
|
time:
|
176
176
|
am: 上午
|
data/rails/locale/zh-HK.yml
CHANGED
@@ -3,7 +3,7 @@ zh-HK:
|
|
3
3
|
activerecord:
|
4
4
|
errors:
|
5
5
|
messages:
|
6
|
-
record_invalid:
|
6
|
+
record_invalid: 驗證失敗:%{errors}
|
7
7
|
restrict_dependent_destroy:
|
8
8
|
has_one: 由於%{record}依賴此記錄,無法移除
|
9
9
|
has_many: 由於%{record}依賴此記錄,無法移除
|
@@ -62,43 +62,19 @@ zh-HK:
|
|
62
62
|
- :day
|
63
63
|
datetime:
|
64
64
|
distance_in_words:
|
65
|
-
about_x_hours:
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
one: 約一個月
|
70
|
-
other: 約%{count}個月
|
71
|
-
about_x_years:
|
72
|
-
one: 約一年
|
73
|
-
other: 約%{count}年
|
74
|
-
almost_x_years:
|
75
|
-
one: 接近一年
|
76
|
-
other: 接近%{count}年
|
65
|
+
about_x_hours: 約%{count}小時
|
66
|
+
about_x_months: 約%{count}個月
|
67
|
+
about_x_years: 約%{count}年
|
68
|
+
almost_x_years: 接近%{count}年
|
77
69
|
half_a_minute: 半分鐘
|
78
|
-
less_than_x_seconds:
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
other: 超過%{count}年
|
87
|
-
x_seconds:
|
88
|
-
one: 一秒
|
89
|
-
other: "%{count}秒"
|
90
|
-
x_minutes:
|
91
|
-
one: 一分鐘
|
92
|
-
other: "%{count}分鐘"
|
93
|
-
x_days:
|
94
|
-
one: 一天
|
95
|
-
other: "%{count}天"
|
96
|
-
x_months:
|
97
|
-
one: 一個月
|
98
|
-
other: "%{count}個月"
|
99
|
-
x_years:
|
100
|
-
one: 一年
|
101
|
-
other: "%{count} 年"
|
70
|
+
less_than_x_seconds: 不到%{count}秒
|
71
|
+
less_than_x_minutes: 不到%{count}分鐘
|
72
|
+
over_x_years: 超過%{count}年
|
73
|
+
x_seconds: "%{count}秒"
|
74
|
+
x_minutes: "%{count}分鐘"
|
75
|
+
x_days: "%{count}天"
|
76
|
+
x_months: "%{count}個月"
|
77
|
+
x_years: "%{count}年"
|
102
78
|
prompts:
|
103
79
|
second: 秒
|
104
80
|
minute: 分
|
@@ -107,43 +83,35 @@ zh-HK:
|
|
107
83
|
month: 月
|
108
84
|
year: 年
|
109
85
|
errors:
|
110
|
-
format: "%{attribute}
|
86
|
+
format: "%{attribute}%{message}"
|
111
87
|
messages:
|
112
88
|
accepted: 必定要被接受
|
113
89
|
blank: 不可以是空白
|
114
|
-
confirmation:
|
90
|
+
confirmation: 與%{attribute}不一致
|
115
91
|
empty: 不可以留空
|
116
|
-
equal_to:
|
92
|
+
equal_to: 必須等於%{count}
|
117
93
|
even: 必須要是雙數
|
118
94
|
exclusion: 是被保留的關鍵字
|
119
|
-
greater_than:
|
120
|
-
greater_than_or_equal_to:
|
95
|
+
greater_than: 必須大於%{count}
|
96
|
+
greater_than_or_equal_to: 必須大於或等於%{count}
|
121
97
|
inclusion: 並非可被接受的內容
|
122
98
|
invalid: 是無效的
|
123
|
-
less_than:
|
124
|
-
less_than_or_equal_to:
|
125
|
-
model_invalid:
|
99
|
+
less_than: 必須小於%{count}
|
100
|
+
less_than_or_equal_to: 必須小於或等於%{count}
|
101
|
+
model_invalid: 驗證失敗:%{errors}
|
126
102
|
not_a_number: 必須是數字
|
127
103
|
not_an_integer: 必須是整數
|
128
104
|
odd: 必須是單數
|
129
|
-
other_than:
|
105
|
+
other_than: 不可以是%{count}個字
|
130
106
|
present: 必定要是空白
|
131
107
|
required: 必須存在
|
132
108
|
taken: 已被使用
|
133
|
-
too_long:
|
134
|
-
|
135
|
-
|
136
|
-
too_short:
|
137
|
-
one: 太短(最少為一個字元)
|
138
|
-
other: 太短(最少為 %{count} 個字元)
|
139
|
-
wrong_length:
|
140
|
-
one: 字數錯誤 (應為一個字元)
|
141
|
-
other: 字數錯誤 (應為 %{count} 個字元)
|
109
|
+
too_long: 太長(最長為%{count}個字元)
|
110
|
+
too_short: 太短(最少為%{count}個字元)
|
111
|
+
wrong_length: 字數錯誤(應為%{count}個字元)
|
142
112
|
template:
|
143
|
-
body:
|
144
|
-
header:
|
145
|
-
one: 發生一項錯誤,以致 %{model} 未能儲存。
|
146
|
-
other: 發生%{count}項錯誤,以致 %{model} 未能儲存。
|
113
|
+
body: 以下欄位發生問題:
|
114
|
+
header: 發生%{count}項錯誤,以致%{model}未能儲存。
|
147
115
|
helpers:
|
148
116
|
select:
|
149
117
|
prompt: 請選擇
|
@@ -201,7 +169,7 @@ zh-HK:
|
|
201
169
|
delimiter: ''
|
202
170
|
support:
|
203
171
|
array:
|
204
|
-
last_word_connector:
|
172
|
+
last_word_connector: "、"
|
205
173
|
two_words_connector: 和
|
206
174
|
words_connector: "、"
|
207
175
|
time:
|
data/rails/locale/zh-TW.yml
CHANGED
@@ -3,10 +3,10 @@ zh-TW:
|
|
3
3
|
activerecord:
|
4
4
|
errors:
|
5
5
|
messages:
|
6
|
-
record_invalid:
|
6
|
+
record_invalid: 校驗失敗:%{errors}
|
7
7
|
restrict_dependent_destroy:
|
8
|
-
has_one:
|
9
|
-
has_many:
|
8
|
+
has_one: 由於%{record}需要此記錄,所以無法移除記錄
|
9
|
+
has_many: 由於%{record}需要此記錄,所以無法移除記錄
|
10
10
|
date:
|
11
11
|
abbr_day_names:
|
12
12
|
- 周日
|
@@ -62,43 +62,19 @@ zh-TW:
|
|
62
62
|
- :day
|
63
63
|
datetime:
|
64
64
|
distance_in_words:
|
65
|
-
about_x_hours:
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
one: 大約一個月
|
70
|
-
other: 大約 %{count} 個月
|
71
|
-
about_x_years:
|
72
|
-
one: 大約一年
|
73
|
-
other: 大約 %{count} 年
|
74
|
-
almost_x_years:
|
75
|
-
one: 接近一年
|
76
|
-
other: 接近 %{count} 年
|
65
|
+
about_x_hours: 大約%{count}小時
|
66
|
+
about_x_months: 大約%{count}個月
|
67
|
+
about_x_years: 大約%{count}年
|
68
|
+
almost_x_years: 接近%{count}年
|
77
69
|
half_a_minute: 半分鐘
|
78
|
-
less_than_x_seconds:
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
other: "%{count} 年多"
|
87
|
-
x_seconds:
|
88
|
-
one: 一秒
|
89
|
-
other: "%{count} 秒"
|
90
|
-
x_minutes:
|
91
|
-
one: 一分鐘
|
92
|
-
other: "%{count} 分鐘"
|
93
|
-
x_days:
|
94
|
-
one: 一天
|
95
|
-
other: "%{count} 天"
|
96
|
-
x_months:
|
97
|
-
one: 一個月
|
98
|
-
other: "%{count} 個月"
|
99
|
-
x_years:
|
100
|
-
one: 一年
|
101
|
-
other: "%{count} 年"
|
70
|
+
less_than_x_seconds: 不到%{count}秒
|
71
|
+
less_than_x_minutes: 不到%{count}分鐘
|
72
|
+
over_x_years: "%{count}年多"
|
73
|
+
x_seconds: "%{count}秒"
|
74
|
+
x_minutes: "%{count}分鐘"
|
75
|
+
x_days: "%{count}天"
|
76
|
+
x_months: "%{count}個月"
|
77
|
+
x_years: "%{count}年"
|
102
78
|
prompts:
|
103
79
|
second: 秒
|
104
80
|
minute: 分
|
@@ -107,43 +83,35 @@ zh-TW:
|
|
107
83
|
month: 月
|
108
84
|
year: 年
|
109
85
|
errors:
|
110
|
-
format: "%{attribute}
|
86
|
+
format: "%{attribute}%{message}"
|
111
87
|
messages:
|
112
88
|
accepted: 必須是可被接受的
|
113
89
|
blank: 不能為空白
|
114
|
-
confirmation:
|
90
|
+
confirmation: 與%{attribute}須一致
|
115
91
|
empty: 不能留空
|
116
|
-
equal_to:
|
92
|
+
equal_to: 必須等於%{count}
|
117
93
|
even: 必須是偶數
|
118
94
|
exclusion: 是被保留的關鍵字
|
119
|
-
greater_than:
|
120
|
-
greater_than_or_equal_to:
|
95
|
+
greater_than: 必須大於%{count}
|
96
|
+
greater_than_or_equal_to: 必須大於或等於%{count}
|
121
97
|
inclusion: 沒有包含在列表中
|
122
98
|
invalid: 是無效的
|
123
|
-
less_than:
|
124
|
-
less_than_or_equal_to:
|
125
|
-
model_invalid:
|
99
|
+
less_than: 必須小於%{count}
|
100
|
+
less_than_or_equal_to: 必須小於或等於%{count}
|
101
|
+
model_invalid: 校驗失敗:%{errors}
|
126
102
|
not_a_number: 不是數字
|
127
103
|
not_an_integer: 必須是整數
|
128
104
|
odd: 必須是奇數
|
129
|
-
other_than:
|
105
|
+
other_than: 不可以是%{count}個字
|
130
106
|
present: 必須是空白
|
131
107
|
required: 必須存在
|
132
108
|
taken: 已經被使用
|
133
|
-
too_long:
|
134
|
-
|
135
|
-
|
136
|
-
too_short:
|
137
|
-
one: 過短(最短是一個字)
|
138
|
-
other: 過短(最短是 %{count} 個字)
|
139
|
-
wrong_length:
|
140
|
-
one: 字數錯誤 (必須是一個字)
|
141
|
-
other: 字數錯誤 (必須是 %{count} 個字)
|
109
|
+
too_long: 過長(最長是%{count}個字)
|
110
|
+
too_short: 過短(最短是%{count}個字)
|
111
|
+
wrong_length: 字數錯誤(必須是%{count}個字)
|
142
112
|
template:
|
143
113
|
body: 以下欄位發生問題:
|
144
|
-
header:
|
145
|
-
one: 有 1 個錯誤發生使得「%{model}」無法被儲存。
|
146
|
-
other: 有 %{count} 個錯誤發生使得「%{model}」無法被儲存。
|
114
|
+
header: 有%{count}個錯誤發生使得「%{model}」無法被儲存。
|
147
115
|
helpers:
|
148
116
|
select:
|
149
117
|
prompt: 請選擇
|
@@ -155,7 +123,7 @@ zh-TW:
|
|
155
123
|
currency:
|
156
124
|
format:
|
157
125
|
delimiter: ","
|
158
|
-
format: "%u
|
126
|
+
format: "%u%n"
|
159
127
|
precision: 2
|
160
128
|
separator: "."
|
161
129
|
significant: false
|
@@ -201,9 +169,9 @@ zh-TW:
|
|
201
169
|
delimiter: ''
|
202
170
|
support:
|
203
171
|
array:
|
204
|
-
last_word_connector: "
|
205
|
-
two_words_connector:
|
206
|
-
words_connector: "
|
172
|
+
last_word_connector: "、"
|
173
|
+
two_words_connector: 和
|
174
|
+
words_connector: "、"
|
207
175
|
time:
|
208
176
|
am: 上午
|
209
177
|
formats:
|
data/rails/locale/zh-YUE.yml
CHANGED
@@ -3,7 +3,7 @@ zh-YUE:
|
|
3
3
|
activerecord:
|
4
4
|
errors:
|
5
5
|
messages:
|
6
|
-
record_invalid:
|
6
|
+
record_invalid: 驗證失敗:%{errors}
|
7
7
|
restrict_dependent_destroy:
|
8
8
|
has_one: 唔可以刪除,因為%{record}要用佢
|
9
9
|
has_many: 唔可以刪除,因為%{record}要用佢
|
@@ -62,43 +62,19 @@ zh-YUE:
|
|
62
62
|
- :day
|
63
63
|
datetime:
|
64
64
|
distance_in_words:
|
65
|
-
about_x_hours:
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
one: 大概一個月
|
70
|
-
other: 大概%{count}個月
|
71
|
-
about_x_years:
|
72
|
-
one: 大概一年
|
73
|
-
other: 大概%{count}年
|
74
|
-
almost_x_years:
|
75
|
-
one: 差唔多一年
|
76
|
-
other: 差唔多%{count}年
|
65
|
+
about_x_hours: 大概%{count}個鐘
|
66
|
+
about_x_months: 大概%{count}個月
|
67
|
+
about_x_years: 大概%{count}年
|
68
|
+
almost_x_years: 差唔多%{count}年
|
77
69
|
half_a_minute: 半分鐘
|
78
|
-
less_than_x_seconds:
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
other: 超過%{count}年
|
87
|
-
x_seconds:
|
88
|
-
one: 一秒
|
89
|
-
other: "%{count}秒"
|
90
|
-
x_minutes:
|
91
|
-
one: 一分鐘
|
92
|
-
other: "%{count}分鐘"
|
93
|
-
x_days:
|
94
|
-
one: 一日
|
95
|
-
other: "%{count}日"
|
96
|
-
x_months:
|
97
|
-
one: 一個月
|
98
|
-
other: "%{count}個月"
|
99
|
-
x_years:
|
100
|
-
one: 一年
|
101
|
-
other: "%{count} 年"
|
70
|
+
less_than_x_seconds: 唔夠%{count}秒
|
71
|
+
less_than_x_minutes: 唔夠%{count}分鐘
|
72
|
+
over_x_years: 超過%{count}年
|
73
|
+
x_seconds: "%{count}秒"
|
74
|
+
x_minutes: "%{count}分鐘"
|
75
|
+
x_days: "%{count}日"
|
76
|
+
x_months: "%{count}個月"
|
77
|
+
x_years: "%{count}年"
|
102
78
|
prompts:
|
103
79
|
second: 秒
|
104
80
|
minute: 分
|
@@ -107,13 +83,13 @@ zh-YUE:
|
|
107
83
|
month: 月
|
108
84
|
year: 年
|
109
85
|
errors:
|
110
|
-
format: "%{attribute}
|
86
|
+
format: "%{attribute}%{message}"
|
111
87
|
messages:
|
112
88
|
accepted: 一定要被接受
|
113
89
|
blank: 唔可以空白
|
114
|
-
confirmation:
|
90
|
+
confirmation: 與%{attribute}唔夾
|
115
91
|
empty: 唔可以漏空
|
116
|
-
equal_to:
|
92
|
+
equal_to: 要等於%{count}
|
117
93
|
even: 要係雙數
|
118
94
|
exclusion: 唔用得
|
119
95
|
greater_than: 要大過%{count}
|
@@ -122,7 +98,7 @@ zh-YUE:
|
|
122
98
|
invalid: 無效
|
123
99
|
less_than: 要細過%{count}
|
124
100
|
less_than_or_equal_to: 要細過或者等於%{count}
|
125
|
-
model_invalid:
|
101
|
+
model_invalid: 驗證失敗:%{errors}
|
126
102
|
not_a_number: 唔係一個數字
|
127
103
|
not_an_integer: 要係整數
|
128
104
|
odd: 要係單數
|
@@ -130,20 +106,12 @@ zh-YUE:
|
|
130
106
|
present: 一定要空白
|
131
107
|
required: 必須存在
|
132
108
|
taken: 已經用緊
|
133
|
-
too_long:
|
134
|
-
|
135
|
-
|
136
|
-
too_short:
|
137
|
-
one: 太短(最少 1 個字)
|
138
|
-
other: 太短(最少 %{count} 個字)
|
139
|
-
wrong_length:
|
140
|
-
one: 唔啱字數 (要係 1 個字)
|
141
|
-
other: 唔啱字數 (要係 %{count} 個字)
|
109
|
+
too_long: 太長(最多%{count}個字)
|
110
|
+
too_short: 太短(最少%{count}個字)
|
111
|
+
wrong_length: 唔啱字數(要係%{count}個字)
|
142
112
|
template:
|
143
|
-
body:
|
144
|
-
header:
|
145
|
-
one: 有一個問題,%{model}儲存唔到。
|
146
|
-
other: 有%{count}個問題,%{model}儲存唔到。
|
113
|
+
body: 呢啲有問題:
|
114
|
+
header: 有%{count}個問題,%{model}儲存唔到。
|
147
115
|
helpers:
|
148
116
|
select:
|
149
117
|
prompt: 請喺度揀
|
@@ -201,7 +169,7 @@ zh-YUE:
|
|
201
169
|
delimiter: ''
|
202
170
|
support:
|
203
171
|
array:
|
204
|
-
last_word_connector:
|
172
|
+
last_word_connector: "、"
|
205
173
|
two_words_connector: 同
|
206
174
|
words_connector: "、"
|
207
175
|
time:
|