From 66202436035f4bf60f30e1ea257c20303a802e38 Mon Sep 17 00:00:00 2001 From: luisramos0 Date: Thu, 30 May 2019 20:22:02 +0100 Subject: [PATCH] Make the submit button on the add tag rule dialog translatable --- .../javascripts/templates/admin/new_tag_rule_dialog.html.haml | 2 +- config/locales/en.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/templates/admin/new_tag_rule_dialog.html.haml b/app/assets/javascripts/templates/admin/new_tag_rule_dialog.html.haml index 4874a6bdb4..50d61d3563 100644 --- a/app/assets/javascripts/templates/admin/new_tag_rule_dialog.html.haml +++ b/app/assets/javascripts/templates/admin/new_tag_rule_dialog.html.haml @@ -7,4 +7,4 @@ %input.ofn-select2.fullwidth{ :id => 'rule_type_selector', ng: { model: "ruleType" }, data: "ruleTypes", 'min-search' => "5" } .text-center - %input.button.red.icon-plus{ type: 'button', value: "Add Rule", ng: { click: 'addRule(tagGroup, ruleType)' } } + %input.button.red.icon-plus{ type: 'button', value: "{{ 'js.admin.new_tag_rule_dialog.add_rule' | t }}", ng: { click: 'addRule(tagGroup, ruleType)' } } diff --git a/config/locales/en.yml b/config/locales/en.yml index 89adb8e0f4..46e0bb1988 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -2486,6 +2486,7 @@ See the %{link} to find out more about %{sitename}'s features and to start using resolve: Resolve new_tag_rule_dialog: select_rule_type: "Select a rule type:" + add_rule: "Add Rule" enterprise_fees: inherit_from_product: "Inherit From Product" orders: