diff --git a/rails/locale/ca.yml b/rails/locale/ca.yml index 6c1b3950e..a11f68b96 100644 --- a/rails/locale/ca.yml +++ b/rails/locale/ca.yml @@ -2,6 +2,46 @@ # 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: "%Y-%m-%d" + 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: + sentence_connector: "i" + 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' @@ -12,6 +52,8 @@ ca: 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: @@ -23,6 +65,8 @@ ca: separator: "," delimiter: "." precision: 2 + significant: false + strip_insignificant_zeros: false # Used in number_to_percentage() percentage: @@ -47,6 +91,8 @@ ca: # 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) @@ -59,6 +105,15 @@ ca: 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: @@ -94,6 +149,52 @@ ca: 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à incluó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" activerecord: errors: @@ -101,70 +202,12 @@ ca: 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" - # The variable :count is also available body: "Hi ha hagut problemes amb els següents camps:" - # The values :model, :attribute and :value are always available for interpolation - # The value :count is available when applicable. Can be used for pluralization. messages: - inclusion: "no està incluó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)" - 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" - - # Append your own errors here or at the model/attributes scope. - - models: - # Overrides default messages - - attributes: - # Overrides model and default messages. - - 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: "%Y-%m-%d" - 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" + taken: "ja està fet servir" + record_invalid: "La validació ha fallat: %{errors}" + <<: *errors_messages -# Used in array.to_sentence. - support: - array: - sentence_connector: "i" + full_messages: + format: "%{attribute} %{message}" \ No newline at end of file