From e575b7a6fcbffd5e48475b735cfc948ed3cc0d0e Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Fri, 5 May 2023 21:50:55 +0000 Subject: [PATCH] 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 --- app/views/repositories/revision.html.erb | 2 +- app/views/repositories/revisions.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 %> -- 2.39.5