Summary: | When apply the localized string, Discover shows the unexpected shortcut caption. | ||
---|---|---|---|
Product: | [Applications] Discover | Reporter: | pan93412 |
Component: | discover | Assignee: | Dan Leinir Turthra Jensen <leinir> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aleixpol, leinir, nate, pan93412 |
Priority: | NOR | ||
Version: | 5.15.3 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=407386 | ||
Latest Commit: | https://commits.kde.org/discover/d4c4f21bdf19b95c8478d7364e104e8406068621 | Version Fixed In: | 5.16.0 |
Sentry Crash Report: | |||
Attachments: | The observed result of "About" |
Git commit d4c4f21bdf19b95c8478d7364e104e8406068621 by Aleix Pol. Committed on 27/04/2019 at 12:05. Pushed by apol into branch 'master'. Let QQuickShortcut decide what's the best string to offer M +1 -1 discover/qml/ActionListItem.qml https://commits.kde.org/discover/d4c4f21bdf19b95c8478d7364e104e8406068621 |
Created attachment 119153 [details] The observed result of "About" SUMMARY Discover uses the first letter of the entry string. In the normal, for example, "About", it shows the correct result: "Alt-A" but when we applied the localized string, for example, "關於", it shows the incorrect result: "Alt-關" The issues produce not only "About" but "Installed" "Source"... all the left-corner sidebar entries. STEPS TO REPRODUCE 1. Change `LANG` and `LANGUAGE` environment variable to `zh_TW.UTF-8` and `zh_TW`, and install any chinese font. 2. Open "Discover" application. 3. Move the cursor to the left-corner "關於" of the application. 4. It shows "Alt-關" not "Alt-A". OBSERVED RESULT Alt-關 EXPECTED RESULT Alt-A SOFTWARE/OS VERSIONS Linux/KDE Plasma: 5.15.3 (available in About System) KDE Plasma Version: 5.15.3 KDE Frameworks Version: 5.56.0 Qt Version: 5.13.0 ADDITIONAL INFORMATION