amber 0.2.6 → 0.3.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +14 -1
- data/README.md +88 -19
- data/bin/amber +26 -13
- data/lib/amber.rb +25 -39
- data/lib/amber/cli.rb +25 -1
- data/lib/amber/i18n.rb +43 -0
- data/lib/amber/render/apache.rb +44 -0
- data/lib/amber/render/asset.rb +28 -2
- data/lib/amber/render/helpers/blog_helper.rb +35 -0
- data/lib/amber/render/helpers/date_helper.rb +14 -0
- data/lib/amber/render/helpers/haml_helper.rb +9 -0
- data/lib/amber/render/helpers/html_helper.rb +30 -8
- data/lib/amber/render/helpers/navigation_helper.rb +31 -32
- data/lib/amber/render/layout.rb +2 -1
- data/lib/amber/render/template.rb +24 -11
- data/lib/amber/render/view.rb +31 -12
- data/lib/amber/server.rb +122 -56
- data/lib/amber/site.rb +171 -29
- data/lib/amber/site_configuration.rb +26 -11
- data/lib/amber/static_page.rb +34 -20
- data/lib/amber/static_page/filesystem.rb +3 -7
- data/lib/amber/static_page/page_properties.rb +7 -0
- data/lib/amber/static_page/render.rb +47 -31
- data/lib/amber/templates/apache_config.erb +12 -0
- data/lib/amber/templates/apache_config_with_prefix.erb +14 -0
- data/lib/amber/templates/htaccess.erb +176 -0
- data/lib/amber/version.rb +5 -0
- data/locales/rails-i18n/af.yml +201 -0
- data/locales/rails-i18n/ar.yml +274 -0
- data/locales/rails-i18n/az.yml +192 -0
- data/locales/rails-i18n/bg.yml +192 -0
- data/locales/rails-i18n/bn.yml +175 -0
- data/locales/rails-i18n/bs.yml +243 -0
- data/locales/rails-i18n/ca.yml +192 -0
- data/locales/rails-i18n/cs.yml +210 -0
- data/locales/rails-i18n/cy.yml +242 -0
- data/locales/rails-i18n/da.yml +198 -0
- data/locales/rails-i18n/de-AT.yml +202 -0
- data/locales/rails-i18n/de-CH.yml +206 -0
- data/locales/rails-i18n/de.yml +202 -0
- data/locales/rails-i18n/el.yml +198 -0
- data/locales/rails-i18n/en-AU.yml +198 -0
- data/locales/rails-i18n/en-CA.yml +207 -0
- data/locales/rails-i18n/en-GB.yml +198 -0
- data/locales/rails-i18n/en-IE.yml +198 -0
- data/locales/rails-i18n/en-IN.yml +198 -0
- data/locales/rails-i18n/en-NZ.yml +198 -0
- data/locales/rails-i18n/en-US.yml +204 -0
- data/locales/rails-i18n/en-ZA.yml +204 -0
- data/locales/rails-i18n/en.yml +204 -0
- data/locales/rails-i18n/eo.yml +194 -0
- data/locales/rails-i18n/es-419.yml +207 -0
- data/locales/rails-i18n/es-AR.yml +198 -0
- data/locales/rails-i18n/es-CL.yml +192 -0
- data/locales/rails-i18n/es-CO.yml +198 -0
- data/locales/rails-i18n/es-CR.yml +198 -0
- data/locales/rails-i18n/es-EC.yml +204 -0
- data/locales/rails-i18n/es-MX.yml +204 -0
- data/locales/rails-i18n/es-PA.yml +204 -0
- data/locales/rails-i18n/es-PE.yml +177 -0
- data/locales/rails-i18n/es-US.yml +198 -0
- data/locales/rails-i18n/es-VE.yml +198 -0
- data/locales/rails-i18n/es.yml +192 -0
- data/locales/rails-i18n/et.yml +192 -0
- data/locales/rails-i18n/eu.yml +192 -0
- data/locales/rails-i18n/fa.yml +192 -0
- data/locales/rails-i18n/fi.yml +192 -0
- data/locales/rails-i18n/fr-CA.yml +200 -0
- data/locales/rails-i18n/fr-CH.yml +200 -0
- data/locales/rails-i18n/fr.yml +214 -0
- data/locales/rails-i18n/gl.yml +171 -0
- data/locales/rails-i18n/he.yml +194 -0
- data/locales/rails-i18n/hi-IN.yml +192 -0
- data/locales/rails-i18n/hi.yml +192 -0
- data/locales/rails-i18n/hr.yml +236 -0
- data/locales/rails-i18n/hu.yml +192 -0
- data/locales/rails-i18n/id.yml +193 -0
- data/locales/rails-i18n/is.yml +212 -0
- data/locales/rails-i18n/iso-639-2/csb.yml +203 -0
- data/locales/rails-i18n/iso-639-2/dsb.yml +208 -0
- data/locales/rails-i18n/iso-639-2/fur.yml +192 -0
- data/locales/rails-i18n/iso-639-2/gsw-CH.yml +196 -0
- data/locales/rails-i18n/iso-639-2/hsb.yml +207 -0
- data/locales/rails-i18n/iso-639-2/pap-AW.yml +205 -0
- data/locales/rails-i18n/iso-639-2/pap-CW.yml +205 -0
- data/locales/rails-i18n/iso-639-2/scr.yml +236 -0
- data/locales/rails-i18n/it-CH.yml +198 -0
- data/locales/rails-i18n/it.yml +204 -0
- data/locales/rails-i18n/ja.yml +194 -0
- data/locales/rails-i18n/km.yml +54 -0
- data/locales/rails-i18n/kn.yml +192 -0
- data/locales/rails-i18n/ko.yml +190 -0
- data/locales/rails-i18n/lo.yml +227 -0
- data/locales/rails-i18n/lt.yml +217 -0
- data/locales/rails-i18n/lv.yml +229 -0
- data/locales/rails-i18n/mk.yml +198 -0
- data/locales/rails-i18n/mn.yml +198 -0
- data/locales/rails-i18n/ms.yml +200 -0
- data/locales/rails-i18n/nb.yml +205 -0
- data/locales/rails-i18n/ne.yml +198 -0
- data/locales/rails-i18n/nl.yml +204 -0
- data/locales/rails-i18n/nn.yml +201 -0
- data/locales/rails-i18n/or.yml +192 -0
- data/locales/rails-i18n/pl.yml +236 -0
- data/locales/rails-i18n/pt-BR.yml +206 -0
- data/locales/rails-i18n/pt.yml +200 -0
- data/locales/rails-i18n/rm.yml +223 -0
- data/locales/rails-i18n/ro.yml +205 -0
- data/locales/rails-i18n/ru.yml +256 -0
- data/locales/rails-i18n/sk.yml +206 -0
- data/locales/rails-i18n/sl.yml +205 -0
- data/locales/rails-i18n/sr.yml +236 -0
- data/locales/rails-i18n/sv.yml +192 -0
- data/locales/rails-i18n/sw.yml +190 -0
- data/locales/rails-i18n/ta.yml +204 -0
- data/locales/rails-i18n/th.yml +166 -0
- data/locales/rails-i18n/tl.yml +224 -0
- data/locales/rails-i18n/tr.yml +204 -0
- data/locales/rails-i18n/uk.yml +250 -0
- data/locales/rails-i18n/ur.yml +204 -0
- data/locales/rails-i18n/uz.yml +250 -0
- data/locales/rails-i18n/vi.yml +198 -0
- data/locales/rails-i18n/wo.yml +198 -0
- data/locales/rails-i18n/zh-CN.yml +203 -0
- data/locales/rails-i18n/zh-HK.yml +204 -0
- data/locales/rails-i18n/zh-TW.yml +203 -0
- data/locales/rails-i18n/zh-YUE.yml +204 -0
- metadata +164 -74
@@ -0,0 +1,204 @@
|
|
1
|
+
zh-HK:
|
2
|
+
date:
|
3
|
+
abbr_day_names:
|
4
|
+
- 周日
|
5
|
+
- 周一
|
6
|
+
- 周二
|
7
|
+
- 周三
|
8
|
+
- 周四
|
9
|
+
- 周五
|
10
|
+
- 周六
|
11
|
+
abbr_month_names:
|
12
|
+
-
|
13
|
+
- 1月
|
14
|
+
- 2月
|
15
|
+
- 3月
|
16
|
+
- 4月
|
17
|
+
- 5月
|
18
|
+
- 6月
|
19
|
+
- 7月
|
20
|
+
- 8月
|
21
|
+
- 9月
|
22
|
+
- 10月
|
23
|
+
- 11月
|
24
|
+
- 12月
|
25
|
+
day_names:
|
26
|
+
- 星期日
|
27
|
+
- 星期一
|
28
|
+
- 星期二
|
29
|
+
- 星期三
|
30
|
+
- 星期四
|
31
|
+
- 星期五
|
32
|
+
- 星期六
|
33
|
+
formats:
|
34
|
+
default: ! '%Y-%m-%d'
|
35
|
+
long: ! '%Y年%b%d日'
|
36
|
+
short: ! '%b%d日'
|
37
|
+
month_names:
|
38
|
+
-
|
39
|
+
- 一月
|
40
|
+
- 二月
|
41
|
+
- 三月
|
42
|
+
- 四月
|
43
|
+
- 五月
|
44
|
+
- 六月
|
45
|
+
- 七月
|
46
|
+
- 八月
|
47
|
+
- 九月
|
48
|
+
- 十月
|
49
|
+
- 十一月
|
50
|
+
- 十二月
|
51
|
+
order:
|
52
|
+
- :year
|
53
|
+
- :month
|
54
|
+
- :day
|
55
|
+
datetime:
|
56
|
+
distance_in_words:
|
57
|
+
about_x_hours:
|
58
|
+
one: 約一小時
|
59
|
+
other: 約%{count}小時
|
60
|
+
about_x_months:
|
61
|
+
one: 約一個月
|
62
|
+
other: 約%{count}個月
|
63
|
+
about_x_years:
|
64
|
+
one: 約一年
|
65
|
+
other: 約%{count}年
|
66
|
+
almost_x_years:
|
67
|
+
one: 接近一年
|
68
|
+
other: 接近%{count}年
|
69
|
+
half_a_minute: 半分鐘
|
70
|
+
less_than_x_minutes:
|
71
|
+
one: 不到一分鐘
|
72
|
+
other: 不到%{count}分鐘
|
73
|
+
less_than_x_seconds:
|
74
|
+
one: 不到一秒
|
75
|
+
other: 不到%{count}秒
|
76
|
+
over_x_years:
|
77
|
+
one: 超過一年
|
78
|
+
other: 超過%{count}年
|
79
|
+
x_days:
|
80
|
+
one: 一天
|
81
|
+
other: ! '%{count}天'
|
82
|
+
x_minutes:
|
83
|
+
one: 一分鐘
|
84
|
+
other: ! '%{count}分鐘'
|
85
|
+
x_months:
|
86
|
+
one: 一個月
|
87
|
+
other: ! '%{count}個月'
|
88
|
+
x_seconds:
|
89
|
+
one: 一秒
|
90
|
+
other: ! '%{count}秒'
|
91
|
+
prompts:
|
92
|
+
day: 日
|
93
|
+
hour: 時
|
94
|
+
minute: 分
|
95
|
+
month: 月
|
96
|
+
second: 秒
|
97
|
+
year: 年
|
98
|
+
errors:
|
99
|
+
format: ! '%{message}'
|
100
|
+
messages:
|
101
|
+
accepted: 必定要接受%{attribute}
|
102
|
+
blank: ! '%{attribute}不可以是空白'
|
103
|
+
present: ! '%{attribute}必定要是空白'
|
104
|
+
confirmation: ! '不符合%{attribute}'
|
105
|
+
empty: ! '%{attribute}不可以留空'
|
106
|
+
equal_to: ! '%{attribute}必須等於%{count}'
|
107
|
+
even: ! '%{attribute}必須要是雙數'
|
108
|
+
exclusion: ! '%{attribute}是被保留的關鍵字'
|
109
|
+
greater_than: ! '%{attribute}必須大於%{count}'
|
110
|
+
greater_than_or_equal_to: ! '%{attribute}必須大於或等於%{count}'
|
111
|
+
inclusion: ! '%{attribute}沒有包含在列表中'
|
112
|
+
invalid: ! '%{attribute}是無效的'
|
113
|
+
less_than: ! '%{attribute}必須小於%{count}'
|
114
|
+
less_than_or_equal_to: ! '%{attribute}必須小於或等於%{count}'
|
115
|
+
not_a_number: ! '%{attribute}不是數字'
|
116
|
+
not_an_integer: ! '%{attribute}必須是整數'
|
117
|
+
odd: ! '%{attribute}必須是單數'
|
118
|
+
record_invalid: ! '%{attribute}驗證失敗︰%{errors}'
|
119
|
+
restrict_dependent_destroy:
|
120
|
+
one: 由於%{record}依賴此記錄,無法移除
|
121
|
+
many: 由於%{record}依賴此記錄,無法移除
|
122
|
+
taken: ! '%{attribute}已被使用'
|
123
|
+
too_long:
|
124
|
+
one: 太長(最長為一個字元)
|
125
|
+
other: 太長(最長為%{count}個字元)
|
126
|
+
too_short:
|
127
|
+
one: 太短(最少為一個字元)
|
128
|
+
other: 太短(最少為%{count}個字元)
|
129
|
+
wrong_length:
|
130
|
+
one: 字數錯誤 (應為一個字元)
|
131
|
+
other: 字數錯誤 (應為%{count}個字元)
|
132
|
+
other_than: ! '%{attribute}唔可以係%{count}'
|
133
|
+
template:
|
134
|
+
body: 以下欄位發生問題︰
|
135
|
+
header:
|
136
|
+
one: 發生一項錯誤,以致%{model}未能儲存。
|
137
|
+
other: 發生%{count}項錯誤,以致%{model}未能儲存。
|
138
|
+
helpers:
|
139
|
+
select:
|
140
|
+
prompt: 請選擇
|
141
|
+
submit:
|
142
|
+
create: 新增%{model}
|
143
|
+
submit: 儲存%{model}
|
144
|
+
update: 更新%{model}
|
145
|
+
number:
|
146
|
+
currency:
|
147
|
+
format:
|
148
|
+
delimiter: ! ','
|
149
|
+
format: ! '%u %n'
|
150
|
+
precision: 2
|
151
|
+
separator: .
|
152
|
+
significant: false
|
153
|
+
strip_insignificant_zeros: false
|
154
|
+
unit: HK$
|
155
|
+
format:
|
156
|
+
delimiter: ! ','
|
157
|
+
precision: 3
|
158
|
+
separator: .
|
159
|
+
significant: false
|
160
|
+
strip_insignificant_zeros: false
|
161
|
+
human:
|
162
|
+
decimal_units:
|
163
|
+
format: ! '%n %u'
|
164
|
+
units:
|
165
|
+
billion: 十億
|
166
|
+
million: 百萬
|
167
|
+
quadrillion: 千兆
|
168
|
+
thousand: 千
|
169
|
+
trillion: 兆
|
170
|
+
unit: ''
|
171
|
+
format:
|
172
|
+
delimiter: ''
|
173
|
+
precision: 1
|
174
|
+
significant: false
|
175
|
+
strip_insignificant_zeros: false
|
176
|
+
storage_units:
|
177
|
+
format: ! '%n %u'
|
178
|
+
units:
|
179
|
+
byte:
|
180
|
+
one: Byte
|
181
|
+
other: Bytes
|
182
|
+
gb: GB
|
183
|
+
kb: KB
|
184
|
+
mb: MB
|
185
|
+
tb: TB
|
186
|
+
percentage:
|
187
|
+
format:
|
188
|
+
delimiter: ''
|
189
|
+
format: '%n%'
|
190
|
+
precision:
|
191
|
+
format:
|
192
|
+
delimiter: ''
|
193
|
+
support:
|
194
|
+
array:
|
195
|
+
last_word_connector: ! '和'
|
196
|
+
two_words_connector: ! '和'
|
197
|
+
words_connector: 、
|
198
|
+
time:
|
199
|
+
am: 上午
|
200
|
+
formats:
|
201
|
+
default: ! '%Y年%b%d日 %A %H:%M:%S %Z'
|
202
|
+
long: ! '%Y年%b%d日 %H:%M'
|
203
|
+
short: ! '%b%d日 %H:%M'
|
204
|
+
pm: 下午
|
@@ -0,0 +1,203 @@
|
|
1
|
+
zh-TW:
|
2
|
+
date:
|
3
|
+
abbr_day_names:
|
4
|
+
- 周日
|
5
|
+
- 周一
|
6
|
+
- 周二
|
7
|
+
- 周三
|
8
|
+
- 周四
|
9
|
+
- 周五
|
10
|
+
- 周六
|
11
|
+
abbr_month_names:
|
12
|
+
-
|
13
|
+
- 1月
|
14
|
+
- 2月
|
15
|
+
- 3月
|
16
|
+
- 4月
|
17
|
+
- 5月
|
18
|
+
- 6月
|
19
|
+
- 7月
|
20
|
+
- 8月
|
21
|
+
- 9月
|
22
|
+
- 10月
|
23
|
+
- 11月
|
24
|
+
- 12月
|
25
|
+
day_names:
|
26
|
+
- 星期日
|
27
|
+
- 星期一
|
28
|
+
- 星期二
|
29
|
+
- 星期三
|
30
|
+
- 星期四
|
31
|
+
- 星期五
|
32
|
+
- 星期六
|
33
|
+
formats:
|
34
|
+
default: ! '%Y-%m-%d'
|
35
|
+
long: ! '%Y年%b%d日'
|
36
|
+
short: ! '%b%d日'
|
37
|
+
month_names:
|
38
|
+
-
|
39
|
+
- 一月
|
40
|
+
- 二月
|
41
|
+
- 三月
|
42
|
+
- 四月
|
43
|
+
- 五月
|
44
|
+
- 六月
|
45
|
+
- 七月
|
46
|
+
- 八月
|
47
|
+
- 九月
|
48
|
+
- 十月
|
49
|
+
- 十一月
|
50
|
+
- 十二月
|
51
|
+
order:
|
52
|
+
- :year
|
53
|
+
- :month
|
54
|
+
- :day
|
55
|
+
datetime:
|
56
|
+
distance_in_words:
|
57
|
+
about_x_hours:
|
58
|
+
one: 大約一小時
|
59
|
+
other: 大約 %{count} 小時
|
60
|
+
about_x_months:
|
61
|
+
one: 大約一個月
|
62
|
+
other: 大約 %{count} 個月
|
63
|
+
about_x_years:
|
64
|
+
one: 大約一年
|
65
|
+
other: 大約 %{count} 年
|
66
|
+
almost_x_years:
|
67
|
+
one: 接近一年
|
68
|
+
other: 接近 %{count} 年
|
69
|
+
half_a_minute: 半分鐘
|
70
|
+
less_than_x_minutes:
|
71
|
+
one: 不到一分鐘
|
72
|
+
other: 不到 %{count} 分鐘
|
73
|
+
less_than_x_seconds:
|
74
|
+
one: 不到一秒
|
75
|
+
other: 不到 %{count} 秒
|
76
|
+
over_x_years:
|
77
|
+
one: 一年多
|
78
|
+
other: ! '%{count} 年多'
|
79
|
+
x_days:
|
80
|
+
one: 一天
|
81
|
+
other: ! '%{count} 天'
|
82
|
+
x_minutes:
|
83
|
+
one: 一分鐘
|
84
|
+
other: ! '%{count} 分鐘'
|
85
|
+
x_months:
|
86
|
+
one: 一個月
|
87
|
+
other: ! '%{count} 個月'
|
88
|
+
x_seconds:
|
89
|
+
one: 一秒
|
90
|
+
other: ! '%{count} 秒'
|
91
|
+
prompts:
|
92
|
+
day: 日
|
93
|
+
hour: 時
|
94
|
+
minute: 分
|
95
|
+
month: 月
|
96
|
+
second: 秒
|
97
|
+
year: 年
|
98
|
+
errors:
|
99
|
+
format: ! '%{attribute} %{message}'
|
100
|
+
messages:
|
101
|
+
accepted: 必須是可被接受的
|
102
|
+
blank: 不能是空白字元
|
103
|
+
present: 必須是空白
|
104
|
+
confirmation: 兩次輸入須一致
|
105
|
+
empty: 不能留空
|
106
|
+
equal_to: 必須等於 %{count}
|
107
|
+
even: 必須是偶數
|
108
|
+
exclusion: 是被保留的關鍵字
|
109
|
+
greater_than: 必須大於 %{count}
|
110
|
+
greater_than_or_equal_to: 必須大於或等於 %{count}
|
111
|
+
inclusion: 沒有包含在列表中
|
112
|
+
invalid: 是無效的
|
113
|
+
less_than: 必須小於 %{count}
|
114
|
+
less_than_or_equal_to: 必須小於或等於 %{count}
|
115
|
+
not_a_number: 不是數字
|
116
|
+
not_an_integer: 必須是整數
|
117
|
+
odd: 必須是奇數
|
118
|
+
record_invalid: ! '校驗失敗: %{errors}'
|
119
|
+
restrict_dependent_destroy:
|
120
|
+
one: 由於 %{record} 需要此記錄,所以無法移除記錄
|
121
|
+
many: 由於 %{record} 需要此記錄,所以無法移除記錄
|
122
|
+
taken: 已經被使用
|
123
|
+
too_long:
|
124
|
+
one: 過長(最長是一個字)
|
125
|
+
other: 過長(最長是 %{count} 個字)
|
126
|
+
too_short:
|
127
|
+
one: 過短(最短是一個字)
|
128
|
+
other: 過短(最短是 %{count} 個字)
|
129
|
+
wrong_length:
|
130
|
+
one: 字數錯誤 (必須是一個字)
|
131
|
+
other: 字數錯誤 (必須是 %{count} 個字)
|
132
|
+
other_than: 不可以是 %{count} 個字
|
133
|
+
template:
|
134
|
+
body: 以下欄位發生問題:
|
135
|
+
header:
|
136
|
+
one: 有 1 個錯誤發生使得「%{model}」無法被儲存。
|
137
|
+
other: 有 %{count} 個錯誤發生使得「%{model}」無法被儲存。
|
138
|
+
helpers:
|
139
|
+
select:
|
140
|
+
prompt: 請選擇
|
141
|
+
submit:
|
142
|
+
create: 新增%{model}
|
143
|
+
submit: 儲存%{model}
|
144
|
+
update: 更新%{model}
|
145
|
+
number:
|
146
|
+
currency:
|
147
|
+
format:
|
148
|
+
delimiter: ! ','
|
149
|
+
format: ! '%u %n'
|
150
|
+
precision: 2
|
151
|
+
separator: .
|
152
|
+
significant: false
|
153
|
+
strip_insignificant_zeros: false
|
154
|
+
unit: NT$
|
155
|
+
format:
|
156
|
+
delimiter: ! ','
|
157
|
+
precision: 3
|
158
|
+
separator: .
|
159
|
+
significant: false
|
160
|
+
strip_insignificant_zeros: false
|
161
|
+
human:
|
162
|
+
decimal_units:
|
163
|
+
format: ! '%n %u'
|
164
|
+
units:
|
165
|
+
billion: 十億
|
166
|
+
million: 百萬
|
167
|
+
quadrillion: 千兆
|
168
|
+
thousand: 千
|
169
|
+
trillion: 兆
|
170
|
+
unit: ''
|
171
|
+
format:
|
172
|
+
delimiter: ''
|
173
|
+
precision: 1
|
174
|
+
significant: false
|
175
|
+
strip_insignificant_zeros: false
|
176
|
+
storage_units:
|
177
|
+
format: ! '%n %u'
|
178
|
+
units:
|
179
|
+
byte:
|
180
|
+
one: 位元組
|
181
|
+
other: 位元組
|
182
|
+
gb: GB
|
183
|
+
kb: KB
|
184
|
+
mb: MB
|
185
|
+
tb: TB
|
186
|
+
percentage:
|
187
|
+
format:
|
188
|
+
delimiter: ''
|
189
|
+
precision:
|
190
|
+
format:
|
191
|
+
delimiter: ''
|
192
|
+
support:
|
193
|
+
array:
|
194
|
+
last_word_connector: ! ', 和 '
|
195
|
+
two_words_connector: ! ' 和 '
|
196
|
+
words_connector: ! ', '
|
197
|
+
time:
|
198
|
+
am: 上午
|
199
|
+
formats:
|
200
|
+
default: ! '%Y年%b%d日 %A %H:%M:%S %Z'
|
201
|
+
long: ! '%Y年%b%d日 %H:%M'
|
202
|
+
short: ! '%b%d日 %H:%M'
|
203
|
+
pm: 下午
|
@@ -0,0 +1,204 @@
|
|
1
|
+
zh-YUE:
|
2
|
+
date:
|
3
|
+
abbr_day_names:
|
4
|
+
- 周日
|
5
|
+
- 周一
|
6
|
+
- 周二
|
7
|
+
- 周三
|
8
|
+
- 周四
|
9
|
+
- 周五
|
10
|
+
- 周六
|
11
|
+
abbr_month_names:
|
12
|
+
-
|
13
|
+
- 1月
|
14
|
+
- 2月
|
15
|
+
- 3月
|
16
|
+
- 4月
|
17
|
+
- 5月
|
18
|
+
- 6月
|
19
|
+
- 7月
|
20
|
+
- 8月
|
21
|
+
- 9月
|
22
|
+
- 10月
|
23
|
+
- 11月
|
24
|
+
- 12月
|
25
|
+
day_names:
|
26
|
+
- 星期日
|
27
|
+
- 星期一
|
28
|
+
- 星期二
|
29
|
+
- 星期三
|
30
|
+
- 星期四
|
31
|
+
- 星期五
|
32
|
+
- 星期六
|
33
|
+
formats:
|
34
|
+
default: ! '%Y-%m-%d'
|
35
|
+
long: ! '%Y年%b%d日'
|
36
|
+
short: ! '%b%d日'
|
37
|
+
month_names:
|
38
|
+
-
|
39
|
+
- 一月
|
40
|
+
- 二月
|
41
|
+
- 三月
|
42
|
+
- 四月
|
43
|
+
- 五月
|
44
|
+
- 六月
|
45
|
+
- 七月
|
46
|
+
- 八月
|
47
|
+
- 九月
|
48
|
+
- 十月
|
49
|
+
- 十一月
|
50
|
+
- 十二月
|
51
|
+
order:
|
52
|
+
- :year
|
53
|
+
- :month
|
54
|
+
- :day
|
55
|
+
datetime:
|
56
|
+
distance_in_words:
|
57
|
+
about_x_hours:
|
58
|
+
one: 大概一個鐘
|
59
|
+
other: 大概%{count}個鐘
|
60
|
+
about_x_months:
|
61
|
+
one: 大概一個月
|
62
|
+
other: 大概%{count}個月
|
63
|
+
about_x_years:
|
64
|
+
one: 大概一年
|
65
|
+
other: 大概%{count}年
|
66
|
+
almost_x_years:
|
67
|
+
one: 差唔多一年
|
68
|
+
other: 差唔多%{count}年
|
69
|
+
half_a_minute: 半分鐘
|
70
|
+
less_than_x_minutes:
|
71
|
+
one: 唔夠一分鐘
|
72
|
+
other: 唔夠%{count}分鐘
|
73
|
+
less_than_x_seconds:
|
74
|
+
one: 唔夠一秒
|
75
|
+
other: 唔夠%{count}秒
|
76
|
+
over_x_years:
|
77
|
+
one: 超過一年
|
78
|
+
other: 超過%{count}年
|
79
|
+
x_days:
|
80
|
+
one: 一日
|
81
|
+
other: ! '%{count}日'
|
82
|
+
x_minutes:
|
83
|
+
one: 一分鐘
|
84
|
+
other: ! '%{count}分鐘'
|
85
|
+
x_months:
|
86
|
+
one: 一個月
|
87
|
+
other: ! '%{count}個月'
|
88
|
+
x_seconds:
|
89
|
+
one: 一秒
|
90
|
+
other: ! '%{count}秒'
|
91
|
+
prompts:
|
92
|
+
day: 日
|
93
|
+
hour: 點
|
94
|
+
minute: 分
|
95
|
+
month: 月
|
96
|
+
second: 秒
|
97
|
+
year: 年
|
98
|
+
errors:
|
99
|
+
format: ! '%{message}'
|
100
|
+
messages:
|
101
|
+
accepted: 一定要接受%{attribute}
|
102
|
+
blank: ! '%{attribute}唔可以空白'
|
103
|
+
present: ! '%{attribute}要空白'
|
104
|
+
confirmation: ! '%{attribute}唔夾'
|
105
|
+
empty: ! '%{attribute}唔可以漏空'
|
106
|
+
equal_to: ! '%{attribute}要係%{count}'
|
107
|
+
even: ! '%{attribute}要係雙數'
|
108
|
+
exclusion: ! '%{attribute}唔用得'
|
109
|
+
greater_than: ! '%{attribute}要大過%{count}'
|
110
|
+
greater_than_or_equal_to: ! '%{attribute}要大過或者等於%{count}'
|
111
|
+
inclusion: ! '%{attribute}唔喺表入面'
|
112
|
+
invalid: ! '%{attribute}無效'
|
113
|
+
less_than: ! '%{attribute}要細過%{count}'
|
114
|
+
less_than_or_equal_to: ! '%{attribute}要細過或者等於%{count}'
|
115
|
+
not_a_number: ! '%{attribute}唔係一個數'
|
116
|
+
not_an_integer: ! '%{attribute}要係整數'
|
117
|
+
odd: ! '%{attribute}要係單數'
|
118
|
+
record_invalid: ! '%{attribute}有問題︰%{errors}'
|
119
|
+
restrict_dependent_destroy:
|
120
|
+
one: 唔可以刪除,因為%{record}要用佢
|
121
|
+
many: 唔可以刪除,因為%{record}要用佢
|
122
|
+
taken: ! '%{attribute}已經用過'
|
123
|
+
too_long:
|
124
|
+
one: 太長(最多1個字)
|
125
|
+
other: 太長(最多%{count}個字)
|
126
|
+
too_short:
|
127
|
+
one: 太短(最少1個字)
|
128
|
+
other: 太短(最少%{count}個字)
|
129
|
+
wrong_length:
|
130
|
+
one: 唔啱字數 (要係1個字)
|
131
|
+
other: 唔啱字數 (要係%{count}個字)
|
132
|
+
other_than: ! '%{attribute}唔可以係%{count}'
|
133
|
+
template:
|
134
|
+
body: 呢啲有問題︰
|
135
|
+
header:
|
136
|
+
one: 有一個問題,%{model}儲存唔到。
|
137
|
+
other: 有%{count}個問題,%{model}儲存唔到。
|
138
|
+
helpers:
|
139
|
+
select:
|
140
|
+
prompt: 喺度揀
|
141
|
+
submit:
|
142
|
+
create: 新嘅%{model}
|
143
|
+
submit: 儲存%{model}
|
144
|
+
update: 更新%{model}
|
145
|
+
number:
|
146
|
+
currency:
|
147
|
+
format:
|
148
|
+
delimiter: ! ','
|
149
|
+
format: ! '%u %n'
|
150
|
+
precision: 2
|
151
|
+
separator: .
|
152
|
+
significant: false
|
153
|
+
strip_insignificant_zeros: false
|
154
|
+
unit: HK$
|
155
|
+
format:
|
156
|
+
delimiter: ! ','
|
157
|
+
precision: 3
|
158
|
+
separator: .
|
159
|
+
significant: false
|
160
|
+
strip_insignificant_zeros: false
|
161
|
+
human:
|
162
|
+
decimal_units:
|
163
|
+
format: ! '%n %u'
|
164
|
+
units:
|
165
|
+
billion: 十億
|
166
|
+
million: 百萬
|
167
|
+
quadrillion: 千兆
|
168
|
+
thousand: 千
|
169
|
+
trillion: 兆
|
170
|
+
unit: ''
|
171
|
+
format:
|
172
|
+
delimiter: ''
|
173
|
+
precision: 1
|
174
|
+
significant: false
|
175
|
+
strip_insignificant_zeros: false
|
176
|
+
storage_units:
|
177
|
+
format: ! '%n %u'
|
178
|
+
units:
|
179
|
+
byte:
|
180
|
+
one: Byte
|
181
|
+
other: Bytes
|
182
|
+
gb: GB
|
183
|
+
kb: KB
|
184
|
+
mb: MB
|
185
|
+
tb: TB
|
186
|
+
percentage:
|
187
|
+
format:
|
188
|
+
delimiter: ''
|
189
|
+
format: '%n%'
|
190
|
+
precision:
|
191
|
+
format:
|
192
|
+
delimiter: ''
|
193
|
+
support:
|
194
|
+
array:
|
195
|
+
last_word_connector: 同
|
196
|
+
two_words_connector: 同
|
197
|
+
words_connector: 、
|
198
|
+
time:
|
199
|
+
am: 上晝
|
200
|
+
formats:
|
201
|
+
default: ! '%Y年%b%d號 %A %H:%M:%S %Z'
|
202
|
+
long: ! '%Y年%b%d號 %H:%M'
|
203
|
+
short: ! '%b%d號 %H:%M'
|
204
|
+
pm: 下晝
|