Commit b7deda5dfac69dd346360228121c7cea235ecec4
1 parent
b8fa58f9
Exists in
colab
and in
4 other branches
Fixing issues on translation to portuguese on new repository page
Showing
3 changed files
with
3 additions
and
17 deletions
Show diff stats
app/helpers/repository_helper.rb
1 | module RepositoryHelper | 1 | module RepositoryHelper |
2 | def periodicity_options | 2 | def periodicity_options |
3 | - [[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]] | 3 | + [["Not Periodically", 0], ["1 day", 1], ["2 days", 2], ["Weekly", 7], ["Biweekly", 15], ["Monthly", 30]] |
4 | end | 4 | end |
5 | 5 | ||
6 | def license_options | 6 | def license_options |
config/locales/views/repository/en.yml
@@ -33,11 +33,4 @@ en: | @@ -33,11 +33,4 @@ en: | ||
33 | modules_tree: "Modules Tree" | 33 | modules_tree: "Modules Tree" |
34 | metric_results: "Metric Results" | 34 | metric_results: "Metric Results" |
35 | loading: "Loading data. Please, wait." | 35 | loading: "Loading data. Please, wait." |
36 | - date_processing: "Retrieve the closest processing information from" | ||
37 | - periodicity: | ||
38 | - NOT_PERIODICALLY: "Not Periodically" | ||
39 | - 1_DAY: "1 day" | ||
40 | - 2_DAYS: "2 days" | ||
41 | - WEEKLY: "Weekly" | ||
42 | - BIWEEKLY: "Biweekly" | ||
43 | - MONTHLY: "Monthly" | ||
44 | \ No newline at end of file | 36 | \ No newline at end of file |
37 | + date_processing: "Retrieve the closest processing information from" | ||
45 | \ No newline at end of file | 38 | \ No newline at end of file |
config/locales/views/repository/pt.yml
@@ -33,11 +33,4 @@ pt: | @@ -33,11 +33,4 @@ pt: | ||
33 | modules_tree: "Árvore de Módulos" | 33 | modules_tree: "Árvore de Módulos" |
34 | metric_results: "Resultados de Métrica" | 34 | metric_results: "Resultados de Métrica" |
35 | loading: "Carregando os dados. Por favor, aguarde." | 35 | loading: "Carregando os dados. Por favor, aguarde." |
36 | - date_processing: "Obtenha a informação de processamento mais próxima a" | ||
37 | - periodicity: | ||
38 | - NOT_PERIODICALLY: "Não Periodicamente" | ||
39 | - 1_DAY: "1 dia" | ||
40 | - 2_DAYS: "2 dias" | ||
41 | - WEEKLY: "Semanal" | ||
42 | - BIWEEKLY: "Quinzenal" | ||
43 | - MONTHLY: "Mensal" | ||
44 | \ No newline at end of file | 36 | \ No newline at end of file |
37 | + date_processing: "Obtenha a informação de processamento mais próxima a" | ||
45 | \ No newline at end of file | 38 | \ No newline at end of file |