refinerycms-i18n 2.0.2 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. checksums.yaml +7 -0
  2. data/.travis.yml +27 -9
  3. data/Gemfile +17 -7
  4. data/Rakefile +2 -0
  5. data/app/assets/images/refinery/icons/flags/ko.png +0 -0
  6. data/app/assets/images/refinery/icons/flags/{ua.png → uk.png} +0 -0
  7. data/lib/generators/refinery/i18n_generator.rb +2 -1
  8. data/lib/generators/refinery/templates/config/initializers/refinery/i18n.rb.erb +0 -2
  9. data/lib/refinery/i18n-filter.rb +4 -4
  10. data/lib/refinery/i18n.rb +10 -6
  11. data/lib/refinery/i18n/configuration.rb +10 -2
  12. data/lib/refinery/i18n/engine.rb +20 -18
  13. data/refinerycms-i18n.gemspec +8 -6
  14. data/script/rails +5 -0
  15. data/spec/{requests → features}/dashboard_locale_picker_spec.rb +2 -2
  16. data/spec/spec_helper.rb +20 -46
  17. data/spec/support/refinery/i18n/set_defaults.rb +17 -0
  18. metadata +25 -97
  19. data/config/locales/ar.yml +0 -124
  20. data/config/locales/bg.yml +0 -280
  21. data/config/locales/bn-IN.yml +0 -183
  22. data/config/locales/bs.yml +0 -117
  23. data/config/locales/ca.yml +0 -170
  24. data/config/locales/cs.rb +0 -168
  25. data/config/locales/cy.yml +0 -181
  26. data/config/locales/da.yml +0 -195
  27. data/config/locales/de-AT.yml +0 -154
  28. data/config/locales/de-CH.yml +0 -154
  29. data/config/locales/de.yml +0 -193
  30. data/config/locales/dsb.yml +0 -185
  31. data/config/locales/el.yml +0 -133
  32. data/config/locales/en-AU.yml +0 -180
  33. data/config/locales/en-GB.yml +0 -210
  34. data/config/locales/en-US.yml +0 -182
  35. data/config/locales/eo.yml +0 -182
  36. data/config/locales/es-AR.yml +0 -177
  37. data/config/locales/es-CO.yml +0 -179
  38. data/config/locales/es-MX.yml +0 -186
  39. data/config/locales/es-PE.yml +0 -124
  40. data/config/locales/es.yml +0 -285
  41. data/config/locales/et.yml +0 -187
  42. data/config/locales/eu.yml +0 -264
  43. data/config/locales/fa.yml +0 -143
  44. data/config/locales/fi.yml +0 -155
  45. data/config/locales/fr-CA.yml +0 -187
  46. data/config/locales/fr-CH.yml +0 -184
  47. data/config/locales/fr.yml +0 -182
  48. data/config/locales/fun/en-AU.rb +0 -105
  49. data/config/locales/fun/gibberish.rb +0 -109
  50. data/config/locales/fur.yml +0 -144
  51. data/config/locales/gl-ES.yml +0 -196
  52. data/config/locales/gsw-CH.yml +0 -182
  53. data/config/locales/he.yml +0 -106
  54. data/config/locales/hi-IN.yml +0 -181
  55. data/config/locales/hi.yml +0 -181
  56. data/config/locales/hr.yml +0 -119
  57. data/config/locales/hsb.yml +0 -193
  58. data/config/locales/hu.yml +0 -147
  59. data/config/locales/id.yml +0 -142
  60. data/config/locales/is.yml +0 -145
  61. data/config/locales/it.yml +0 -198
  62. data/config/locales/ja.yml +0 -191
  63. data/config/locales/ko.yml +0 -186
  64. data/config/locales/lo.yml +0 -204
  65. data/config/locales/lt.yml +0 -144
  66. data/config/locales/lv.yml +0 -181
  67. data/config/locales/mk.yml +0 -118
  68. data/config/locales/mn.yml +0 -159
  69. data/config/locales/nb.yml +0 -140
  70. data/config/locales/nl.yml +0 -186
  71. data/config/locales/nn.yml +0 -99
  72. data/config/locales/pl.yml +0 -193
  73. data/config/locales/pt-BR.yml +0 -208
  74. data/config/locales/pt-PT.yml +0 -190
  75. data/config/locales/rm.yml +0 -137
  76. data/config/locales/ro.yml +0 -155
  77. data/config/locales/ru.yml +0 -213
  78. data/config/locales/sk.yml +0 -195
  79. data/config/locales/sl.yml +0 -193
  80. data/config/locales/sr-Latn.yml +0 -119
  81. data/config/locales/sr.yml +0 -119
  82. data/config/locales/sv.yml +0 -244
  83. data/config/locales/sw.yml +0 -182
  84. data/config/locales/th.rb +0 -200
  85. data/config/locales/tr.yml +0 -142
  86. data/config/locales/uk.yml +0 -240
  87. data/config/locales/vi.yml +0 -201
  88. data/config/locales/zh-CN.yml +0 -210
  89. data/config/locales/zh-TW.yml +0 -210
  90. data/lib/gemspec.rb +0 -29
@@ -1,182 +0,0 @@
1
- # Swiss German (Switzerland) translations for Ruby on Rails
2
- # by Florian Hanke (florian.hanke@gmail.com).
3
- #
4
- # Adapted from de-CH by Clemens Kofler (clemens@railway.at).
5
-
6
- gsw-CH:
7
- date:
8
- formats:
9
- default: "%d.%m.%Y"
10
- short: "%e. %b"
11
- long: "%e. %B %Y"
12
- only_day: "%e"
13
-
14
- day_names: [Sunntig, Mäntig, Ziischtig, Mittwuch, Dunnschtig, Friitig, Samschtig]
15
- abbr_day_names: [Su, Mä, Zi, Mi, Du, Fr, Sa]
16
- month_names: [~, Januar, Februar, März, April, Mai, Juni, Juli, Auguscht, Septämber, Oktober, Novämber, Dezämber]
17
- abbr_month_names: [~, Jan, Feb, Mär, Apr, Mai, Jun, Jul, Aug, Sep, Okt, Nov, Dez]
18
- order:
19
- - :day
20
- - :month
21
- - :year
22
-
23
- time:
24
- formats:
25
- default: "%A, %d. %B %Y, %H:%M"
26
- short: "%d. %B, %H:%M"
27
- long: "%A, %d. %B %Y, %H:%M"
28
- time: "%H:%M"
29
-
30
- am: "am Vormittaag"
31
- pm: "am Namitaag"
32
-
33
- datetime:
34
- distance_in_words:
35
- half_a_minute: 'ä halbi Minuutä'
36
- less_than_x_seconds:
37
- one: 'weniger als ä Sekundä'
38
- other: 'weniger als %{count} Sekundä'
39
- x_seconds:
40
- one: 'ä Sekunde'
41
- other: '%{count} Sekunde'
42
- less_than_x_minutes:
43
- one: 'weniger als ä Minuutä'
44
- other: 'weniger als %{count} Minuutä'
45
- x_minutes:
46
- one: 'ä Minutä'
47
- other: '%{count} Minutä'
48
- about_x_hours:
49
- one: 'öppe nä Schtund'
50
- other: 'öppe nä %{count} Schtund'
51
- x_days:
52
- one: 'än Taag'
53
- other: '%{count} Taag'
54
- about_x_months:
55
- one: 'öppe än Monät'
56
- other: 'öppe %{count} Mönet'
57
- x_months:
58
- one: 'än Monät'
59
- other: '%{count} Mönet'
60
- almost_x_years:
61
- one: 'fascht äs Jaar'
62
- other: 'fascht %{count} Jaar'
63
- about_x_years:
64
- one: 'öppe näs Jaar'
65
- other: 'öppe %{count} Jaar'
66
- over_x_years:
67
- one: 'meh als äs Jaar'
68
- other: 'meh als %{count} Jaar'
69
- prompts:
70
- second: "Sekundä"
71
- minute: "Minutä"
72
- hour: "Schtund"
73
- day: "Taag"
74
- month: "Monät"
75
- year: "Jaar"
76
-
77
- number:
78
- format:
79
- precision: 2
80
- separator: '.'
81
- delimiter: "'"
82
- significant: false
83
- strip_insignificant_zeros: false
84
- currency:
85
- format:
86
- unit: 'SFr.'
87
- format: '%u %n'
88
- separator: '.'
89
- delimiter: "'"
90
- precision: 2
91
- significant: false
92
- strip_insignificant_zeros: false
93
- percentage:
94
- format:
95
- delimiter: "'"
96
- precision:
97
- format:
98
- delimiter: ""
99
- human:
100
- format:
101
- delimiter: ""
102
- precision: 1
103
- significant: true
104
- strip_insignificant_zeros: true
105
- storage_units:
106
- # Storage units output formatting.
107
- # %u is the storage unit, %n is the number (default: 2 MB)
108
- format: "%n %u"
109
- units:
110
- byte:
111
- one: "Byte" # Bäit
112
- other: "Bytes" # Bäits
113
- kb: "KB"
114
- mb: "MB"
115
- gb: "GB"
116
- tb: "TB"
117
- decimal_units:
118
- format: "%n %u"
119
- units:
120
- unit: ""
121
- thousand: Tuusig
122
- million: Milioon
123
- billion: Bilioon
124
- trillion: Trilioon
125
- quadrillion: Quadrilioon
126
-
127
- support:
128
- array:
129
- words_connector: ", "
130
- two_words_connector: " und "
131
- last_word_connector: " und "
132
- select:
133
- prompt: "Bitte wääle:"
134
-
135
- helpers:
136
- select:
137
- prompt: "Bitte wääle"
138
-
139
- submit:
140
- create: '%{model} erschtele'
141
- update: '%{model} ändere'
142
- submit: '%{model} schpeichere'
143
-
144
- errors:
145
- format: "%{attribute} %{message}"
146
-
147
- messages: &errors_messages
148
- inclusion: "isch kän gültige Wert"
149
- exclusion: "isch nöd ume"
150
- invalid: "isch nöd gültig"
151
- confirmation: "isch nöd gliich wie'd Beschtätigung"
152
- accepted: "mues akzeptiert werdä"
153
- empty: "mues uusgfüllt werdä"
154
- blank: "mues uusgfüllt werdä"
155
- too_long: "isch z'lang (nöd mee als %{count} Zeiche)"
156
- too_short: "isch z'churz (nöd weniger als %{count} Zeiche)"
157
- wrong_length: "hät di falsch Längi (mues genau %{count} Zeiche haa)"
158
- not_a_number: "isch kä Nummerä"
159
- not_an_integer: "isch kä Zaal"
160
- greater_than: "mues grösser als %{count} sii"
161
- greater_than_or_equal_to: "mues grösser oder gliich wi %{count} sii"
162
- equal_to: "mues genau %{count} sii"
163
- less_than: "mues chliiner als %{count} sii"
164
- less_than_or_equal_to: "mues chliiner oder gliich %{count} sii"
165
- odd: "mues ungraad sii"
166
- even: "mues graad sii"
167
-
168
- activerecord:
169
- errors:
170
- template:
171
- header:
172
- one: "Han's %{model} nöd schpeichere chönne: än Fehler."
173
- other: "Han's %{model} näd schpeichere chönne: %{count} Fehler."
174
- body: "Bitte überprüefed Si die Felder:"
175
-
176
- messages:
177
- taken: "isch bereits vergää"
178
- record_invalid: "Gültigkeitsprüefig hät fehlgschlage: %{errors}"
179
- <<: *errors_messages
180
-
181
- full_messages:
182
- format: "%{attribute}%{message}"
@@ -1,106 +0,0 @@
1
- # Hebrew translations for Ruby on Rails
2
- # by Dotan Nahum (dipidi@gmail.com)
3
-
4
- "he-IL":
5
- date:
6
- formats:
7
- default: "%Y-%m-%d"
8
- short: "%e %b"
9
- long: "%B %e, %Y"
10
- only_day: "%e"
11
-
12
- day_names: [ראשון, שני, שלישי, רביעי, חמישי, שישי, שבת]
13
- abbr_day_names: [א, ב, ג, ד, ה, ו, ש]
14
- month_names: [~, ינואר, פברואר, מרץ, אפריל, מאי, יוני, יולי, אוגוסט, ספטמבר, אוקטובר, נובמבר, דצמבר]
15
- abbr_month_names: [~, יאנ, פב, מרץ, אפר, מאי, יונ, יול, אוג, ספט, אוק, נוב, דצ]
16
- order:
17
- - :day
18
- - :month
19
- - :year
20
-
21
- time:
22
- formats:
23
- default: "%a %b %d %H:%M:%S %Z %Y"
24
- time: "%H:%M"
25
- short: "%d %b %H:%M"
26
- long: "%B %d, %Y %H:%M"
27
- only_second: "%S"
28
-
29
- datetime:
30
- formats:
31
- default: "%d-%m-%YT%H:%M:%S%Z"
32
-
33
- am: 'am'
34
- pm: 'pm'
35
-
36
- datetime:
37
- distance_in_words:
38
- half_a_minute: 'חצי דקה'
39
- less_than_x_seconds:
40
- zero: 'פחות משניה אחת'
41
- one: 'פחות משניה אחת'
42
- other: 'פחות מ- %{count} שניות'
43
- x_seconds:
44
- one: 'שניה אחת'
45
- other: '%{count} שניות'
46
- less_than_x_minutes:
47
- zero: 'פחות מדקה אחת'
48
- one: 'פחות מדקה אחת'
49
- other: 'פחות מ- %{count} דקות'
50
- x_minutes:
51
- one: 'דקה אחת'
52
- other: '%{count} דקות'
53
- about_x_hours:
54
- one: 'בערך שעה אחת'
55
- other: 'בערך %{count} שעות'
56
- x_days:
57
- one: 'יום אחד'
58
- other: '%{count} ימים'
59
- about_x_months:
60
- one: 'בערך חודש אחד'
61
- other: 'בערך %{count} חודשים'
62
- x_months:
63
- one: 'חודש אחד'
64
- other: '%{count} חודשים'
65
- about_x_years:
66
- one: 'בערך שנה אחת'
67
- other: 'בערך %{count} שנים'
68
- over_x_years:
69
- one: 'מעל שנה אחת'
70
- other: 'מעל %{count} שנים'
71
-
72
- number:
73
- format:
74
- precision: 3
75
- separator: '.'
76
- delimiter: ','
77
- currency:
78
- format:
79
- unit: 'שח'
80
- precision: 2
81
- format: '%u %n'
82
-
83
- active_record:
84
- error:
85
- header_message: ["לא ניתן לשמור %{model}: שגיאה אחת", "לא ניתן לשמור %{model}: %{count} שגיאות."]
86
- message: "אנא בדוק את השדות הבאים:"
87
- error_messages:
88
- inclusion: "לא נכלל ברשימה"
89
- exclusion: "לא זמין"
90
- invalid: "לא ולידי"
91
- confirmation: "לא תואם לאישורו"
92
- accepted: "חייב באישור"
93
- empty: "חייב להכלל"
94
- blank: "חייב להכלל"
95
- too_long: "יותר מדי ארוך (לא יותר מ- %{count} תוים)"
96
- too_short: "יותר מדי קצר (לא יותר מ- %{count} תוים)"
97
- wrong_length: "לא באורך הנכון (חייב להיות %{count} תוים)"
98
- taken: "לא זמין"
99
- not_a_number: "הוא לא מספר"
100
- greater_than: "חייב להיות גדול מ- %{count}"
101
- greater_than_or_equal_to: "חייב להיות גדול או שווה ל- %{count}"
102
- equal_to: "חייב להיות שווה ל- %{count}"
103
- less_than: "חייב להיות קטן מ- %{count}"
104
- less_than_or_equal_to: "חייב להיות קטן או שווה ל- %{count}"
105
- odd: "חייב להיות אי זוגי"
106
- even: "חייב להיות זוגי"
@@ -1,181 +0,0 @@
1
- # Hindi (India) translations for Rails
2
- # by Aditya Sanghi (aditya.sanghi@risingsuntech.net)
3
-
4
- hi-IN:
5
- date:
6
- formats:
7
- default: "%d-%m-%Y"
8
- short: "%b %d"
9
- long: "%B %d, %Y"
10
-
11
- day_names: [रविवार, सोमवार, मंगलवार, बुधवार, गुरुवार, शुक्रवार, शनिवार]
12
- abbr_day_names: [रवि, सोम, मंगल, बुध, गुरु, शुक्र, शनि]
13
-
14
- month_names: [~, जनवरी, फरवरी, मार्च, अप्रैल, मई, जून, जुलाई, अगस्त, सितंबर, अक्टूबर, नवंबर, दिसंबर]
15
- abbr_month_names: [~, Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec]
16
- order:
17
- - :day
18
- - :month
19
- - :year
20
-
21
- time:
22
- formats:
23
- default: "%a, %d %b %Y %H:%M:%S %z"
24
- short: "%d %b %H:%M"
25
- long: "%B %d, %Y %H:%M"
26
- am: "am"
27
- pm: "pm"
28
-
29
- support:
30
- array:
31
- words_connector: ", "
32
- two_words_connector: " और "
33
- last_word_connector: ", और "
34
-
35
- select:
36
- prompt: "कृपया चुनें"
37
-
38
- number:
39
- format:
40
- separator: "."
41
- delimiter: ","
42
- precision: 3
43
- significant: false
44
- strip_insignificant_zeros: false
45
-
46
- currency:
47
- format:
48
- format: "%u%n"
49
- unit: "$"
50
- separator: "."
51
- delimiter: ","
52
- precision: 2
53
- significant: false
54
- strip_insignificant_zeros: false
55
-
56
- percentage:
57
- format:
58
- delimiter: ""
59
-
60
- precision:
61
- format:
62
- delimiter: ""
63
-
64
- human:
65
- format:
66
- delimiter: ""
67
- precision: 3
68
- significant: true
69
- strip_insignificant_zeros: true
70
- storage_units:
71
- format: "%n %u"
72
- units:
73
- byte:
74
- one: "Byte"
75
- other: "Bytes"
76
- kb: "KB"
77
- mb: "MB"
78
- gb: "GB"
79
- tb: "TB"
80
- decimal_units:
81
- format: "%n %u"
82
- units:
83
- unit: ""
84
- thousand: "हज़ार"
85
- million: "मिल्लिओंन"
86
- billion: "अरब"
87
- trillion: "खरब"
88
- quadrillion: "करोड़ शंख"
89
-
90
- datetime:
91
- distance_in_words:
92
- half_a_minute: "एक आधा मिनट"
93
- less_than_x_seconds:
94
- one: "एक सेकंड से कम"
95
- other: "%{count} सेकंड से कम"
96
- x_seconds:
97
- one: "एक सेकंड"
98
- other: "%{count} सेकंड"
99
- less_than_x_minutes:
100
- one: "एक मिनट से कम"
101
- other: "%{count} मिनट से कम"
102
- x_minutes:
103
- one: "एक मिनट"
104
- other: "%{count} मिनट"
105
- about_x_hours:
106
- one: "लग - भग एक घंटा"
107
- other: "लग - भग %{count} घंटा"
108
- x_days:
109
- one: "एक दिन"
110
- other: "%{count} दिन"
111
- about_x_months:
112
- one: "लग - भग 1 महीना"
113
- other: "लग - भग %{count} महीना"
114
- x_months:
115
- one: "एक महीना"
116
- other: "%{count} महीना"
117
- about_x_years:
118
- one: "लग - भग 1 साल"
119
- other: "लग - भग %{count} साल"
120
- over_x_years:
121
- one: "एक साल के ऊपर"
122
- other: "%{count} साल के ऊपर"
123
- almost_x_years:
124
- one: "लग - भग एक साल"
125
- other: "लग - भग %{count} साल"
126
- prompts:
127
- year: "वर्ष"
128
- month: "माह"
129
- day: "दिन"
130
- hour: "घंटा"
131
- minute: "क्षण"
132
- second: "सेकंड"
133
-
134
- helpers:
135
- select:
136
- prompt: "कृपया चुनें"
137
-
138
- submit:
139
- create: 'बनाएँ %{model}'
140
- update: 'अद्यतन %{model}'
141
- submit: 'सहेजें %{model}'
142
-
143
- errors:
144
- format: "%{attribute} %{message}"
145
-
146
- messages: &errors_messages
147
- inclusion: "सूची में शामिल नहीं है"
148
- exclusion: "आरक्षित है"
149
- invalid: "अवैध है"
150
- confirmation: "पुष्टिकरण मेल नहीं खाता"
151
- accepted: "होना स्वीकार किया जाना आवश्यक"
152
- empty: "खाली नहीं किया जा सकता"
153
- blank: "खाली नहीं किया जा सकता"
154
- too_long: "बहुत लंबा है (अधिकतम %{count} अक्षरों है)"
155
- too_short: "बहुत छोटा है (न्यूनतम %{count} अक्षरों है)"
156
- wrong_length: "गलत लंबाई है (%{count} वर्ण वाले होने चाहिए)"
157
- not_a_number: "कोई संख्या नहीं है"
158
- not_an_integer: "एक पूर्णांक होना चाहिए"
159
- greater_than: "%{count} से अधिक होना चाहिए"
160
- greater_than_or_equal_to: "%{count} से बड़ा या बराबर होना आवश्यक है"
161
- equal_to: "%{count} के लिए बराबर होना चाहिए"
162
- less_than: "%{count} से कम होना चाहिए"
163
- less_than_or_equal_to: "%{count} से कम या बराबर होना आवश्यक है"
164
- odd: "विषम होना चाहिए"
165
- even: "सम होना चाहिए"
166
-
167
- activerecord:
168
- errors:
169
- template:
170
- header:
171
- one: "एक त्रुटि सहेजे जाने से इस %{model} को निषिद्ध"
172
- other: "%{count} त्रुटियों को सहेजे जाने से इस %{model} निषिद्ध"
173
- body: "वहाँ निम्नलिखित क्षेत्रों के साथ समस्याओं रहे थे:"
174
-
175
- messages:
176
- taken: "पहले ही ले लिया गया है"
177
- record_invalid: "सत्यापन विफल: %{errors}"
178
- <<: *errors_messages
179
-
180
- full_messages:
181
- format: "%{attribute}%{message}"