summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2021-10-20 07:55:44 +0000
committerGo MAEDA <maeda@farend.jp>2021-10-20 07:55:44 +0000
commitac8aa6b1f3284db66cece5e7338f22c45ce8fb22 (patch)
treee482614d8e91e1207b8b45b45757dace3aeec25d /app
parent8075884bc48deb3b7af94799d6eba943e999dcb2 (diff)
downloadredmine-ac8aa6b1f3284db66cece5e7338f22c45ce8fb22.tar.gz
redmine-ac8aa6b1f3284db66cece5e7338f22c45ce8fb22.zip
Change the "Edit" label in the context menu to "Bulk Edit" when multiple issues are selected (#35770).
Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@21248 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/views/context_menus/issues.html.erb2
-rw-r--r--app/views/context_menus/time_entries.html.erb2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/context_menus/issues.html.erb b/app/views/context_menus/issues.html.erb
index 23ea817ac..f39beef18 100644
--- a/app/views/context_menus/issues.html.erb
+++ b/app/views/context_menus/issues.html.erb
@@ -5,7 +5,7 @@
<li><%= context_menu_link l(:button_edit), edit_issue_path(@issue),
:class => 'icon icon-edit', :disabled => !@can[:edit] %></li>
<% else %>
- <li><%= context_menu_link l(:button_edit), bulk_edit_issues_path(:ids => @issue_ids),
+ <li><%= context_menu_link l(:label_bulk_edit), bulk_edit_issues_path(:ids => @issue_ids),
:class => 'icon icon-edit', :disabled => !@can[:edit] %></li>
<% end %>
diff --git a/app/views/context_menus/time_entries.html.erb b/app/views/context_menus/time_entries.html.erb
index 0f40706f4..3bf138e91 100644
--- a/app/views/context_menus/time_entries.html.erb
+++ b/app/views/context_menus/time_entries.html.erb
@@ -3,7 +3,7 @@
<li><%= context_menu_link l(:button_edit), {:controller => 'timelog', :action => 'edit', :id => @time_entry},
:class => 'icon icon-edit', :disabled => !@can[:edit] %></li>
<% else %>
- <li><%= context_menu_link l(:button_edit), {:controller => 'timelog', :action => 'bulk_edit', :ids => @time_entries.collect(&:id)},
+ <li><%= context_menu_link l(:label_bulk_edit), {:controller => 'timelog', :action => 'bulk_edit', :ids => @time_entries.collect(&:id)},
:class => 'icon icon-edit', :disabled => !@can[:edit] %></li>
<% end %>