refinerycms-i18n 0.9.9.9 → 0.9.9.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. data/config/locales/ar.yml +4 -1
  2. data/config/locales/bg.yml +4 -1
  3. data/config/locales/bn-IN.yml +4 -1
  4. data/config/locales/bs.yml +4 -1
  5. data/config/locales/{ca-ES.yml → ca.yml} +16 -1
  6. data/config/locales/{cz.rb → cs.rb} +2 -2
  7. data/config/locales/cy.yml +181 -0
  8. data/config/locales/da.yml +115 -87
  9. data/config/locales/de-AT.yml +29 -15
  10. data/config/locales/de-CH.yml +154 -0
  11. data/config/locales/de.yml +89 -37
  12. data/config/locales/dsb.yml +185 -182
  13. data/config/locales/el.yml +95 -153
  14. data/config/locales/en-AU.yml +180 -0
  15. data/config/locales/en-GB.yml +210 -0
  16. data/config/locales/en-US.yml +182 -0
  17. data/config/locales/eo.yml +182 -0
  18. data/config/locales/es-AR.yml +150 -141
  19. data/config/locales/es-CO.yml +79 -46
  20. data/config/locales/es-MX.yml +81 -13
  21. data/config/locales/es-PE.yml +124 -0
  22. data/config/locales/es.yml +183 -84
  23. data/config/locales/et.yml +93 -15
  24. data/config/locales/eu.yml +264 -0
  25. data/config/locales/fa.yml +36 -12
  26. data/config/locales/fi.yml +6 -5
  27. data/config/locales/fr-CA.yml +187 -0
  28. data/config/locales/fr-CH.yml +111 -50
  29. data/config/locales/fr.yml +95 -53
  30. data/config/locales/fun/en-AU.rb +1 -1
  31. data/config/locales/fun/gibberish.rb +2 -2
  32. data/config/locales/fur.yml +4 -1
  33. data/config/locales/gl-ES.yml +4 -1
  34. data/config/locales/gsw-CH.yml +182 -0
  35. data/config/locales/he.yml +4 -1
  36. data/config/locales/hi-IN.yml +181 -0
  37. data/config/locales/hi.yml +181 -0
  38. data/config/locales/hr.yml +4 -1
  39. data/config/locales/hsb.yml +193 -190
  40. data/config/locales/hu.yml +4 -1
  41. data/config/locales/id.yml +35 -15
  42. data/config/locales/is.yml +5 -2
  43. data/config/locales/it.yml +76 -24
  44. data/config/locales/ja.yml +72 -23
  45. data/config/locales/ko.yml +131 -98
  46. data/config/locales/lo.yml +42 -39
  47. data/config/locales/lt.yml +4 -1
  48. data/config/locales/lv.yml +58 -9
  49. data/config/locales/mk.yml +4 -1
  50. data/config/locales/mn.yml +159 -0
  51. data/config/locales/nb.yml +44 -7
  52. data/config/locales/nl.yml +171 -158
  53. data/config/locales/nn.yml +5 -2
  54. data/config/locales/pl.yml +117 -51
  55. data/config/locales/pt-BR.yml +85 -25
  56. data/config/locales/pt-PT.yml +132 -162
  57. data/config/locales/rm.yml +4 -1
  58. data/config/locales/ro.yml +6 -3
  59. data/config/locales/ru.yml +4 -1
  60. data/config/locales/sk.yml +195 -139
  61. data/config/locales/sl.yml +4 -1
  62. data/config/locales/sr-Latn.yml +4 -1
  63. data/config/locales/sr.yml +4 -1
  64. data/config/locales/sv.yml +85 -32
  65. data/config/locales/sw.yml +135 -76
  66. data/config/locales/th.rb +180 -203
  67. data/config/locales/tr.yml +4 -1
  68. data/config/locales/uk.yml +4 -1
  69. data/config/locales/vi.yml +4 -1
  70. data/config/locales/zh-CN.yml +91 -12
  71. data/config/locales/zh-TW.yml +92 -14
  72. data/lib/gemspec.rb +1 -1
  73. data/lib/refinery/i18n.rb +1 -1
  74. metadata +18 -5
@@ -17,7 +17,10 @@ tr:
17
17
  abbr_day_names: [Pzr, Pzt, Sal, Çrş, Prş, Cum, Cts]
18
18
  month_names: [~, Ocak, Şubat, Mart, Nisan, Mayıs, Haziran, Temmuz, Ağustos, Eylül, Ekim, Kasım, Aralık]
19
19
  abbr_month_names: [~, Oca, Şub, Mar, Nis, May, Haz, Tem, Ağu, Eyl, Eki, Kas, Ara]
20
- order: [ :day, :month, :year ]
20
+ order:
21
+ - :day
22
+ - :month
23
+ - :year
21
24
 
22
25
  time:
23
26
  formats:
@@ -216,7 +216,10 @@ uk:
216
216
  month_names: [~, Січень, Лютий, Березень, Квітень, Травень, Червень, Липень, Серпень, Вересень, Жовтень, Листопад, Грудень]
217
217
  abbr_month_names: [~, січ., лют., бер., квіт., трав., черв., лип., серп., вер., жовт., лист., груд.]
218
218
  # Used in date_select and datime_select.
219
- order: [ :day, :month, :year ]
219
+ order:
220
+ - :day
221
+ - :month
222
+ - :year
220
223
 
221
224
  time:
222
225
  formats:
@@ -180,7 +180,10 @@ vi:
180
180
  month_names: [~, "Tháng một", "Tháng hai", "Tháng ba", "Tháng tư", "Tháng năm", "Tháng sáu", "Tháng bảy", "Tháng tám", "Tháng chín", "Tháng mười", "Tháng mười một", "Tháng mười hai"]
181
181
  abbr_month_names: [~, "Tháng một", "Tháng hai", "Tháng ba", "Tháng tư", "Tháng năm", "Tháng sáu", "Tháng bảy", "Tháng tám", "Tháng chín", "Tháng mười", "Tháng mười một", "Tháng mười hai"]
182
182
  # Used in date_select and datime_select.
183
- order: [ :day, :month, :year ]
183
+ order:
184
+ - :day
185
+ - :month
186
+ - :year
184
187
 
185
188
  time:
186
189
  formats:
@@ -1,7 +1,7 @@
1
- # Chinese (China) translations for Ruby on Rails
1
+ # Chinese (China) translations for Ruby on Rails
2
2
  # by tsechingho (http://github.com/tsechingho)
3
3
 
4
- "zh-CN":
4
+ zh-CN:
5
5
  date:
6
6
  formats:
7
7
  default: "%Y-%m-%d"
@@ -11,8 +11,11 @@
11
11
  abbr_day_names: [日, 一, 二, 三, 四, 五, 六]
12
12
  month_names: [~, 一月, 二月, 三月, 四月, 五月, 六月, 七月, 八月, 九月, 十月, 十一月, 十二月]
13
13
  abbr_month_names: [~, 1月, 2月, 3月, 4月, 5月, 6月, 7月, 8月, 9月, 10月, 11月, 12月]
14
- order: [ :year, :month, :day ]
15
-
14
+ order:
15
+ - :year
16
+ - :month
17
+ - :day
18
+
16
19
  time:
17
20
  formats:
18
21
  default: "%Y年%b%d日 %A %H:%M:%S %Z"
@@ -20,7 +23,7 @@
20
23
  long: "%Y年%b%d日 %H:%M"
21
24
  am: "上午"
22
25
  pm: "下午"
23
-
26
+
24
27
  datetime:
25
28
  distance_in_words:
26
29
  half_a_minute: "半分钟"
@@ -54,6 +57,9 @@
54
57
  over_x_years:
55
58
  one: "一年多"
56
59
  other: "%{count} 年多"
60
+ almost_x_years:
61
+ one: "接近一年"
62
+ other: "接近 %{count} 年"
57
63
  prompts:
58
64
  year: "年"
59
65
  month: "月"
@@ -61,12 +67,14 @@
61
67
  hour: "时"
62
68
  minute: "分"
63
69
  second: "秒"
64
-
70
+
65
71
  number:
66
72
  format:
67
73
  separator: "."
68
74
  delimiter: ","
69
75
  precision: 3
76
+ significant: false
77
+ strip_insignificant_zeros: false
70
78
  currency:
71
79
  format:
72
80
  format: "%u %n"
@@ -74,6 +82,8 @@
74
82
  separator: "."
75
83
  delimiter: ","
76
84
  precision: 2
85
+ significant: false
86
+ strip_insignificant_zeros: false
77
87
  percentage:
78
88
  format:
79
89
  delimiter: ""
@@ -84,6 +94,8 @@
84
94
  format:
85
95
  delimiter: ""
86
96
  precision: 1
97
+ significant: false
98
+ strip_insignificant_zeros: false
87
99
  storage_units:
88
100
  format: "%n %u"
89
101
  units:
@@ -94,22 +106,48 @@
94
106
  mb: "MB"
95
107
  gb: "GB"
96
108
  tb: "TB"
97
-
109
+ decimal_units:
110
+ format: "%n %u"
111
+ units:
112
+ # 10^-21 zepto, 10^-24 yocto
113
+ atto: "渺" # 10^-18
114
+ femto: "飞" # 10^-15 毫微微
115
+ pico: "漠" # 10^-12 微微
116
+ nano: "奈" # 10^-9 毫微
117
+ micro: "微" # 10^-6
118
+ mili: "毫" # 10^-3 milli
119
+ centi: "厘" # 10^-2
120
+ deci: "分" # 10^-1
121
+ unit: ""
122
+ ten:
123
+ one: "十"
124
+ other: "十" # 10^1
125
+ hundred: "百" # 10^2
126
+ thousand: "千" # 10^3 kilo
127
+ million: "百万" # 10^6 mega
128
+ billion: "十亿" # 10^9 giga
129
+ trillion: "兆" # 10^12 tera
130
+ quadrillion: "千兆" # 10^15 peta
131
+ # 10^18 exa, 10^21 zetta, 10^24 yotta
132
+
98
133
  support:
99
134
  array:
100
135
  words_connector: ", "
101
136
  two_words_connector: " 和 "
102
137
  last_word_connector: ", 和 "
103
-
138
+ select:
139
+ prompt: "请选择"
140
+
104
141
  activerecord:
105
142
  errors:
106
- template:
107
- header:
143
+ template: # ~ 2.3.5 backward compatible
144
+ header:
108
145
  one: "有 1 个错误发生导致「%{model}」无法被保存。"
109
146
  other: "有 %{count} 个错误发生导致「%{model}」无法被保存。"
110
147
  body: "如下字段出现错误:"
148
+ full_messages:
149
+ format: "%{attribute} %{message}"
111
150
  messages:
112
- record_invalid: "校验失败: %{errors}"
113
151
  inclusion: "不包含于列表中"
114
152
  exclusion: "是保留关键字"
115
153
  invalid: "是无效的"
@@ -120,8 +158,8 @@
120
158
  too_long: "过长(最长为 %{count} 个字符)"
121
159
  too_short: "过短(最短为 %{count} 个字符)"
122
160
  wrong_length: "长度非法(必须为 %{count} 个字符)"
123
- taken: "已经被使用"
124
161
  not_a_number: "不是数字"
162
+ not_an_integer: "必须是整数"
125
163
  greater_than: "必须大于 %{count}"
126
164
  greater_than_or_equal_to: "必须大于或等于 %{count}"
127
165
  equal_to: "必须等于 %{count}"
@@ -129,3 +167,44 @@
129
167
  less_than_or_equal_to: "必须小于或等于 %{count}"
130
168
  odd: "必须为单数"
131
169
  even: "必须为双数"
170
+ taken: "已经被使用"
171
+ record_invalid: "校验失败: %{errors}"
172
+
173
+ activemodel:
174
+ errors:
175
+ template:
176
+ header:
177
+ one: "有 1 个错误发生导致「%{model}」无法被保存。"
178
+ other: "有 %{count} 个错误发生导致「%{model}」无法被保存。"
179
+ body: "如下字段出现错误:"
180
+
181
+ errors:
182
+ format: "%{attribute} %{message}"
183
+ messages:
184
+ inclusion: "不包含于列表中"
185
+ exclusion: "是保留关键字"
186
+ invalid: "是无效的"
187
+ confirmation: "与确认值不匹配"
188
+ accepted: "必须是可被接受的"
189
+ empty: "不能留空"
190
+ blank: "不能为空字符"
191
+ too_long: "过长(最长为 %{count} 个字符)"
192
+ too_short: "过短(最短为 %{count} 个字符)"
193
+ wrong_length: "长度非法(必须为 %{count} 个字符)"
194
+ not_a_number: "不是数字"
195
+ not_an_integer: "必须是整数"
196
+ greater_than: "必须大于 %{count}"
197
+ greater_than_or_equal_to: "必须大于或等于 %{count}"
198
+ equal_to: "必须等于 %{count}"
199
+ less_than: "必须小于 %{count}"
200
+ less_than_or_equal_to: "必须小于或等于 %{count}"
201
+ odd: "必须为单数"
202
+ even: "必须为双数"
203
+
204
+ helpers:
205
+ select:
206
+ prompt: "请选择"
207
+ submit:
208
+ create: "新增%{model}"
209
+ update: "更新%{model}"
210
+ submit: "储存%{model}"
@@ -1,7 +1,7 @@
1
- # Chinese (Taiwan) translations for Ruby on Rails
1
+ # Chinese (Taiwan) translations for Ruby on Rails
2
2
  # by tsechingho (http://github.com/tsechingho)
3
3
 
4
- "zh-TW":
4
+ zh-TW:
5
5
  date:
6
6
  formats:
7
7
  default: "%Y-%m-%d"
@@ -11,8 +11,11 @@
11
11
  abbr_day_names: [日, 一, 二, 三, 四, 五, 六]
12
12
  month_names: [~, 一月, 二月, 三月, 四月, 五月, 六月, 七月, 八月, 九月, 十月, 十一月, 十二月]
13
13
  abbr_month_names: [~, 1月, 2月, 3月, 4月, 5月, 6月, 7月, 8月, 9月, 10月, 11月, 12月]
14
- order: [ :year, :month, :day ]
15
-
14
+ order:
15
+ - :year
16
+ - :month
17
+ - :day
18
+
16
19
  time:
17
20
  formats:
18
21
  default: "%Y年%b%d日 %A %H:%M:%S %Z"
@@ -20,7 +23,7 @@
20
23
  long: "%Y年%b%d日 %H:%M"
21
24
  am: "上午"
22
25
  pm: "下午"
23
-
26
+
24
27
  datetime:
25
28
  distance_in_words:
26
29
  half_a_minute: "半分鐘"
@@ -54,6 +57,9 @@
54
57
  over_x_years:
55
58
  one: "一年多"
56
59
  other: "%{count} 年多"
60
+ almost_x_years:
61
+ one: "接近一年"
62
+ other: "接近 %{count} 年"
57
63
  prompts:
58
64
  year: "年"
59
65
  month: "月"
@@ -61,12 +67,14 @@
61
67
  hour: "時"
62
68
  minute: "分"
63
69
  second: "秒"
64
-
70
+
65
71
  number:
66
72
  format:
67
73
  separator: "."
68
74
  delimiter: ","
69
75
  precision: 3
76
+ significant: false
77
+ strip_insignificant_zeros: false
70
78
  currency:
71
79
  format:
72
80
  format: "%u %n"
@@ -74,6 +82,8 @@
74
82
  separator: "."
75
83
  delimiter: ","
76
84
  precision: 2
85
+ significant: false
86
+ strip_insignificant_zeros: false
77
87
  percentage:
78
88
  format:
79
89
  delimiter: ""
@@ -84,6 +94,8 @@
84
94
  format:
85
95
  delimiter: ""
86
96
  precision: 1
97
+ significant: false
98
+ strip_insignificant_zeros: false
87
99
  storage_units:
88
100
  format: "%n %u"
89
101
  units:
@@ -94,23 +106,50 @@
94
106
  mb: "MB"
95
107
  gb: "GB"
96
108
  tb: "TB"
97
-
109
+ decimal_units:
110
+ format: "%n %u"
111
+ units:
112
+ # 10^-21 zepto, 10^-24 yocto
113
+ atto: "渺" # 10^-18
114
+ femto: "飛" # 10^-15 毫微微
115
+ pico: "漠" # 10^-12 微微
116
+ nano: "奈" # 10^-9 毫微
117
+ micro: "微" # 10^-6
118
+ mili: "毫" # 10^-3 milli
119
+ centi: "厘" # 10^-2
120
+ deci: "分" # 10^-1
121
+ unit: ""
122
+ ten:
123
+ one: "十"
124
+ other: "十" # 10^1
125
+ hundred: "百" # 10^2
126
+ thousand: "千" # 10^3 kilo
127
+ million: "百萬" # 10^6 mega
128
+ billion: "十億" # 10^9 giga
129
+ trillion: "兆" # 10^12 tera
130
+ quadrillion: "千兆" # 10^15 peta
131
+ # 10^18 exa, 10^21 zetta, 10^24 yotta
132
+
98
133
  support:
99
134
  array:
100
135
  words_connector: ", "
101
136
  two_words_connector: " 和 "
102
137
  last_word_connector: ", 和 "
103
-
138
+ select:
139
+ prompt: "請選擇"
140
+
104
141
  activerecord:
105
142
  errors:
106
- template:
107
- header:
143
+ template: # ~ 2.3.5 backward compatible
144
+ header:
108
145
  one: "有 1 個錯誤發生使得「%{model}」無法被儲存。"
109
146
  other: "有 %{count} 個錯誤發生使得「%{model}」無法被儲存。"
110
- body: "下面欄位有問題:"
147
+ body: "以下欄位發生問題:"
148
+ full_messages:
149
+ format: "%{attribute} %{message}"
111
150
  messages:
112
151
  inclusion: "沒有包含在列表中"
113
- exclusion: "是被保留的"
152
+ exclusion: "是被保留的關鍵字"
114
153
  invalid: "是無效的"
115
154
  confirmation: "不符合確認值"
116
155
  accepted: "必須是可被接受的"
@@ -119,8 +158,8 @@
119
158
  too_long: "過長(最長是 %{count} 個字)"
120
159
  too_short: "過短(最短是 %{count} 個字)"
121
160
  wrong_length: "字數錯誤(必須是 %{count} 個字)"
122
- taken: "已經被使用"
123
161
  not_a_number: "不是數字"
162
+ not_an_integer: "必須是整數"
124
163
  greater_than: "必須大於 %{count}"
125
164
  greater_than_or_equal_to: "必須大於或等於 %{count}"
126
165
  equal_to: "必須等於 %{count}"
@@ -128,5 +167,44 @@
128
167
  less_than_or_equal_to: "必須小於或等於 %{count}"
129
168
  odd: "必須是奇數"
130
169
  even: "必須是偶數"
131
-
170
+ taken: "已經被使用"
171
+ record_invalid: "校驗失敗: %{errors}"
172
+
173
+ activemodel:
174
+ errors:
175
+ template:
176
+ header:
177
+ one: "有 1 個錯誤發生使得「%{model}」無法被儲存。"
178
+ other: "有 %{count} 個錯誤發生使得「%{model}」無法被儲存。"
179
+ body: "以下欄位發生問題:"
180
+
181
+ errors:
182
+ format: "%{attribute} %{message}"
183
+ messages:
184
+ inclusion: "沒有包含在列表中"
185
+ exclusion: "是被保留的關鍵字"
186
+ invalid: "是無效的"
187
+ confirmation: "不符合確認值"
188
+ accepted: "必須是可被接受的"
189
+ empty: "不能留空"
190
+ blank: "不能是空白字元"
191
+ too_long: "過長(最長是 %{count} 個字)"
192
+ too_short: "過短(最短是 %{count} 個字)"
193
+ wrong_length: "字數錯誤(必須是 %{count} 個字)"
194
+ not_a_number: "不是數字"
195
+ not_an_integer: "必須是整數"
196
+ greater_than: "必須大於 %{count}"
197
+ greater_than_or_equal_to: "必須大於或等於 %{count}"
198
+ equal_to: "必須等於 %{count}"
199
+ less_than: "必須小於 %{count}"
200
+ less_than_or_equal_to: "必須小於或等於 %{count}"
201
+ odd: "必須是奇數"
202
+ even: "必須是偶數"
132
203
 
204
+ helpers:
205
+ select:
206
+ prompt: "請選擇"
207
+ submit:
208
+ create: "新增%{model}"
209
+ update: "更新%{model}"
210
+ submit: "儲存%{model}"
data/lib/gemspec.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
- version = '0.9.9.9'
2
+ version = '0.9.9.10'
3
3
  raise "Could not get version so gemspec can not be built" if version.nil?
4
4
  files = Dir.glob("**/*").flatten.reject do |file|
5
5
  file =~ /\.gem(spec)?$/
data/lib/refinery/i18n.rb CHANGED
@@ -69,7 +69,7 @@ module Refinery
69
69
 
70
70
  Refinery::Plugin.register do |plugin|
71
71
  plugin.name = "refinery_i18n"
72
- plugin.version = %q{0.9.9.9}
72
+ plugin.version = %q{0.9.9.10}
73
73
  plugin.hide_from_menu = true
74
74
  plugin.always_allow_access = true
75
75
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: refinerycms-i18n
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.9.9.9
5
+ version: 0.9.9.10
6
6
  platform: ruby
7
7
  authors:
8
8
  - Resolve Digital
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-02-11 00:00:00 +13:00
13
+ date: 2011-02-23 00:00:00 +13:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -48,27 +48,39 @@ files:
48
48
  - config/locales/bg.yml
49
49
  - config/locales/bn-IN.yml
50
50
  - config/locales/bs.yml
51
- - config/locales/ca-ES.yml
52
- - config/locales/cz.rb
51
+ - config/locales/ca.yml
52
+ - config/locales/cs.rb
53
+ - config/locales/cy.yml
53
54
  - config/locales/da.yml
54
55
  - config/locales/de-AT.yml
56
+ - config/locales/de-CH.yml
55
57
  - config/locales/de.yml
56
58
  - config/locales/dsb.yml
57
59
  - config/locales/el.yml
60
+ - config/locales/en-AU.yml
61
+ - config/locales/en-GB.yml
62
+ - config/locales/en-US.yml
63
+ - config/locales/eo.yml
58
64
  - config/locales/es-AR.yml
59
65
  - config/locales/es-CO.yml
60
66
  - config/locales/es-MX.yml
67
+ - config/locales/es-PE.yml
61
68
  - config/locales/es.yml
62
69
  - config/locales/et.yml
70
+ - config/locales/eu.yml
63
71
  - config/locales/fa.yml
64
72
  - config/locales/fi.yml
73
+ - config/locales/fr-CA.yml
65
74
  - config/locales/fr-CH.yml
66
75
  - config/locales/fr.yml
67
76
  - config/locales/fun/en-AU.rb
68
77
  - config/locales/fun/gibberish.rb
69
78
  - config/locales/fur.yml
70
79
  - config/locales/gl-ES.yml
80
+ - config/locales/gsw-CH.yml
71
81
  - config/locales/he.yml
82
+ - config/locales/hi-IN.yml
83
+ - config/locales/hi.yml
72
84
  - config/locales/hr.yml
73
85
  - config/locales/hsb.yml
74
86
  - config/locales/hu.yml
@@ -81,6 +93,7 @@ files:
81
93
  - config/locales/lt.yml
82
94
  - config/locales/lv.yml
83
95
  - config/locales/mk.yml
96
+ - config/locales/mn.yml
84
97
  - config/locales/nb.yml
85
98
  - config/locales/nl.yml
86
99
  - config/locales/nn.yml
@@ -407,7 +420,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
407
420
  requirements: []
408
421
 
409
422
  rubyforge_project:
410
- rubygems_version: 1.5.0
423
+ rubygems_version: 1.5.2
411
424
  signing_key:
412
425
  specification_version: 3
413
426
  summary: i18n logic for Refinery CMS.