i18n-country-translations 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9628817e088d8531a0ecd043a2ff25a0c77c97f1
4
- data.tar.gz: 32efb46777a202e9e53d96abeb307d0c3fb9acef
3
+ metadata.gz: 03f5ff2138236b98e09405710f32c7f358c52e54
4
+ data.tar.gz: 5e08a194bd1a0f8a696674fecb1abd43c9af7123
5
5
  SHA512:
6
- metadata.gz: 2a317da342845b412ee719684f9ce9ca2ad09ece8d0c76c8e2335afd2dca9fb37e83d835390cfb7637ae9cc3cb1f65ca3d1cf25cee449583c4038878dc481f9a
7
- data.tar.gz: 30779a022137291eed23c889628dbd21a5d5d2c462673be343515c1c25c3c6ea157ad8c8673c7f45102f7fab02748552858854a263253795e59097b780cbb884
6
+ metadata.gz: 372088b1f8663e21d10830789526e36a33ecb84d53c6a24cd1a47e621c5eefb0493d9a2211deb04827d5a634ae0b27eaa36de428fd6d89fe506f70e2280150f2
7
+ data.tar.gz: 3c452017a3e6d8794f698a6b2fcecd18875fc47511a5447566977c9a5989d266284f3d49b3295d96b0ed49315ad7ed3357fc0af55f2c010c4fac066f7be85d83
data/README.rdoc CHANGED
@@ -45,6 +45,7 @@ You can also use these standard translations to help if you don't want to use th
45
45
  * Cyril Mougel - https://github.com/shingara
46
46
  * Nick Grimshaw - https://github.com/nickgrim
47
47
  * Fábio André Damas - https://github.com/skkeeper
48
+ * Allen Wyma - https://github.com/HangingClowns
48
49
 
49
50
  == Related
50
51
  You may also be intersted in the i18n_country_select gem which basically gives you a helper to make use of these translations in a coutry select dropdown.
@@ -54,6 +55,7 @@ If you need to use timezones, we also created a convenient way to translate the
54
55
  https://github.com/onomojo/i18n-timezones
55
56
 
56
57
  == Version History
58
+ * 1.0.4 - Adding zh-HK and zh-CN translations.
57
59
  * 1.0.3 - Adding zh-TW translations.
58
60
  * 1.0.2 - Fixing bad PT translations. Adding licenses to gemspec.
59
61
  * 1.0.1 - Fixing bad version in Gemfile.lock
@@ -1,3 +1,3 @@
1
1
  module I18nCountryTranslations
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.4"
3
3
  end
@@ -0,0 +1,269 @@
1
+ zh-CN:
2
+ countries:
3
+ AC: "阿森松岛"
4
+ AD: "安道尔"
5
+ AE: "阿拉伯联合酋长国"
6
+ AF: "阿富汗"
7
+ AG: "安提瓜和巴布达"
8
+ AI: "安圭拉"
9
+ AL: "阿尔巴尼亚"
10
+ AM: "亚美尼亚"
11
+ AN: "荷属安的列斯群岛"
12
+ AO: "安哥拉"
13
+ AQ: "南极洲"
14
+ AR: "阿根廷"
15
+ AS: "美属萨摩亚"
16
+ AT: "奥地利"
17
+ AU: "澳大利亚"
18
+ AW: "阿鲁巴"
19
+ AX: "奥兰群岛"
20
+ AZ: "阿塞拜疆"
21
+ BA: "波斯尼亚和黑塞哥维那"
22
+ BB: "巴巴多斯"
23
+ BD: "孟加拉国"
24
+ BE: "比利时"
25
+ BF: "布基纳法索"
26
+ BG: "保加利亚"
27
+ BH: "巴林"
28
+ BI: "布隆迪"
29
+ BJ: "贝宁"
30
+ BL: "圣巴泰勒米"
31
+ BM: "百慕大"
32
+ BN: "文莱"
33
+ BO: "玻利维亚"
34
+ BQ: "荷兰加勒比"
35
+ BR: "巴西"
36
+ BS: "巴哈马"
37
+ BT: "不丹"
38
+ BV: "布维特岛"
39
+ BW: "博茨瓦纳"
40
+ BY: "白俄罗斯"
41
+ BZ: "伯利兹"
42
+ CA: "加拿大"
43
+ CC: "科科斯群岛"
44
+ CD: "刚果(金)"
45
+ CD: "刚果民主共和国"
46
+ CF: "中非共和国"
47
+ CG: "刚果(布)"
48
+ CG: "刚果共和国"
49
+ CH: "瑞士"
50
+ CI: "科特迪瓦"
51
+ CI: "象牙海岸"
52
+ CK: "库克群岛"
53
+ CL: "智利"
54
+ CM: "喀麦隆"
55
+ CN: "中国"
56
+ CO: "哥伦比亚"
57
+ CP: "克利珀顿岛"
58
+ CR: "哥斯达黎加"
59
+ CU: "古巴"
60
+ CV: "佛得角"
61
+ CW: "库拉索"
62
+ CX: "圣诞岛"
63
+ CY: "塞浦路斯"
64
+ CZ: "捷克共和国"
65
+ DE: "德国"
66
+ DG: "迪戈加西亚岛"
67
+ DJ: "吉布提"
68
+ DK: "丹麦"
69
+ DM: "多米尼加"
70
+ DO: "多米尼加共和国"
71
+ DZ: "阿尔及利亚"
72
+ EA: "休达及梅利利亚"
73
+ EC: "厄瓜多尔"
74
+ EE: "爱沙尼亚"
75
+ EG: "埃及"
76
+ EH: "西撒哈拉"
77
+ ER: "厄立特里亚"
78
+ ES: "西班牙"
79
+ ET: "埃塞俄比亚"
80
+ EU: "欧盟"
81
+ FI: "芬兰"
82
+ FJ: "斐济"
83
+ FK: "福克兰群岛"
84
+ FK: "福克兰群岛(马尔维纳斯群岛)"
85
+ FM: "密克罗尼西亚联邦"
86
+ FO: "法罗群岛"
87
+ FR: "法国"
88
+ GA: "加蓬"
89
+ GB: "英国"
90
+ GD: "格林纳达"
91
+ GE: "格鲁吉亚"
92
+ GF: "法属圭亚那"
93
+ GG: "根西岛"
94
+ GH: "加纳"
95
+ GI: "直布罗陀"
96
+ GL: "格陵兰"
97
+ GM: "冈比亚"
98
+ GN: "几内亚"
99
+ GP: "瓜德罗普岛"
100
+ GQ: "赤道几内亚"
101
+ GR: "希腊"
102
+ GS: "南乔治亚岛和南桑威齐群岛"
103
+ GT: "危地马拉"
104
+ GU: "关岛"
105
+ GW: "几内亚比绍"
106
+ GY: "圭亚那"
107
+ HK: "中国香港特别行政区"
108
+ HK: "香港"
109
+ HM: "赫德与麦克唐纳群岛"
110
+ HN: "洪都拉斯"
111
+ HR: "克罗地亚"
112
+ HT: "海地"
113
+ HU: "匈牙利"
114
+ IC: "加纳利群岛"
115
+ ID: "印度尼西亚"
116
+ IE: "爱尔兰"
117
+ IL: "以色列"
118
+ IM: "曼岛"
119
+ IN: "印度"
120
+ IO: "英属印度洋领地"
121
+ IQ: "伊拉克"
122
+ IR: "伊朗"
123
+ IS: "冰岛"
124
+ IT: "意大利"
125
+ JE: "泽西岛"
126
+ JM: "牙买加"
127
+ JO: "约旦"
128
+ JP: "日本"
129
+ KE: "肯尼亚"
130
+ KG: "吉尔吉斯斯坦"
131
+ KH: "柬埔寨"
132
+ KI: "基里巴斯"
133
+ KM: "科摩罗"
134
+ KN: "圣基茨和尼维斯"
135
+ KP: "朝鲜"
136
+ KR: "韩国"
137
+ KW: "科威特"
138
+ KY: "开曼群岛"
139
+ KZ: "哈萨克斯坦"
140
+ LA: "老挝"
141
+ LB: "黎巴嫩"
142
+ LC: "圣卢西亚"
143
+ LI: "列支敦士登"
144
+ LK: "斯里兰卡"
145
+ LR: "利比里亚"
146
+ LS: "莱索托"
147
+ LT: "立陶宛"
148
+ LU: "卢森堡"
149
+ LV: "拉脱维亚"
150
+ LY: "利比亚"
151
+ MA: "摩洛哥"
152
+ MC: "摩纳哥"
153
+ MD: "摩尔多瓦"
154
+ ME: "黑山共和国"
155
+ MF: "法属圣马丁"
156
+ MG: "马达加斯加"
157
+ MH: "马绍尔群岛"
158
+ MK: "马其顿"
159
+ MK: "马其顿(前南斯拉夫的马其顿共和国)"
160
+ ML: "马里"
161
+ MM: "缅甸"
162
+ MN: "蒙古"
163
+ MO: "中国澳门特别行政区"
164
+ MO: "澳门"
165
+ MP: "北马里亚纳群岛"
166
+ MQ: "马提尼克"
167
+ MR: "毛里塔尼亚"
168
+ MS: "蒙塞拉特"
169
+ MT: "马耳他"
170
+ MU: "毛里求斯"
171
+ MV: "马尔代夫"
172
+ MW: "马拉维"
173
+ MX: "墨西哥"
174
+ MY: "马来西亚"
175
+ MZ: "莫桑比克"
176
+ NA: "纳米比亚"
177
+ NC: "新喀里多尼亚"
178
+ NE: "尼日尔"
179
+ NF: "诺福克岛"
180
+ NG: "尼日利亚"
181
+ NI: "尼加拉瓜"
182
+ NL: "荷兰"
183
+ 'NO': "挪威"
184
+ NP: "尼泊尔"
185
+ NR: "瑙鲁"
186
+ NU: "纽埃"
187
+ NZ: "新西兰"
188
+ OM: "阿曼"
189
+ PA: "巴拿马"
190
+ PE: "秘鲁"
191
+ PF: "法属波利尼西亚"
192
+ PG: "巴布亚新几内亚"
193
+ PH: "菲律宾"
194
+ PK: "巴基斯坦"
195
+ PL: "波兰"
196
+ PM: "圣皮埃尔和密克隆群岛"
197
+ PN: "皮特凯恩群岛"
198
+ PR: "波多黎各"
199
+ PS: "巴勒斯坦领土"
200
+ PT: "葡萄牙"
201
+ PW: "帕劳"
202
+ PY: "巴拉圭"
203
+ QA: "卡塔尔"
204
+ QO: "大洋洲边远群岛"
205
+ RE: "留尼汪"
206
+ RO: "罗马尼亚"
207
+ RS: "塞尔维亚"
208
+ RU: "俄罗斯"
209
+ RW: "卢旺达"
210
+ SA: "沙特阿拉伯"
211
+ SB: "所罗门群岛"
212
+ SC: "塞舌尔"
213
+ SD: "苏丹"
214
+ SE: "瑞典"
215
+ SG: "新加坡"
216
+ SH: "圣赫勒拿"
217
+ SI: "斯洛文尼亚"
218
+ SJ: "斯瓦尔巴特和扬马延"
219
+ SK: "斯洛伐克"
220
+ SL: "塞拉利昂"
221
+ SM: "圣马力诺"
222
+ SN: "塞内加尔"
223
+ SO: "索马里"
224
+ SR: "苏里南"
225
+ SS: "南苏丹"
226
+ ST: "圣多美和普林西比"
227
+ SV: "萨尔瓦多"
228
+ SX: "荷属圣马丁"
229
+ SY: "叙利亚"
230
+ SZ: "斯威士兰"
231
+ TA: "特里斯坦-达库尼亚群岛"
232
+ TC: "特克斯和凯科斯群岛"
233
+ TD: "乍得"
234
+ TF: "法属南部领土"
235
+ TG: "多哥"
236
+ TH: "泰国"
237
+ TJ: "塔吉克斯坦"
238
+ TK: "托克劳"
239
+ TL: "东帝汶"
240
+ TL: "东帝汶"
241
+ TM: "土库曼斯坦"
242
+ TN: "突尼斯"
243
+ TO: "汤加"
244
+ TR: "土耳其"
245
+ TT: "特立尼达和多巴哥"
246
+ TV: "图瓦卢"
247
+ TW: "台湾"
248
+ TZ: "坦桑尼亚"
249
+ UA: "乌克兰"
250
+ UG: "乌干达"
251
+ UM: "美国边远小岛"
252
+ US: "美国"
253
+ UY: "乌拉圭"
254
+ UZ: "乌兹别克斯坦"
255
+ VA: "梵蒂冈"
256
+ VC: "圣文森特和格林纳丁斯"
257
+ VE: "委内瑞拉"
258
+ VG: "英属维京群岛"
259
+ VI: "美属维京群岛"
260
+ VN: "越南"
261
+ VU: "瓦努阿图"
262
+ WF: "瓦利斯和富图纳"
263
+ WS: "萨摩亚"
264
+ YE: "也门"
265
+ YT: "马约特"
266
+ ZA: "南非"
267
+ ZM: "赞比亚"
268
+ ZW: "津巴布韦"
269
+ ZZ: "未知地区"
@@ -0,0 +1,249 @@
1
+ zh-HK:
2
+ countries:
3
+ AD: "安道爾"
4
+ AE: "阿拉伯聯合大公國"
5
+ AF: "阿富汗"
6
+ AG: "安地卡及巴布達"
7
+ AI: "安圭拉島"
8
+ AL: "阿爾巴尼亞"
9
+ AM: "亞美尼亞"
10
+ AN: "荷屬安地列斯"
11
+ AO: "安哥拉"
12
+ AQ: "南極洲"
13
+ AR: "阿根廷"
14
+ AS: "美屬薩摩亞群島"
15
+ AT: "奧地利"
16
+ AU: "澳洲"
17
+ AW: "阿路巴"
18
+ AX: "亞蘭群島"
19
+ AZ: "亞塞拜然"
20
+ BA: "波士尼亞與赫塞格維納"
21
+ BB: "巴貝多"
22
+ BD: "孟加拉"
23
+ BE: "比利時"
24
+ BF: "布吉納法索"
25
+ BG: "保加利亞"
26
+ BH: "巴林"
27
+ BI: "蒲隆地"
28
+ BJ: "貝南"
29
+ BL: "聖巴瑟米"
30
+ BM: "百慕達"
31
+ BN: "汶萊"
32
+ BO: "玻利維亞"
33
+ BR: "巴西"
34
+ BS: "巴哈馬"
35
+ BT: "不丹"
36
+ BV: "布威島"
37
+ BW: "波札那"
38
+ BY: "白俄羅斯"
39
+ BZ: "貝里斯"
40
+ CA: "加拿大"
41
+ CC: "可可斯群島"
42
+ CD: "剛果民主共和國"
43
+ CF: "中非共和國"
44
+ CG: "剛果"
45
+ CH: "瑞士"
46
+ CI: "科特迪瓦"
47
+ CK: "庫克群島"
48
+ CL: "智利"
49
+ CM: "喀麥隆"
50
+ CN: "中國"
51
+ CO: "哥倫比亞"
52
+ CR: "哥斯大黎加"
53
+ CU: "古巴"
54
+ CV: "維德角"
55
+ CX: "聖誕島"
56
+ CY: "賽普勒斯"
57
+ CZ: "捷克共和國"
58
+ DE: "德國"
59
+ DJ: "吉布地"
60
+ DK: "丹麥"
61
+ DM: "多明尼加"
62
+ DO: "多明尼加共和國"
63
+ DZ: "阿爾及利亞"
64
+ EC: "厄瓜多"
65
+ EE: "愛沙尼亞"
66
+ EG: "埃及"
67
+ EH: "西撒哈拉"
68
+ ER: "厄利垂亞"
69
+ ES: "西班牙"
70
+ ET: "衣索比亞"
71
+ FI: "芬蘭"
72
+ FJ: "斐濟"
73
+ FK: "福克蘭群島"
74
+ FM: "密克羅尼西亞群島"
75
+ FO: "法羅群島"
76
+ FR: "法國"
77
+ GA: "加彭"
78
+ GB: "英國"
79
+ GD: "格瑞納達"
80
+ GE: "喬治亞共和國"
81
+ GF: "法屬圭亞那"
82
+ GG: "根西島"
83
+ GH: "迦納"
84
+ GI: "直布羅陀"
85
+ GL: "格陵蘭"
86
+ GM: "甘比亞"
87
+ GN: "幾內亞"
88
+ GP: "哥德普洛"
89
+ GQ: "赤道幾內亞"
90
+ GR: "希臘"
91
+ GS: "南喬治亞與南三明治群島"
92
+ GT: "瓜地馬拉"
93
+ GU: "關島"
94
+ GW: "幾內亞比索"
95
+ GY: "蓋亞納"
96
+ HK: "香港"
97
+ HM: "赫德與麥克當諾群島"
98
+ HN: "宏都拉斯"
99
+ HR: "克羅埃西亞"
100
+ HT: "海地"
101
+ HU: "匈牙利"
102
+ ID: "印尼"
103
+ IE: "愛爾蘭"
104
+ IL: "以色列"
105
+ IM: "曼島"
106
+ IN: "印度"
107
+ IO: "英屬印度洋領土"
108
+ IQ: "伊拉克"
109
+ IR: "伊朗"
110
+ IS: "冰島"
111
+ IT: "義大利"
112
+ JE: "澤西島"
113
+ JM: "牙買加"
114
+ JO: "約旦"
115
+ JP: "日本"
116
+ KE: "肯亞"
117
+ KG: "吉爾吉斯"
118
+ KH: "柬埔寨"
119
+ KI: "吉里巴斯"
120
+ KM: "科摩羅群島"
121
+ KN: "聖克里斯多福及尼維斯"
122
+ KP: "北韓"
123
+ KR: "南韓"
124
+ KW: "科威特"
125
+ KY: "開曼群島"
126
+ KZ: "哈薩克"
127
+ LA: "寮國"
128
+ LB: "黎巴嫩"
129
+ LC: "聖露西亞"
130
+ LI: "列支敦斯登"
131
+ LK: "斯里蘭卡"
132
+ LR: "賴比瑞亞"
133
+ LS: "賴索扥"
134
+ LT: "立陶宛"
135
+ LU: "盧森堡"
136
+ LV: "拉脫維亞"
137
+ LY: "利比亞"
138
+ MA: "摩洛哥"
139
+ MC: "摩納哥"
140
+ MD: "摩爾多瓦"
141
+ ME: "蒙特內哥羅"
142
+ MF: "聖馬丁"
143
+ MG: "馬達加斯加"
144
+ MH: "馬紹爾群島"
145
+ MK: "馬其頓"
146
+ ML: "馬利"
147
+ MM: "緬甸"
148
+ MN: "蒙古"
149
+ MO: "澳門"
150
+ MP: "北馬里亞納群島"
151
+ MQ: "馬丁尼克島"
152
+ MR: "茅利塔尼亞"
153
+ MS: "蒙特色拉特島"
154
+ MT: "馬爾他"
155
+ MU: "模里西斯"
156
+ MV: "馬爾地夫"
157
+ MW: "馬拉威"
158
+ MX: "墨西哥"
159
+ MY: "馬來西亞"
160
+ MZ: "莫三比克"
161
+ NA: "納米比亞"
162
+ NC: "新喀里多尼亞群島"
163
+ NE: "尼日"
164
+ NF: "諾福克島"
165
+ NG: "奈及利亞"
166
+ NI: "尼加拉瓜"
167
+ NL: "荷蘭"
168
+ 'NO': "挪威"
169
+ NP: "尼泊爾"
170
+ NR: "諾魯"
171
+ NU: "紐威島"
172
+ NZ: "紐西蘭"
173
+ OM: "阿曼王國"
174
+ PA: "巴拿馬"
175
+ PE: "秘魯"
176
+ PF: "法屬玻里尼西亞"
177
+ PG: "巴布亞紐幾內亞"
178
+ PH: "菲律賓"
179
+ PK: "巴基斯坦"
180
+ PL: "波蘭"
181
+ PM: "聖彼德與密啟崙"
182
+ PN: "皮特康"
183
+ PR: "波多黎各"
184
+ PS: "巴勒斯坦"
185
+ PT: "葡萄牙"
186
+ PW: "帛琉"
187
+ PY: "巴拉圭"
188
+ QA: "卡達"
189
+ RE: "留尼旺"
190
+ RO: "羅馬尼亞"
191
+ RS: "塞爾維亞"
192
+ RU: "俄羅斯"
193
+ RW: "盧安達"
194
+ SA: "沙烏地阿拉伯"
195
+ SB: "索羅門群島"
196
+ SC: "塞席爾"
197
+ SD: "蘇丹"
198
+ SE: "瑞典"
199
+ SG: "新加坡"
200
+ SH: "聖赫勒拿島"
201
+ SI: "斯洛維尼亞"
202
+ SJ: "冷岸及央麥恩群島"
203
+ SK: "斯洛伐克"
204
+ SL: "獅子山"
205
+ SM: "聖馬利諾"
206
+ SN: "塞內加爾"
207
+ SO: "索馬利亞"
208
+ SR: "蘇利南"
209
+ ST: "聖多美及普林西比"
210
+ SV: "薩爾瓦多"
211
+ SY: "敘利亞"
212
+ SZ: "史瓦濟蘭"
213
+ TC: "土克斯及開科斯群島"
214
+ TD: "查德"
215
+ TF: "法屬南方屬地"
216
+ TG: "多哥共和國"
217
+ TH: "泰國"
218
+ TJ: "塔吉克"
219
+ TK: "托克勞群島"
220
+ TL: "東帝汶"
221
+ TM: "土庫曼"
222
+ TN: "突尼西亞"
223
+ TO: "東加"
224
+ TR: "土耳其"
225
+ TT: "千里達及托巴哥"
226
+ TV: "吐瓦魯"
227
+ TW: "台灣"
228
+ TZ: "坦尚尼亞"
229
+ UA: "烏克蘭"
230
+ UG: "烏干達"
231
+ UM: "美屬邊疆群島"
232
+ US: "美國"
233
+ UY: "烏拉圭"
234
+ UZ: "烏茲別克"
235
+ VA: "梵蒂岡"
236
+ VC: "聖文森及格瑞那丁"
237
+ VE: "委內瑞拉"
238
+ VG: "英屬維京群島"
239
+ VI: "美屬維京群島"
240
+ VN: "越南"
241
+ VU: "萬那杜"
242
+ WF: "瓦利斯和福杜納群島"
243
+ WS: "薩摩亞群島"
244
+ YE: "葉門"
245
+ YT: "馬約特"
246
+ ZA: "南非"
247
+ ZM: "尚比亞"
248
+ ZW: "辛巴威"
249
+ ZZ: "未確定的區域"
@@ -50,7 +50,6 @@ zh-TW:
50
50
  CN: "中國"
51
51
  CO: "哥倫比亞"
52
52
  CR: "哥斯大黎加"
53
- CS: "塞爾維亞和蒙特尼哥羅"
54
53
  CU: "古巴"
55
54
  CV: "維德角"
56
55
  CX: "聖誕島"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: i18n-country-translations
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian McQuay
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-02 00:00:00.000000000 Z
11
+ date: 2014-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n
@@ -314,6 +314,8 @@ files:
314
314
  - rails/locale/xog.yml
315
315
  - rails/locale/yav.yml
316
316
  - rails/locale/yo.yml
317
+ - rails/locale/zh-CN.yml
318
+ - rails/locale/zh-HK.yml
317
319
  - rails/locale/zh-TW.yml
318
320
  - rails/locale/zh.yml
319
321
  - rails/locale/zu.yml