From 854177554905159506220cd88aa765fca47bf756 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 19 Jun 2015 19:19:39 +0000 Subject: [PATCH] Use existing label for password submission (#19851). git-svn-id: http://svn.redmine.org/redmine/trunk@14335 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/sudo_mode/_new_modal.html.erb | 2 +- app/views/sudo_mode/new.html.erb | 2 +- config/locales/de.yml | 1 - config/locales/en.yml | 1 - 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/app/views/sudo_mode/_new_modal.html.erb b/app/views/sudo_mode/_new_modal.html.erb index f63c1a427..a7bf5ed70 100644 --- a/app/views/sudo_mode/_new_modal.html.erb +++ b/app/views/sudo_mode/_new_modal.html.erb @@ -12,7 +12,7 @@

- <%= submit_tag l(:button_confirm_password), onclick: "hideModal(this);" %> + <%= submit_tag l(:button_submit), onclick: "hideModal(this);" %> <%= submit_tag l(:button_cancel), name: nil, onclick: "hideModal(this);", type: 'button' %>

<% end %> diff --git a/app/views/sudo_mode/new.html.erb b/app/views/sudo_mode/new.html.erb index d92e47d47..daf63c932 100644 --- a/app/views/sudo_mode/new.html.erb +++ b/app/views/sudo_mode/new.html.erb @@ -10,7 +10,7 @@ <%= password_field_tag :sudo_password, nil, size: 25 %>

- <%= submit_tag l(:button_confirm_password) %> + <%= submit_tag l(:button_submit) %> <% end %> <%= javascript_tag "$('#sudo_password').focus();" %> diff --git a/config/locales/de.yml b/config/locales/de.yml index 2a979e766..adba9648f 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -163,7 +163,6 @@ de: button_close: Schließen button_collapse_all: Alle einklappen button_configure: Konfigurieren - button_confirm_password: Kennwort bestätigen button_copy: Kopieren button_copy_and_follow: Kopieren und Ticket anzeigen button_create: Anlegen diff --git a/config/locales/en.yml b/config/locales/en.yml index 1547640f5..1341239f3 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -990,7 +990,6 @@ en: button_reset: Reset button_rename: Rename button_change_password: Change password - button_confirm_password: Confirm password button_copy: Copy button_copy_and_follow: Copy and follow button_annotate: Annotate -- 2.39.5