Skip to content

i18n: remove Italian (Swiss) from the language picker - #561

Merged
got3nks merged 1 commit into
amule-org:masterfrom
got3nks:i18n/drop-it-ch-langpicker
Jul 23, 2026
Merged

i18n: remove Italian (Swiss) from the language picker#561
got3nks merged 1 commit into
amule-org:masterfrom
got3nks:i18n/drop-it-ch-langpicker

Conversation

@got3nks

@got3nks got3nks commented Jul 23, 2026

Copy link
Copy Markdown

The it_CH catalog was dropped in #552, but the language picker in Preferences → General still showed Italian (Swiss).

The picker is not built from the shipped catalogs — it iterates the hardcoded aMuleLanguages[] table in Preferences.cpp, which still listed wxLANGUAGE_ITALIAN_SWISS. Removing the catalog could not hide it: UpdateChoice()'s probe marks an entry available when wxLocale reports PACKAGE loaded, and wxLocale falls back it_CH → it, so it.mo kept satisfying the check and the entry stayed visible.

This removes the table entry (the picker-side twin of the catalog drop) and drops the now-unused Italian (Swiss) string from the po catalogs.

Catalogs were edited surgically so the diff is limited to the removed entry; the stale #: source-line references (which CI already normalizes away) are left untouched to avoid a whole-tree reflow.

The it_CH catalog was dropped in amule-project#552, but the language picker is not
driven by the shipped catalogs: it iterates the hardcoded
aMuleLanguages[] table in Preferences.cpp, which still listed
wxLANGUAGE_ITALIAN_SWISS. Removing the catalog could not hide it,
because UpdateChoice()'s probe marks an entry available when wxLocale
reports PACKAGE loaded, and wxLocale falls back it_CH -> it -- so it.mo
kept satisfying the check and the entry stayed visible.

Remove the table entry (the picker-side twin of the catalog drop) and
drop the now-unused 'Italian (Swiss)' string from the po catalogs.
Catalogs edited surgically to keep the diff to the removed entry; the
stale source-line references CI already tolerates are left untouched.
@got3nks
got3nks merged commit 78c8368 into amule-org:master Jul 23, 2026
14 checks passed
@got3nks
got3nks deleted the i18n/drop-it-ch-langpicker branch July 23, 2026 10:39
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.

1 participant