[kde] [Bug 478120] Changing locale from anything else to pt_PT on Languages KCM does not update locale files correctly

Harald Sitter bugzilla_noreply at kde.org
Wed Dec 6 20:38:35 GMT 2023


https://bugs.kde.org/show_bug.cgi?id=478120

Harald Sitter <sitter at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-workspace/-/commi
                   |                            |t/d88d5a45de215ebbd076476c8
                   |                            |30a1d9aaeda8794
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #2 from Harald Sitter <sitter at kde.org> ---
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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list