From b91019ad6428e2b17ea9779147d1b37121ccf3d6 Mon Sep 17 00:00:00 2001 From: Kristina Lim Date: Fri, 20 Jul 2018 12:53:41 +0800 Subject: [PATCH] Split translation key for enterprise manage button The ".manage" key is still used by the column header for the "Manage" buttons. --- app/views/admin/enterprises/_enterprise_user_index.html.haml | 2 +- config/locales/en.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/admin/enterprises/_enterprise_user_index.html.haml b/app/views/admin/enterprises/_enterprise_user_index.html.haml index 4129da6b93..0afa9317e9 100644 --- a/app/views/admin/enterprises/_enterprise_user_index.html.haml +++ b/app/views/admin/enterprises/_enterprise_user_index.html.haml @@ -40,7 +40,7 @@ %i.icon-status{ ng: { class: "enterprise.status" } } %td.manage{ ng: { show: 'columns.manage.visible' } } %a.button.fullwidth{ ng: { href: '{{::enterprise.edit_path}}' } } - = t('.manage') + = t('.manage_link') %i.icon-arrow-right %tr.panel-row{ object: "enterprise", panels: "{producer: 'enterprise_producer', package: 'enterprise_package', status: 'enterprise_status'}" } diff --git a/config/locales/en.yml b/config/locales/en.yml index d1f17bfa5a..67a53ef640 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -788,6 +788,7 @@ en: no_enterprises_found: No enterprises found. search_placeholder: Search By Name manage: Manage + manage_link: Manage new_form: owner: Owner owner_tip: The primary user responsible for this enterprise.