From b7deda5dfac69dd346360228121c7cea235ecec4 Mon Sep 17 00:00:00 2001 From: LucasLeite Date: Thu, 21 May 2015 12:34:24 -0300 Subject: [PATCH] Fixing issues on translation to portuguese on new repository page --- app/helpers/repository_helper.rb | 2 +- config/locales/views/repository/en.yml | 9 +-------- config/locales/views/repository/pt.yml | 9 +-------- 3 files changed, 3 insertions(+), 17 deletions(-) diff --git a/app/helpers/repository_helper.rb b/app/helpers/repository_helper.rb index bf077e8..eeb5695 100644 --- a/app/helpers/repository_helper.rb +++ b/app/helpers/repository_helper.rb @@ -1,6 +1,6 @@ module RepositoryHelper def periodicity_options - [[t("periodicity.NOT_PERIODICALLY"), 0], [t("periodicity.1_DAY"), 1], [t("periodicity.2_DAYS"), 2], [t("periodicity.WEEKLY"), 7], [t("periodicity.BIWEEKLY"), 15], [t("periodicity.MONTHLY"), 30]] + [["Not Periodically", 0], ["1 day", 1], ["2 days", 2], ["Weekly", 7], ["Biweekly", 15], ["Monthly", 30]] end def license_options diff --git a/config/locales/views/repository/en.yml b/config/locales/views/repository/en.yml index 6442a7f..fd310e5 100644 --- a/config/locales/views/repository/en.yml +++ b/config/locales/views/repository/en.yml @@ -33,11 +33,4 @@ en: modules_tree: "Modules Tree" metric_results: "Metric Results" loading: "Loading data. Please, wait." - date_processing: "Retrieve the closest processing information from" - periodicity: - NOT_PERIODICALLY: "Not Periodically" - 1_DAY: "1 day" - 2_DAYS: "2 days" - WEEKLY: "Weekly" - BIWEEKLY: "Biweekly" - MONTHLY: "Monthly" \ No newline at end of file + date_processing: "Retrieve the closest processing information from" \ No newline at end of file diff --git a/config/locales/views/repository/pt.yml b/config/locales/views/repository/pt.yml index 2b426be..3a816bc 100644 --- a/config/locales/views/repository/pt.yml +++ b/config/locales/views/repository/pt.yml @@ -33,11 +33,4 @@ pt: modules_tree: "Árvore de Módulos" metric_results: "Resultados de Métrica" loading: "Carregando os dados. Por favor, aguarde." - date_processing: "Obtenha a informação de processamento mais próxima a" - periodicity: - NOT_PERIODICALLY: "Não Periodicamente" - 1_DAY: "1 dia" - 2_DAYS: "2 dias" - WEEKLY: "Semanal" - BIWEEKLY: "Quinzenal" - MONTHLY: "Mensal" \ No newline at end of file + date_processing: "Obtenha a informação de processamento mais próxima a" \ No newline at end of file -- libgit2 0.21.2