From 3f1c9db17eed063190c51bc5aa81cffa9ea617a4 Mon Sep 17 00:00:00 2001 From: Ace Suares Date: Sun, 12 Aug 2018 17:00:32 -0400 Subject: [PATCH 01/12] =?UTF-8?q?Papiamento=20(Aruba:pap-AW,=20Cura=C3=A7a?= =?UTF-8?q?o=20&=20Bonarie:pap-CW)=20translation=20by=20Maduro,=20Hellings?= =?UTF-8?q?=20and=20Ansano?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rails/locale/iso-639-2/pap-AW.yml | 48 +++++++++++++++---------------- rails/locale/iso-639-2/pap-CW.yml | 46 ++++++++++++++--------------- 2 files changed, 47 insertions(+), 47 deletions(-) diff --git a/rails/locale/iso-639-2/pap-AW.yml b/rails/locale/iso-639-2/pap-AW.yml index e743025ae..69143b3a2 100644 --- a/rails/locale/iso-639-2/pap-AW.yml +++ b/rails/locale/iso-639-2/pap-AW.yml @@ -1,14 +1,14 @@ -# pap-AW copy of pap-CW and by no means correct. By M. Maduro for Suares & Co -pap-AW: +# pap-CW merged M. Maduro and Rianne Helings by Richenel Ansano for Suares & Co +pap-CW: date: abbr_day_names: - - Dum - - Lun - - Mar - - Ras - - Wep - - Biè - - Sab + - dum + - lun + - mar + - ras + - wep + - biè + - sab abbr_month_names: - - yan @@ -50,9 +50,9 @@ pap-AW: - novèmber - desèmber order: - - :year - - :month - - :day + - :aña + - :luna + - :dia datetime: distance_in_words: about_x_hours: @@ -60,7 +60,7 @@ pap-AW: other: mas o ménos %{count} ora about_x_months: one: mas o ménos 1 luna - other: about %{count} luna + other: mas o ménos %{count} luna about_x_years: one: mas o ménos 1 aña other: mas o ménos %{count} aña @@ -69,7 +69,7 @@ pap-AW: other: kasi %{count} aña half_a_minute: mei minüt less_than_x_minutes: - one: ménos ku un minüt + one: ménos ku 1 minüt other: ménos ku %{count} minüt less_than_x_seconds: one: ménos ku 1 sekònde @@ -84,10 +84,10 @@ pap-AW: one: 1 minüt other: ! '%{count} minüt' x_months: - one: 1 month + one: 1 luna other: ! '%{count} luna' x_seconds: - one: 1 second + one: 1 sekònde other: ! '%{count} sekònde' prompts: day: Dia @@ -126,7 +126,7 @@ pap-AW: other: ta muchu largu (máksimo ta %{count} karakter) too_short: one: ta muchu kòrtiku (mínimo ta 1 karakter) - other: is too short (mínimo ta %{count} karakter) + other: ta muchu kòrtiku (mínimo ta %{count} karakter) wrong_length: one: su largura no ta korekto (mester ta 1 karakter) other: su largura no ta korekto (mester ta %{count} karakter) @@ -134,7 +134,7 @@ pap-AW: template: body: ! 'E siguiente rúbrikanan ta duna problema:' header: - one: 1 fout a pone ku no por a save e %{model} akí + one: 1 fout a pone ku no por a warda e %{model} akí other: ! '%{count} fout a pone ku no por a save e %{model} akí' helpers: select: @@ -157,8 +157,8 @@ pap-AW: delimiter: ! '.' precision: 3 separator: ',' - significant: false - strip_insignificant_zeros: false + significant: falsu + strip_insignificant_zeros: falsu human: decimal_units: format: ! '%n %u' @@ -172,14 +172,14 @@ pap-AW: format: delimiter: '' precision: 3 - significant: true - strip_insignificant_zeros: true + significant: bèrdat + strip_insignificant_zeros: bèrdat storage_units: format: ! '%n %u' units: byte: - one: Byte - other: Bytes + one: Bait + other: Bait gb: GB kb: KB mb: MB diff --git a/rails/locale/iso-639-2/pap-CW.yml b/rails/locale/iso-639-2/pap-CW.yml index a862fa3cf..69143b3a2 100644 --- a/rails/locale/iso-639-2/pap-CW.yml +++ b/rails/locale/iso-639-2/pap-CW.yml @@ -1,14 +1,14 @@ -# pap-CW by M. Madurao for Suares & Co +# pap-CW merged M. Maduro and Rianne Helings by Richenel Ansano for Suares & Co pap-CW: date: abbr_day_names: - - Dum - - Lun - - Mar - - Ras - - Wep - - Biè - - Sab + - dum + - lun + - mar + - ras + - wep + - biè + - sab abbr_month_names: - - yan @@ -50,9 +50,9 @@ pap-CW: - novèmber - desèmber order: - - :year - - :month - - :day + - :aña + - :luna + - :dia datetime: distance_in_words: about_x_hours: @@ -60,7 +60,7 @@ pap-CW: other: mas o ménos %{count} ora about_x_months: one: mas o ménos 1 luna - other: about %{count} luna + other: mas o ménos %{count} luna about_x_years: one: mas o ménos 1 aña other: mas o ménos %{count} aña @@ -69,7 +69,7 @@ pap-CW: other: kasi %{count} aña half_a_minute: mei minüt less_than_x_minutes: - one: ménos ku un minüt + one: ménos ku 1 minüt other: ménos ku %{count} minüt less_than_x_seconds: one: ménos ku 1 sekònde @@ -84,10 +84,10 @@ pap-CW: one: 1 minüt other: ! '%{count} minüt' x_months: - one: 1 month + one: 1 luna other: ! '%{count} luna' x_seconds: - one: 1 second + one: 1 sekònde other: ! '%{count} sekònde' prompts: day: Dia @@ -126,7 +126,7 @@ pap-CW: other: ta muchu largu (máksimo ta %{count} karakter) too_short: one: ta muchu kòrtiku (mínimo ta 1 karakter) - other: is too short (mínimo ta %{count} karakter) + other: ta muchu kòrtiku (mínimo ta %{count} karakter) wrong_length: one: su largura no ta korekto (mester ta 1 karakter) other: su largura no ta korekto (mester ta %{count} karakter) @@ -134,7 +134,7 @@ pap-CW: template: body: ! 'E siguiente rúbrikanan ta duna problema:' header: - one: 1 fout a pone ku no por a save e %{model} akí + one: 1 fout a pone ku no por a warda e %{model} akí other: ! '%{count} fout a pone ku no por a save e %{model} akí' helpers: select: @@ -157,8 +157,8 @@ pap-CW: delimiter: ! '.' precision: 3 separator: ',' - significant: false - strip_insignificant_zeros: false + significant: falsu + strip_insignificant_zeros: falsu human: decimal_units: format: ! '%n %u' @@ -172,14 +172,14 @@ pap-CW: format: delimiter: '' precision: 3 - significant: true - strip_insignificant_zeros: true + significant: bèrdat + strip_insignificant_zeros: bèrdat storage_units: format: ! '%n %u' units: byte: - one: Byte - other: Bytes + one: Bait + other: Bait gb: GB kb: KB mb: MB From cbab951afaa8bc56757d34b21fe1a4185c5e09f0 Mon Sep 17 00:00:00 2001 From: Ace Suares Date: Sun, 12 Aug 2018 17:04:58 -0400 Subject: [PATCH 02/12] =?UTF-8?q?Papiamento=20(Aruba:pap-AW,=20Cura=C3=A7a?= =?UTF-8?q?o=20&=20Bonarie:pap-CW)=20translation=20by=20Maduro,=20Hellings?= =?UTF-8?q?=20and=20Ansano=20(move=20out=20of=20iso-639-2=20folder)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rails/locale/{iso-639-2 => }/pap-AW.yml | 0 rails/locale/{iso-639-2 => }/pap-CW.yml | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename rails/locale/{iso-639-2 => }/pap-AW.yml (100%) rename rails/locale/{iso-639-2 => }/pap-CW.yml (100%) diff --git a/rails/locale/iso-639-2/pap-AW.yml b/rails/locale/pap-AW.yml similarity index 100% rename from rails/locale/iso-639-2/pap-AW.yml rename to rails/locale/pap-AW.yml diff --git a/rails/locale/iso-639-2/pap-CW.yml b/rails/locale/pap-CW.yml similarity index 100% rename from rails/locale/iso-639-2/pap-CW.yml rename to rails/locale/pap-CW.yml From ade0ad15322831baf15bfa7aa4f280992a1028a6 Mon Sep 17 00:00:00 2001 From: Ace Suares Date: Sun, 12 Aug 2018 17:06:37 -0400 Subject: [PATCH 03/12] =?UTF-8?q?Papiamento=20(Aruba:pap-AW,=20Cura=C3=A7a?= =?UTF-8?q?o=20&=20Bonarie:pap-CW)=20translation=20by=20Maduro,=20Hellings?= =?UTF-8?q?=20and=20Ansano=20(move=20out=20of=20iso-639-2=20folder)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rails/locale/pap-AW.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rails/locale/pap-AW.yml b/rails/locale/pap-AW.yml index 69143b3a2..fff65fb2a 100644 --- a/rails/locale/pap-AW.yml +++ b/rails/locale/pap-AW.yml @@ -1,5 +1,5 @@ # pap-CW merged M. Maduro and Rianne Helings by Richenel Ansano for Suares & Co -pap-CW: +pap-AW: date: abbr_day_names: - dum From b25a1843f30165713ebb44b6a5694d09f4c71791 Mon Sep 17 00:00:00 2001 From: Ace Suares Date: Wed, 17 Oct 2018 07:21:22 -0400 Subject: [PATCH 04/12] Removed record_invalid https://travis-ci.org/svenfuchs/rails-i18n/jobs/415207860 It caused errors --- rails/locale/pap-AW.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/rails/locale/pap-AW.yml b/rails/locale/pap-AW.yml index fff65fb2a..70e3eb529 100644 --- a/rails/locale/pap-AW.yml +++ b/rails/locale/pap-AW.yml @@ -116,10 +116,6 @@ pap-AW: not_a_number: no ta un number not_an_integer: mester ta un number hinté odd: mester ta impar - record_invalid: ! 'Validashon a faya: %{errors}' - restrict_dependent_destroy: - one: "No por kita e registro akí pasobra un otro %{record} ta dependé di dje" - many: "No por kita e registro akí pasobra otro %{record} ta dependé di dje" taken: ta usá kaba too_long: one: ta muchu largu (máksimo ta 1 karakter) From 69ce316db691325e550659bca6cac64632fa553b Mon Sep 17 00:00:00 2001 From: Ace Suares Date: Wed, 17 Oct 2018 07:33:10 -0400 Subject: [PATCH 05/12] Moved around soms strings they gave errors --- rails/locale/pap-CW.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/rails/locale/pap-CW.yml b/rails/locale/pap-CW.yml index 69143b3a2..0acd395be 100644 --- a/rails/locale/pap-CW.yml +++ b/rails/locale/pap-CW.yml @@ -1,5 +1,12 @@ # pap-CW merged M. Maduro and Rianne Helings by Richenel Ansano for Suares & Co pap-CW: + activerecord: + errors: + messages: + record_invalid: 'Validashon a faya: %{errors}' + restrict_dependent_destroy: + one: "No por kita e registro akí pasobra un otro %{record} ta dependé di dje" + many: "No por kita e registro akí pasobra otro %{record} ta dependé di dje" date: abbr_day_names: - dum @@ -97,7 +104,7 @@ pap-CW: second: Sekònde year: Aña errors: - format: ! '%{attribute} %{message}' + format: '%{attribute} %{message}' messages: accepted: mester asept'é blank: no por keda sin yen'é @@ -116,10 +123,6 @@ pap-CW: not_a_number: no ta un number not_an_integer: mester ta un number hinté odd: mester ta impar - record_invalid: ! 'Validashon a faya: %{errors}' - restrict_dependent_destroy: - one: "No por kita e registro akí pasobra un otro %{record} ta dependé di dje" - many: "No por kita e registro akí pasobra otro %{record} ta dependé di dje" taken: ta usá kaba too_long: one: ta muchu largu (máksimo ta 1 karakter) From 9142c9fc810a31245ed4acd43c5ac915c95f0914 Mon Sep 17 00:00:00 2001 From: Ace Suares Date: Wed, 17 Oct 2018 07:34:16 -0400 Subject: [PATCH 06/12] moved some strings around they gave errors --- rails/locale/pap-AW.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/rails/locale/pap-AW.yml b/rails/locale/pap-AW.yml index 70e3eb529..db1070426 100644 --- a/rails/locale/pap-AW.yml +++ b/rails/locale/pap-AW.yml @@ -1,5 +1,12 @@ # pap-CW merged M. Maduro and Rianne Helings by Richenel Ansano for Suares & Co pap-AW: + activerecord: + errors: + messages: + record_invalid: 'Validashon a faya: %{errors}' + restrict_dependent_destroy: + one: "No por kita e registro akí pasobra un otro %{record} ta dependé di dje" + many: "No por kita e registro akí pasobra otro %{record} ta dependé di dje" date: abbr_day_names: - dum @@ -97,7 +104,7 @@ pap-AW: second: Sekònde year: Aña errors: - format: ! '%{attribute} %{message}' + format: '%{attribute} %{message}' messages: accepted: mester asept'é blank: no por keda sin yen'é From f174bd0aaf644b83c11806329cd2b853985e4771 Mon Sep 17 00:00:00 2001 From: Ace Suares Date: Wed, 17 Oct 2018 08:21:11 -0400 Subject: [PATCH 07/12] corrected errors in pap-AW and pap-CW --- rails/locale/pap-AW.yml | 57 +++++++++++++++++++++++------------------ rails/locale/pap-CW.yml | 53 +++++++++++++++++++++----------------- 2 files changed, 62 insertions(+), 48 deletions(-) diff --git a/rails/locale/pap-AW.yml b/rails/locale/pap-AW.yml index db1070426..b71177265 100644 --- a/rails/locale/pap-AW.yml +++ b/rails/locale/pap-AW.yml @@ -1,12 +1,12 @@ -# pap-CW merged M. Maduro and Rianne Helings by Richenel Ansano for Suares & Co -pap-AW: +# pap-AW merged M. Maduro and Rianne Helings by Richenel Ansano for Suares & Co +pap-CW: activerecord: errors: messages: record_invalid: 'Validashon a faya: %{errors}' restrict_dependent_destroy: - one: "No por kita e registro akí pasobra un otro %{record} ta dependé di dje" - many: "No por kita e registro akí pasobra otro %{record} ta dependé di dje" + has_one: "No por kita e registro akí pasobra un otro %{record} ta dependé di dje" + has_many: "No por kita e registro akí pasobra otro %{record} ta dependé di dje" date: abbr_day_names: - dum @@ -39,9 +39,9 @@ pap-AW: - djabièrnè - djasabra formats: - default: ! '%Y-%m-%d' - long: ! '%B di %d, %Y' - short: ! '%b di %d' + default: '%Y-%m-%d' + long: '%B di %d, %Y' + short: '%b di %d' month_names: - - yanüari @@ -86,16 +86,19 @@ pap-AW: other: mas ku %{count} aña x_days: one: 1 dia - other: ! '%{count} dia' + other: '%{count} dia' x_minutes: one: 1 minüt - other: ! '%{count} minüt' + other: '%{count} minüt' x_months: one: 1 luna - other: ! '%{count} luna' + other: '%{count} luna' + x_years: + one: 1 year + other: "%{count} years" x_seconds: one: 1 sekònde - other: ! '%{count} sekònde' + other: '%{count} sekònde' prompts: day: Dia hour: Ora @@ -109,7 +112,7 @@ pap-AW: accepted: mester asept'é blank: no por keda sin yen'é present: mester keda bashí - confirmation: ! "no ta meskos %{attribute}" + confirmation: "no ta meskos %{attribute}" empty: no por keda bashí equal_to: mester ta meskos ku %{count} even: mester ta par @@ -120,9 +123,11 @@ pap-AW: invalid: no ta bálido less_than: mester ta ménos ku %{count} less_than_or_equal_to: mester ta ménos òf mes tantu ku %{count} + model_invalid: "Validation failed: %{errors}" not_a_number: no ta un number not_an_integer: mester ta un number hinté odd: mester ta impar + required: must exist taken: ta usá kaba too_long: one: ta muchu largu (máksimo ta 1 karakter) @@ -135,10 +140,10 @@ pap-AW: other: su largura no ta korekto (mester ta %{count} karakter) other_than: "no por ta %{count}" template: - body: ! 'E siguiente rúbrikanan ta duna problema:' + body: 'E siguiente rúbrikanan ta duna problema:' header: one: 1 fout a pone ku no por a warda e %{model} akí - other: ! '%{count} fout a pone ku no por a save e %{model} akí' + other: '%{count} fout a pone ku no por a save e %{model} akí' helpers: select: prompt: Por fabor skohe @@ -149,22 +154,22 @@ pap-AW: number: currency: format: - delimiter: ! '.' - format: ! '%u%n' + delimiter: '.' + format: '%u%n' precision: 2 separator: ',' significant: false strip_insignificant_zeros: false unit: ANG format: - delimiter: ! '.' + delimiter: '.' precision: 3 separator: ',' significant: falsu strip_insignificant_zeros: falsu human: decimal_units: - format: ! '%n %u' + format: '%n %u' units: billion: bion million: mion @@ -178,7 +183,7 @@ pap-AW: significant: bèrdat strip_insignificant_zeros: bèrdat storage_units: - format: ! '%n %u' + format: '%n %u' units: byte: one: Bait @@ -187,6 +192,8 @@ pap-AW: kb: KB mb: MB tb: TB + pb: PB + eb: EB percentage: format: delimiter: '' @@ -196,13 +203,13 @@ pap-AW: delimiter: '' support: array: - last_word_connector: ! ', i ' - two_words_connector: ! ' i ' - words_connector: ! ', ' + last_word_connector: ', i ' + two_words_connector: ' i ' + words_connector: ', ' time: am: am formats: - default: ! '%a, %d %b %Y %H.%M.%S %z' - long: ! '%B %d, %Y %H.%M' - short: ! '%d %b %H.%M' + default: '%a, %d %b %Y %H.%M.%S %z' + long: '%B %d, %Y %H.%M' + short: '%d %b %H.%M' pm: pm diff --git a/rails/locale/pap-CW.yml b/rails/locale/pap-CW.yml index 0acd395be..ac0c2d3b7 100644 --- a/rails/locale/pap-CW.yml +++ b/rails/locale/pap-CW.yml @@ -5,8 +5,8 @@ pap-CW: messages: record_invalid: 'Validashon a faya: %{errors}' restrict_dependent_destroy: - one: "No por kita e registro akí pasobra un otro %{record} ta dependé di dje" - many: "No por kita e registro akí pasobra otro %{record} ta dependé di dje" + has_one: "No por kita e registro akí pasobra un otro %{record} ta dependé di dje" + has_many: "No por kita e registro akí pasobra otro %{record} ta dependé di dje" date: abbr_day_names: - dum @@ -39,9 +39,9 @@ pap-CW: - djabièrnè - djasabra formats: - default: ! '%Y-%m-%d' - long: ! '%B di %d, %Y' - short: ! '%b di %d' + default: '%Y-%m-%d' + long: '%B di %d, %Y' + short: '%b di %d' month_names: - - yanüari @@ -86,16 +86,19 @@ pap-CW: other: mas ku %{count} aña x_days: one: 1 dia - other: ! '%{count} dia' + other: '%{count} dia' x_minutes: one: 1 minüt - other: ! '%{count} minüt' + other: '%{count} minüt' x_months: one: 1 luna - other: ! '%{count} luna' + other: '%{count} luna' + x_years: + one: 1 year + other: "%{count} years" x_seconds: one: 1 sekònde - other: ! '%{count} sekònde' + other: '%{count} sekònde' prompts: day: Dia hour: Ora @@ -109,7 +112,7 @@ pap-CW: accepted: mester asept'é blank: no por keda sin yen'é present: mester keda bashí - confirmation: ! "no ta meskos %{attribute}" + confirmation: "no ta meskos %{attribute}" empty: no por keda bashí equal_to: mester ta meskos ku %{count} even: mester ta par @@ -120,9 +123,11 @@ pap-CW: invalid: no ta bálido less_than: mester ta ménos ku %{count} less_than_or_equal_to: mester ta ménos òf mes tantu ku %{count} + model_invalid: "Validation failed: %{errors}" not_a_number: no ta un number not_an_integer: mester ta un number hinté odd: mester ta impar + required: must exist taken: ta usá kaba too_long: one: ta muchu largu (máksimo ta 1 karakter) @@ -135,10 +140,10 @@ pap-CW: other: su largura no ta korekto (mester ta %{count} karakter) other_than: "no por ta %{count}" template: - body: ! 'E siguiente rúbrikanan ta duna problema:' + body: 'E siguiente rúbrikanan ta duna problema:' header: one: 1 fout a pone ku no por a warda e %{model} akí - other: ! '%{count} fout a pone ku no por a save e %{model} akí' + other: '%{count} fout a pone ku no por a save e %{model} akí' helpers: select: prompt: Por fabor skohe @@ -149,22 +154,22 @@ pap-CW: number: currency: format: - delimiter: ! '.' - format: ! '%u%n' + delimiter: '.' + format: '%u%n' precision: 2 separator: ',' significant: false strip_insignificant_zeros: false unit: ANG format: - delimiter: ! '.' + delimiter: '.' precision: 3 separator: ',' significant: falsu strip_insignificant_zeros: falsu human: decimal_units: - format: ! '%n %u' + format: '%n %u' units: billion: bion million: mion @@ -178,7 +183,7 @@ pap-CW: significant: bèrdat strip_insignificant_zeros: bèrdat storage_units: - format: ! '%n %u' + format: '%n %u' units: byte: one: Bait @@ -187,6 +192,8 @@ pap-CW: kb: KB mb: MB tb: TB + pb: PB + eb: EB percentage: format: delimiter: '' @@ -196,13 +203,13 @@ pap-CW: delimiter: '' support: array: - last_word_connector: ! ', i ' - two_words_connector: ! ' i ' - words_connector: ! ', ' + last_word_connector: ', i ' + two_words_connector: ' i ' + words_connector: ', ' time: am: am formats: - default: ! '%a, %d %b %Y %H.%M.%S %z' - long: ! '%B %d, %Y %H.%M' - short: ! '%d %b %H.%M' + default: '%a, %d %b %Y %H.%M.%S %z' + long: '%B %d, %Y %H.%M' + short: '%d %b %H.%M' pm: pm From 4c4440c9ad74fb294180d6eeef126c9ef6bdc498 Mon Sep 17 00:00:00 2001 From: Ace Suares Date: Wed, 17 Oct 2018 08:26:59 -0400 Subject: [PATCH 08/12] corrected errors in pap-AW and pap-CW --- rails/locale/pap-AW.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rails/locale/pap-AW.yml b/rails/locale/pap-AW.yml index b71177265..0642f6ddc 100644 --- a/rails/locale/pap-AW.yml +++ b/rails/locale/pap-AW.yml @@ -1,5 +1,5 @@ # pap-AW merged M. Maduro and Rianne Helings by Richenel Ansano for Suares & Co -pap-CW: +pap-AW: activerecord: errors: messages: From 7ab1a13898d246bb2093f784be17a2773f6500d5 Mon Sep 17 00:00:00 2001 From: Ace Suares Date: Tue, 9 Jun 2020 20:01:50 -0400 Subject: [PATCH 09/12] added pluralization files for pap-AW and pap-CW --- rails/pluralization/pap-AW.rb | 3 +++ rails/pluralization/pap-CW.rb | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 rails/pluralization/pap-AW.rb create mode 100644 rails/pluralization/pap-CW.rb diff --git a/rails/pluralization/pap-AW.rb b/rails/pluralization/pap-AW.rb new file mode 100644 index 000000000..407c55866 --- /dev/null +++ b/rails/pluralization/pap-AW.rb @@ -0,0 +1,3 @@ +require 'rails_i18n/common_pluralizations/one_other' + +::RailsI18n::Pluralization::OneOther.with_locale(:'pap-AW') diff --git a/rails/pluralization/pap-CW.rb b/rails/pluralization/pap-CW.rb new file mode 100644 index 000000000..78c6b756d --- /dev/null +++ b/rails/pluralization/pap-CW.rb @@ -0,0 +1,3 @@ +require 'rails_i18n/common_pluralizations/one_other' + +::RailsI18n::Pluralization::OneOther.with_locale(:'pap-CW') From 3266539c07cd8661b5371afb48888168f37bba52 Mon Sep 17 00:00:00 2001 From: Ace Suares Date: Tue, 9 Jun 2020 20:13:08 -0400 Subject: [PATCH 10/12] added activerecord error message as per README.md --- rails/locale/pap-AW.yml | 2 ++ rails/locale/pap-CW.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/rails/locale/pap-AW.yml b/rails/locale/pap-AW.yml index 0642f6ddc..24356b10f 100644 --- a/rails/locale/pap-AW.yml +++ b/rails/locale/pap-AW.yml @@ -7,6 +7,8 @@ pap-AW: restrict_dependent_destroy: has_one: "No por kita e registro akí pasobra un otro %{record} ta dependé di dje" has_many: "No por kita e registro akí pasobra otro %{record} ta dependé di dje" + model_invalid: MODEL INVALID + required: REQUIRED date: abbr_day_names: - dum diff --git a/rails/locale/pap-CW.yml b/rails/locale/pap-CW.yml index ac0c2d3b7..019c93768 100644 --- a/rails/locale/pap-CW.yml +++ b/rails/locale/pap-CW.yml @@ -7,6 +7,8 @@ pap-CW: restrict_dependent_destroy: has_one: "No por kita e registro akí pasobra un otro %{record} ta dependé di dje" has_many: "No por kita e registro akí pasobra otro %{record} ta dependé di dje" + model_invalid: MODEL INVALID + required: REQUIRED date: abbr_day_names: - dum From 7e80626df6ce60a36c73d6ecd20c2ef4858db381 Mon Sep 17 00:00:00 2001 From: Ace Suares Date: Tue, 9 Jun 2020 20:20:20 -0400 Subject: [PATCH 11/12] deleted activerecord error message and edited README.md --- README.md | 3 +++ rails/locale/pap-AW.yml | 2 -- rails/locale/pap-CW.yml | 2 -- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index de15a8326..962fc6f18 100644 --- a/README.md +++ b/README.md @@ -80,6 +80,9 @@ Currently, most locales are incomplete. Typically they lack the following keys: - `activerecord.errors.messages.record_invalid` - `activerecord.errors.messages.restrict_dependent_destroy.has_one` - `activerecord.errors.messages.restrict_dependent_destroy.has_many` + +The following keys should NOT be included: + - `errors.messages.model_invalid` - `errors.messages.required` diff --git a/rails/locale/pap-AW.yml b/rails/locale/pap-AW.yml index 24356b10f..0642f6ddc 100644 --- a/rails/locale/pap-AW.yml +++ b/rails/locale/pap-AW.yml @@ -7,8 +7,6 @@ pap-AW: restrict_dependent_destroy: has_one: "No por kita e registro akí pasobra un otro %{record} ta dependé di dje" has_many: "No por kita e registro akí pasobra otro %{record} ta dependé di dje" - model_invalid: MODEL INVALID - required: REQUIRED date: abbr_day_names: - dum diff --git a/rails/locale/pap-CW.yml b/rails/locale/pap-CW.yml index 019c93768..ac0c2d3b7 100644 --- a/rails/locale/pap-CW.yml +++ b/rails/locale/pap-CW.yml @@ -7,8 +7,6 @@ pap-CW: restrict_dependent_destroy: has_one: "No por kita e registro akí pasobra un otro %{record} ta dependé di dje" has_many: "No por kita e registro akí pasobra otro %{record} ta dependé di dje" - model_invalid: MODEL INVALID - required: REQUIRED date: abbr_day_names: - dum From efdf7dc5ffec0c776a3d262399801eba41dc4b8c Mon Sep 17 00:00:00 2001 From: Ace Suares Date: Wed, 10 Jun 2020 07:48:36 -0400 Subject: [PATCH 12/12] Papiamento has Other, not OneOther! --- rails/pluralization/pap-AW.rb | 4 ++-- rails/pluralization/pap-CW.rb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rails/pluralization/pap-AW.rb b/rails/pluralization/pap-AW.rb index 407c55866..f366c03fc 100644 --- a/rails/pluralization/pap-AW.rb +++ b/rails/pluralization/pap-AW.rb @@ -1,3 +1,3 @@ -require 'rails_i18n/common_pluralizations/one_other' +require 'rails_i18n/common_pluralizations/other' -::RailsI18n::Pluralization::OneOther.with_locale(:'pap-AW') +::RailsI18n::Pluralization::Other.with_locale(:'pap-AW') diff --git a/rails/pluralization/pap-CW.rb b/rails/pluralization/pap-CW.rb index 78c6b756d..0859570c9 100644 --- a/rails/pluralization/pap-CW.rb +++ b/rails/pluralization/pap-CW.rb @@ -1,3 +1,3 @@ -require 'rails_i18n/common_pluralizations/one_other' +require 'rails_i18n/common_pluralizations/other' -::RailsI18n::Pluralization::OneOther.with_locale(:'pap-CW') +::RailsI18n::Pluralization::Other.with_locale(:'pap-CW')