Summary: | Font chooser tooltip incorrectly uses title case (also for non-English locales) | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | Karl Ove Hufthammer <karl> |
Component: | kcm_fonts | Assignee: | Nate Graham <nate> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | nate, tysontanx |
Priority: | NOR | ||
Version: | 5.20.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/commit/9d252c407125dc1d05e5cc7cd69ba39bf93d2354 | Version Fixed In: | 5.21 |
Attachments: | Screenshot showing tooltip (in Norwegian Nynorsk locale) |
Description
Karl Ove Hufthammer
2020-10-20 16:34:25 UTC
Created attachment 132589 [details]
Screenshot showing tooltip (in Norwegian Nynorsk locale)
Yeah this is a bit of a string puzzle: text: i18n("Select %1 Font...", label.replace(':', '')) I'll fix it. A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/376 Git commit 9d252c407125dc1d05e5cc7cd69ba39bf93d2354 by Nate Graham. Committed on 21/10/2020 at 19:23. Pushed by ngraham into branch 'master'. [kcms/fonts] Fix string puzzle in font chooser tooltips These tooltips' text was built up by embedding one string inside another, which is a recipe for string puzzles. Instead let's assign the whole text individually, which will allow translators to translate the entire string properly. FIXED-IN: 5.21 M +2 -3 kcms/fonts/package/contents/ui/FontWidget.qml M +6 -0 kcms/fonts/package/contents/ui/main.qml https://invent.kde.org/plasma/plasma-workspace/commit/9d252c407125dc1d05e5cc7cd69ba39bf93d2354 *** Bug 431130 has been marked as a duplicate of this bug. *** |