Project

General

Profile

Actions

Defect #43525

closed

"label_added" is not translated in the repository revision view legend

Added by Pavel Rosický 20 days ago. Updated 19 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
SCM
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

fixes a minor typo that appeared in Redmine 6.0

diff --git a/app/views/repositories/revision.html.erb b/app/views/repositories/revision.html.erb
index 9423e5438..e46c1bfec 100644
--- a/app/views/repositories/revision.html.erb
+++ b/app/views/repositories/revision.html.erb
@@ -30,7 +30,7 @@

 <% if User.current.allowed_to?(:browse_repository, @project) %>
 <ul id="changes-legend">
-<li class="change change-A"><%= scm_change_icon("A", (:label_added)) %></li>
+<li class="change change-A"><%= scm_change_icon("A", l(:label_added)) %></li>
 <li class="change change-M"><%= scm_change_icon("M", l(:label_modified)) %></li>
 <li class="change change-C"><%= scm_change_icon("C", l(:label_copied)) %></li>
 <li class="change change-R"><%= scm_change_icon("R", l(:label_renamed)) %></li>


Files

screenshot-43525@2x.png (86.9 KB) screenshot-43525@2x.png Go MAEDA, 2025-11-26 05:18
Actions #1

Updated by Go MAEDA 20 days ago

  • Tracker changed from Patch to Defect
  • Status changed from New to Confirmed
  • Target version set to 6.0.8
Actions #2

Updated by Go MAEDA 20 days ago

Here is a screenshot.

Actions #3

Updated by Go MAEDA 20 days ago

  • Status changed from Confirmed to Resolved
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the fix in r24180. Thank you for reporting the issue.

Actions #4

Updated by Go MAEDA 19 days ago

  • Status changed from Resolved to Closed

Merged the fix into the stable branches in r24186 and r24187.

Actions

Also available in: Atom PDF