Project

General

Profile

Feature #31278 » button-delete-patch.patch

Frederico Camara, 2019-04-29 21:38

View differences:

app/views/issues/_action_menu.html.erb
3 3
<%= link_to l(:button_log_time), new_issue_time_entry_path(@issue), :class => 'icon icon-time-add' if User.current.allowed_to?(:log_time, @project) %>
4 4
<%= watcher_link(@issue, User.current) %>
5 5
<%= link_to l(:button_copy), project_copy_issue_path(@project, @issue), :class => 'icon icon-copy' if User.current.allowed_to?(:copy_issues, @project) && Issue.allowed_target_projects.any? %>
6
<%= link_to l(:button_delete), issue_path(@issue), :data => {:confirm => issues_destroy_confirmation_message(@issue)}, :method => :delete, :class => 'icon icon-del' if @issue.deletable? %>
6
<%= link_to l(:button_delete_issue), issue_path(@issue), :data => {:confirm => issues_destroy_confirmation_message(@issue)}, :method => :delete, :class => 'icon icon-del' if @issue.deletable? %>
7 7
</div>
config/locales/en.yml
1058 1058
  button_collapse_all: Collapse all
1059 1059
  button_expand_all: Expand all
1060 1060
  button_delete: Delete
1061
  button_delete_issue: Delete Issue
1061 1062
  button_create: Create
1062 1063
  button_create_and_continue: Create and add another
1063 1064
  button_test: Test
config/locales/pt-BR.yml
642 642
  button_check_all: Marcar todos
643 643
  button_uncheck_all: Desmarcar todos
644 644
  button_delete: Excluir
645
  button_delete_issue: Excluir Tarefa
645 646
  button_create: Criar
646 647
  button_test: Testar
647 648
  button_edit: Editar
(1-1/3)