From: Go MAEDA Date: Fri, 5 May 2023 21:50:55 +0000 (+0000) Subject: Use label_view instead of the untranslated string "OK" in the repository browser... X-Git-Tag: 5.1.0~136 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e575b7a6fcbffd5e48475b735cfc948ed3cc0d0e;p=redmine.git Use label_view instead of the untranslated string "OK" in the repository browser (#38509). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22231 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/repositories/revision.html.erb b/app/views/repositories/revision.html.erb index 5c215c0eb..ba716dd41 100644 --- a/app/views/repositories/revision.html.erb +++ b/app/views/repositories/revision.html.erb @@ -22,7 +22,7 @@ :rev => nil}, :method => :get) do %> <%= text_field_tag 'rev', @rev, :size => 8 %> - <%= submit_tag 'OK', :name => nil %> + <%= submit_tag l(:button_view), :name => nil %> <% end %> diff --git a/app/views/repositories/revisions.html.erb b/app/views/repositories/revisions.html.erb index a12942c49..34904ef50 100644 --- a/app/views/repositories/revisions.html.erb +++ b/app/views/repositories/revisions.html.erb @@ -5,7 +5,7 @@ :method => :get ) do %> <%= l(:label_revision) %>: <%= text_field_tag 'rev', nil, :size => 8 %> - <%= submit_tag 'OK' %> + <%= submit_tag l(:button_view) %> <% end %>