ca.yml
6.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
# Catalan translations for Rails
# by Emili Parreño (emili@eparreno.com - www.eparreno.com)
ca:
date:
formats:
# Use the strftime parameters for formats.
# When no format has been given, it uses default.
# You can provide other formats here if you like!
default: "%d-%m-%Y"
short: "%d de %b"
long: "%d de %B de %Y"
day_names:
- Diumenge
- Dilluns
- Dimarts
- Dimecres
- Dijous
- Divendres
- Dissabte
abbr_day_names:
- Dg
- Dl
- Dm
- Dc
- Dj
- Dv
- Ds
# Don't forget the nil at the beginning; there's no such thing as a 0th month
month_names:
- ~
- Gener
- Febrer
- Març
- Abril
- Maig
- Juny
- Juliol
- Agost
- Setembre
- Octubre
- Novembre
- Desembre
abbr_month_names:
- ~,
- Gen
- Feb
- Mar
- Abr
- Mai
- Jun
- Jul
- Ago
- Set
- Oct
- Nov
- Des
# Used in date_select and datime_select.
order:
- :day
- :month
- :year
time:
formats:
default: "%A, %d de %B de %Y %H:%M:%S %z"
short: "%d de %b %H:%M"
long: "%d de %B de %Y %H:%M"
am: "am"
pm: "pm"
# Used in array.to_sentence.
support:
array:
words_connector: ", "
two_words_connector: " i "
last_word_connector: ", i "
select:
prompt: "Si us plau tria"
number:
# Used in number_with_delimiter()
# These are also the defaults for 'currency', 'percentage', 'precision', and 'human'
format:
# Sets the separator between the units, for more precision (e.g. 1.0 / 2.0 == 0.5)
separator: ","
# Delimets thousands (e.g. 1,000,000 is a million) (always in groups of three)
delimiter: "."
# Number of decimals, behind the separator (1 with a precision of 2 gives: 1.00)
precision: 3
significant: false
strip_insignificant_zeros: false
# Used in number_to_currency()
currency:
format:
# Where is the currency sign? %u is the currency unit, %n the number (default: $5.00)
format: "%n %u"
unit: "€"
# These three are to override number.format and are optional
separator: ","
delimiter: "."
precision: 2
significant: false
strip_insignificant_zeros: false
# Used in number_to_percentage()
percentage:
format:
# These three are to override number.format and are optional
# separator:
delimiter: ""
# precision:
# Used in number_to_precision()
precision:
format:
# These three are to override number.format and are optional
# separator:
delimiter: ""
# precision:
# Used in number_to_human_size()
human:
format:
# These three are to override number.format and are optional
# separator:
delimiter: ""
precision: 1
significant: true
strip_insignificant_zeros: true
storage_units:
# Storage units output formatting.
# %u is the storage unit, %n is the number (default: 2 MB)
format: "%n %u"
units:
byte:
one: "Byte"
other: "Bytes"
kb: "KB"
mb: "MB"
gb: "GB"
tb: "TB"
decimal_units:
format: "%n %u"
units:
unit: ""
thousand: "Mil"
million: "Milió"
billion: "Bilió"
trillion: "Trilió"
quadrillion: "Quatrilió"
# Used in distance_of_time_in_words(), distance_of_time_in_words_to_now(), time_ago_in_words()
datetime:
distance_in_words:
half_a_minute: "mig minut"
less_than_x_seconds:
one: "menys d'1 segon"
other: "menys de %{count} segons"
x_seconds:
one: "1 segon"
other: "%{count} segons"
less_than_x_minutes:
one: "menys d'1 minut"
other: "menys de %{count} minuts"
x_minutes:
one: "1 minut"
other: "%{count} minuts"
about_x_hours:
one: "aproximadament 1 hora"
other: "aproximadament %{count} hores"
x_days:
one: "1 dia"
other: "%{count} dies"
about_x_months:
one: "aproximadament 1 mes"
other: "aproximadament %{count} mesos"
x_months:
one: "1 mes"
other: "%{count} mesos"
about_x_years:
one: "aproximadament 1 any"
other: "aproximadament %{count} anys"
over_x_years:
one: "més d'1 any"
other: "més de %{count} anys"
almost_x_years:
one: "casi 1 any"
other: "casi %{count} anys"
prompts:
year: "Any"
month: "Mes"
day: "Dia"
hour: "Hora"
minute: "Minut"
second: "Segun"
helpers:
select:
prompt: "Si us plau tria"
submit:
create: 'Crear %{model}'
update: 'Actualizar %{model}'
submit: 'Guardar %{model}'
errors:
format: "%{attribute} %{message}"
messages: &errors_messages
inclusion: "no està inclós a la llista"
exclusion: "està reservat"
invalid: "no és vàlid"
confirmation: "no coincideix"
accepted: "ha de ser acceptat"
empty: "no pot estar buit"
blank: "no pot estar en blanc"
too_long: "és massa llarg (%{count} caràcters màxim)"
too_short: "és massa curt (%{count} caràcters mínim)"
wrong_length: "no té la longitud correcte (%{count} caràcters exactament)"
not_a_number: "no és un número"
not_an_integer: "ha de ser un enter"
taken: "no està disponible"
not_a_number: "no és un número"
greater_than: "ha de ser més gran que %{count}"
greater_than_or_equal_to: "ha de ser més gran o igual a %{count}"
equal_to: "ha de ser igual a %{count}"
less_than: "ha de ser menor que %{count}"
less_than_or_equal_to: "ha de ser menor o igual a %{count}"
odd: "ha de ser imparell"
even: "ha de ser parell"
record_invalid: "La validació ha fallat: %{errors}"
template: &errors_template
header:
one: "No s'ha pogut desar aquest/a %{model} perquè hi ha 1 error"
other: "No s'ha pogut desar aquest/a %{model} perquè hi ha hagut %{count} errors"
body: "Hi ha hagut problemes amb els següents camps:"
activerecord:
errors:
messages:
<<: *errors_messages
template:
<<: *errors_template
full_messages:
format: "%{attribute} %{message}"