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/rails/locale/mn.yml
CHANGED
@@ -73,7 +73,8 @@ mn:
|
|
73
73
|
separator: "."
|
74
74
|
delimiter: " "
|
75
75
|
precision: 3
|
76
|
-
|
76
|
+
significant: false
|
77
|
+
strip_insignificant_zeros: false
|
77
78
|
currency:
|
78
79
|
format:
|
79
80
|
format: "%n %u"
|
@@ -81,6 +82,8 @@ mn:
|
|
81
82
|
separator: "."
|
82
83
|
delimiter: " "
|
83
84
|
precision: 2
|
85
|
+
significant: false
|
86
|
+
strip_insignificant_zeros: false
|
84
87
|
|
85
88
|
percentage:
|
86
89
|
format:
|
@@ -93,7 +96,9 @@ mn:
|
|
93
96
|
human:
|
94
97
|
format:
|
95
98
|
delimiter: ""
|
96
|
-
precision:
|
99
|
+
precision:
|
100
|
+
significant: true
|
101
|
+
strip_insignificant_zeros: true
|
97
102
|
# Rails 2.2
|
98
103
|
# storage_units: [байт, КБ, МБ, ГБ, ТБ]
|
99
104
|
|
@@ -110,6 +115,10 @@ mn:
|
|
110
115
|
mb: "МБ"
|
111
116
|
gb: "ГБ"
|
112
117
|
tb: "ТБ"
|
118
|
+
decimal_units:
|
119
|
+
format: "%n %u"
|
120
|
+
units:
|
121
|
+
unit: ""
|
113
122
|
|
114
123
|
datetime:
|
115
124
|
distance_in_words:
|
@@ -156,6 +165,7 @@ mn:
|
|
156
165
|
second: "Секунд"
|
157
166
|
|
158
167
|
errors:
|
168
|
+
format: "%{attribute} %{message}"
|
159
169
|
messages: &errors_messages
|
160
170
|
inclusion: "жагсаалтад алга байна"
|
161
171
|
exclusion: "бол ашиглахад хориотой"
|
@@ -191,6 +201,8 @@ mn:
|
|
191
201
|
<<: *errors_messages
|
192
202
|
template:
|
193
203
|
<<: *errors_template
|
204
|
+
full_messages:
|
205
|
+
format: "%{attribute} %{message}"
|
194
206
|
|
195
207
|
support:
|
196
208
|
array:
|
data/rails/locale/nn.yml
CHANGED
@@ -98,14 +98,37 @@ nn:
|
|
98
98
|
precision: 2
|
99
99
|
separator: "."
|
100
100
|
delimiter: ","
|
101
|
+
significant: false
|
102
|
+
strip_insignificant_zeros: false
|
101
103
|
currency:
|
102
104
|
format:
|
103
105
|
unit: "kr"
|
104
106
|
format: "%n %u"
|
107
|
+
separator: "."
|
108
|
+
delimiter: ","
|
109
|
+
precision: 2
|
110
|
+
significant: false
|
111
|
+
strip_insignificant_zeros: false
|
112
|
+
percentage:
|
113
|
+
format:
|
114
|
+
delimiter: ""
|
105
115
|
precision:
|
106
116
|
format:
|
107
117
|
delimiter: ""
|
118
|
+
human:
|
119
|
+
format:
|
120
|
+
delimiter: ""
|
121
|
+
precision: 3
|
122
|
+
significant: true
|
123
|
+
strip_insignificant_zeros: true
|
124
|
+
storage_units:
|
125
|
+
format: "%n %u"
|
126
|
+
decimal_units:
|
127
|
+
format: "%n %u"
|
128
|
+
units:
|
129
|
+
unit: ""
|
108
130
|
errors:
|
131
|
+
format: "%{attribute} %{message}"
|
109
132
|
template: &errors_template
|
110
133
|
header: "kunne ikkje lagra %{model} grunna %{count} feil."
|
111
134
|
body: "det oppstod problem i følgjande felt:"
|
@@ -134,4 +157,6 @@ nn:
|
|
134
157
|
messages:
|
135
158
|
<<: *errors_messages
|
136
159
|
template:
|
137
|
-
<<: *errors_template
|
160
|
+
<<: *errors_template
|
161
|
+
full_messages:
|
162
|
+
format: "%{attribute} %{message}"
|
data/rails/locale/rm.yml
CHANGED
@@ -111,6 +111,8 @@ rm:
|
|
111
111
|
precision: 2
|
112
112
|
separator: "."
|
113
113
|
delimiter: "'"
|
114
|
+
significant: false
|
115
|
+
strip_insignificant_zeros: false
|
114
116
|
currency:
|
115
117
|
format:
|
116
118
|
precision: 2
|
@@ -118,6 +120,8 @@ rm:
|
|
118
120
|
delimiter: "'"
|
119
121
|
unit: "CHF"
|
120
122
|
format: "%n %u"
|
123
|
+
significant: false
|
124
|
+
strip_insignificant_zeros: false
|
121
125
|
percentage:
|
122
126
|
format:
|
123
127
|
delimiter: ""
|
@@ -128,6 +132,8 @@ rm:
|
|
128
132
|
format:
|
129
133
|
delimiter: ""
|
130
134
|
precision: 1
|
135
|
+
significant: true
|
136
|
+
strip_insignificant_zeros: true
|
131
137
|
storage_units:
|
132
138
|
# Storage units output formatting.
|
133
139
|
# %u is the storage unit, %n is the number (default: 2 MB)
|
@@ -140,6 +146,10 @@ rm:
|
|
140
146
|
mb: "MB"
|
141
147
|
gb: "GB"
|
142
148
|
tb: "TB"
|
149
|
+
decimal_units:
|
150
|
+
format: "%n %u"
|
151
|
+
units:
|
152
|
+
unit: ""
|
143
153
|
|
144
154
|
support:
|
145
155
|
array:
|
@@ -148,6 +158,7 @@ rm:
|
|
148
158
|
last_word_connector: " e "
|
149
159
|
|
150
160
|
errors:
|
161
|
+
format: "%{attribute} %{message}"
|
151
162
|
messages: &errors_messages
|
152
163
|
inclusion: "n'è betg sin la glista"
|
153
164
|
exclusion: "na stat betg a disposiziun"
|
@@ -179,4 +190,6 @@ rm:
|
|
179
190
|
messages:
|
180
191
|
<<: *errors_messages
|
181
192
|
template:
|
182
|
-
<<: *errors_template
|
193
|
+
<<: *errors_template
|
194
|
+
full_messages:
|
195
|
+
format: "%{attribute} %{message}"
|
data/rails/locale/sl.yml
CHANGED
@@ -74,6 +74,7 @@ sl:
|
|
74
74
|
last_word_connector: " in "
|
75
75
|
|
76
76
|
errors:
|
77
|
+
format: "%{attribute} %{message}"
|
77
78
|
messages: &errors_messages
|
78
79
|
inclusion: "ni vključeno v seznam"
|
79
80
|
exclusion: "je rezervirano"
|
@@ -109,6 +110,8 @@ sl:
|
|
109
110
|
<<: *errors_messages
|
110
111
|
template:
|
111
112
|
<<: *errors_template
|
113
|
+
full_messages:
|
114
|
+
format: "%{attribute} %{message}"
|
112
115
|
|
113
116
|
|
114
117
|
number:
|
@@ -121,6 +124,8 @@ sl:
|
|
121
124
|
delimiter: "."
|
122
125
|
# Number of decimals, behind the separator (the number 1 with a precision of 2 gives: 1.00)
|
123
126
|
precision: 2
|
127
|
+
significant: false
|
128
|
+
strip_insignificant_zeros: false
|
124
129
|
|
125
130
|
# Used in number_to_currency()
|
126
131
|
currency:
|
@@ -132,6 +137,8 @@ sl:
|
|
132
137
|
separator: ","
|
133
138
|
delimiter: "."
|
134
139
|
precision: 2
|
140
|
+
significant: false
|
141
|
+
strip_insignificant_zeros: false
|
135
142
|
|
136
143
|
# Used in number_to_percentage()
|
137
144
|
percentage:
|
@@ -156,6 +163,8 @@ sl:
|
|
156
163
|
# separator:
|
157
164
|
delimiter: ""
|
158
165
|
precision: 1
|
166
|
+
significant: true
|
167
|
+
strip_insignificant_zeros: true
|
159
168
|
storage_units:
|
160
169
|
# Storage units output formatting.
|
161
170
|
# %u is the storage unit, %n is the number (default: 2 MB)
|
@@ -168,6 +177,10 @@ sl:
|
|
168
177
|
mb: "MB"
|
169
178
|
gb: "GB"
|
170
179
|
tb: "TB"
|
180
|
+
decimal_units:
|
181
|
+
format: "%n %u"
|
182
|
+
units:
|
183
|
+
unit: ""
|
171
184
|
|
172
185
|
# Used in distance_of_time_in_words(), distance_of_time_in_words_to_now(), time_ago_in_words()
|
173
186
|
datetime:
|
data/rails/locale/sr-Latn.yml
CHANGED
@@ -110,13 +110,38 @@
|
|
110
110
|
precision: 3
|
111
111
|
separator: ','
|
112
112
|
delimiter: '.'
|
113
|
+
significant: false
|
114
|
+
strip_insignificant_zeros: false
|
113
115
|
currency:
|
114
116
|
format:
|
115
117
|
unit: 'DIN'
|
116
118
|
precision: 2
|
117
119
|
format: '%n %u'
|
120
|
+
separator: "."
|
121
|
+
delimiter: ","
|
122
|
+
significant: false
|
123
|
+
strip_insignificant_zeros: false
|
124
|
+
percentage:
|
125
|
+
format:
|
126
|
+
delimiter: ""
|
127
|
+
precision:
|
128
|
+
format:
|
129
|
+
delimiter: ""
|
130
|
+
human:
|
131
|
+
format:
|
132
|
+
delimiter: ""
|
133
|
+
precision: 3
|
134
|
+
significant: true
|
135
|
+
strip_insignificant_zeros: true
|
136
|
+
storage_units:
|
137
|
+
format: "%n %u"
|
138
|
+
decimal_units:
|
139
|
+
format: "%n %u"
|
140
|
+
units:
|
141
|
+
unit: ""
|
118
142
|
|
119
143
|
errors:
|
144
|
+
format: "%{attribute} %{message}"
|
120
145
|
messages: &errors_messages
|
121
146
|
inclusion: "nije u listi"
|
122
147
|
exclusion: "nije dostupno"
|
@@ -149,4 +174,6 @@
|
|
149
174
|
messages:
|
150
175
|
<<: *errors_messages
|
151
176
|
template:
|
152
|
-
<<: *errors_template
|
177
|
+
<<: *errors_template
|
178
|
+
full_messages:
|
179
|
+
format: "%{attribute} %{message}"
|
data/rails/locale/sr.yml
CHANGED
@@ -110,13 +110,38 @@
|
|
110
110
|
precision: 3
|
111
111
|
separator: ','
|
112
112
|
delimiter: '.'
|
113
|
+
significant: false
|
114
|
+
strip_insignificant_zeros: false
|
113
115
|
currency:
|
114
116
|
format:
|
115
117
|
unit: 'ДИН'
|
116
118
|
precision: 2
|
117
119
|
format: '%n %u'
|
120
|
+
separator: "."
|
121
|
+
delimiter: ","
|
122
|
+
significant: false
|
123
|
+
strip_insignificant_zeros: false
|
124
|
+
percentage:
|
125
|
+
format:
|
126
|
+
delimiter: ""
|
127
|
+
precision:
|
128
|
+
format:
|
129
|
+
delimiter: ""
|
130
|
+
human:
|
131
|
+
format:
|
132
|
+
delimiter: ""
|
133
|
+
precision: 3
|
134
|
+
significant: true
|
135
|
+
strip_insignificant_zeros: true
|
136
|
+
storage_units:
|
137
|
+
format: "%n %u"
|
138
|
+
decimal_units:
|
139
|
+
format: "%n %u"
|
140
|
+
units:
|
141
|
+
unit: ""
|
118
142
|
|
119
143
|
errors:
|
144
|
+
format: "%{attribute} %{message}"
|
120
145
|
messages: &errors_messages
|
121
146
|
inclusion: "није у листи"
|
122
147
|
exclusion: "није доступно"
|
@@ -150,3 +175,5 @@
|
|
150
175
|
<<: *errors_messages
|
151
176
|
template:
|
152
177
|
<<: *errors_template
|
178
|
+
full_messages:
|
179
|
+
format: "%{attribute} %{message}"
|
data/rails/locale/sv-SE.yml
CHANGED
@@ -26,21 +26,24 @@
|
|
26
26
|
# Where is the currency sign? %u is the currency unit, %n the number (default: $5.00)
|
27
27
|
format: "%n %u"
|
28
28
|
unit: "kr"
|
29
|
-
|
29
|
+
separator: "."
|
30
|
+
delimiter: ","
|
31
|
+
precision: 2
|
32
|
+
significant: false
|
33
|
+
strip_insignificant_zeros: false
|
30
34
|
percentage:
|
31
35
|
format:
|
32
36
|
delimiter: ""
|
33
|
-
|
34
37
|
precision:
|
35
38
|
format:
|
36
39
|
delimiter: ""
|
37
|
-
|
38
40
|
# Used in number_to_human_size()
|
39
41
|
human:
|
40
42
|
format:
|
41
43
|
delimiter: ""
|
42
44
|
precision: 1
|
43
|
-
|
45
|
+
significant: true
|
46
|
+
strip_insignificant_zeros: true
|
44
47
|
storage_units:
|
45
48
|
# Storage units output formatting.
|
46
49
|
# %u is the storage unit, %n is the number (default: 2 MB)
|
data/rails/locale/tr.yml
CHANGED
@@ -109,6 +109,8 @@ tr:
|
|
109
109
|
precision: 2
|
110
110
|
separator: ','
|
111
111
|
delimiter: '.'
|
112
|
+
significant: false
|
113
|
+
strip_insignificant_zeros: false
|
112
114
|
currency:
|
113
115
|
format:
|
114
116
|
unit: 'TL'
|
@@ -116,6 +118,8 @@ tr:
|
|
116
118
|
separator: ','
|
117
119
|
delimiter: '.'
|
118
120
|
precision: 2
|
121
|
+
significant: false
|
122
|
+
strip_insignificant_zeros: false
|
119
123
|
percentage:
|
120
124
|
format:
|
121
125
|
delimiter: '.'
|
@@ -126,6 +130,14 @@ tr:
|
|
126
130
|
format:
|
127
131
|
delimiter: '.'
|
128
132
|
precision: 2
|
133
|
+
significant: true
|
134
|
+
strip_insignificant_zeros: true
|
135
|
+
storage_units:
|
136
|
+
format: "%n %u"
|
137
|
+
decimal_units:
|
138
|
+
format: "%n %u"
|
139
|
+
units:
|
140
|
+
unit: ""
|
129
141
|
|
130
142
|
support:
|
131
143
|
select:
|
@@ -137,6 +149,7 @@ tr:
|
|
137
149
|
last_word_connector: " ve "
|
138
150
|
|
139
151
|
errors:
|
152
|
+
format: "%{attribute} %{message}"
|
140
153
|
messages: &errors_messages
|
141
154
|
inclusion: "kabul edilen bir kelime değil"
|
142
155
|
exclusion: "kullanılamaz"
|
@@ -169,4 +182,6 @@ tr:
|
|
169
182
|
messages:
|
170
183
|
<<: *errors_messages
|
171
184
|
template:
|
172
|
-
<<: *errors_template
|
185
|
+
<<: *errors_template
|
186
|
+
full_messages:
|
187
|
+
format: "%{attribute} %{message}"
|
data/rails/locale/vi.yml
CHANGED
@@ -14,6 +14,8 @@ vi:
|
|
14
14
|
delimiter: "."
|
15
15
|
# Number of decimals, behind the separator (1 with a precision of 2 gives: 1.00)
|
16
16
|
precision: 3
|
17
|
+
significant: false
|
18
|
+
strip_insignificant_zeros: false
|
17
19
|
|
18
20
|
# Used in number_to_currency()
|
19
21
|
currency:
|
@@ -25,6 +27,8 @@ vi:
|
|
25
27
|
separator: ","
|
26
28
|
delimiter: "."
|
27
29
|
precision: 2
|
30
|
+
significant: false
|
31
|
+
strip_insignificant_zeros: false
|
28
32
|
|
29
33
|
# Used in number_to_percentage()
|
30
34
|
percentage:
|
@@ -49,6 +53,8 @@ vi:
|
|
49
53
|
# separator:
|
50
54
|
delimiter: ""
|
51
55
|
precision: 1
|
56
|
+
significant: true
|
57
|
+
strip_insignificant_zeros: true
|
52
58
|
storage_units:
|
53
59
|
# Storage units output formatting.
|
54
60
|
# %u is the storage unit, %n is the number (default: 2 MB)
|
@@ -61,6 +67,10 @@ vi:
|
|
61
67
|
mb: "MB"
|
62
68
|
gb: "GB"
|
63
69
|
tb: "TB"
|
70
|
+
decimal_units:
|
71
|
+
format: "%n %u"
|
72
|
+
units:
|
73
|
+
unit: ""
|
64
74
|
|
65
75
|
# Used in distance_of_time_in_words(), distance_of_time_in_words_to_now(), time_ago_in_words()
|
66
76
|
datetime:
|
@@ -105,6 +115,7 @@ vi:
|
|
105
115
|
second: "Giây"
|
106
116
|
|
107
117
|
errors:
|
118
|
+
format: "%{attribute} %{message}"
|
108
119
|
messages: &errors_messages
|
109
120
|
inclusion: "không có trong danh sách"
|
110
121
|
exclusion: "đã được giành trước"
|
@@ -137,6 +148,8 @@ vi:
|
|
137
148
|
<<: *errors_messages
|
138
149
|
template:
|
139
150
|
<<: *errors_template
|
151
|
+
full_messages:
|
152
|
+
format: "%{attribute} %{message}"
|
140
153
|
|
141
154
|
date:
|
142
155
|
formats:
|
metadata
CHANGED
@@ -1,46 +1,34 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-i18n
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.1
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 2
|
9
|
-
- 0
|
10
|
-
version: 0.2.0
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Rails I18n Group
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2011-12-27 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: i18n
|
22
|
-
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &11788000 !ruby/object:Gem::Requirement
|
24
17
|
none: false
|
25
|
-
requirements:
|
18
|
+
requirements:
|
26
19
|
- - ~>
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
|
29
|
-
segments:
|
30
|
-
- 0
|
31
|
-
- 5
|
32
|
-
version: "0.5"
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0.5'
|
33
22
|
type: :runtime
|
34
|
-
|
35
|
-
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *11788000
|
25
|
+
description: A set of common locale data and translations to internationalize and/or
|
26
|
+
localize your Rails applications.
|
36
27
|
email: rails-i18n@googlegroups.com
|
37
28
|
executables: []
|
38
|
-
|
39
29
|
extensions: []
|
40
|
-
|
41
30
|
extra_rdoc_files: []
|
42
|
-
|
43
|
-
files:
|
31
|
+
files:
|
44
32
|
- lib/rails-i18n.rb
|
45
33
|
- lib/rails_i18n/railtie.rb
|
46
34
|
- lib/rails_i18n.rb
|
@@ -90,6 +78,7 @@ files:
|
|
90
78
|
- rails/locale/sr.yml
|
91
79
|
- rails/locale/csb.yml
|
92
80
|
- rails/locale/lo.yml
|
81
|
+
- rails/locale/en-IN.yml
|
93
82
|
- rails/locale/mk.yml
|
94
83
|
- rails/locale/hu.yml
|
95
84
|
- rails/locale/sk.yml
|
@@ -121,38 +110,26 @@ files:
|
|
121
110
|
- MIT-LICENSE.txt
|
122
111
|
homepage: http://github.com/svenfuchs/rails-i18n
|
123
112
|
licenses: []
|
124
|
-
|
125
113
|
post_install_message:
|
126
114
|
rdoc_options: []
|
127
|
-
|
128
|
-
require_paths:
|
115
|
+
require_paths:
|
129
116
|
- lib
|
130
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
117
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
131
118
|
none: false
|
132
|
-
requirements:
|
133
|
-
- -
|
134
|
-
- !ruby/object:Gem::Version
|
135
|
-
|
136
|
-
|
137
|
-
- 0
|
138
|
-
version: "0"
|
139
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
119
|
+
requirements:
|
120
|
+
- - ! '>='
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: '0'
|
123
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
140
124
|
none: false
|
141
|
-
requirements:
|
142
|
-
- -
|
143
|
-
- !ruby/object:Gem::Version
|
144
|
-
hash: 17
|
145
|
-
segments:
|
146
|
-
- 1
|
147
|
-
- 3
|
148
|
-
- 5
|
125
|
+
requirements:
|
126
|
+
- - ! '>='
|
127
|
+
- !ruby/object:Gem::Version
|
149
128
|
version: 1.3.5
|
150
129
|
requirements: []
|
151
|
-
|
152
|
-
rubyforge_project: "[none]"
|
130
|
+
rubyforge_project: ! '[none]'
|
153
131
|
rubygems_version: 1.8.10
|
154
132
|
signing_key:
|
155
133
|
specification_version: 3
|
156
134
|
summary: Common locale data and translations for Rails i18n.
|
157
135
|
test_files: []
|
158
|
-
|