]> source.dussan.org Git - redmine.git/commitdiff
Internationalize "Check all / Uncheck all" tooltip in project list for admins (#40166).
authorGo MAEDA <maeda@farend.jp>
Sat, 3 Feb 2024 08:57:06 +0000 (08:57 +0000)
committerGo MAEDA <maeda@farend.jp>
Sat, 3 Feb 2024 08:57:06 +0000 (08:57 +0000)
git-svn-id: https://svn.redmine.org/redmine/trunk@22675 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/projects/_list.html.erb

index 1bc8d46878b21b542909d5880a2e1bcf3cd3eb16..03c5ce0590d075843138f93ff5881a4cb93904f1 100644 (file)
@@ -8,7 +8,8 @@
   <tr>
     <% if @admin_list %>
       <th class="checkbox hide-when-print">
-        <input type="checkbox" name="check_all" id="check_all" value="" class="toggle-selection" title="Check all/Uncheck all">
+        <%= check_box_tag 'check_all', '', false, :class => 'toggle-selection',
+          :title => "#{l(:button_check_all)} / #{l(:button_uncheck_all)}" %>
       </th>
     <% end %>
     <% @query.inline_columns.each do |column| %>