exvo_globalize 0.2.1 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. data/app/controllers/globalize_translations_controller.rb +1 -1
  2. data/config/locales/ar.yml +226 -0
  3. data/config/locales/bg.yml +304 -0
  4. data/config/locales/bs.yml +270 -0
  5. data/config/locales/ca.yml +253 -0
  6. data/config/locales/cs.rb +229 -0
  7. data/config/locales/cy.yml +221 -0
  8. data/config/locales/da.yml +235 -0
  9. data/config/locales/de.yml +233 -0
  10. data/config/locales/el.yml +227 -0
  11. data/config/locales/en.yml +222 -0
  12. data/config/locales/eo.yml +222 -0
  13. data/config/locales/es.yml +225 -0
  14. data/config/locales/et.yml +260 -0
  15. data/config/locales/eu.yml +224 -0
  16. data/config/locales/fa.yml +222 -0
  17. data/config/locales/fi.yml +225 -0
  18. data/config/locales/fr.yml +222 -0
  19. data/config/locales/gl.yml +236 -0
  20. data/config/locales/he.yml +227 -0
  21. data/config/locales/hi.yml +221 -0
  22. data/config/locales/hr.yml +159 -0
  23. data/config/locales/hu.yml +215 -0
  24. data/config/locales/id.yml +187 -0
  25. data/config/locales/is.yml +230 -0
  26. data/config/locales/it.yml +235 -0
  27. data/config/locales/ja.yml +228 -0
  28. data/config/locales/kn.yml +222 -0
  29. data/config/locales/ko.yml +228 -0
  30. data/config/locales/lo.yml +244 -0
  31. data/config/locales/lt.yml +184 -0
  32. data/config/locales/lv.yml +221 -0
  33. data/config/locales/mk.yml +158 -0
  34. data/config/locales/mn.yml +199 -0
  35. data/config/locales/nb.yml +220 -0
  36. data/config/locales/nl.yml +226 -0
  37. data/config/locales/nn.yml +139 -0
  38. data/config/locales/pl.yml +234 -0
  39. data/config/locales/pt.yml +230 -0
  40. data/config/locales/rm.yml +177 -0
  41. data/config/locales/ro.yml +211 -0
  42. data/config/locales/ru.yml +376 -0
  43. data/config/locales/sk.yml +236 -0
  44. data/config/locales/sl.yml +233 -0
  45. data/config/locales/sr.yml +159 -0
  46. data/config/locales/sv.yml +273 -0
  47. data/config/locales/sw.yml +222 -0
  48. data/config/locales/th.rb +199 -0
  49. data/config/locales/tr.yml +181 -0
  50. data/config/locales/uk.yml +351 -0
  51. data/config/locales/vi.yml +241 -0
  52. data/config/locales/zh.yml +250 -0
  53. data/lib/exvo_globalize/backend/chain.rb +20 -0
  54. data/lib/exvo_globalize/version.rb +1 -1
  55. data/spec/controllers/globalize_translations_controller_spec.rb +1 -3
  56. data/spec/exvo_globalize/globalize_store_spec.rb +5 -0
  57. metadata +56 -5
@@ -9,7 +9,7 @@ class GlobalizeTranslationsController < ApplicationController
9
9
 
10
10
  def show
11
11
  # returns {"default_locale":"en","pl":{"hello.world":"Witaj \u015bwiecie","hello.earth":"Witaj ziemio"},"en":{"hello.world":"Hello world","hello.earth":"Hello Earth"}}
12
- @translations = I18n.backend.available_translations.merge({ :default_locale => I18n.default_locale })
12
+ @translations = I18n.backend.available_app_translations.merge({ :default_locale => I18n.default_locale })
13
13
  respond_with @translations
14
14
  end
15
15
 
@@ -0,0 +1,226 @@
1
+ # Arabic translations for Ruby on Rails
2
+ # by Rida Al Barazi (me@rida.me)
3
+ # updated by Ahmed Hazem (nardgo@gmail.com)
4
+ # Rails 3 edit by rbjarnason
5
+
6
+ "ar":
7
+ date:
8
+ formats:
9
+ default: "%Y-%m-%d"
10
+ short: "%e %b"
11
+ long: "%B %e, %Y"
12
+
13
+ day_names:
14
+ - الأحد
15
+ - الإثنين
16
+ - الثلاثاء
17
+ - الأربعاء
18
+ - الخميس
19
+ - الجمعة
20
+ - السبت
21
+ abbr_day_names:
22
+ - الأحد
23
+ - الإثنين
24
+ - الثلاثاء
25
+ - الأربعاء
26
+ - الخميس
27
+ - الجمعة
28
+ - السبت
29
+
30
+ month_names:
31
+ - ~
32
+ - يناير
33
+ - فبراير
34
+ - مارس
35
+ - ابريل
36
+ - مايو
37
+ - يونيو
38
+ - يوليو
39
+ - اغسطس
40
+ - سبتمبر
41
+ - اكتوبر
42
+ - نوفمبر
43
+ - ديسمبر
44
+ abbr_month_names:
45
+ - ~
46
+ - يناير
47
+ - فبراير
48
+ - مارس
49
+ - ابريل
50
+ - مايو
51
+ - يونيو
52
+ - يوليو
53
+ - اغسطس
54
+ - سبتمبر
55
+ - اكتوبر
56
+ - نوفمبر
57
+ - ديسمبر
58
+ order:
59
+ - :day
60
+ - :month
61
+ - :year
62
+
63
+ time:
64
+ formats:
65
+ default: "%a %b %d %H:%M:%S %Z %Y"
66
+ short: "%d %b %H:%M"
67
+ long: "%B %d, %Y %H:%M"
68
+ only_second: "%S"
69
+ am: 'صباحا'
70
+ pm: 'مساءا'
71
+
72
+ support:
73
+ array:
74
+ sentence_connector: "و"
75
+ words_connector: ", "
76
+ two_words_connector: " و "
77
+ last_word_connector: ", و "
78
+ skip_last_comma: false
79
+
80
+ select:
81
+ prompt: "الرجاء اختيار"
82
+
83
+ number:
84
+ format:
85
+ separator: "."
86
+ delimiter: ","
87
+ precision: 3
88
+ significant: false
89
+ strip_insignificant_zeros: false
90
+
91
+ currency:
92
+ format:
93
+ format: "%u%n"
94
+ unit: "$"
95
+ separator: "."
96
+ delimiter: ","
97
+ precision: 2
98
+ significant: false
99
+ strip_insignificant_zeros: false
100
+
101
+ percentage:
102
+ format:
103
+ delimiter: ""
104
+
105
+ precision:
106
+ format:
107
+ delimiter: ""
108
+
109
+ human:
110
+ format:
111
+ delimiter: ""
112
+ precision: 3
113
+ significant: true
114
+ strip_insignificant_zeros: true
115
+ storage_units:
116
+ format: "%n %u"
117
+ units:
118
+ byte:
119
+ one: "Byte"
120
+ other: "Bytes"
121
+ kb: "KB"
122
+ mb: "MB"
123
+ gb: "GB"
124
+ tb: "TB"
125
+ decimal_units:
126
+ format: "%n %u"
127
+ units:
128
+ unit: ""
129
+ thousand: ألف
130
+ million: مليون
131
+ billion: مليار
132
+ trillion: تريليون
133
+ quadrillion: الكدريليون رقم
134
+
135
+ datetime:
136
+ distance_in_words:
137
+ half_a_minute: 'نصف دقيقة'
138
+ less_than_x_seconds:
139
+ one: 'أقل من ثانية'
140
+ other: '%{count} ثوان'
141
+ x_seconds:
142
+ one: 'ثانية واحدة'
143
+ other: '%{count} ثوان'
144
+ less_than_x_minutes:
145
+ one: 'أقل من دقيقة'
146
+ other: '%{count} دقائق'
147
+ x_minutes:
148
+ one: 'دقيقة واحدة'
149
+ other: '%{count} دقائق'
150
+ about_x_hours:
151
+ one: 'حوالي ساعة واحدة'
152
+ other: '%{count} ساعات'
153
+ x_days:
154
+ one: 'يوم واحد'
155
+ other: '%{count} أيام'
156
+ about_x_months:
157
+ one: 'حوالي شهر واحد'
158
+ other: '%{count} أشهر'
159
+ x_months:
160
+ one: 'شهر واحد'
161
+ other: '%{count} أشهر'
162
+ about_x_years:
163
+ one: 'حوالي سنة'
164
+ other: '%{count} سنوات'
165
+ over_x_years:
166
+ one: 'أكثر من سنة'
167
+ other: '%{count} سنوات'
168
+ almost_x_years:
169
+ one: "تقريبا سنة واحدة"
170
+ other: "ما يقرب من %{count} سنة"
171
+ prompts:
172
+ year: "السنة"
173
+ month: "الشهر"
174
+ day: "اليوم"
175
+ hour: "ساعة"
176
+ minute: "دقيقة"
177
+ second: "ثانية"
178
+
179
+ helpers:
180
+ select:
181
+ prompt: "الرجاء اختيار"
182
+
183
+ submit:
184
+ create: "%{model} إنشاء"
185
+ update: "%{model} نموذج"
186
+ submit: "%{model} حفظ"
187
+
188
+ errors:
189
+ format: "%{attribute} %{message}"
190
+
191
+ messages: &errors_messages
192
+ inclusion: "ليس خيارا مقبولا"
193
+ exclusion: "محجوز"
194
+ invalid: "غير معرف أو محدد"
195
+ confirmation: "لا تتوافق مع التأكيد"
196
+ accepted: "يجب أن تقبل"
197
+ empty: "فارغ، يرجى ملء الحقل"
198
+ blank: "فارغ، يرجى ملء الحقل"
199
+ too_long: "أطول من اللازم (الحد الأقصى هو %{count})"
200
+ too_short: "أقصر من اللازم (الحد الأدنى هو %{count})"
201
+ wrong_length: "بطول غير مناسب (يجب أن يكون %{count})"
202
+ not_an_integer: "يجب أن يكون صحيحا"
203
+ not_a_number: "ليس رقما"
204
+ greater_than: "يجب أن يكون أكبر من %{count}"
205
+ greater_than_or_equal_to: "يجب أن يكون أكبر من أو يساوي %{count}"
206
+ equal_to: "يجب أن يساوي %{count}"
207
+ less_than: "يجب أن يكون أصغر من %{count}"
208
+ less_than_or_equal_to: "يجب أن يكون أصغر من أو يساوي %{count}"
209
+ odd: "يجب أن يكون فردي"
210
+ even: "يجب أن يكون زوجي"
211
+
212
+ activerecord:
213
+ errors:
214
+ template:
215
+ header:
216
+ one: "ليس بالامكان حفظ %{model}: خطأ واحد."
217
+ other: "ليس بالامكان حفظ %{model}: %{count} أخطاء."
218
+ body: "يرجى التحقق من الحقول التالية:"
219
+
220
+ messages:
221
+ taken: "غير متوفر (مستخدم)"
222
+ record_invalid: "%{errors} فشل التحقق من صحة"
223
+ <<: *errors_messages
224
+
225
+ full_messages:
226
+ format: "%{attribute} %{message}"
@@ -0,0 +1,304 @@
1
+ # Full Bulgarian localization for Ruby on Rails 3+
2
+ #
3
+ # extracted from www.termo.bg
4
+ # supported by Samson Behar <master.webmaster.master@gmail.com>
5
+ # supported by Yavor Ivanov, http://github.com/YavorIvanov
6
+ # supported by Andrew Radev, http://github.com/AndrewRadev
7
+ # See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
8
+
9
+ bg:
10
+
11
+ # ===== Rails Specific ===========================================================================
12
+
13
+ date:
14
+ formats:
15
+ default: "%d.%m.%Y"
16
+ short: "%d %b"
17
+ long: "%d %B %Y"
18
+
19
+ day_names:
20
+ - неделя
21
+ - понеделник
22
+ - вторник
23
+ - сряда
24
+ - четвъртък
25
+ - петък
26
+ - събота
27
+ abbr_day_names:
28
+ - нед
29
+ - пон
30
+ - вт
31
+ - ср
32
+ - чет
33
+ - пет
34
+ - съб
35
+
36
+ # should start with nil cause there is no 0-th month
37
+ month_names:
38
+ - ~
39
+ - януари
40
+ - февруари
41
+ - март
42
+ - април
43
+ - май
44
+ - юни
45
+ - юли
46
+ - август
47
+ - септември
48
+ - октомври
49
+ - ноември
50
+ - декември
51
+ abbr_month_names:
52
+ - ~
53
+ - яну.
54
+ - фев.
55
+ - март
56
+ - апр.
57
+ - май
58
+ - юни
59
+ - юли
60
+ - авг.
61
+ - сеп.
62
+ - окт.
63
+ - ноем.
64
+ - дек.
65
+ order:
66
+ - :day
67
+ - :month
68
+ - :year
69
+
70
+ time:
71
+ formats:
72
+ default: "%a, %d %b %Y, %H:%M:%S %z"
73
+ short: "%d %b, %H:%M"
74
+ long: "%d %B %Y, %H:%M"
75
+ am: "преди обяд"
76
+ pm: "следобед"
77
+
78
+ support:
79
+ array:
80
+ words_connector: ", "
81
+ two_words_connector: " и "
82
+ last_word_connector: " и "
83
+
84
+ select:
85
+ prompt: "Моля отбележете"
86
+
87
+ number:
88
+ format:
89
+ separator: ","
90
+ delimiter: " "
91
+ precision: 3
92
+ significant: false
93
+ strip_insignificant_zeros: false
94
+
95
+ currency:
96
+ format:
97
+ format: "%n %u"
98
+ unit: "лв."
99
+ separator: ","
100
+ delimiter: " "
101
+ precision: 2
102
+ significant: false
103
+ strip_insignificant_zeros: false
104
+
105
+ percentage:
106
+ format:
107
+ delimiter: ""
108
+
109
+ precision:
110
+ format:
111
+ delimiter: ""
112
+
113
+ human:
114
+ format:
115
+ delimiter: ""
116
+ precision: 1
117
+ significant: true
118
+ strip_insignificant_zeros: true
119
+ storage_units:
120
+ # Storage units output formatting.
121
+ # %u is the storage unit, %n is the number (default: 2 MB)
122
+ format: "%n %u"
123
+ units:
124
+ byte:
125
+ one: "Байт"
126
+ other: "Байта"
127
+ kb: "КБ"
128
+ mb: "МБ"
129
+ gb: "ГБ"
130
+ tb: "ТБ"
131
+ decimal_units:
132
+ format: "%n %u"
133
+ units:
134
+ unit: ""
135
+ thousand: хиляди
136
+ million: милиона
137
+ billion: милиарда
138
+ trillion: трилиона
139
+ quadrillion: квадрилиона
140
+
141
+ datetime:
142
+ distance_in_words:
143
+ half_a_minute: "половин минута"
144
+ less_than_x_seconds:
145
+ one: "по-малко от 1 секунда"
146
+ other: "по-малко от %{count} секунди"
147
+ x_seconds:
148
+ one: "1 секунда"
149
+ other: "%{count} секунди"
150
+ less_than_x_minutes:
151
+ one: "по-малко от 1 минута"
152
+ other: "по-малко от %{count} минути"
153
+ x_minutes:
154
+ one: "1 минута"
155
+ other: "%{count} минути"
156
+ about_x_hours:
157
+ one: "около 1 час"
158
+ other: "около %{count} часа"
159
+ x_days:
160
+ one: "1 ден"
161
+ other: "%{count} дни"
162
+ about_x_months:
163
+ one: "около 1 месец"
164
+ other: "около %{count} месеца"
165
+ x_months:
166
+ one: "1 месец"
167
+ other: "%{count} месеца"
168
+ about_x_years:
169
+ one: "около 1 година"
170
+ other: "около %{count} години"
171
+ over_x_years:
172
+ one: "над 1 година"
173
+ other: "над %{count} години"
174
+ almost_x_years:
175
+ one: "почти 1 година"
176
+ other: "почти %{count} години"
177
+ prompts:
178
+ year: "Година"
179
+ month: "Месец"
180
+ day: "Ден"
181
+ hour: "Час"
182
+ minute: "Минута"
183
+ second: "Секунда"
184
+
185
+ helpers:
186
+ select:
187
+ prompt: "Моля отбележете"
188
+
189
+ submit:
190
+ create: 'Създай %{model}'
191
+ update: 'Обнови %{model}'
192
+ submit: 'Запази %{model}'
193
+
194
+ errors:
195
+ format: "%{attribute} %{message}"
196
+
197
+ messages: &errors_messages
198
+ inclusion: "съдържа непредвидена стойност"
199
+ exclusion: "съдържа предварително зададена стойност"
200
+ invalid: "съдържа невярна стойност"
201
+ confirmation: "не съответства на потвърждението"
202
+ accepted: "трябва да се потвърди"
203
+ empty: "не може да е празно"
204
+ blank: "не може да е без стойност"
205
+ too_long: "е прекаленo дълго (не може да е повече от %{count} символа)"
206
+ too_short: "е прекалено късо (не може да бъде по-малко от %{count} символа)"
207
+ wrong_length: "е с грешна дължина (трябва да е с дължина, равна на %{count} символа)"
208
+ not_a_number: "не е число"
209
+ not_an_integer: "не е цяло число"
210
+ greater_than: "трябва да има стойност, по-голяма от %{count}"
211
+ greater_than_or_equal_to: "трябва да има стойност, по-голяма или равна на %{count}"
212
+ equal_to: "трябва да има стойност, равна на %{count}"
213
+ less_than: "трябва да има стойност, по-малка от %{count}"
214
+ less_than_or_equal_to: "трябва да има стойност, по-голяма или равна на %{count}"
215
+ odd: "трябва да е четно"
216
+ even: "трябва да е нечетно"
217
+
218
+ activerecord:
219
+ errors:
220
+ template:
221
+ header:
222
+ one: "%{model}: записа е неуспешен заради 1 грешка"
223
+ other: "%{model}: записа е неуспешен заради %{count} грешки"
224
+ body: "Възникнаха проблеми със следните полета:"
225
+
226
+ messages:
227
+ taken: "вече съществува"
228
+ record_invalid: "имаше грешки: %{errors}"
229
+ <<: *errors_messages
230
+
231
+ full_messages:
232
+ format: "%{attribute} %{message}"
233
+
234
+ # ===== I18n Specific ============================================================================
235
+
236
+ i18n:
237
+ transliterate:
238
+ rule:
239
+ а: "a"
240
+ А: "A"
241
+ б: "b"
242
+ Б: "B"
243
+ в: "v"
244
+ В: "V"
245
+ г: "g"
246
+ Г: "G"
247
+ д: "d"
248
+ Д: "D"
249
+ е: "e"
250
+ Е: "E"
251
+ ж: "zh"
252
+ Ж: "Zh"
253
+ з: "z"
254
+ З: "Z"
255
+ и: "i"
256
+ И: "I"
257
+ й: "y"
258
+ Й: "Y"
259
+ к: "k"
260
+ К: "K"
261
+ л: "l"
262
+ Л: "L"
263
+ м: "m"
264
+ М: "M"
265
+ н: "n"
266
+ Н: "N"
267
+ о: "o"
268
+ О: "O"
269
+ п: "p"
270
+ П: "P"
271
+ р: "r"
272
+ Р: "R"
273
+ с: "s"
274
+ С: "S"
275
+ т: "t"
276
+ Т: "T"
277
+ у: "u"
278
+ У: "U"
279
+ ф: "f"
280
+ Ф: "F"
281
+ х: "h"
282
+ Х: "H"
283
+ ц: "ts"
284
+ Ц: "Ts"
285
+ ч: "ch"
286
+ Ч: "Ch"
287
+ ш: "sh"
288
+ Ш: "Sh"
289
+ щ: "sht"
290
+ Щ: "Sht"
291
+ ъ: "a"
292
+ Ъ: "A"
293
+ ь: "y"
294
+ Ь: "Y"
295
+ ю: "yu"
296
+ Ю: "Yu"
297
+ я: "ya"
298
+ Я: "Ya"
299
+
300
+ # ===== Paginate Specific ========================================================================
301
+
302
+ pagination:
303
+ previous: "&laquo; предишна"
304
+ next: "следваща &raquo;"