summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2023-05-05 21:50:55 +0000
committerGo MAEDA <maeda@farend.jp>2023-05-05 21:50:55 +0000
commite575b7a6fcbffd5e48475b735cfc948ed3cc0d0e (patch)
tree8e5cac6341230893e47ffb4be0c722a48daca67a /app
parentd459904dede1a030292e308363f6d9f16c9248e1 (diff)
downloadredmine-e575b7a6fcbffd5e48475b735cfc948ed3cc0d0e.tar.gz
redmine-e575b7a6fcbffd5e48475b735cfc948ed3cc0d0e.zip
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
Diffstat (limited to 'app')
-rw-r--r--app/views/repositories/revision.html.erb2
-rw-r--r--app/views/repositories/revisions.html.erb2
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 %>
</div>
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 %>
</div>