spree_i18n 5.0.0 → 5.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +7 -0
- data/Gemfile +1 -1
- data/README.md +19 -44
- data/config/locales/ar.yml +5 -5
- data/config/locales/be.yml +5 -5
- data/config/locales/bg.yml +5 -5
- data/config/locales/ca.yml +5 -5
- data/config/locales/cs.yml +4 -4
- data/config/locales/da.yml +5 -5
- data/config/locales/de-CH.yml +50 -50
- data/config/locales/de.yml +92 -10
- data/config/locales/{gr.yml → el.yml} +400 -246
- data/config/locales/en-AU.yml +5 -5
- data/config/locales/en-GB.yml +5 -5
- data/config/locales/en-IN.yml +5 -5
- data/config/locales/en-NZ.yml +5 -5
- data/config/locales/es-CL.yml +6 -6
- data/config/locales/es-EC.yml +5 -5
- data/config/locales/es-MX.yml +5 -5
- data/config/locales/es.yml +50 -38
- data/config/locales/et.yml +5 -5
- data/config/locales/fa.yml +5 -5
- data/config/locales/fi.yml +5 -5
- data/config/locales/fr.yml +109 -27
- data/config/locales/hu.yml +1338 -0
- data/config/locales/id.yml +3 -3
- data/config/locales/it.yml +5 -5
- data/config/locales/ja.yml +7 -7
- data/config/locales/km.yml +5 -5
- data/config/locales/ko.yml +4 -4
- data/config/locales/ku.yml +5 -5
- data/config/locales/lt.yml +5 -8
- data/config/locales/lv.yml +4 -4
- data/config/locales/nb.yml +656 -242
- data/config/locales/ne.yml +1337 -0
- data/config/locales/nl.yml +4 -4
- data/config/locales/pl.yml +10 -10
- data/config/locales/pt-BR.yml +5 -5
- data/config/locales/pt.yml +4 -4
- data/config/locales/ro.yml +4 -4
- data/config/locales/ru.yml +5 -5
- data/config/locales/sk.yml +5 -5
- data/config/locales/sl-SI.yml +5 -5
- data/config/locales/sv.yml +273 -8
- data/config/locales/th.yml +4 -4
- data/config/locales/tr.yml +4 -4
- data/config/locales/uk.yml +5 -5
- data/config/locales/vi.yml +4 -4
- data/config/locales/zh-CN.yml +5 -5
- data/config/locales/zh-TW.yml +4 -33
- data/lib/spree_i18n/locale.rb +7 -0
- data/lib/spree_i18n/locales_and_local_language_names.csv +264 -0
- data/lib/spree_i18n/version.rb +1 -1
- data/spec/features/translation_spec.rb +8 -0
- data/spree_i18n.gemspec +1 -1
- metadata +8 -10
data/config/locales/th.yml
CHANGED
@@ -559,9 +559,9 @@ th:
|
|
559
559
|
date: "วันที่"
|
560
560
|
date_completed: "วันที่เสร็จสิ้น"
|
561
561
|
date_picker:
|
562
|
-
|
563
|
-
|
564
|
-
|
562
|
+
# FlatPickr human friendly formatting
|
563
|
+
fpr_human_friendly_date_format: M j, Y
|
564
|
+
fpr_human_friendly_date_time_format: M j, Y - H:i
|
565
565
|
date_range: "ช่วงวันที่"
|
566
566
|
default: "ค่าเริ่มต้น"
|
567
567
|
default_refund_amount:
|
@@ -730,7 +730,7 @@ th:
|
|
730
730
|
lock: "ล๊อก"
|
731
731
|
log_entries:
|
732
732
|
logged_in_as: "เข้าสู่ระบบเป็น"
|
733
|
-
|
733
|
+
logged_in_successfully: "เข้าสู่ระบบสำเร็จ"
|
734
734
|
logged_out: "คุณได้ออกจากระบบแล้ว"
|
735
735
|
login: "เข้าสู่ระบบ"
|
736
736
|
login_as_existing: "เข้าสู่ระบบจากบัญขีที่มีอยู่แล้ว"
|
data/config/locales/tr.yml
CHANGED
@@ -519,9 +519,9 @@ tr:
|
|
519
519
|
date: Tarih
|
520
520
|
date_completed: Tarih Tamamlandı
|
521
521
|
date_picker:
|
522
|
-
|
523
|
-
|
524
|
-
|
522
|
+
# FlatPickr human friendly formatting
|
523
|
+
fpr_human_friendly_date_format: M j, Y
|
524
|
+
fpr_human_friendly_date_time_format: M j, Y - H:i
|
525
525
|
date_range: Tarih Aralığı
|
526
526
|
default: Varsayılan
|
527
527
|
default_refund_amount:
|
@@ -688,7 +688,7 @@ tr:
|
|
688
688
|
lock: Kilitle
|
689
689
|
log_entries: Log kayıtları
|
690
690
|
logged_in_as: 'Açılan Oturum: '
|
691
|
-
|
691
|
+
logged_in_successfully: Giriş Başarılı
|
692
692
|
logged_out: "Çıkış Yaptınız."
|
693
693
|
login: Giriş
|
694
694
|
login_as_existing: Varolan bir müşteri hesabıyla giriş yap
|
data/config/locales/uk.yml
CHANGED
@@ -671,9 +671,9 @@ uk:
|
|
671
671
|
date: "Дата"
|
672
672
|
date_completed: "Дата завершення"
|
673
673
|
date_picker:
|
674
|
-
|
675
|
-
|
676
|
-
|
674
|
+
# FlatPickr human friendly formatting
|
675
|
+
fpr_human_friendly_date_format: M j, Y
|
676
|
+
fpr_human_friendly_date_time_format: M j, Y - H:i
|
677
677
|
date_range: "Період часу"
|
678
678
|
default: "За замовчуванням"
|
679
679
|
default_refund_amount: "Сума повернення за замовчуванням"
|
@@ -786,7 +786,7 @@ uk:
|
|
786
786
|
available_locales: "Доступні переклади"
|
787
787
|
language: "Мова"
|
788
788
|
localization_settings: "Налаштування локалізації"
|
789
|
-
this_file_language: Ukrainian
|
789
|
+
this_file_language: Ukrainian (UK)
|
790
790
|
icon: "Іконка"
|
791
791
|
identifier: "Ідентифікатор"
|
792
792
|
image: "Зображення"
|
@@ -847,7 +847,7 @@ uk:
|
|
847
847
|
lock: Lock
|
848
848
|
log_entries: "Записи журналу"
|
849
849
|
logged_in_as: "Користувач"
|
850
|
-
|
850
|
+
logged_in_successfully: "Ви увійшли в систему"
|
851
851
|
logged_out: "Ви вийшли з системи."
|
852
852
|
login: "Логін"
|
853
853
|
login_as_existing: "Увійти як існуючий покупець"
|
data/config/locales/vi.yml
CHANGED
@@ -520,9 +520,9 @@ vi:
|
|
520
520
|
date: Ngày
|
521
521
|
date_completed:
|
522
522
|
date_picker:
|
523
|
-
|
524
|
-
|
525
|
-
|
523
|
+
# FlatPickr human friendly formatting
|
524
|
+
fpr_human_friendly_date_format: M j, Y
|
525
|
+
fpr_human_friendly_date_time_format: M j, Y - H:i
|
526
526
|
date_range: Giới hạn ngày
|
527
527
|
default:
|
528
528
|
default_refund_amount:
|
@@ -693,7 +693,7 @@ vi:
|
|
693
693
|
lock: Khoá
|
694
694
|
log_entries:
|
695
695
|
logged_in_as: "Đã đăng nhập với"
|
696
|
-
|
696
|
+
logged_in_successfully: "Đăng nhập thành công"
|
697
697
|
logged_out: Bạn đã đăng xuất
|
698
698
|
login: "Đăng nhập"
|
699
699
|
login_as_existing: "Đăng nhập như khách hàng cũ"
|
data/config/locales/zh-CN.yml
CHANGED
@@ -594,9 +594,9 @@ zh-CN:
|
|
594
594
|
date: "日期"
|
595
595
|
date_completed: "完成日期"
|
596
596
|
date_picker:
|
597
|
-
|
598
|
-
|
599
|
-
|
597
|
+
# FlatPickr human friendly formatting
|
598
|
+
fpr_human_friendly_date_format: M j, Y
|
599
|
+
fpr_human_friendly_date_time_format: M j, Y - H:i
|
600
600
|
date_range: "时间范围"
|
601
601
|
default: "默认"
|
602
602
|
default_refund_amount:
|
@@ -707,7 +707,7 @@ zh-CN:
|
|
707
707
|
available_locales: "可用的语言"
|
708
708
|
language: "语言"
|
709
709
|
localization_settings:
|
710
|
-
this_file_language:
|
710
|
+
this_file_language: 中文 简体 (zh-CN)
|
711
711
|
translations: "翻译"
|
712
712
|
icon: "图标"
|
713
713
|
identifier:
|
@@ -767,7 +767,7 @@ zh-CN:
|
|
767
767
|
lock: "锁住/冻结"
|
768
768
|
log_entries:
|
769
769
|
logged_in_as: "已登录为"
|
770
|
-
|
770
|
+
logged_in_successfully: "登录成功"
|
771
771
|
logged_out: "您已经登出系统"
|
772
772
|
login: "登录"
|
773
773
|
login_as_existing: "作为一个已有客户登录"
|
data/config/locales/zh-TW.yml
CHANGED
@@ -807,38 +807,9 @@ zh-TW:
|
|
807
807
|
date: 日期
|
808
808
|
date_completed: 完成日期
|
809
809
|
date_picker:
|
810
|
-
|
811
|
-
|
812
|
-
|
813
|
-
hourAriaLabel: '時'
|
814
|
-
js_format: Y/m/d
|
815
|
-
js_date_time: Y/m/d - H:i
|
816
|
-
minuteAriaLabel: '分'
|
817
|
-
pm: 'PM'
|
818
|
-
rangeSeparator: ' 至 '
|
819
|
-
scrollTitle: '捲動增加'
|
820
|
-
toggleTitle: '點選'
|
821
|
-
weekAbbreviation: '週'
|
822
|
-
yearAriaLabel: '年'
|
823
|
-
sun: '日'
|
824
|
-
mon: '一'
|
825
|
-
tue: '二'
|
826
|
-
wed: '三'
|
827
|
-
thu: '四'
|
828
|
-
fri: '五'
|
829
|
-
sat: '六'
|
830
|
-
lh_jan: '一月'
|
831
|
-
lh_feb: '二月'
|
832
|
-
lh_mar: '三月'
|
833
|
-
lh_apr: '四月'
|
834
|
-
lh_may: '五月'
|
835
|
-
lh_jun: '六月'
|
836
|
-
lh_jul: '七月'
|
837
|
-
lh_aug: '八月'
|
838
|
-
lh_sep: '九月'
|
839
|
-
lh_oct: '十月'
|
840
|
-
lh_nov: '十一月'
|
841
|
-
lh_dec: '十二月'
|
810
|
+
# FlatPickr human friendly formatting
|
811
|
+
fpr_human_friendly_date_format: M j, Y
|
812
|
+
fpr_human_friendly_date_time_format: M j, Y - H:i
|
842
813
|
date_range: 日期區間
|
843
814
|
default: 預設
|
844
815
|
default_country_cannot_be_deleted: 無法刪除預設國家
|
@@ -1063,7 +1034,7 @@ zh-TW:
|
|
1063
1034
|
log_in_to_continue: 登入後繼續
|
1064
1035
|
logs: 紀錄
|
1065
1036
|
logged_in_as: 已其他身份登入
|
1066
|
-
|
1037
|
+
logged_in_successfully: 登入成功
|
1067
1038
|
logged_out: 登出成功
|
1068
1039
|
login: 登入
|
1069
1040
|
login_as_existing: 以顧客的身份登入
|
data/lib/spree_i18n/locale.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'csv'
|
2
|
+
|
1
3
|
module SpreeI18n
|
2
4
|
class Locale
|
3
5
|
class << self
|
@@ -8,6 +10,11 @@ module SpreeI18n
|
|
8
10
|
def dir
|
9
11
|
File.join(File.dirname(__FILE__), '/../../config/locales')
|
10
12
|
end
|
13
|
+
|
14
|
+
def local_language_name(locale)
|
15
|
+
@@language_names ||= CSV.read(File.join(__dir__, 'locales_and_local_language_names.csv')).to_h { |row| [row[0], row[2]] }
|
16
|
+
@@language_names[locale.to_s.downcase] || @@language_names[locale.to_s.downcase.split('-').first]
|
17
|
+
end
|
11
18
|
end
|
12
19
|
end
|
13
20
|
end
|
@@ -0,0 +1,264 @@
|
|
1
|
+
aa,Afar,Afar
|
2
|
+
ab,Abkhazian,Аҧсуа
|
3
|
+
af,Afrikaans,Afrikaans
|
4
|
+
ak,Akan,Akana
|
5
|
+
als,Alemannic,Alemannisch
|
6
|
+
am,Amharic,አማርኛ
|
7
|
+
an,Aragonese,Aragonés
|
8
|
+
ang,Angal,Angal Heneng
|
9
|
+
ang,Anglo-Saxon / Old English,Englisc
|
10
|
+
ar,Arabic,العربية
|
11
|
+
arc,Aramaic,ܣܘܪܬ
|
12
|
+
as,Assamese,অসমীয়া
|
13
|
+
ast,Asturian,Asturianu
|
14
|
+
av,Avar,Авар
|
15
|
+
awa,Awadhi,Awadhi
|
16
|
+
ay,Aymara,Aymar
|
17
|
+
az,Azerbaijani,Azərbaycanca / آذربايجان
|
18
|
+
ba,Bashkir,Башҡорт
|
19
|
+
bar,Bavarian,Boarisch
|
20
|
+
bat-smg,Samogitian,Žemaitėška
|
21
|
+
bcl,Bikol,Bikol Central
|
22
|
+
be,Belarusian,Беларуская
|
23
|
+
be-x-old,Belarusian (Taraškievica),Беларуская (тарашкевіца)
|
24
|
+
bg,Bulgarian,Български
|
25
|
+
bh,Bihari,भोजपुरी
|
26
|
+
bi,Bislama,Bislama
|
27
|
+
bm,Bambara,Bamanankan
|
28
|
+
bn,Bengali,বাংলা
|
29
|
+
bo,Tibetan,བོད་ཡིག / Bod skad
|
30
|
+
bpy,Bishnupriya Manipuri,ইমার ঠার/বিষ্ণুপ্রিয়া মণিপুরী
|
31
|
+
br,Breton,Brezhoneg
|
32
|
+
brx,Boro,बड़
|
33
|
+
bs,Bosnian,Bosanski
|
34
|
+
bug,Buginese,ᨅᨔ ᨕᨘᨁᨗ / Basa Ugi
|
35
|
+
bxr,Buriat (Russia),Буряад хэлэн
|
36
|
+
ca,Catalan,Català
|
37
|
+
cdo,Min Dong Chinese,Mìng-dĕ̤ng-ngṳ̄ / 閩東語
|
38
|
+
ce,Chechen,Нохчийн
|
39
|
+
ceb,Cebuano,Sinugboanong Binisaya
|
40
|
+
ch,Chamorro,Chamoru
|
41
|
+
cho,Choctaw,Choctaw
|
42
|
+
chr,Cherokee,ᏣᎳᎩ
|
43
|
+
chy,Cheyenne,Tsetsêhestâhese
|
44
|
+
ckb,Kurdish (Sorani),کوردی
|
45
|
+
co,Corsican,Corsu
|
46
|
+
cr,Cree,Nehiyaw
|
47
|
+
cs,Czech,Česky
|
48
|
+
csb,Kashubian,Kaszëbsczi
|
49
|
+
cu,Old Church Slavonic / Old Bulgarian,словѣньскъ / slověnĭskŭ
|
50
|
+
cv,Chuvash,Чăваш
|
51
|
+
cy,Welsh,Cymraeg
|
52
|
+
da,Danish,Dansk
|
53
|
+
de,German,Deutsch
|
54
|
+
diq,Dimli,Zazaki
|
55
|
+
dsb,Lower Sorbian,Dolnoserbski
|
56
|
+
dv,Divehi,ދިވެހިބަސް
|
57
|
+
dz,Dzongkha,ཇོང་ཁ
|
58
|
+
ee,Ewe,Ɛʋɛ
|
59
|
+
el,Greek,Ελληνικά
|
60
|
+
en,English,English
|
61
|
+
eo,Esperanto,Esperanto
|
62
|
+
es,Spanish,Español
|
63
|
+
et,Estonian,Eesti
|
64
|
+
eu,Basque,Euskara
|
65
|
+
ext,Extremaduran,Estremeñu
|
66
|
+
fa,Persian,فارسی
|
67
|
+
ff,Peul,Fulfulde
|
68
|
+
fi,Finnish,Suomi
|
69
|
+
fiu-vro,Võro,Võro
|
70
|
+
fj,Fijian,Na Vosa Vakaviti
|
71
|
+
fo,Faroese,Føroyskt
|
72
|
+
fr,French,Français
|
73
|
+
frp,Arpitan / Franco-Provençal,Arpitan / francoprovençal
|
74
|
+
fur,Friulian,Furlan
|
75
|
+
fy,West Frisian,Frysk
|
76
|
+
ga,Irish,Gaeilge
|
77
|
+
gan,Gan Chinese,贛語
|
78
|
+
gbm,Garhwali,गढ़वळी
|
79
|
+
gd,Scottish Gaelic,Gàidhlig
|
80
|
+
gil,Gilbertese,Taetae ni kiribati
|
81
|
+
gl,Galician,Galego
|
82
|
+
gn,Guarani,Avañe'ẽ
|
83
|
+
got,Gothic,gutisk
|
84
|
+
gu,Gujarati,ગુજરાતી
|
85
|
+
gv,Manx,Gaelg
|
86
|
+
ha,Hausa,هَوُسَ
|
87
|
+
hak,Hakka Chinese,客家語/Hak-kâ-ngî
|
88
|
+
haw,Hawaiian,Hawai`i
|
89
|
+
he,Hebrew,עברית
|
90
|
+
hi,Hindi,हिन्दी
|
91
|
+
ho,Hiri Motu,Hiri Motu
|
92
|
+
hr,Croatian,Hrvatski
|
93
|
+
ht,Haitian,Krèyol ayisyen
|
94
|
+
hu,Hungarian,Magyar
|
95
|
+
hy,Armenian,Հայերեն
|
96
|
+
hz,Herero,Otsiherero
|
97
|
+
ia,Interlingua,Interlingua
|
98
|
+
id,Indonesian,Bahasa Indonesia
|
99
|
+
ie,Interlingue,Interlingue
|
100
|
+
ig,Igbo,Igbo
|
101
|
+
ii,Sichuan Yi,ꆇꉙ / 四川彝语
|
102
|
+
ik,Inupiak,Iñupiak
|
103
|
+
ilo,Ilokano,Ilokano
|
104
|
+
inh,Ingush,ГӀалгӀай
|
105
|
+
io,Ido,Ido
|
106
|
+
is,Icelandic,Íslenska
|
107
|
+
it,Italian,Italiano
|
108
|
+
iu,Inuktitut,ᐃᓄᒃᑎᑐᑦ
|
109
|
+
ja,Japanese,日本語
|
110
|
+
jbo,Lojban,Lojban
|
111
|
+
jv,Javanese,Basa Jawa
|
112
|
+
ka,Georgian,ქართული
|
113
|
+
kg,Kongo,KiKongo
|
114
|
+
ki,Kikuyu,Gĩkũyũ
|
115
|
+
kj,Kuanyama,Kuanyama
|
116
|
+
kk,Kazakh,Қазақша
|
117
|
+
kl,Greenlandic,Kalaallisut
|
118
|
+
km,Cambodian,ភាសាខ្មែរ
|
119
|
+
kn,Kannada,ಕನ್ನಡ
|
120
|
+
khw,Khowar,کھوار
|
121
|
+
ko,Korean,한국어
|
122
|
+
kr,Kanuri,Kanuri
|
123
|
+
ks,Kashmiri,कॉशुर / کٲشُر
|
124
|
+
ksh,Ripuarian,Ripoarisch
|
125
|
+
ku,Kurdish (Kurmanji),Kurdî
|
126
|
+
kv,Komi,Коми
|
127
|
+
kw,Cornish,Kernewek
|
128
|
+
ky,Kirghiz,Kırgızca / Кыргызча
|
129
|
+
la,Latin,Latina
|
130
|
+
lad,Ladino / Judeo-Spanish,Dzhudezmo / Djudeo-Espanyol
|
131
|
+
lan,Lango,Leb Lango / Luo
|
132
|
+
lb,Luxembourgish,Lëtzebuergesch
|
133
|
+
lg,Ganda,Luganda
|
134
|
+
li,Limburgian,Limburgs
|
135
|
+
lij,Ligurian,Líguru
|
136
|
+
lmo,Lombard,Lumbaart
|
137
|
+
ln,Lingala,Lingála
|
138
|
+
lo,Laotian,ລາວ / Pha xa lao
|
139
|
+
lzz,Laz,Lazuri / ლაზური
|
140
|
+
lt,Lithuanian,Lietuvių
|
141
|
+
lv,Latvian,Latviešu
|
142
|
+
map-bms,Banyumasan,Basa Banyumasan
|
143
|
+
mg,Malagasy,Malagasy
|
144
|
+
man,Mandarin,官話/官话
|
145
|
+
mh,Marshallese,Kajin Majel / Ebon
|
146
|
+
mi,Māori,Māori
|
147
|
+
min,Minangkabau,Minangkabau
|
148
|
+
mk,Macedonian,Македонски
|
149
|
+
ml,Malayalam,മലയാളം
|
150
|
+
mn,Mongolian,Монгол
|
151
|
+
mo,Moldovan,Moldovenească
|
152
|
+
mr,Marathi,मराठी
|
153
|
+
mrh,Mara,Mara
|
154
|
+
ms,Malay,Bahasa Melayu
|
155
|
+
mt,Maltese,bil-Malti
|
156
|
+
mus,Creek / Muskogee,Mvskoke
|
157
|
+
mwl,Mirandese,Mirandés
|
158
|
+
my,Burmese,Myanmasa
|
159
|
+
na,Nauruan,Dorerin Naoero
|
160
|
+
nah,Nahuatl,Nahuatl
|
161
|
+
nap,Neapolitan,Nnapulitano
|
162
|
+
nd,North Ndebele,Sindebele
|
163
|
+
nds,Low German / Low Saxon,Plattdüütsch
|
164
|
+
nds-nl,Dutch Low Saxon,Nedersaksisch
|
165
|
+
ne,Nepali,नेपाली
|
166
|
+
new,Newar,नेपालभाषा / Newah Bhaye
|
167
|
+
ng,Ndonga,Oshiwambo
|
168
|
+
nl,Dutch,Nederlands
|
169
|
+
nn,Norwegian Nynorsk,Norsk (nynorsk)
|
170
|
+
no,Norwegian,Norsk (bokmål / riksmål)
|
171
|
+
nr,South Ndebele,isiNdebele
|
172
|
+
nso,Northern Sotho,Sesotho sa Leboa / Sepedi
|
173
|
+
nrm,Norman,Nouormand / Normaund
|
174
|
+
nv,Navajo,Diné bizaad
|
175
|
+
ny,Chichewa,Chi-Chewa
|
176
|
+
oc,Occitan,Occitan
|
177
|
+
oj,Ojibwa,ᐊᓂᔑᓈᐯᒧᐎᓐ / Anishinaabemowin
|
178
|
+
om,Oromo,Oromoo
|
179
|
+
or,Oriya,ଓଡ଼ିଆ
|
180
|
+
os,Ossetian / Ossetic,Иронау
|
181
|
+
pa,Panjabi / Punjabi,ਪੰਜਾਬੀ / پنجابی
|
182
|
+
pag,Pangasinan,Pangasinan
|
183
|
+
pam,Kapampangan,Kapampangan
|
184
|
+
pap,Papiamentu,Papiamentu
|
185
|
+
pdc,Pennsylvania German,Deitsch
|
186
|
+
pi,Pali,Pāli / पाऴि
|
187
|
+
pih,Norfolk,Norfuk
|
188
|
+
pl,Polish,Polski
|
189
|
+
pms,Piedmontese,Piemontèis
|
190
|
+
ps,Pashto,پښتو
|
191
|
+
pt,Portuguese,Português
|
192
|
+
qu,Quechua,Runa Simi
|
193
|
+
rm,Raeto Romance,Rumantsch
|
194
|
+
rmy,Romani,Romani / रोमानी
|
195
|
+
rn,Kirundi,Kirundi
|
196
|
+
ro,Romanian,Română
|
197
|
+
roa-rup,Aromanian,Armâneashti
|
198
|
+
ru,Russian,Русский
|
199
|
+
rw,Rwandi,Kinyarwandi
|
200
|
+
sa,Sanskrit,संस्कृतम्
|
201
|
+
sc,Sardinian,Sardu
|
202
|
+
scn,Sicilian,Sicilianu
|
203
|
+
sco,Scots,Scots
|
204
|
+
sd,Sindhi,सिंधी / سنڌي
|
205
|
+
se,Northern Sami,Davvisámegiella
|
206
|
+
sg,Sango,Sängö
|
207
|
+
sh,Serbo-Croatian,Srpskohrvatski / Српскохрватски
|
208
|
+
si,Sinhalese,සිංහල
|
209
|
+
simple,Simple English,Simple English
|
210
|
+
sk,Slovak,Slovenčina
|
211
|
+
sl,Slovenian,Slovenščina
|
212
|
+
sm,Samoan,Gagana Samoa
|
213
|
+
sn,Shona,chiShona
|
214
|
+
so,Somalia,Soomaaliga
|
215
|
+
sq,Albanian,Shqip
|
216
|
+
sr,Serbian,Српски
|
217
|
+
ss,Swati,SiSwati
|
218
|
+
st,Southern Sotho,Sesotho
|
219
|
+
su,Sundanese,Basa Sunda
|
220
|
+
sv,Swedish,Svenska
|
221
|
+
sw,Swahili,Kiswahili
|
222
|
+
ta,Tamil,தமிழ்
|
223
|
+
te,Telugu,తెలుగు
|
224
|
+
tet,Tetum,Tetun
|
225
|
+
tg,Tajik,Тоҷикӣ
|
226
|
+
th,Thai,ไทย / Phasa Thai
|
227
|
+
ti,Tigrinya,ትግርኛ
|
228
|
+
tk,Turkmen,Туркмен / تركمن
|
229
|
+
tl,Tagalog,Tagalog / ᜆᜄᜎᜓᜄ᜔
|
230
|
+
tlh,Klingon,tlhIngan-Hol
|
231
|
+
tn,Tswana,Setswana
|
232
|
+
to,Tonga,Lea Faka-Tonga
|
233
|
+
tpi,Tok Pisin,Tok Pisin
|
234
|
+
tr,Turkish,Türkçe
|
235
|
+
ts,Tsonga,Xitsonga
|
236
|
+
tt,Tatar,Tatarça
|
237
|
+
tum,Tumbuka,chiTumbuka
|
238
|
+
tw,Twi,Twi
|
239
|
+
ty,Tahitian,Reo Mā`ohi
|
240
|
+
udm,Udmurt,Удмурт кыл
|
241
|
+
ug,Uyghur,Uyƣurqə / ئۇيغۇرچە
|
242
|
+
uk,Ukrainian,Українська
|
243
|
+
ur,Urdu,اردو
|
244
|
+
uz,Uzbek,Ўзбек
|
245
|
+
uz_AF,Uzbeki Afghanistan,اوزبیکی
|
246
|
+
ve,Venda,Tshivenḓa
|
247
|
+
vi,Vietnamese,Việtnam
|
248
|
+
vec,Venetian,Vèneto
|
249
|
+
vls,West Flemish,West-Vlaoms
|
250
|
+
vo,Volapük,Volapük
|
251
|
+
wa,Walloon,Walon
|
252
|
+
war,Waray / Samar-Leyte Visayan,Winaray / Binisaya Lineyte-Samarnon
|
253
|
+
wo,Wolof,Wollof
|
254
|
+
xal,Kalmyk,Хальмг
|
255
|
+
xh,Xhosa,isiXhosa
|
256
|
+
xmf,Megrelian,მარგალური
|
257
|
+
yi,Yiddish,ייִדיש
|
258
|
+
yo,Yoruba,Yorùbá
|
259
|
+
za,Zhuang,Cuengh / Tôô / 壮语
|
260
|
+
zh,Chinese,中文
|
261
|
+
zh-classical,Classical Chinese,文言
|
262
|
+
zh-min-nan,Minnan,Bân-lâm-gú
|
263
|
+
zh-yue,Cantonese,粵語 / 粤语
|
264
|
+
zu,Zulu,isiZulu
|
data/lib/spree_i18n/version.rb
CHANGED
@@ -35,4 +35,12 @@ RSpec.describe 'Translation' do
|
|
35
35
|
expect(translation).to eq 'Postnummer'
|
36
36
|
end
|
37
37
|
end
|
38
|
+
|
39
|
+
# Hungarian is chosen
|
40
|
+
context 'when current locale is Hungarian' do
|
41
|
+
it 'translation is available' do
|
42
|
+
I18n.locale = :'hu'
|
43
|
+
expect(translation).to eq 'Irányítószám'
|
44
|
+
end
|
45
|
+
end
|
38
46
|
end
|
data/spree_i18n.gemspec
CHANGED
@@ -24,7 +24,7 @@ Gem::Specification.new do |s|
|
|
24
24
|
s.add_runtime_dependency 'i18n_data'
|
25
25
|
s.add_runtime_dependency 'rails-i18n'
|
26
26
|
s.add_runtime_dependency 'kaminari-i18n'
|
27
|
-
s.add_runtime_dependency 'spree_core', '>= 4.2.0.rc3'
|
27
|
+
s.add_runtime_dependency 'spree_core', '>= 4.2.0.rc3'
|
28
28
|
s.add_runtime_dependency 'spree_extension'
|
29
29
|
|
30
30
|
s.add_development_dependency 'spree_dev_tools'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_i18n
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.
|
4
|
+
version: 5.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean Schofield
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: i18n_data
|
@@ -59,9 +59,6 @@ dependencies:
|
|
59
59
|
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: 4.2.0.rc3
|
62
|
-
- - "<"
|
63
|
-
- !ruby/object:Gem::Version
|
64
|
-
version: '5.0'
|
65
62
|
type: :runtime
|
66
63
|
prerelease: false
|
67
64
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -69,9 +66,6 @@ dependencies:
|
|
69
66
|
- - ">="
|
70
67
|
- !ruby/object:Gem::Version
|
71
68
|
version: 4.2.0.rc3
|
72
|
-
- - "<"
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version: '5.0'
|
75
69
|
- !ruby/object:Gem::Dependency
|
76
70
|
name: spree_extension
|
77
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -106,6 +100,7 @@ executables: []
|
|
106
100
|
extensions: []
|
107
101
|
extra_rdoc_files: []
|
108
102
|
files:
|
103
|
+
- ".github/dependabot.yml"
|
109
104
|
- ".gitignore"
|
110
105
|
- ".rspec"
|
111
106
|
- ".rubocop.yml"
|
@@ -126,6 +121,7 @@ files:
|
|
126
121
|
- config/locales/da.yml
|
127
122
|
- config/locales/de-CH.yml
|
128
123
|
- config/locales/de.yml
|
124
|
+
- config/locales/el.yml
|
129
125
|
- config/locales/en-AU.yml
|
130
126
|
- config/locales/en-GB.yml
|
131
127
|
- config/locales/en-IN.yml
|
@@ -138,7 +134,7 @@ files:
|
|
138
134
|
- config/locales/fa.yml
|
139
135
|
- config/locales/fi.yml
|
140
136
|
- config/locales/fr.yml
|
141
|
-
- config/locales/
|
137
|
+
- config/locales/hu.yml
|
142
138
|
- config/locales/id.yml
|
143
139
|
- config/locales/it.yml
|
144
140
|
- config/locales/ja.yml
|
@@ -148,6 +144,7 @@ files:
|
|
148
144
|
- config/locales/lt.yml
|
149
145
|
- config/locales/lv.yml
|
150
146
|
- config/locales/nb.yml
|
147
|
+
- config/locales/ne.yml
|
151
148
|
- config/locales/nl.yml
|
152
149
|
- config/locales/pl.yml
|
153
150
|
- config/locales/pt-BR.yml
|
@@ -170,6 +167,7 @@ files:
|
|
170
167
|
- lib/spree_i18n.rb
|
171
168
|
- lib/spree_i18n/engine.rb
|
172
169
|
- lib/spree_i18n/locale.rb
|
170
|
+
- lib/spree_i18n/locales_and_local_language_names.csv
|
173
171
|
- lib/spree_i18n/version.rb
|
174
172
|
- lib/tasks/spree_i18n/upgrade.rake
|
175
173
|
- spec/features/russian_errors_translation_spec.rb
|
@@ -197,7 +195,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
197
195
|
version: '0'
|
198
196
|
requirements:
|
199
197
|
- none
|
200
|
-
rubygems_version: 3.
|
198
|
+
rubygems_version: 3.0.9
|
201
199
|
signing_key:
|
202
200
|
specification_version: 4
|
203
201
|
summary: Provides locale information for use in Spree.
|