mirror of
https://github.com/redmine/redmine.git
synced 2026-07-15 13:53:17 +02:00
Use @.capitalize@ for button_save_object, button_edit_object, and button_delete_object labels in order to ensure that only the first character is converted to uppercase and the rest to lowercase (#37072).
git-svn-id: https://svn.redmine.org/redmine/trunk@23191 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
:class => 'icon icon-copy ' if User.current.allowed_to?(:copy_issues, @project) && Issue.allowed_target_projects.any? %>
|
||||
<%= actions_dropdown do %>
|
||||
<%= copy_object_url_link(issue_url(@issue, only_path: false)) %>
|
||||
<%= link_to sprite_icon('del', l(:button_delete_object, object_name: l(:label_issue).downcase)), issue_path(@issue),
|
||||
<%= link_to sprite_icon('del', l(:button_delete_object, object_name: l(:label_issue)).capitalize), issue_path(@issue),
|
||||
:data => {:confirm => issues_destroy_confirmation_message(@issue)},
|
||||
:method => :delete, :class => 'icon icon-del ' if @issue.deletable? %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user