Skip to content

Commit

Permalink
Add locale
Browse files Browse the repository at this point in the history
  • Loading branch information
kfischer-okarin authored and Redmine Patch Meetup committed May 26, 2023
1 parent 63ad7c8 commit b754d4d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/wiki/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<%= link_to_if_authorized(l(:button_rename), {:action => 'rename', :id => @page.title}, :class => 'icon icon-move') %>
<% if User.current.allowed_to?(:rename_wiki_pages, @project) %>
<% @redirects_to_self.map { |redirect| %>
<%= link_to("Delete redirect from #{WikiPage.pretty_title(redirect.title)}", {:controller => 'wiki_redirects', :action => 'destroy', :project_id => @project.identifier, :wiki_page_id => @page.title, :id => redirect.id}, :method => :delete, :class => 'icon icon-link-break') %>
<%= link_to(l(:button_delete_redirect, :page_title => WikiPage.pretty_title(redirect.title)), {:controller => 'wiki_redirects', :action => 'destroy', :project_id => @project.identifier, :wiki_page_id => @page.title, :id => redirect.id}, :method => :delete, :class => 'icon icon-link-break') %>
<% } %>
<% end %>
<%= link_to_if_authorized(l(:button_delete), {:action => 'destroy', :id => @page.title}, :method => :delete, :data => {:confirm => l(:text_are_you_sure)}, :class => 'icon icon-del') %>
Expand Down
1 change: 1 addition & 0 deletions config/locales/de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ de:
button_create_and_continue: Anlegen und weiter
button_delete: Löschen
button_delete_my_account: Mein Benutzerkonto löschen
button_delete_redirect: "Lösche Umleitung von %{page_title}"
button_download: Herunterladen
button_edit: Bearbeiten
button_edit_associated_wikipage: "Zugehörige Wikiseite bearbeiten: %{page_title}"
Expand Down
1 change: 1 addition & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1176,6 +1176,7 @@ en:
button_unarchive: Unarchive
button_reset: Reset
button_rename: Rename
button_delete_redirect: "Delete redirect from %{page_title}"
button_change_password: Change password
button_copy: Copy
button_copy_and_follow: Copy and follow
Expand Down
1 change: 1 addition & 0 deletions config/locales/ja.yml
Original file line number Diff line number Diff line change
Expand Up @@ -852,6 +852,7 @@ ja:
button_unarchive: アーカイブ解除
button_reset: リセット
button_rename: 名前変更
button_delete_redirect: "%{page_title}からのリダイレクトを削除"
button_change_password: パスワード変更
button_copy: コピー
button_copy_and_follow: コピー後表示
Expand Down

0 comments on commit b754d4d

Please sign in to comment.