Vote #80879
完了Untranslated string "diff" in journal detail
0%
説明
The fix was submitted by Kam Nazir as part of Defect #31698. I have extracted this single fix from #31698 that contains multiple fixes because the hard-coded "diff" can be fixed without adding a new string to config/locales/*.yml files.
diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb
index 6b63f7e11..e18ff147a 100644
--- a/app/helpers/issues_helper.rb
+++ b/app/helpers/issues_helper.rb
@@ -553,7 +553,7 @@ module IssuesHelper
unless no_html
diff_link =
link_to(
- 'diff',
+ l(:label_diff),
diff_journal_url(detail.journal_id, :detail_id => detail.id,
:only_path => options[:only_path]),
:title => l(:label_view_diff))
!{border: 1px solid #ccc;}diff-is-not-translated.png!
journals
--------------------------------------------------------------------------------
Committed the fix contributed by Kam Nazir. Thank you.
--------------------------------------------------------------------------------
related_issues
relates,New,31698,Some unlocalize string