From 810599bef254c16f6637c3eaa2129ecfae12f874 Mon Sep 17 00:00:00 2001 From: Luka Murn Date: Thu, 8 Jun 2017 13:36:37 +0200 Subject: [PATCH] Fix en.yml localization bug --- app/models/my_module.rb | 6 +++--- config/locales/en.yml | 6 ------ 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/app/models/my_module.rb b/app/models/my_module.rb index 51e21715a..27937bfeb 100644 --- a/app/models/my_module.rb +++ b/app/models/my_module.rb @@ -329,9 +329,9 @@ class MyModule < ActiveRecord::Base # Prepare column headers headers = [ - I18n.t('repositories.table.name'), - I18n.t('repositories.table.created_at'), - I18n.t('repositories.table.created_by') + I18n.t('repositories.table.row_name'), + I18n.t('repositories.table.added_on'), + I18n.t('repositories.table.added_by') ] { data: data, headers: headers } end diff --git a/config/locales/en.yml b/config/locales/en.yml index 6bb8078a2..f1fe755b3 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1039,12 +1039,6 @@ en: destroy_modal_submit: 'Permanently delete sample type' destroy_flash: "\"%{name}\" sample type was successfully deleted!" - repositories: - table: - name: 'Name' - created_at: 'Added on' - created_by: 'Added by' - custom_fields: new: title_html: "Add new column to team %{team}"