プロジェクト

全般

プロフィール

Vote #80770

完了

field_activity should be used rather than label_activity in the context of time tracking

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

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

0%

予定工数:
category_id:
37
version_id:
152
issue_org_id:
33186
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]

説明

Redmine has two i18n labels for the word "Activity", label_activity and field_activity. Of them, field_activity is used in the context of time tracking.

However, in some places, label_activity is incorrectly used in the context of time tracking. This causes inconsistent screen display such as Japanese, Korean, Russian because those languages assigns different translations for label_activity and field_activity as follows:

$ egrep '(label|field)_activity' config/locales/ja.yml
  field_activity: 作業分類
  label_activity: 活動
$ egrep '(label|field)_activity' config/locales/ko.yml
  field_activity: 작업종류
  label_activity: 작업내역
$ egrep '(label|field)_activity' config/locales/ru.yml
  field_activity: Деятельность
  label_activity: Действия

The attached patch replaces label_activity used in the context of the time tracking with field_activity.

!{width: 664px; border: 1px solid grey;}.field_activity-and-label_activity@2x.png!


journals

Setting the target version to 4.2.0.
--------------------------------------------------------------------------------
Committed the patch.
--------------------------------------------------------------------------------

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

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

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

いいね!0
いいね!0