agittins / agittins/bermuda

bug: Translation placeholder error in pt.json for calibration2_scanners

オープン
#759 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
bug
主要言語
Python
スター
2k
フォーク
70
PR マージ指標
30日以内にマージされた PR はありません

説明

### Describe the bug
After switching Home Assistant to Portuguese (PT), a translation validation error appears in the logs. The translation file for Portuguese is missing the `{suffix}` placeholder in the `calibration2_scanners` description.

### Error Log
`Validation of translation placeholders for localized (pt) string component.bermuda.options.step.calibration2_scanners.description failed: (set() != {'suffix'})`

### To Reproduce

1. Set Home Assistant language to Portuguese (pt).
2. Restart Home Assistant or reload the Bermuda integration.
3. Check the core logs.

### Expected behavior

The` pt.json` (or `pt-PT.json`) file under `translations/` should include the `{suffix} `variable inside the `options.step.calibration2_scanners.description` string to match the English reference file.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。