Skip to content

Fix missing ui.not_set translation key in all locales - #648

Merged
krokosik merged 1 commit into
oss-apps:mainfrom
phof:fix/missing-not-set-translation
May 17, 2026
Merged

krokosik merged 1 commit into
oss-apps:mainfrom
phof:fix/missing-not-set-translation

Conversation

@phof

@phof phof commented May 17, 2026

Copy link
Copy Markdown
Contributor

Summary

`src/components/AddExpense/CurrencyPicker.tsx` references `t('ui.not_set')` for the "clear selection" entry, but the key was missing from every locale file. Users saw the raw key `ui.not_set` rendered in the UI when no currency was selected (e.g. user profile, group default currency).

Changes

  • Adds `"not_set"` under the top-level `"ui"` section in all 19 locales that contain a `ui` section.
  • Three locales (`ja`, `ru`, `sq`) have no `ui` section at all and will fall back to the English value via i18next — no change needed there.

Test plan

  • In each locale, open the user profile or a group settings page where no default currency is set. The placeholder should render as the translated "Not set" text, not the raw key `ui.not_set`.

Disclaimer

The non-English translations were drafted with the help of Claude Opus 4.7 and have not been native-speaker reviewed. Maintainers may want to review or replace them.

The CurrencyPicker (src/components/AddExpense/CurrencyPicker.tsx)
references t('ui.not_set') for the "clear selection" entry, but the
key was missing from every locale file. Users saw the raw key
'ui.not_set' rendered in the UI when no currency was selected.

Adds the key to all 19 locales that contain a 'ui' section. Three
locales (ja, ru, sq) have no 'ui' section at all and will fall back
to the English value via i18next; no change needed there.

Disclaimer: the non-English translations were drafted with the help
of Claude Opus 4.7 and have not been native-speaker reviewed.
@krokosik
krokosik merged commit 9ed899a into oss-apps:main May 17, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants