Steps: - Use a language other than English, and has Tokodon fully translated - Open Tokodon - Write a new post - Click on the language drop-down Expected: - Translated language names Actual: - English language names
We get the names from Qt, but I'm sure there's a way to get non-english names out of it. What's the ideal format here, the native language name maybe? Something like, "Deutsch" and "日本語"?
Yes, original names would be the way to go.
Git commit 6511c9d8b42fc81e1788e12a60fce3b5ed66d7ec by Joshua Goins. Committed on 06/11/2023 at 00:49. Pushed by redstrate into branch 'master'. Overhaul language selector Now it's an OverlaySheet which is way less hacky than our custom ComboBox reimplementation, and comes with more fringe benefits. For one, native language names are used if available to us. Another is the selected language is now presented in the center of the selection, so you don't lose the selection. KItemModels is used instead of us having another reimplementation of it. M +34 -54 src/content/ui/LanguageSelector.qml M +11 -10 src/content/ui/Settings/ProfileEditor.qml M +7 -5 src/content/ui/StatusComposer/StatusComposer.qml M +16 -23 src/editor/languagemodel.cpp M +2 -17 src/editor/languagemodel.h https://invent.kde.org/network/tokodon/-/commit/6511c9d8b42fc81e1788e12a60fce3b5ed66d7ec