プロジェクト

全般

プロフィール

Vote #80879

完了

Untranslated string "diff" in journal detail

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
I18n_37
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
37
version_id:
162
issue_org_id:
33452
author_id:
332
assigned_to_id:
332
comments:
2
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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

Admin Redmine さんが3年以上前に更新

  • カテゴリI18n_37 にセット
  • 対象バージョン4.1.2_162 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0