From b2c3c8e71010977e06e21fd4ce5e564ab72527ca Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Fri, 30 Apr 2010 09:18:35 +0100 Subject: [PATCH] Updated rails translations from http://github.com/svenfuchs/rails-i18n --- vendor/plugins/rails-i18n/locale/de-AT.yml | 39 ++++-- vendor/plugins/rails-i18n/locale/de-CH.yml | 151 +++++++++++++++++++++ vendor/plugins/rails-i18n/locale/de.yml | 38 ++++-- vendor/plugins/rails-i18n/locale/id.yml | 41 ++++-- vendor/plugins/rails-i18n/locale/nb.yml | 46 ++++++- vendor/plugins/rails-i18n/locale/nl.yml | 6 +- vendor/plugins/rails-i18n/locale/pl.yml | 3 + vendor/plugins/rails-i18n/locale/pt-BR.yml | 27 +++- vendor/plugins/rails-i18n/locale/pt-PT.yml | 22 ++- vendor/plugins/rails-i18n/locale/ro.yml | 4 +- vendor/plugins/rails-i18n/locale/sv-SE.yml | 8 +- vendor/plugins/rails-i18n/locale/zh-CN.yml | 21 ++- vendor/plugins/rails-i18n/locale/zh-TW.yml | 18 ++- 13 files changed, 364 insertions(+), 60 deletions(-) create mode 100644 vendor/plugins/rails-i18n/locale/de-CH.yml diff --git a/vendor/plugins/rails-i18n/locale/de-AT.yml b/vendor/plugins/rails-i18n/locale/de-AT.yml index 096bc47bd..f901f54c0 100644 --- a/vendor/plugins/rails-i18n/locale/de-AT.yml +++ b/vendor/plugins/rails-i18n/locale/de-AT.yml @@ -29,36 +29,37 @@ de-AT: distance_in_words: half_a_minute: 'eine halbe Minute' less_than_x_seconds: - zero: 'weniger als 1 Sekunde' - one: 'weniger als 1 Sekunde' + one: 'weniger als eine Sekunde' other: 'weniger als {{count}} Sekunden' x_seconds: - one: '1 Sekunde' + one: 'eine Sekunde' other: '{{count}} Sekunden' less_than_x_minutes: - zero: 'weniger als 1 Minute' one: 'weniger als eine Minute' other: 'weniger als {{count}} Minuten' x_minutes: - one: '1 Minute' + one: 'eine Minute' other: '{{count}} Minuten' about_x_hours: - one: 'etwa 1 Stunde' + one: 'etwa eine Stunde' other: 'etwa {{count}} Stunden' x_days: - one: '1 Tag' + one: 'ein Tag' other: '{{count}} Tage' about_x_months: - one: 'etwa 1 Monat' + one: 'etwa ein Monat' other: 'etwa {{count}} Monate' x_months: - one: '1 Monat' + one: 'ein Monat' other: '{{count}} Monate' + almost_x_years: + one: 'fast ein Jahr' + other: 'fast {{count}} Jahre' about_x_years: - one: 'etwa 1 Jahr' + one: 'etwa ein Jahr' other: 'etwa {{count}} Jahre' over_x_years: - one: 'mehr als 1 Jahr' + one: 'mehr als ein Jahr' other: 'mehr als {{count}} Jahre' prompts: second: "Sekunden" @@ -108,13 +109,23 @@ de-AT: words_connector: ", " two_words_connector: " und " last_word_connector: " und " + select: + prompt: "Bitte wählen:" + + activemodel: + errors: + template: + header: + one: "Konnte {{model}} nicht speichern: ein Fehler." + other: "Konnte {{model}} nicht speichern: {{count}} Fehler." + body: "Bitte überprüfen Sie die folgenden Felder:" activerecord: errors: template: header: - one: "Konnte dieses {{model}} Objekt nicht speichern: 1 Fehler." - other: "Konnte dieses {{model}} Objekt nicht speichern: {{count}} Fehler." + one: "Konnte {{model}} nicht speichern: ein Fehler." + other: "Konnte {{model}} nicht speichern: {{count}} Fehler." body: "Bitte überprüfen Sie die folgenden Felder:" messages: @@ -137,4 +148,4 @@ de-AT: less_than_or_equal_to: "muss kleiner oder gleich {{count}} sein" odd: "muss ungerade sein" even: "muss gerade sein" - models: + record_invalid: "Gültigkeitsprüfung ist fehlgeschlagen: {{errors}}" diff --git a/vendor/plugins/rails-i18n/locale/de-CH.yml b/vendor/plugins/rails-i18n/locale/de-CH.yml new file mode 100644 index 000000000..f8dec96ef --- /dev/null +++ b/vendor/plugins/rails-i18n/locale/de-CH.yml @@ -0,0 +1,151 @@ +# German (Switzerland) translations for Ruby on Rails +# by Clemens Kofler (clemens@railway.at) + +de-CH: + date: + formats: + default: "%d.%m.%Y" + short: "%e. %b" + long: "%e. %B %Y" + only_day: "%e" + + day_names: [Sonntag, Montag, Dienstag, Mittwoch, Donnerstag, Freitag, Samstag] + abbr_day_names: [So, Mo, Di, Mi, Do, Fr, Sa] + month_names: [~, Januar, Februar, März, April, Mai, Juni, Juli, August, September, Oktober, November, Dezember] + abbr_month_names: [~, Jan, Feb, Mär, Apr, Mai, Jun, Jul, Aug, Sep, Okt, Nov, Dez] + order: [ :day, :month, :year ] + + time: + formats: + default: "%A, %d. %B %Y, %H:%M Uhr" + short: "%d. %B, %H:%M Uhr" + long: "%A, %d. %B %Y, %H:%M Uhr" + time: "%H:%M" + + am: "vormittags" + pm: "nachmittags" + + datetime: + distance_in_words: + half_a_minute: 'eine halbe Minute' + less_than_x_seconds: + one: 'weniger als eine Sekunde' + other: 'weniger als {{count}} Sekunden' + x_seconds: + one: 'eine Sekunde' + other: '{{count}} Sekunden' + less_than_x_minutes: + one: 'weniger als eine Minute' + other: 'weniger als {{count}} Minuten' + x_minutes: + one: 'eine Minute' + other: '{{count}} Minuten' + about_x_hours: + one: 'etwa eine Stunde' + other: 'etwa {{count}} Stunden' + x_days: + one: 'ein Tag' + other: '{{count}} Tage' + about_x_months: + one: 'etwa ein Monat' + other: 'etwa {{count}} Monate' + x_months: + one: 'ein Monat' + other: '{{count}} Monate' + almost_x_years: + one: 'fast ein Jahr' + other: 'fast {{count}} Jahre' + about_x_years: + one: 'etwa ein Jahr' + other: 'etwa {{count}} Jahre' + over_x_years: + one: 'mehr als ein Jahr' + other: 'mehr als {{count}} Jahre' + prompts: + second: "Sekunden" + minute: "Minuten" + hour: "Stunden" + day: "Tag" + month: "Monat" + year: "Jahr" + + number: + format: + precision: 2 + separator: '.' + delimiter: "'" + currency: + format: + unit: 'CHF' + format: '%u %n' + separator: + delimiter: + precision: + percentage: + format: + delimiter: "" + precision: + format: + delimiter: "" + human: + format: + delimiter: "" + precision: 1 + 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" + + support: + array: + words_connector: ", " + two_words_connector: " und " + last_word_connector: " und " + select: + prompt: "Bitte wählen:" + + activemodel: + errors: + template: + header: + one: "Konnte {{model}} nicht speichern: ein Fehler." + other: "Konnte {{model}} nicht speichern: {{count}} Fehler." + body: "Bitte überprüfen Sie die folgenden Felder:" + + activerecord: + errors: + template: + header: + one: "Konnte {{model}} nicht speichern: ein Fehler." + other: "Konnte {{model}} nicht speichern: {{count}} Fehler." + body: "Bitte überprüfen Sie die folgenden Felder:" + + messages: + inclusion: "ist kein gültiger Wert" + exclusion: "ist nicht verfügbar" + invalid: "ist nicht gültig" + confirmation: "stimmt nicht mit der Bestätigung überein" + accepted: "muss akzeptiert werden" + empty: "muss ausgefüllt werden" + blank: "muss ausgefüllt werden" + too_long: "ist zu lang (nicht mehr als {{count}} Zeichen)" + too_short: "ist zu kurz (nicht weniger als {{count}} Zeichen)" + wrong_length: "hat die falsche Länge (muss genau {{count}} Zeichen haben)" + taken: "ist bereits vergeben" + not_a_number: "ist keine Zahl" + greater_than: "muss grösser als {{count}} sein" + greater_than_or_equal_to: "muss grösser oder gleich {{count}} sein" + equal_to: "muss genau {{count}} sein" + less_than: "muss kleiner als {{count}} sein" + less_than_or_equal_to: "muss kleiner oder gleich {{count}} sein" + odd: "muss ungerade sein" + even: "muss gerade sein" + record_invalid: "Gültigkeitsprüfung ist fehlgeschlagen: {{errors}}" diff --git a/vendor/plugins/rails-i18n/locale/de.yml b/vendor/plugins/rails-i18n/locale/de.yml index a05189528..455446c3d 100644 --- a/vendor/plugins/rails-i18n/locale/de.yml +++ b/vendor/plugins/rails-i18n/locale/de.yml @@ -29,36 +29,37 @@ de: distance_in_words: half_a_minute: 'eine halbe Minute' less_than_x_seconds: - zero: 'weniger als 1 Sekunde' - one: 'weniger als 1 Sekunde' + one: 'weniger als eine Sekunde' other: 'weniger als {{count}} Sekunden' x_seconds: - one: '1 Sekunde' + one: 'eine Sekunde' other: '{{count}} Sekunden' less_than_x_minutes: - zero: 'weniger als 1 Minute' one: 'weniger als eine Minute' other: 'weniger als {{count}} Minuten' x_minutes: - one: '1 Minute' + one: 'eine Minute' other: '{{count}} Minuten' about_x_hours: - one: 'etwa 1 Stunde' + one: 'etwa eine Stunde' other: 'etwa {{count}} Stunden' x_days: - one: '1 Tag' + one: 'ein Tag' other: '{{count}} Tage' about_x_months: - one: 'etwa 1 Monat' + one: 'etwa ein Monat' other: 'etwa {{count}} Monate' x_months: - one: '1 Monat' + one: 'ein Monat' other: '{{count}} Monate' + almost_x_years: + one: 'fast ein Jahr' + other: 'fast {{count}} Jahre' about_x_years: - one: 'etwa 1 Jahr' + one: 'etwa ein Jahr' other: 'etwa {{count}} Jahre' over_x_years: - one: 'mehr als 1 Jahr' + one: 'mehr als ein Jahr' other: 'mehr als {{count}} Jahre' prompts: second: "Sekunden" @@ -108,13 +109,23 @@ de: words_connector: ", " two_words_connector: " und " last_word_connector: " und " + select: + prompt: "Bitte wählen:" + + activemodel: + errors: + template: + header: + one: "Konnte {{model}} nicht speichern: ein Fehler." + other: "Konnte {{model}} nicht speichern: {{count}} Fehler." + body: "Bitte überprüfen Sie die folgenden Felder:" activerecord: errors: template: header: - one: "Konnte dieses {{model}} Objekt nicht speichern: 1 Fehler." - other: "Konnte dieses {{model}} Objekt nicht speichern: {{count}} Fehler." + one: "Konnte {{model}} nicht speichern: ein Fehler." + other: "Konnte {{model}} nicht speichern: {{count}} Fehler." body: "Bitte überprüfen Sie die folgenden Felder:" messages: @@ -138,4 +149,3 @@ de: odd: "muss ungerade sein" even: "muss gerade sein" record_invalid: "Gültigkeitsprüfung ist fehlgeschlagen: {{errors}}" - models: diff --git a/vendor/plugins/rails-i18n/locale/id.yml b/vendor/plugins/rails-i18n/locale/id.yml index 3efb383df..39cd2db4c 100644 --- a/vendor/plugins/rails-i18n/locale/id.yml +++ b/vendor/plugins/rails-i18n/locale/id.yml @@ -1,7 +1,10 @@ -# Bahasa Indonesia translations for Ruby on Rails +# Indonesian translations for Ruby on Rails # by wynst (wynst.uei@gmail.com) id: + locale: + native_name: Bahasa Indonesia + address_separator: " " date: formats: default: "%d %B %Y" @@ -17,21 +20,29 @@ id: time: formats: default: "%a, %d %b %Y %H.%M.%S %z" + numeric: "%d-%b-%y %H:%M" short: "%d %b %H.%M" long: "%d %B %Y %H.%M" + time: "%H:%M" + am: "am" pm: "pm" support: + select: + prompt: "Silahkan pilih" array: sentence_connector: "dan" skip_last_comma: true + words_connector: ", " + two_words_connector: ", " + last_word_connector: " dan " number: format: - separator: "," delimiter: "." - precision: 3 + separator: "," + precision: 2 currency: format: @@ -43,32 +54,34 @@ id: percentage: format: - # separator: - delimiter: "" - # precision: + delimiter: "." + separator: "," + precision: 2 precision: format: - # separator: - delimiter: "" - # precision: + delimiter: "." + separator: "," human: format: - delimiter: "" - precision: 1 + delimiter: "." + separator: "," + precision: 1 storage_units: [Byte, KB, MB, GB, TB] datetime: distance_in_words: half_a_minute: "setengah menit" less_than_x_seconds: + zero: "kurang dari 1 detik" one: "kurang dari 1 detik" other: "kurang dari {{count}} detik" x_seconds: one: "1 detik" other: "{{count}} detik" less_than_x_minutes: + zero: "kurang dari 1 menit" one: "kurang dari 1 menit" other: "kurang dari {{count}} menit" x_minutes: @@ -92,6 +105,9 @@ id: over_x_years: one: "lebih dari setahun" other: "lebih dari {{count}} tahun" + almost_x_years: + one: "hampir setahun" + other: "hampir {{count}} tahun" activerecord: errors: @@ -119,4 +135,5 @@ id: less_than: "harus lebih kecil dari {{count}}" less_than_or_equal_to: "harus sama atau lebih kecil dari {{count}}" odd: "harus ganjil" - even: "harus genap" \ No newline at end of file + even: "harus genap" + record_invalid: "Verifikasi gagal: {{errors}}" diff --git a/vendor/plugins/rails-i18n/locale/nb.yml b/vendor/plugins/rails-i18n/locale/nb.yml index ed4cee9c2..f5b9f0e9b 100644 --- a/vendor/plugins/rails-i18n/locale/nb.yml +++ b/vendor/plugins/rails-i18n/locale/nb.yml @@ -2,7 +2,11 @@ nb: support: array: - sentence_connector: "og" + words_connector: ", " + two_words_connector: " og " + last_word_connector: " og " + select: + prompt: "Velg" date: formats: default: "%d.%m.%Y" @@ -16,7 +20,6 @@ nb: time: formats: default: "%A, %e. %B %Y, %H:%M" - time: "%H:%M" short: "%e. %B, %H:%M" long: "%A, %e. %B %Y, %H:%M" am: "" @@ -54,6 +57,9 @@ nb: over_x_years: one: "over 1 år" other: "over {{count}} år" + almost_x_years: + one: "nesten 1 år" + other: "nesten {{count}} år" prompts: year: "År" month: "Måned" @@ -68,17 +74,44 @@ nb: delimiter: "," currency: format: + separator: "." + delimiter: "," + precision: 2 unit: "kr" format: "%n %u" precision: format: delimiter: "" - precision: 4 - activerecord: + human: + format: + precision: 1 + delimiter: "," + 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" + percentage: + format: + delimiter: "" + + activemodel: errors: template: - header: "kunne ikke lagre {{model}} på grunn av {{count}} feil." - body: "det oppstod problemer i følgende felt:" + header: + one: "Kunne ikke lagre {{model}} på grunn av én feil." + other: "Kunne ikke lagre {{model}} på grunn av {{count}} feil." + body: "Det oppstod problemer i følgende felt:" + + activerecord: + errors: messages: inclusion: "er ikke inkludert i listen" exclusion: "er reservert" @@ -99,5 +132,6 @@ nb: less_than_or_equal_to: "må være mindre enn eller lik {{count}}" odd: "må være oddetall" even: "må være partall" + record_invalid: "Det oppstod feil: {{errors}}" # models: # attributes: diff --git a/vendor/plugins/rails-i18n/locale/nl.yml b/vendor/plugins/rails-i18n/locale/nl.yml index 00443ab68..16f44ef2c 100644 --- a/vendor/plugins/rails-i18n/locale/nl.yml +++ b/vendor/plugins/rails-i18n/locale/nl.yml @@ -126,9 +126,9 @@ nl: - dec support: array: - words_connector: "," - last_word_connector: ", en" - two_words_connector: en + words_connector: ", " + two_words_connector: " en " + last_word_connector: " en " datetime: format: default: "%Y-%m-%dT%H:%M:%S%Z" diff --git a/vendor/plugins/rails-i18n/locale/pl.yml b/vendor/plugins/rails-i18n/locale/pl.yml index c08d23031..c153b05be 100644 --- a/vendor/plugins/rails-i18n/locale/pl.yml +++ b/vendor/plugins/rails-i18n/locale/pl.yml @@ -125,3 +125,6 @@ pl: array: sentence_connector: "i" skip_last_comma: true + words_connector: ", " + two_words_connector: " i " + last_word_connector: " i " diff --git a/vendor/plugins/rails-i18n/locale/pt-BR.yml b/vendor/plugins/rails-i18n/locale/pt-BR.yml index 98af17940..3a007b2e4 100644 --- a/vendor/plugins/rails-i18n/locale/pt-BR.yml +++ b/vendor/plugins/rails-i18n/locale/pt-BR.yml @@ -97,8 +97,11 @@ pt-BR: delimiter: '.' human: format: - precision: 1 + precision: 2 delimiter: '.' + significant: true + strip_unsignificant_zeros: true + # number_to_human_size() storage_units: format: "%n %u" units: @@ -109,6 +112,25 @@ pt-BR: mb: "MB" gb: "GB" tb: "TB" + # number_to_human() + # new in rails 3: please add to other locales + decimal_units: + format: "%n %u" + units: + unit: "" + thousand: "mil" + million: + one: milhão + other: milhões + billion: + one: bilhão + other: bilhões + trillion: + one: trilhão + other: trilhões + quadrillion: + one: quatrilhão + other: quatrilhões # Usado no Array.to_sentence support: @@ -138,6 +160,7 @@ pt-BR: wrong_length: "não possui o tamanho esperado ({{count}} caracteres)" taken: "já está em uso" not_a_number: "não é um número" + not_an_integer: "não é um número inteiro" greater_than: "deve ser maior do que {{count}}" greater_than_or_equal_to: "deve ser maior ou igual a {{count}}" equal_to: "deve ser igual a {{count}}" @@ -145,4 +168,4 @@ pt-BR: less_than_or_equal_to: "deve ser menor ou igual a {{count}}" odd: "deve ser ímpar" even: "deve ser par" - record_invalid: "A validação falhou: {{errors}}" \ No newline at end of file + record_invalid: "A validação falhou: {{errors}}" diff --git a/vendor/plugins/rails-i18n/locale/pt-PT.yml b/vendor/plugins/rails-i18n/locale/pt-PT.yml index 6fe4f6680..1b28b72c6 100644 --- a/vendor/plugins/rails-i18n/locale/pt-PT.yml +++ b/vendor/plugins/rails-i18n/locale/pt-PT.yml @@ -128,7 +128,7 @@ pt-PT: delimiter: '' # precision: - # Used in number_to_human_size() + # Used in number_to_human_size() and number_to_human() human: format: # These three are to override number.format and are optional @@ -138,6 +138,7 @@ pt-PT: # Rails <= v2.2.2 # storage_units: [Bytes, KB, MB, GB, TB] # Rails >= v2.3 + # number_to_human_size() storage_units: format: "%n %u" units: @@ -148,6 +149,25 @@ pt-PT: mb: "MB" gb: "GB" tb: "TB" + # number_to_human() + # new in rails 3: please add to other locales + decimal_units: + format: "%n %u" + units: + unit: "" + thousand: "mil" + million: + one: milhão + other: milhões + billion: + one: bilhão + other: bilhões + trillion: + one: trilhão + other: trilhões + quadrillion: + one: quatrilhão + other: quatrilhões activerecord: errors: diff --git a/vendor/plugins/rails-i18n/locale/ro.yml b/vendor/plugins/rails-i18n/locale/ro.yml index 2acc6462f..ce47b0d96 100644 --- a/vendor/plugins/rails-i18n/locale/ro.yml +++ b/vendor/plugins/rails-i18n/locale/ro.yml @@ -117,7 +117,7 @@ ro: errors: template: header: - one: "Nu am putut salva acest model {{model}}: 1 eroare" + one: "Nu am putut salva acest {{model}}: o eroare" other: "Nu am putut salva acest {{model}}: {{count}} erori." body: "Încearcă să corectezi urmatoarele câmpuri:" messages: @@ -149,4 +149,4 @@ ro: last_word_connector: " şi " select: # default value for :prompt => true in FormOptionsHelper - prompt: "Alegeţi" \ No newline at end of file + prompt: "Alegeţi" diff --git a/vendor/plugins/rails-i18n/locale/sv-SE.yml b/vendor/plugins/rails-i18n/locale/sv-SE.yml index 9cccbb31f..41a4bdd35 100644 --- a/vendor/plugins/rails-i18n/locale/sv-SE.yml +++ b/vendor/plugins/rails-i18n/locale/sv-SE.yml @@ -101,7 +101,13 @@ errors: # model.errors.full_messages format. format: "{{attribute}} {{message}}" - + + template: + header: + one: "Ett fel förhindrade denna {{model}} från att sparas" + other: "{{count}} fel förhindrade denna {{model}} från att sparas" + body: "Det var problem med följande fält:" + # The values :model, :attribute and :value are always available for interpolation # The value :count is available when applicable. Can be used for pluralization. messages: diff --git a/vendor/plugins/rails-i18n/locale/zh-CN.yml b/vendor/plugins/rails-i18n/locale/zh-CN.yml index 020bda735..81e318df3 100644 --- a/vendor/plugins/rails-i18n/locale/zh-CN.yml +++ b/vendor/plugins/rails-i18n/locale/zh-CN.yml @@ -54,6 +54,9 @@ over_x_years: one: "一年多" other: "{{count}} 年多" + almost_x_years: + one: "接近一年" + other: "接近 {{count}} 年" prompts: year: "年" month: "月" @@ -100,16 +103,17 @@ words_connector: ", " two_words_connector: " 和 " last_word_connector: ", 和 " + select: + prompt: "请选择" activerecord: errors: - template: - header: + template: # ~ 2.3.5 backward compatible + header: one: "有 1 个错误发生导致「{{model}}」无法被保存。" other: "有 {{count}} 个错误发生导致「{{model}}」无法被保存。" body: "如下字段出现错误:" messages: - record_invalid: "校验失败: {{errors}}" inclusion: "不包含于列表中" exclusion: "是保留关键字" invalid: "是无效的" @@ -129,3 +133,14 @@ less_than_or_equal_to: "必须小于或等于 {{count}}" odd: "必须为单数" even: "必须为双数" + record_invalid: "校验失败: {{errors}}" + + activemodel: + errors: + template: + header: + one: "有 1 个错误发生导致「{{model}}」无法被保存。" + other: "有 {{count}} 个错误发生导致「{{model}}」无法被保存。" + body: "如下字段出现错误:" + + diff --git a/vendor/plugins/rails-i18n/locale/zh-TW.yml b/vendor/plugins/rails-i18n/locale/zh-TW.yml index 41e5b05ee..31a371260 100644 --- a/vendor/plugins/rails-i18n/locale/zh-TW.yml +++ b/vendor/plugins/rails-i18n/locale/zh-TW.yml @@ -54,6 +54,9 @@ over_x_years: one: "一年多" other: "{{count}} 年多" + almost_x_years: + one: "接近一年" + other: "接近 {{count}} 年" prompts: year: "年" month: "月" @@ -100,11 +103,13 @@ words_connector: ", " two_words_connector: " 和 " last_word_connector: ", 和 " + select: + prompt: "請選擇" activerecord: errors: - template: - header: + template: # ~ 2.3.5 backward compatible + header: one: "有 1 個錯誤發生使得「{{model}}」無法被儲存。" other: "有 {{count}} 個錯誤發生使得「{{model}}」無法被儲存。" body: "下面欄位有問題:" @@ -128,5 +133,14 @@ less_than_or_equal_to: "必須小於或等於 {{count}}" odd: "必須是奇數" even: "必須是偶數" + record_invalid: "校驗失敗: {{errors}}" + + activemodel: + errors: + template: + header: + one: "有 1 個錯誤發生使得「{{model}}」無法被儲存。" + other: "有 {{count}} 個錯誤發生使得「{{model}}」無法被儲存。" + body: "下面欄位有問題:" -- 2.43.2