Skip to content

Commit 973f3cd

Browse files
kfischer-okarinRedmine Patch Meetup
authored andcommitted
Add locale
1 parent c96f78d commit 973f3cd

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

app/views/wiki/show.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<%= link_to_if_authorized(l(:button_rename), {:action => 'rename', :id => @page.title}, :class => 'icon icon-move') %>
1818
<% if User.current.allowed_to?(:rename_wiki_pages, @project) %>
1919
<% @redirects_to_self.map { |redirect| %>
20-
<%= 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') %>
20+
<%= 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') %>
2121
<% } %>
2222
<% end %>
2323
<%= 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') %>

config/locales/de.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ de:
176176
button_create_and_continue: Anlegen und weiter
177177
button_delete: Löschen
178178
button_delete_my_account: Mein Benutzerkonto löschen
179+
button_delete_redirect: "Lösche Umleitung von %{page_title}"
179180
button_download: Herunterladen
180181
button_edit: Bearbeiten
181182
button_edit_associated_wikipage: "Zugehörige Wikiseite bearbeiten: %{page_title}"

config/locales/en.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1167,6 +1167,7 @@ en:
11671167
button_unarchive: Unarchive
11681168
button_reset: Reset
11691169
button_rename: Rename
1170+
button_delete_redirect: "Delete redirect from %{page_title}"
11701171
button_change_password: Change password
11711172
button_copy: Copy
11721173
button_copy_and_follow: Copy and follow

config/locales/ja.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -857,6 +857,7 @@ ja:
857857
button_unarchive: アーカイブ解除
858858
button_reset: リセット
859859
button_rename: 名前変更
860+
button_delete_redirect: "%{page_title}からのリダイレクトを削除"
860861
button_change_password: パスワード変更
861862
button_copy: コピー
862863
button_copy_and_follow: コピー後表示

0 commit comments

Comments
 (0)