rails-i18n 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +3 -3
- data/rails/locale/bn-IN.yml +37 -24
- data/rails/locale/dsb.yml +14 -1
- data/rails/locale/en-IN.yml +249 -0
- data/rails/locale/en-US.yml +1 -7
- data/rails/locale/es-PE.yml +28 -7
- data/rails/locale/fur.yml +14 -1
- data/rails/locale/gl-ES.yml +14 -1
- data/rails/locale/hi-IN.yml +1 -1
- data/rails/locale/hi.yml +1 -1
- data/rails/locale/hr.yml +28 -1
- data/rails/locale/hsb.yml +14 -2
- data/rails/locale/ja.yml +1 -1
- data/rails/locale/lo.yml +13 -0
- data/rails/locale/lt.yml +13 -2
- data/rails/locale/mk.yml +28 -1
- data/rails/locale/mn.yml +14 -2
- data/rails/locale/nn.yml +26 -1
- data/rails/locale/rm.yml +14 -1
- data/rails/locale/sl.yml +13 -0
- data/rails/locale/sr-Latn.yml +28 -1
- data/rails/locale/sr.yml +27 -0
- data/rails/locale/sv-SE.yml +7 -4
- data/rails/locale/tr.yml +16 -1
- data/rails/locale/vi.yml +13 -0
- metadata +28 -51
data/README.md
CHANGED
@@ -27,7 +27,7 @@ For more information, visit [Rails Internationalization (I18n) API](http://guide
|
|
27
27
|
|
28
28
|
Available locales are:
|
29
29
|
|
30
|
-
> ar, az, bg, bn-IN, bs, ca, cs, csb, cy, da, de, de-AT, de-CH, dsb, el, en-AU, en-GB, en-US, eo, es,
|
30
|
+
> ar, az, bg, bn-IN, bs, ca, cs, csb, cy, da, de, de-AT, de-CH, dsb, el, en-AU, en-GB, en-IN, en-US, eo, es,
|
31
31
|
> es-AR, es-CL, es-CO, es-MX, es-PE, et, eu, fa, fi, fr, fr-CA, fr-CH, fur, gl-ES,
|
32
32
|
> gsw-CH, he, hi-IN, hr, hsb, hu, id, is, it, ja, kn, ko, lo, lt, lv, mk, mn, nb,
|
33
33
|
> nl, nn, pl, pt-BR, pt-PT, rm, ro, ru, sk, sl, sr, sr-Latn, sv-SE, sw, th,
|
@@ -36,12 +36,12 @@ Available locales are:
|
|
36
36
|
Note that all locale files are not yet ready for Rails 3. Currently, following locales are ready for Rails 2 and 3:
|
37
37
|
|
38
38
|
> ar, az, bg, bs, ca, cs, csb, cy, da, de, de-AT, de-CH, el, en-AU, en-GB, en-US, eo, es, es-AR, es-CL, es-CO, es-MX, et,
|
39
|
-
> eu, fa, fi, fr, fr-CA, fr-CH, gsw-CH, he, hi, hi-IN, hu,
|
39
|
+
> eu, fa, fi, fr, fr-CA, fr-CH, gsw-CH, he, hi, hi-IN, hu, is, it, ja, kn, ko, lv, nb,
|
40
40
|
> nl, pl, pt-BR, pt-PT, ro, ru, sk, sv-SE, sw, th, uk, zh-CN, zh-TW
|
41
41
|
|
42
42
|
Not-yet-ready locales are:
|
43
43
|
|
44
|
-
> bn-IN, dsb, es-PE, fur, gl-ES, hr, hsb, lo, lt, mk, mn, nn, rm, sl, sr, sr-Latn, tr, vi
|
44
|
+
> bn-IN, dsb, en-IN, es-PE, fur, gl-ES, hr, hsb, id, lo, lt, mk, mn, nn, rm, sl, sr, sr-Latn, tr, vi
|
45
45
|
|
46
46
|
We always welcome your contributions!
|
47
47
|
|
data/rails/locale/bn-IN.yml
CHANGED
@@ -12,17 +12,21 @@ bn-IN:
|
|
12
12
|
delimiter: ","
|
13
13
|
# Number of decimals, behind the separator (1 with a precision of 2 gives: 1.00)
|
14
14
|
precision: 2
|
15
|
+
significant: false
|
16
|
+
strip_insignificant_zeros: false
|
15
17
|
|
16
18
|
# Used in number_to_currency()
|
17
19
|
currency:
|
18
20
|
format:
|
19
21
|
# Where is the currency sign? %u is the currency unit, %n the number (default: $5.00)
|
20
22
|
format: "%u %n"
|
21
|
-
unit: "
|
23
|
+
unit: "₹"
|
22
24
|
# These three are to override number.format and are optional
|
23
25
|
separator: "."
|
24
26
|
delimiter: ","
|
25
27
|
precision: 2
|
28
|
+
significant: false
|
29
|
+
strip_insignificant_zeros: false
|
26
30
|
|
27
31
|
# Used in number_to_percentage()
|
28
32
|
percentage:
|
@@ -47,6 +51,8 @@ bn-IN:
|
|
47
51
|
# separator:
|
48
52
|
delimiter: ""
|
49
53
|
precision: 1
|
54
|
+
significant: true
|
55
|
+
strip_insignificant_zeros: true
|
50
56
|
# Rails <= v2.2.2
|
51
57
|
# storage_units: [Bytes, KB, MB, GB, TB]
|
52
58
|
# Rails >= v2.3
|
@@ -60,6 +66,10 @@ bn-IN:
|
|
60
66
|
mb: "MB"
|
61
67
|
gb: "GB"
|
62
68
|
tb: "TB"
|
69
|
+
decimal_units:
|
70
|
+
format: "%n %u"
|
71
|
+
units:
|
72
|
+
unit: ""
|
63
73
|
|
64
74
|
# Used in distance_of_time_in_words(), distance_of_time_in_words_to_now(), time_ago_in_words()
|
65
75
|
datetime:
|
@@ -78,20 +88,20 @@ bn-IN:
|
|
78
88
|
one: "১ মিনিট"
|
79
89
|
other: "%{count} মিনিট"
|
80
90
|
about_x_hours:
|
81
|
-
one: "
|
82
|
-
other: "
|
91
|
+
one: "প্রায় ১ ঘন্টা"
|
92
|
+
other: "প্রায় %{count} ঘন্টা"
|
83
93
|
x_days:
|
84
94
|
one: "১ দিন"
|
85
95
|
other: "%{count} দিন"
|
86
96
|
about_x_months:
|
87
|
-
one: "
|
88
|
-
other: "
|
97
|
+
one: "প্রায় ১ মাস"
|
98
|
+
other: "প্রায় %{count} মাস"
|
89
99
|
x_months:
|
90
100
|
one: "১ মাস"
|
91
101
|
other: "%{count} মাস"
|
92
102
|
about_x_years:
|
93
|
-
one: "
|
94
|
-
other: "
|
103
|
+
one: "প্রায় ১ বছর"
|
104
|
+
other: "প্রায় %{count} বছর"
|
95
105
|
over_x_years:
|
96
106
|
one: "১ বছরের বেশি"
|
97
107
|
other: "%{count} বছরের বেশি"
|
@@ -104,31 +114,32 @@ bn-IN:
|
|
104
114
|
second: "সেকেন্ড"
|
105
115
|
|
106
116
|
errors:
|
117
|
+
format: "%{attribute} %{message}"
|
107
118
|
messages: &errors_messages
|
108
|
-
inclusion: "লিস্টে অন্তর্ভুক্ত
|
119
|
+
inclusion: "লিস্টে অন্তর্ভুক্ত নয়"
|
109
120
|
exclusion: "রিসার্ভ করা অাছে"
|
110
|
-
invalid: "সঠিক
|
121
|
+
invalid: "সঠিক নয়"
|
111
122
|
confirmation: "অনুমোদনের সঙ্গে মিলছে না"
|
112
123
|
accepted: "গ্রাহ্য করতে হবে"
|
113
124
|
empty: "খালি রাখা যাবে না"
|
114
125
|
blank: "ফাঁকা রাখা যাবে না"
|
115
|
-
too_long: "খুব
|
126
|
+
too_long: "খুব বড়ো (সর্বোচ্চ %{count} অক্ষর)"
|
116
127
|
too_short: "খুব ছোটো (সর্বনিম্ন %{count} অক্ষর)"
|
117
|
-
wrong_length: "দৈর্ঘ্যটি সঠিক
|
118
|
-
taken: "অাগেই
|
119
|
-
not_a_number: "নম্বর
|
120
|
-
greater_than: "%{count} থেকে
|
121
|
-
greater_than_or_equal_to: "%{count} থেকে
|
128
|
+
wrong_length: "দৈর্ঘ্যটি সঠিক নয় (%{count} অক্ষর হতে হবে)"
|
129
|
+
taken: "অাগেই নিয়ে নেওয়া হয়েছে"
|
130
|
+
not_a_number: "নম্বর নয়"
|
131
|
+
greater_than: "%{count} থেকে বড়ো হতে হবে"
|
132
|
+
greater_than_or_equal_to: "%{count} থেকে বড়ো অথবা তার সমান হতে হবে"
|
122
133
|
equal_to: "%{count} এর সঙ্গে সমান হতে হবে"
|
123
134
|
less_than: "%{count} থেকে ছোটো হতে হবে"
|
124
135
|
less_than_or_equal_to: "%{count} থেকে ছোটো অথবা তার সমান হতে হবে"
|
125
|
-
odd: "
|
126
|
-
even: "
|
136
|
+
odd: "বেজোড় হতে হবে"
|
137
|
+
even: "জোড় হতে হবে"
|
127
138
|
template: &errors_template
|
128
139
|
header:
|
129
|
-
one: "১ টি ত্রুটির কারনে %{model} সংরক্ষন করা সম্ভব
|
130
|
-
other: "%{count} টি ত্রুটির কারনে %{model} সংরক্ষন করা সম্ভব
|
131
|
-
body: "এই ফিল্ডগুলোতে কিছু সমস্যা দেখা
|
140
|
+
one: "১ টি ত্রুটির কারনে %{model} সংরক্ষন করা সম্ভব হয়নি"
|
141
|
+
other: "%{count} টি ত্রুটির কারনে %{model} সংরক্ষন করা সম্ভব হয়নি"
|
142
|
+
body: "এই ফিল্ডগুলোতে কিছু সমস্যা দেখা দিয়েছে:"
|
132
143
|
|
133
144
|
activerecord:
|
134
145
|
errors:
|
@@ -136,6 +147,8 @@ bn-IN:
|
|
136
147
|
<<: *errors_messages
|
137
148
|
template:
|
138
149
|
<<: *errors_template
|
150
|
+
full_messages:
|
151
|
+
format: "%{attribute} %{message}"
|
139
152
|
|
140
153
|
# The values :model, :attribute and :value are always available for interpolation
|
141
154
|
# The value :count is available when applicable. Can be used for pluralization.
|
@@ -178,8 +191,8 @@ bn-IN:
|
|
178
191
|
# Don't forget the nil at the beginning; there's no such thing as a 0th month
|
179
192
|
month_names:
|
180
193
|
- ~
|
181
|
-
-
|
182
|
-
-
|
194
|
+
- জানুয়ারি
|
195
|
+
- ফেব্রুয়ারি
|
183
196
|
- মার্চ
|
184
197
|
- এপ্রিল
|
185
198
|
- মে
|
@@ -192,8 +205,8 @@ bn-IN:
|
|
192
205
|
- ডিসেম্বার
|
193
206
|
abbr_month_names:
|
194
207
|
- ~
|
195
|
-
-
|
196
|
-
-
|
208
|
+
- জানুয়ারি
|
209
|
+
- ফেব্রুয়ারি
|
197
210
|
- মার্চ
|
198
211
|
- এপ্রিল
|
199
212
|
- মে
|
data/rails/locale/dsb.yml
CHANGED
@@ -80,6 +80,8 @@ dsb:
|
|
80
80
|
precision: 3
|
81
81
|
separator: ","
|
82
82
|
delimiter: "."
|
83
|
+
significant: false
|
84
|
+
strip_insignificant_zeros: false
|
83
85
|
currency:
|
84
86
|
format:
|
85
87
|
unit: "€"
|
@@ -87,10 +89,14 @@ dsb:
|
|
87
89
|
format: "%n %u"
|
88
90
|
separator: ","
|
89
91
|
delimiter: " "
|
92
|
+
significant: false
|
93
|
+
strip_insignificant_zeros: false
|
90
94
|
human:
|
91
95
|
format:
|
92
96
|
precision: 1
|
93
97
|
delimiter: ""
|
98
|
+
significant: true
|
99
|
+
strip_insignificant_zeros: true
|
94
100
|
storage_units:
|
95
101
|
format: "%n %u"
|
96
102
|
units:
|
@@ -103,6 +109,10 @@ dsb:
|
|
103
109
|
mb: "MB"
|
104
110
|
gb: "GB"
|
105
111
|
tb: "TB"
|
112
|
+
decimal_units:
|
113
|
+
format: "%n %u"
|
114
|
+
units:
|
115
|
+
unit: ""
|
106
116
|
|
107
117
|
percentage:
|
108
118
|
format:
|
@@ -169,6 +179,7 @@ dsb:
|
|
169
179
|
few: "wěcej ako %{count} lětami"
|
170
180
|
other: "wěcej ako %{count} lětami"
|
171
181
|
errors:
|
182
|
+
format: "%{attribute} %{message}"
|
172
183
|
messages: &errors_messages
|
173
184
|
inclusion: "njejo płaśiwa gódnota"
|
174
185
|
exclusion: "njestoj k dispoziciji"
|
@@ -215,4 +226,6 @@ dsb:
|
|
215
226
|
messages:
|
216
227
|
<<: *errors_messages
|
217
228
|
template:
|
218
|
-
<<: *errors_template
|
229
|
+
<<: *errors_template
|
230
|
+
full_messages:
|
231
|
+
format: "%{attribute} %{message}"
|
@@ -0,0 +1,249 @@
|
|
1
|
+
# Indian translations for Ruby on Rails
|
2
|
+
# by Saurabh Bhatia
|
3
|
+
|
4
|
+
"en-IN":
|
5
|
+
date:
|
6
|
+
formats:
|
7
|
+
default: "%d %B %Y"
|
8
|
+
long: "%A, %d %B %Y"
|
9
|
+
short: "%d.%m.%Y"
|
10
|
+
|
11
|
+
day_names:
|
12
|
+
- Sunday
|
13
|
+
- Monday
|
14
|
+
- Tuesday
|
15
|
+
- Wednesday
|
16
|
+
- Thursday
|
17
|
+
- Friday
|
18
|
+
- Saturday
|
19
|
+
abbr_day_names:
|
20
|
+
- Sun
|
21
|
+
- Mon
|
22
|
+
- Tue
|
23
|
+
- Wed
|
24
|
+
- Thu
|
25
|
+
- Fri
|
26
|
+
- Sat
|
27
|
+
month_names:
|
28
|
+
- ~
|
29
|
+
- January
|
30
|
+
- February
|
31
|
+
- March
|
32
|
+
- April
|
33
|
+
- May
|
34
|
+
- June
|
35
|
+
- July
|
36
|
+
- August
|
37
|
+
- September
|
38
|
+
- October
|
39
|
+
- November
|
40
|
+
- December
|
41
|
+
abbr_month_names:
|
42
|
+
- ~
|
43
|
+
- Jan
|
44
|
+
- Feb
|
45
|
+
- Mar
|
46
|
+
- Apr
|
47
|
+
- May
|
48
|
+
- Jun
|
49
|
+
- Jul
|
50
|
+
- Aug
|
51
|
+
- Sep
|
52
|
+
- Okt
|
53
|
+
- Nov
|
54
|
+
- Dec
|
55
|
+
order:
|
56
|
+
- :day
|
57
|
+
- :month
|
58
|
+
- :year
|
59
|
+
|
60
|
+
time:
|
61
|
+
formats:
|
62
|
+
default: "%a, %d %b %Y %H.%M.%S %z"
|
63
|
+
short: "%d %b %H.%M"
|
64
|
+
long: "%d %B %Y %H.%M"
|
65
|
+
am: "am"
|
66
|
+
pm: "pm"
|
67
|
+
|
68
|
+
number:
|
69
|
+
format:
|
70
|
+
delimiter: "."
|
71
|
+
separator: ","
|
72
|
+
precision: 2
|
73
|
+
|
74
|
+
currency:
|
75
|
+
format:
|
76
|
+
format: "%n. %u"
|
77
|
+
unit: "₹"
|
78
|
+
separator: ","
|
79
|
+
delimiter: "."
|
80
|
+
precision: 2
|
81
|
+
|
82
|
+
percentage:
|
83
|
+
format:
|
84
|
+
delimiter: "."
|
85
|
+
separator: ","
|
86
|
+
precision: 2
|
87
|
+
|
88
|
+
precision:
|
89
|
+
format:
|
90
|
+
delimiter: "."
|
91
|
+
separator: ","
|
92
|
+
|
93
|
+
human:
|
94
|
+
format:
|
95
|
+
delimiter: "."
|
96
|
+
separator: ","
|
97
|
+
precision: 1
|
98
|
+
storage_units:
|
99
|
+
- Byte
|
100
|
+
- KB
|
101
|
+
- MB
|
102
|
+
- GB
|
103
|
+
- TB
|
104
|
+
|
105
|
+
datetime:
|
106
|
+
distance_in_words:
|
107
|
+
half_a_minute: "setengah menit"
|
108
|
+
less_than_x_seconds:
|
109
|
+
zero: "kurang dari 1 detik"
|
110
|
+
one: "kurang dari 1 detik"
|
111
|
+
other: "kurang dari %{count} detik"
|
112
|
+
x_seconds:
|
113
|
+
one: "satu detik"
|
114
|
+
other: "%{count} detik"
|
115
|
+
less_than_x_minutes:
|
116
|
+
zero: "kurang dari 1 menit"
|
117
|
+
one: "kurang dari 1 menit"
|
118
|
+
other: "kurang dari %{count} menit"
|
119
|
+
x_minutes:
|
120
|
+
one: "satu menit"
|
121
|
+
other: "%{count} menit"
|
122
|
+
about_x_hours:
|
123
|
+
one: "sekitar satu jam"
|
124
|
+
other: "sekitar %{count} jam"
|
125
|
+
x_days:
|
126
|
+
one: "sehari"
|
127
|
+
other: "%{count} hari"
|
128
|
+
about_x_months:
|
129
|
+
one: "sekitar sebulan"
|
130
|
+
other: "sekitar %{count} bulan"
|
131
|
+
x_months:
|
132
|
+
one: "sebulan"
|
133
|
+
other: "%{count} bulan"
|
134
|
+
about_x_years:
|
135
|
+
one: "setahun"
|
136
|
+
other: "noin %{count} tahun"
|
137
|
+
over_x_years:
|
138
|
+
one: "lebih dari setahun"
|
139
|
+
other: "lebih dari %{count} tahun"
|
140
|
+
almost_x_years:
|
141
|
+
one: "hampir setahun"
|
142
|
+
other: "hampir %{count} tahun"
|
143
|
+
prompts:
|
144
|
+
year: "Tahun"
|
145
|
+
month: "Bulan"
|
146
|
+
day: "Hari"
|
147
|
+
hour: "Jam"
|
148
|
+
minute: "Menit"
|
149
|
+
second: "Detik"
|
150
|
+
|
151
|
+
helpers:
|
152
|
+
select:
|
153
|
+
prompt: "Silahkan pilih"
|
154
|
+
|
155
|
+
submit:
|
156
|
+
create: 'Buat %{model}'
|
157
|
+
update: 'Update %{model}'
|
158
|
+
submit: 'Simpan %{model}'
|
159
|
+
|
160
|
+
errors:
|
161
|
+
format: "%{attribute} %{message}"
|
162
|
+
|
163
|
+
messages: &errors_messages
|
164
|
+
inclusion: "tidak termasuk"
|
165
|
+
exclusion: "sudah digunakan"
|
166
|
+
invalid: "tidak valid"
|
167
|
+
confirmation: "tidak sesuai dengan konfirmasi"
|
168
|
+
accepted: "harus diterima"
|
169
|
+
empty: "tidak bisa kosong"
|
170
|
+
blank: "tidak bisa kosong"
|
171
|
+
too_long: "terlalu panjang (maksimum %{count} karakter)"
|
172
|
+
too_short: "terlalu pendek (minimum %{count} karakter)"
|
173
|
+
wrong_length: "jumlah karakter salah (seharusnya %{count} karakter)"
|
174
|
+
taken: "sudah digunakan"
|
175
|
+
not_a_number: "bukan angka"
|
176
|
+
greater_than: "harus lebih besar dari %{count}"
|
177
|
+
greater_than_or_equal_to: "harus sama atau lebih besar dari %{count}"
|
178
|
+
equal_to: "harus sama dengan %{count}"
|
179
|
+
less_than: "harus lebih kecil dari %{count}"
|
180
|
+
less_than_or_equal_to: "harus sama atau lebih kecil dari %{count}"
|
181
|
+
odd: "harus ganjil"
|
182
|
+
even: "harus genap"
|
183
|
+
record_invalid: "Verifikasi gagal: %{errors}"
|
184
|
+
template: &errors_template
|
185
|
+
header:
|
186
|
+
one: "1 kesalahan mengakibatkan %{model} ini tidak bisa disimpan"
|
187
|
+
other: "%{count} kesalahan mengakibatkan %{model} ini tidak bisa disimpan"
|
188
|
+
body: "Ada masalah dengan field berikut:"
|
189
|
+
|
190
|
+
activerecord:
|
191
|
+
errors:
|
192
|
+
messages:
|
193
|
+
<<: *errors_messages
|
194
|
+
template:
|
195
|
+
<<: *errors_template
|
196
|
+
full_messages:
|
197
|
+
format: "%{attribute} %{message}"
|
198
|
+
|
199
|
+
number:
|
200
|
+
format:
|
201
|
+
separator: ","
|
202
|
+
delimiter: "."
|
203
|
+
precision: 3
|
204
|
+
significant: false
|
205
|
+
strip_insignificant_zeros: false
|
206
|
+
|
207
|
+
currency:
|
208
|
+
format:
|
209
|
+
format: "%u%n"
|
210
|
+
unit: "Rp"
|
211
|
+
separator: ","
|
212
|
+
delimiter: "."
|
213
|
+
precision: 2
|
214
|
+
significant: false
|
215
|
+
strip_insignificant_zeros: false
|
216
|
+
|
217
|
+
percentage:
|
218
|
+
format:
|
219
|
+
delimiter: ""
|
220
|
+
|
221
|
+
precision:
|
222
|
+
format:
|
223
|
+
delimiter: ""
|
224
|
+
|
225
|
+
human:
|
226
|
+
format:
|
227
|
+
delimiter: ""
|
228
|
+
precision: 3
|
229
|
+
significant: true
|
230
|
+
strip_insignificant_zeros: true
|
231
|
+
storage_units:
|
232
|
+
format: "%n %u"
|
233
|
+
units:
|
234
|
+
byte:
|
235
|
+
one: "Byte"
|
236
|
+
other: "Byte"
|
237
|
+
kb: "KB"
|
238
|
+
mb: "MB"
|
239
|
+
gb: "GB"
|
240
|
+
tb: "TB"
|
241
|
+
decimal_units:
|
242
|
+
format: "%n %u"
|
243
|
+
units:
|
244
|
+
unit: ""
|
245
|
+
thousand: Ribu
|
246
|
+
million: Juta
|
247
|
+
billion: Miliar
|
248
|
+
trillion: Triliun
|
249
|
+
quadrillion: Quadriliun
|