From d45a2285dbcf4cd75c55dc04a2f60b2645ba188a Mon Sep 17 00:00:00 2001 From: voodoorai2000 Date: Tue, 6 Nov 2018 14:53:24 +0100 Subject: [PATCH] Remove i18n date order key MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We are having some trouble where people are translating the `date.order` key. These keys are supposed to have the symbols :year, :month, :day and not be translated to for exampe :año, :mes, :día Really these keys are not needed in the translation file as rails is picking up `date.format`[1] key instead of `date.order` So we can safely remove this problematic key [1] https://github.com/consul/consul/blob/master/config/locales/en/rails.yml#L54 --- config/locales/en/rails.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/config/locales/en/rails.yml b/config/locales/en/rails.yml index 403552887..ff13877da 100644 --- a/config/locales/en/rails.yml +++ b/config/locales/en/rails.yml @@ -68,10 +68,6 @@ en: - October - November - December - order: - - :year - - :month - - :day datetime: distance_in_words: about_x_hours: @@ -224,4 +220,4 @@ en: long: "%B %d, %Y %H:%M" short: "%d %b %H:%M" api: "%Y-%m-%d %H" - pm: pm \ No newline at end of file + pm: pm