rails-i18n 0.6.0.beta1 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +4 -4
- data/rails/locale/hr.yml +4 -3
- data/rails/locale/mn.yml +36 -19
- metadata +13 -13
data/README.md
CHANGED
@@ -40,7 +40,7 @@ For more information, visit [Rails Internationalization (I18n) API](http://guide
|
|
40
40
|
|
41
41
|
## Usage on Rails 2.3
|
42
42
|
|
43
|
-
Locale data whose structure is compatible with Rails 2.3 are available on the separate branch [rails-2-3](https://github.com/svenfuchs/rails-i18n/tree/rails-2-3).
|
43
|
+
Locale data whose structure is compatible with Rails 2.3 are available on the separate branch [rails-2-3](https://github.com/svenfuchs/rails-i18n/tree/rails-2-3).
|
44
44
|
|
45
45
|
## Available Locales
|
46
46
|
|
@@ -55,12 +55,12 @@ Available locales are:
|
|
55
55
|
Following locales are complete:
|
56
56
|
|
57
57
|
> 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,
|
58
|
-
> eu, fa, fi, fr, fr-CA, fr-CH, fur, gsw-CH, he, hi, hi-IN, hr, hu, is, it, ja, kn, ko, lv, nb,
|
58
|
+
> eu, fa, fi, fr, fr-CA, fr-CH, fur, gsw-CH, he, hi, hi-IN, hr, hu, is, it, ja, kn, ko, lv, mn, nb,
|
59
59
|
> nl, pl, pt-BR, pt-PT, ro, ru, sk, sv-SE, sw, th, uk, zh-CN, zh-TW
|
60
60
|
|
61
61
|
Following locales have some missing translations:
|
62
62
|
|
63
|
-
> bn-IN, dsb, en-IN, es-PE, gl-ES, hsb, id, lo, lt, mk,
|
63
|
+
> bn-IN, dsb, en-IN, es-PE, gl-ES, hsb, id, lo, lt, mk, nn, rm, sl, sr, sr-Latn, tr, vi
|
64
64
|
|
65
65
|
We always welcome your contributions!
|
66
66
|
|
@@ -92,7 +92,7 @@ If you are not,
|
|
92
92
|
Before committing and pushing your changes, test the integrity of your locale file.
|
93
93
|
|
94
94
|
rake spec
|
95
|
-
|
95
|
+
|
96
96
|
Make sure you have included all translations with:
|
97
97
|
|
98
98
|
rake i18n-spec:completeness rails/locale/en-US.yml rails/locale/YOUR_NEW_LOCALE.yml
|
data/rails/locale/hr.yml
CHANGED
@@ -90,14 +90,15 @@ hr:
|
|
90
90
|
other: ! '%{count} dana'
|
91
91
|
x_minutes:
|
92
92
|
one: 1 minuta
|
93
|
-
|
93
|
+
few: ! '%{count} minute'
|
94
|
+
other: ! '%{count} minuta'
|
94
95
|
x_months:
|
95
|
-
few: ! '%{count} mjeseca'
|
96
96
|
one: 1 mjesec
|
97
|
+
few: ! '%{count} mjeseca'
|
97
98
|
other: ! '%{count} mjeseci'
|
98
99
|
x_seconds:
|
99
|
-
few: ! '%{count} sekunde'
|
100
100
|
one: 1 sekunda
|
101
|
+
few: ! '%{count} sekunde'
|
101
102
|
other: ! '%{count} sekundi'
|
102
103
|
prompts:
|
103
104
|
day: Dan
|
data/rails/locale/mn.yml
CHANGED
@@ -9,7 +9,7 @@ mn:
|
|
9
9
|
- Ба
|
10
10
|
- Бя
|
11
11
|
abbr_month_names:
|
12
|
-
-
|
12
|
+
-
|
13
13
|
- 1 сар
|
14
14
|
- 2 сар
|
15
15
|
- 3 сар
|
@@ -35,7 +35,7 @@ mn:
|
|
35
35
|
long: ! '%Y %B %d'
|
36
36
|
short: ! '%y-%m-%d'
|
37
37
|
month_names:
|
38
|
-
-
|
38
|
+
-
|
39
39
|
- 1 сар
|
40
40
|
- 2 сар
|
41
41
|
- 3 сар
|
@@ -55,38 +55,38 @@ mn:
|
|
55
55
|
datetime:
|
56
56
|
distance_in_words:
|
57
57
|
about_x_hours:
|
58
|
-
one: ! '
|
58
|
+
one: ! '1 цаг орчим'
|
59
59
|
other: ! '%{count} цаг орчим'
|
60
60
|
about_x_months:
|
61
|
-
one: ! '
|
61
|
+
one: ! '1 сар орчим'
|
62
62
|
other: ! '%{count} сар орчим'
|
63
63
|
about_x_years:
|
64
|
-
one: ! '
|
64
|
+
one: ! '1 жил орчим'
|
65
65
|
other: ! '%{count} жил орчим'
|
66
66
|
almost_x_years:
|
67
|
-
one: бараг
|
67
|
+
one: бараг 1 жил
|
68
68
|
other: бараг %{count} жил
|
69
69
|
half_a_minute: хагас минут
|
70
70
|
less_than_x_minutes:
|
71
|
-
one: ! '
|
71
|
+
one: ! '1 минутаас бага'
|
72
72
|
other: ! '%{count} минутаас бага'
|
73
73
|
less_than_x_seconds:
|
74
|
-
one: ! '
|
74
|
+
one: ! '1 секундээс бага'
|
75
75
|
other: ! '%{count} секундээс бага'
|
76
76
|
over_x_years:
|
77
|
-
one: ! '
|
77
|
+
one: ! '1 жилээс илүү'
|
78
78
|
other: ! '%{count} жилээс илүү'
|
79
79
|
x_days:
|
80
|
-
one: ! '
|
80
|
+
one: ! '1 өдөр'
|
81
81
|
other: ! '%{count} өдөр'
|
82
82
|
x_minutes:
|
83
|
-
one: ! '
|
83
|
+
one: ! '1 минут'
|
84
84
|
other: ! '%{count} минут'
|
85
85
|
x_months:
|
86
|
-
one: ! '
|
86
|
+
one: ! '1 сар'
|
87
87
|
other: ! '%{count} сар'
|
88
88
|
x_seconds:
|
89
|
-
one: ! '
|
89
|
+
one: ! '1 секунд'
|
90
90
|
other: ! '%{count} секунд'
|
91
91
|
prompts:
|
92
92
|
day: Өдөр
|
@@ -106,26 +106,37 @@ mn:
|
|
106
106
|
even: тэгш байх ёстой
|
107
107
|
exclusion: бол ашиглахад хориотой
|
108
108
|
greater_than: ! '%{count}-с их байх ёстой'
|
109
|
-
greater_than_or_equal_to: ! '%{count}-с их юмуу тэнцүү байх ёстой'
|
110
|
-
inclusion:
|
109
|
+
greater_than_or_equal_to: ! '%{count}-с их юмуу эсвэл тэнцүү байх ёстой'
|
110
|
+
inclusion: жагсаалтанд алга байна
|
111
111
|
invalid: буруу байна
|
112
112
|
less_than: ! '%{count}-с бага байх ёстой'
|
113
|
-
less_than_or_equal_to: ! '%{count}-с бага юмуу тэнцүү байх ёстой'
|
113
|
+
less_than_or_equal_to: ! '%{count}-с бага юмуу эсвэл тэнцүү байх ёстой'
|
114
114
|
not_a_number: тоо биш байна
|
115
115
|
not_an_integer: бүхэл тоо байх ёстой
|
116
116
|
odd: сонгой байх ёстой
|
117
117
|
record_invalid: ! 'Шалгалт амжилтгүй: %{errors}'
|
118
118
|
taken: аль хэдийн авчихсан байна
|
119
|
-
too_long:
|
120
|
-
|
121
|
-
|
119
|
+
too_long:
|
120
|
+
one: хэт урт байна (хамгийн уртдаа 1 тэмдэгт)
|
121
|
+
other: хэт урт байна (хамгийн уртдаа %{count} тэмдэгт)
|
122
|
+
too_short:
|
123
|
+
one: хэт богино байна (хамгийн багадаа 1 тэмдэгт)
|
124
|
+
other: хэт богино байна (хамгийн багадаа %{count} тэмдэгт)
|
125
|
+
wrong_length:
|
126
|
+
one: урт нь буруу байна (1 тэмдэгт байх ёстой)
|
127
|
+
other: урт нь буруу байна (%{count} тэмдэгт байх ёстой)
|
122
128
|
template:
|
129
|
+
body: ! 'Дараах талбарууд дээр алдаа гарлаа:'
|
123
130
|
header:
|
124
131
|
one: 1 алдаа гарсан тул %{model} хадгалагдахгүй байна
|
125
132
|
other: ! '%{count} алдаа гарсан тул %{model} хадгалагдахгүй байна'
|
126
133
|
helpers:
|
127
134
|
select:
|
128
135
|
prompt: Сонгоно уу
|
136
|
+
submit:
|
137
|
+
create: ! '%{model}-г үүсгэх'
|
138
|
+
submit: ! '%{model}-г хадгалах'
|
139
|
+
update: ! '%{model}-г шинэчлэх'
|
129
140
|
number:
|
130
141
|
currency:
|
131
142
|
format:
|
@@ -146,9 +157,15 @@ mn:
|
|
146
157
|
decimal_units:
|
147
158
|
format: ! '%n %u'
|
148
159
|
units:
|
160
|
+
billion: Тэрбум
|
161
|
+
million: Сая
|
162
|
+
quadrillion: Тунамал
|
163
|
+
thousand: Мянга
|
164
|
+
trillion: Их наяд
|
149
165
|
unit: ''
|
150
166
|
format:
|
151
167
|
delimiter: ''
|
168
|
+
precision: 3
|
152
169
|
significant: true
|
153
170
|
strip_insignificant_zeros: true
|
154
171
|
storage_units:
|
metadata
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-i18n
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
5
|
-
prerelease:
|
4
|
+
version: 0.6.1
|
5
|
+
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Rails I18n Group
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-03-
|
12
|
+
date: 2012-03-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: i18n
|
16
|
-
requirement: &
|
16
|
+
requirement: &14419600 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0.5'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *14419600
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rails
|
27
|
-
requirement: &
|
27
|
+
requirement: &14418620 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 3.0.0
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *14418620
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rspec-rails
|
38
|
-
requirement: &
|
38
|
+
requirement: &14414740 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: 2.7.0
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *14414740
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: i18n-spec
|
49
|
-
requirement: &
|
49
|
+
requirement: &14441660 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: 0.1.1
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *14441660
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: spork
|
60
|
-
requirement: &
|
60
|
+
requirement: &14438360 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ~>
|
@@ -65,7 +65,7 @@ dependencies:
|
|
65
65
|
version: 1.0rc
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *14438360
|
69
69
|
description: A set of common locale data and translations to internationalize and/or
|
70
70
|
localize your Rails applications.
|
71
71
|
email: rails-i18n@googlegroups.com
|