Skip to content

Commit 4b930c6

Browse files
kfischer-okarinRedmine Patch Meetup
authored and
Redmine Patch Meetup
committed
Add locale
1 parent 3d7235f commit 4b930c6

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

app/views/wiki/show.html.erb

+1-1
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

+1
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ de:
177177
button_create_and_continue: Anlegen und weiter
178178
button_delete: Löschen
179179
button_delete_my_account: Mein Benutzerkonto löschen
180+
button_delete_redirect: "Lösche Umleitung von %{page_title}"
180181
button_download: Herunterladen
181182
button_edit: Bearbeiten
182183
button_edit_associated_wikipage: "Zugehörige Wikiseite bearbeiten: %{page_title}"

config/locales/en.yml

+1
Original file line numberDiff line numberDiff line change
@@ -1173,6 +1173,7 @@ en:
11731173
button_unarchive: Unarchive
11741174
button_reset: Reset
11751175
button_rename: Rename
1176+
button_delete_redirect: "Delete redirect from %{page_title}"
11761177
button_change_password: Change password
11771178
button_copy: Copy
11781179
button_copy_and_follow: Copy and follow

config/locales/ja.yml

+1
Original file line numberDiff line numberDiff line change
@@ -853,6 +853,7 @@ ja:
853853
button_unarchive: アーカイブ解除
854854
button_reset: リセット
855855
button_rename: 名前変更
856+
button_delete_redirect: "%{page_title}からのリダイレクトを削除"
856857
button_change_password: パスワード変更
857858
button_copy: コピー
858859
button_copy_and_follow: コピー後表示

0 commit comments

Comments
 (0)