プロジェクト

全般

プロフィール

Vote #79111

完了

Incorrect interpolation in Swedish locale

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

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

0%

予定工数:
category_id:
12
version_id:
138
issue_org_id:
28109
author_id:
3866
assigned_to_id:
0
comments:
7
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

There is an incorrect interpolation in the Swedish locale file in source:/trunk/config/locales/sv.yml@17186#L137


journals

The attached patch fixes the problem on trunk/master.
--------------------------------------------------------------------------------
Felix Schäfer wrote:
> The attached patch fixes the problem on trunk/master.

It turns out this was only half the problem, in addition to the @%@ being at the wrong place for the interpolation, there is also an issue with the variable used for the interpolation being the wrong one. This new patch fixes both issues.

Thank you Jan for catching the second issue!
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Confirmed the broken message. Setting target version to 3.3.7.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Committed in trunk, 3.4-stable, and 3.3-stable, thanks.

locale:check_interpolation cannot catch nested keys, so I could not catch this mistake.
source:tags/3.4.4/lib/tasks/locales.rake#L58
--------------------------------------------------------------------------------


related_issues

relates,Closed,18587,Swedish translation (updated)

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

  • カテゴリTranslations_12 にセット
  • 対象バージョン3.3.7_138 にセット

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

いいね!0
いいね!0