refinerycms-i18n 0.9.9.9 → 0.9.9.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. data/config/locales/ar.yml +4 -1
  2. data/config/locales/bg.yml +4 -1
  3. data/config/locales/bn-IN.yml +4 -1
  4. data/config/locales/bs.yml +4 -1
  5. data/config/locales/{ca-ES.yml → ca.yml} +16 -1
  6. data/config/locales/{cz.rb → cs.rb} +2 -2
  7. data/config/locales/cy.yml +181 -0
  8. data/config/locales/da.yml +115 -87
  9. data/config/locales/de-AT.yml +29 -15
  10. data/config/locales/de-CH.yml +154 -0
  11. data/config/locales/de.yml +89 -37
  12. data/config/locales/dsb.yml +185 -182
  13. data/config/locales/el.yml +95 -153
  14. data/config/locales/en-AU.yml +180 -0
  15. data/config/locales/en-GB.yml +210 -0
  16. data/config/locales/en-US.yml +182 -0
  17. data/config/locales/eo.yml +182 -0
  18. data/config/locales/es-AR.yml +150 -141
  19. data/config/locales/es-CO.yml +79 -46
  20. data/config/locales/es-MX.yml +81 -13
  21. data/config/locales/es-PE.yml +124 -0
  22. data/config/locales/es.yml +183 -84
  23. data/config/locales/et.yml +93 -15
  24. data/config/locales/eu.yml +264 -0
  25. data/config/locales/fa.yml +36 -12
  26. data/config/locales/fi.yml +6 -5
  27. data/config/locales/fr-CA.yml +187 -0
  28. data/config/locales/fr-CH.yml +111 -50
  29. data/config/locales/fr.yml +95 -53
  30. data/config/locales/fun/en-AU.rb +1 -1
  31. data/config/locales/fun/gibberish.rb +2 -2
  32. data/config/locales/fur.yml +4 -1
  33. data/config/locales/gl-ES.yml +4 -1
  34. data/config/locales/gsw-CH.yml +182 -0
  35. data/config/locales/he.yml +4 -1
  36. data/config/locales/hi-IN.yml +181 -0
  37. data/config/locales/hi.yml +181 -0
  38. data/config/locales/hr.yml +4 -1
  39. data/config/locales/hsb.yml +193 -190
  40. data/config/locales/hu.yml +4 -1
  41. data/config/locales/id.yml +35 -15
  42. data/config/locales/is.yml +5 -2
  43. data/config/locales/it.yml +76 -24
  44. data/config/locales/ja.yml +72 -23
  45. data/config/locales/ko.yml +131 -98
  46. data/config/locales/lo.yml +42 -39
  47. data/config/locales/lt.yml +4 -1
  48. data/config/locales/lv.yml +58 -9
  49. data/config/locales/mk.yml +4 -1
  50. data/config/locales/mn.yml +159 -0
  51. data/config/locales/nb.yml +44 -7
  52. data/config/locales/nl.yml +171 -158
  53. data/config/locales/nn.yml +5 -2
  54. data/config/locales/pl.yml +117 -51
  55. data/config/locales/pt-BR.yml +85 -25
  56. data/config/locales/pt-PT.yml +132 -162
  57. data/config/locales/rm.yml +4 -1
  58. data/config/locales/ro.yml +6 -3
  59. data/config/locales/ru.yml +4 -1
  60. data/config/locales/sk.yml +195 -139
  61. data/config/locales/sl.yml +4 -1
  62. data/config/locales/sr-Latn.yml +4 -1
  63. data/config/locales/sr.yml +4 -1
  64. data/config/locales/sv.yml +85 -32
  65. data/config/locales/sw.yml +135 -76
  66. data/config/locales/th.rb +180 -203
  67. data/config/locales/tr.yml +4 -1
  68. data/config/locales/uk.yml +4 -1
  69. data/config/locales/vi.yml +4 -1
  70. data/config/locales/zh-CN.yml +91 -12
  71. data/config/locales/zh-TW.yml +92 -14
  72. data/lib/gemspec.rb +1 -1
  73. data/lib/refinery/i18n.rb +1 -1
  74. metadata +18 -5
@@ -1,4 +1,4 @@
1
- pt-BR:
1
+ "pt-BR":
2
2
  # formatos de data e hora
3
3
  date:
4
4
  formats:
@@ -10,7 +10,10 @@ pt-BR:
10
10
  abbr_day_names: [Dom, Seg, Ter, Qua, Qui, Sex, Sáb]
11
11
  month_names: [~, Janeiro, Fevereiro, Março, Abril, Maio, Junho, Julho, Agosto, Setembro, Outubro, Novembro, Dezembro]
12
12
  abbr_month_names: [~, Jan, Fev, Mar, Abr, Mai, Jun, Jul, Ago, Set, Out, Nov, Dez]
13
- order: [:day, :month, :year]
13
+ order:
14
+ - :day
15
+ - :month
16
+ - :year
14
17
 
15
18
  time:
16
19
  formats:
@@ -74,14 +77,16 @@ pt-BR:
74
77
  day: "Dia"
75
78
  hour: "Hora"
76
79
  minute: "Minuto"
77
- second: "Segundos"
80
+ second: "Segundo"
78
81
 
79
- # numeros
80
82
  number:
81
83
  format:
82
84
  precision: 3
83
85
  separator: ','
84
86
  delimiter: '.'
87
+ significant: false
88
+ strip_insignificant_zeros: false
89
+
85
90
  currency:
86
91
  format:
87
92
  unit: 'R$'
@@ -89,16 +94,24 @@ pt-BR:
89
94
  format: '%u %n'
90
95
  separator: ','
91
96
  delimiter: '.'
97
+ significant: false
98
+ strip_insignificant_zeros: false
99
+
92
100
  percentage:
93
101
  format:
94
102
  delimiter: '.'
103
+
95
104
  precision:
96
105
  format:
97
106
  delimiter: '.'
107
+
98
108
  human:
99
109
  format:
100
- precision: 1
110
+ precision: 2
101
111
  delimiter: '.'
112
+ significant: true
113
+ strip_insignificant_zeros: true
114
+
102
115
  storage_units:
103
116
  format: "%n %u"
104
117
  units:
@@ -109,6 +122,25 @@ pt-BR:
109
122
  mb: "MB"
110
123
  gb: "GB"
111
124
  tb: "TB"
125
+ # number_to_human()
126
+ # new in rails 3: please add to other locales
127
+ decimal_units:
128
+ format: "%n %u"
129
+ units:
130
+ unit: ""
131
+ thousand: "mil"
132
+ million:
133
+ one: milhão
134
+ other: milhões
135
+ billion:
136
+ one: bilhão
137
+ other: bilhões
138
+ trillion:
139
+ one: trilhão
140
+ other: trilhões
141
+ quadrillion:
142
+ one: quatrilhão
143
+ other: quatrilhões
112
144
 
113
145
  # Usado no Array.to_sentence
114
146
  support:
@@ -117,7 +149,48 @@ pt-BR:
117
149
  two_words_connector: " e "
118
150
  last_word_connector: " e "
119
151
 
120
- # ActiveRecord
152
+ select:
153
+ prompt: "Por favor selecione"
154
+
155
+ helpers:
156
+ select:
157
+ prompt: "Por favor selecione"
158
+
159
+ submit:
160
+ create: 'Criar %{model}'
161
+ update: 'Atualizar %{model}'
162
+ submit: 'Salvar %{model}'
163
+
164
+ errors:
165
+ format: "%{attribute} %{message}"
166
+
167
+ template:
168
+ header:
169
+ one: "Não foi possível gravar %{model}: 1 erro"
170
+ other: "Não foi possível gravar %{model}: %{count} erros."
171
+ body: "Por favor, verifique o(s) seguinte(s) campo(s):"
172
+
173
+ messages: &errors_messages
174
+ inclusion: "não está incluído na lista"
175
+ exclusion: "não está disponível"
176
+ invalid: "não é válido"
177
+ confirmation: "não está de acordo com a confirmação"
178
+ accepted: "deve ser aceito"
179
+ empty: "não pode ficar vazio"
180
+ blank: "não pode ficar em branco"
181
+ too_long: "é muito longo (máximo: %{count} caracteres)"
182
+ too_short: "é muito curto (mínimo: %{count} caracteres)"
183
+ wrong_length: "não possui o tamanho esperado (%{count} caracteres)"
184
+ not_a_number: "não é um número"
185
+ not_an_integer: "não é um número inteiro"
186
+ greater_than: "deve ser maior que %{count}"
187
+ greater_than_or_equal_to: "deve ser maior ou igual a %{count}"
188
+ equal_to: "deve ser igual a %{count}"
189
+ less_than: "deve ser menor que %{count}"
190
+ less_than_or_equal_to: "deve ser menor ou igual a %{count}"
191
+ odd: "deve ser ímpar"
192
+ even: "deve ser par"
193
+
121
194
  activerecord:
122
195
  errors:
123
196
  template:
@@ -125,24 +198,11 @@ pt-BR:
125
198
  one: "Não foi possível gravar %{model}: 1 erro"
126
199
  other: "Não foi possível gravar %{model}: %{count} erros."
127
200
  body: "Por favor, verifique o(s) seguinte(s) campo(s):"
201
+
128
202
  messages:
129
- inclusion: "não está incluído na lista"
130
- exclusion: "não está disponível"
131
- invalid: "não é válido"
132
- confirmation: "não está de acordo com a confirmação"
133
- accepted: "deve ser aceito"
134
- empty: "não pode ficar vazio"
135
- blank: "não pode ficar em branco"
136
- too_long: "é muito longo (máximo: %{count} caracteres)"
137
- too_short: "é muito curto (mínimo: %{count} caracteres)"
138
- wrong_length: "não possui o tamanho esperado (%{count} caracteres)"
139
203
  taken: "já está em uso"
140
- not_a_number: "não é um número"
141
- greater_than: "deve ser maior do que %{count}"
142
- greater_than_or_equal_to: "deve ser maior ou igual a %{count}"
143
- equal_to: "deve ser igual a %{count}"
144
- less_than: "deve ser menor do que %{count}"
145
- less_than_or_equal_to: "deve ser menor ou igual a %{count}"
146
- odd: "deve ser ímpar"
147
- even: "deve ser par"
148
- record_invalid: "A validação falhou: %{errors}"
204
+ record_invalid: "A validação falhou: %{errors}"
205
+ <<: *errors_messages
206
+
207
+ full_messages:
208
+ format: "%{attribute}%{message}"
@@ -1,153 +1,177 @@
1
- # Portuguese localization for Ruby on Rails
2
- # by Ricardo Otero <oterosantos@gmail.com>
1
+ # European Portuguese translations for Ruby on Rails
3
2
  #
4
- # This localization file targets Rails 2.3.2.
5
- # If you need a previous version go to http://github.com/weppos/rails-i18n/
6
- # and choose between available tags.
7
- pt-PT:
8
- # Used in array.to_sentence.
9
- support:
10
- # default value for :prompt => true in FormOptionsHelper
11
- select:
12
- # default value for :prompt => true in FormOptionsHelper
13
- prompt: "Por favor seleccione"
14
- array:
15
- # Rails <= v.2.2.2
16
- # sentence_connector: "y"
17
- # Rails >= v.2.3
18
- words_connector: ","
19
- two_words_connector: "e"
20
- last_word_connector: ", e"
21
-
3
+ #
4
+
5
+ "pt-PT":
22
6
  date:
23
- formats:
24
- # Use the strftime parameters for formats.
25
- # When no format has been given, it uses default.
26
- # You can provide other formats here if you like!
7
+ formats:
27
8
  default: "%d/%m/%Y"
28
9
  short: "%d de %B"
29
10
  long: "%d de %B de %Y"
30
11
 
31
12
  day_names: [Domingo, Segunda, Terça, Quarta, Quinta, Sexta, Sábado]
32
13
  abbr_day_names: [Dom, Seg, Ter, Qua, Qui, Sex, Sáb]
33
-
34
- # Don't forget the nil at the beginning; there's no such thing as a 0th month
14
+
35
15
  month_names: [~, Janeiro, Fevereiro, Março, Abril, Maio, Junho, Julho, Agosto, Setembro, Outubro, Novembro, Dezembro]
36
16
  abbr_month_names: [~, Jan, Fev, Mar, Abr, Mai, Jun, Jul, Ago, Set, Out, Nov, Dez]
37
- # Used in date_select and datime_select.
38
- order: [:day, :month, :year]
39
-
17
+ order:
18
+ - :day
19
+ - :month
20
+ - :year
21
+
40
22
  time:
41
- formats:
23
+ formats:
42
24
  default: "%A, %d de %B de %Y, %H:%Mh"
43
25
  short: "%d/%m, %H:%M hs"
44
26
  long: "%A, %d de %B de %Y, %H:%Mh"
45
- am: ''
46
- pm: ''
47
-
48
- # Used in distance_of_time_in_words(), distance_of_time_in_words_to_now(), time_ago_in_words()
27
+ am: "am"
28
+ pm: "pm"
29
+
30
+ support:
31
+ array:
32
+ words_connector: ", "
33
+ two_words_connector: " e "
34
+ last_word_connector: ", e"
35
+
36
+ select:
37
+ prompt: "Por favor seleccione"
38
+
39
+ number:
40
+ format:
41
+ separator: ","
42
+ delimiter: "."
43
+ precision: 3
44
+ significant: false
45
+ strip_insignificant_zeros: false
46
+
47
+ currency:
48
+ format:
49
+ format: "%u%n"
50
+ unit: "€"
51
+ separator: ","
52
+ delimiter: "."
53
+ precision: 2
54
+ significant: false
55
+ strip_insignificant_zeros: false
56
+
57
+ percentage:
58
+ format:
59
+ delimiter: ""
60
+
61
+ precision:
62
+ format:
63
+ delimiter: ""
64
+
65
+ human:
66
+ format:
67
+ delimiter: ""
68
+ precision: 1
69
+ significant: true
70
+ strip_insignificant_zeros: true
71
+ storage_units:
72
+ format: "%n %u"
73
+ units:
74
+ byte:
75
+ one: "Byte"
76
+ other: "Bytes"
77
+ kb: "KB"
78
+ mb: "MB"
79
+ gb: "GB"
80
+ tb: "TB"
81
+ decimal_units:
82
+ format: "%n %u"
83
+ units:
84
+ unit: ""
85
+ thousand: mil
86
+ million:
87
+ one: milhão
88
+ other: milhões
89
+ billion:
90
+ one: mil milhões
91
+ other: mil milhões
92
+ trillion:
93
+ one: bilião
94
+ other: biliões
95
+ quadrillion:
96
+ one: mil biliões
97
+ other: mil biliões
98
+
49
99
  datetime:
50
100
  distance_in_words:
51
101
  half_a_minute: "meio minuto"
52
102
  less_than_x_seconds:
53
- one: "menos de 1 segundo"
103
+ one: "menos de 1 segundo"
54
104
  other: "menos de %{count} segundos"
55
105
  x_seconds:
56
- one: "1 segundo"
106
+ one: "1 segundo"
57
107
  other: "%{count} segundos"
58
- less_than_x_minutes:
59
- one: "menos de um minuto"
108
+ less_than_x_minutes:
109
+ one: "menos de um minuto"
60
110
  other: "menos de %{count} minutos"
61
111
  x_minutes:
62
- one: "1 minuto"
112
+ one: "1 minuto"
63
113
  other: "%{count} minutos"
64
114
  about_x_hours:
65
- one: "aproximadamente 1 hora"
115
+ one: "aproximadamente 1 hora"
66
116
  other: "aproximadamente %{count} horas"
67
117
  x_days:
68
- one: "1 dia"
118
+ one: "1 dia"
69
119
  other: "%{count} dias"
70
120
  about_x_months:
71
- one: "aproximadamente 1 mês"
121
+ one: "aproximadamente 1 mês"
72
122
  other: "aproximadamente %{count} meses"
73
123
  x_months:
74
- one: "1 mês"
124
+ one: "1 mês"
75
125
  other: "%{count} meses"
76
126
  about_x_years:
77
- one: "aproximadamente 1 ano"
127
+ one: "aproximadamente 1 ano"
78
128
  other: "aproximadamente %{count} anos"
79
129
  over_x_years:
80
- one: "mais de 1 ano"
130
+ one: "mais de 1 ano"
81
131
  other: "mais de %{count} anos"
82
132
  almost_x_years:
83
133
  one: "quase 1 ano"
84
134
  other: "quase %{count} years"
85
135
  prompts:
86
- year: "Ano"
87
- month: "Mês"
88
- day: "Dia"
89
- hour: "Hora"
136
+ year: "Ano"
137
+ month: "Mês"
138
+ day: "Dia"
139
+ hour: "Hora"
90
140
  minute: "Minuto"
91
141
  second: "Segundo"
92
-
93
- number:
94
- # Used in number_with_delimiter()
95
- # These are also the defaults for 'currency', 'percentage', 'precision', and 'human'
96
- format:
97
- # Number of decimals, behind the separator (1 with a precision of 2 gives: 1.00)
98
- precision: 3
99
- # Sets the separator between the units, for more precision (e.g. 1.0 / 2.0 == 0.5)
100
- separator: ','
101
- # Delimets thousands (e.g. 1,000,000 is a million) (always in groups of three)
102
- delimiter: '.'
103
142
 
104
- # Used in number_to_currency()
105
- currency:
106
- # Where is the currency sign? %u is the currency unit, %n the number (default: $5.00)
107
- format:
108
- format: "%u%n"
109
- unit: '€'
110
- # These three are to override number.format and are optional
111
- separator: ','
112
- delimiter: '.'
113
- precision: 2
143
+ helpers:
144
+ select:
145
+ prompt: "Por favor seleccione"
114
146
 
115
- # Used in number_to_percentage()
116
- percentage:
117
- format:
118
- # These three are to override number.format and are optional
119
- # separator:
120
- delimiter: ''
121
- # precision:
147
+ submit:
148
+ create: 'Criar %{model}'
149
+ update: 'Actualizar %{model}'
150
+ submit: 'Salvar %{model}'
122
151
 
123
- # Used in number_to_precision()
124
- precision:
125
- format:
126
- # These three are to override number.format and are optional
127
- # separator:
128
- delimiter: ''
129
- # precision:
152
+ errors:
153
+ format: "%{attribute} %{message}"
130
154
 
131
- # Used in number_to_human_size()
132
- human:
133
- format:
134
- # These three are to override number.format and are optional
135
- # separator:
136
- delimiter: ''
137
- precision: 1
138
- # Rails <= v2.2.2
139
- # storage_units: [Bytes, KB, MB, GB, TB]
140
- # Rails >= v2.3
141
- storage_units:
142
- format: "%n %u"
143
- units:
144
- byte:
145
- one: "Byte"
146
- other: "Bytes"
147
- kb: "KB"
148
- mb: "MB"
149
- gb: "GB"
150
- tb: "TB"
155
+ messages: &errors_messages
156
+ inclusion: "não está incluído na lista"
157
+ exclusion: "é reservado"
158
+ invalid: inválido"
159
+ confirmation: "não coincide com a confirmação"
160
+ accepted: "tem de ser aceite"
161
+ empty: "não pode estar vazio"
162
+ blank: "não pode estar em branco"
163
+ too_long: demasiado grande (o mínimo é de %{count} characters)"
164
+ too_short: demasiado pequeno (o mínimo é de %{count} caracteres)"
165
+ wrong_length: "comprimento errado (deve ter %{count} caracteres)"
166
+ not_a_number: "não é um número"
167
+ not_an_integer: "tem de ser um inteiro"
168
+ greater_than: "tem de ser maior que %{count}"
169
+ greater_than_or_equal_to: "tem de ser maior ou igual a %{count}"
170
+ equal_to: "tem de ser igual a %{count}"
171
+ less_than: "tem de ser menor que %{count}"
172
+ less_than_or_equal_to: "tem de ser menor ou igual a %{count}"
173
+ odd: "tem de ser ímpar"
174
+ even: "tem de ser par"
151
175
 
152
176
  activerecord:
153
177
  errors:
@@ -155,66 +179,12 @@ pt-PT:
155
179
  header:
156
180
  one: "Não foi possível guardar %{model}: 1 erro"
157
181
  other: "Não foi possível guardar %{model}: %{count} erros"
158
- # The variable :count is also available
159
182
  body: "Por favor, verifique os seguintes campos:"
160
- # The values :model, :attribute and :value are always available for interpolation
161
- # The value :count is available when applicable. Can be used for pluralization.
183
+
162
184
  messages:
163
- inclusion: "não está incluído na lista"
164
- exclusion: "não está disponível"
165
- invalid: "não é válido"
166
- confirmation: "não está de acordo com a confirmação"
167
- accepted: "precisa de ser aceite"
168
- empty: "não pode estar em branco"
169
- blank: "não pode estar em branco"
170
- too_long: "tem demasiados caracteres (máximo: %{count} caracteres)"
171
- too_short: "tem poucos caracteres (mínimo: %{count} caracteres)"
172
- wrong_length: "não é do tamanho correcto (necessita de ter %{count} caracteres)"
173
185
  taken: "não está disponível"
174
- not_a_number: "não é um número"
175
- greater_than: "tem de ser maior do que %{count}"
176
- greater_than_or_equal_to: "tem de ser maior ou igual a %{count}"
177
- equal_to: "tem de ser igual a %{count}"
178
- less_than: "tem de ser menor do que %{count}"
179
- less_than_or_equal_to: "tem de ser menor ou igual a %{count}"
180
- odd: "tem de ser ímpar"
181
- even: "tem de ser par"
182
186
  record_invalid: "A validação falhou: %{errors}"
183
- # Append your own errors here or at the model/attributes scope.
184
-
185
- # You can define own errors for models or model attributes.
186
- # The values :model, :attribute and :value are always available for interpolation.
187
- #
188
- # For example,
189
- # models:
190
- # user:
191
- # blank: "This is a custom blank message for %{model}: %{attribute}"
192
- # attributes:
193
- # login:
194
- # blank: "This is a custom blank message for User login"
195
- # Will define custom blank validation message for User model and
196
- # custom blank validation message for login attribute of User model.
197
- #models:
198
-
199
- # Translate model names. Used in Model.human_name().
200
- #models:
201
- # For example,
202
- # user: "Dude"
203
- # will translate User model name to "Dude"
187
+ <<: *errors_messages
204
188
 
205
- # Translate model attribute names. Used in Model.human_attribute_name(attribute).
206
- #attributes:
207
- # For example,
208
- # user:
209
- # login: "Handle"
210
- # will translate User attribute "login" as "Handle"
211
-
212
-
213
- activemodel:
214
- errors:
215
- template:
216
- header:
217
- one: "Não foi possível guardar %{model}: 1 erro"
218
- other: "Não foi possível guardar %{model}: %{count} erros"
219
- # The variable :count is also available
220
- body: "Por favor, verifique os seguintes campos:"
189
+ full_messages:
190
+ format: "%{attribute}%{message}"