Summary: | Changing locale from anything else to pt_PT on Languages KCM does not update locale files correctly | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | Eduardo Correia <eduardosareias> |
Component: | kcm_regionandlang | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | hanyoung, nate |
Priority: | NOR | ||
Version: | 5.27.9 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/-/commit/d88d5a45de215ebbd076476c830a1d9aaeda8794 | Version Fixed In: | 6.0 |
Description
Eduardo Correia
2023-12-05 19:03:34 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3661 Git commit d88d5a45de215ebbd076476c830a1d9aaeda8794 by Harald Sitter. Committed on 06/12/2023 at 21:38. Pushed by sitter into branch 'master'. kcms/region_language: repair pt_PT support this broke because a hack was introduced to change the enumerated name from pt to pt_PT but that then didn't have a mapping in the glibc table. to mitigate this and future problems of the sort we now fill the entire locale name into the mapping table in addition to the presumed language name. e.g. the table now contains pt=>pt_PT.UTF-8 as well as pt_PT=>pt_PT.UTF-8 M +12 -3 kcms/region_language/kcmregionandlang.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/d88d5a45de215ebbd076476c830a1d9aaeda8794 |