Bug 464572 - Translations are not active for the new tiling interface
Summary: Translations are not active for the new tiling interface
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: core (show other bugs)
Version: 5.26.90
Platform: Other Linux
: VHI normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 465985 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-01-20 22:36 UTC by Emir SARI
Modified: 2023-02-20 07:55 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Emir SARI 2023-01-20 22:36:12 UTC
SUMMARY

Tiling interface only displays English text, even though the messages were translated before.

STEPS TO REPRODUCE
1. Press Meta+T and activate the tiling overlay

OBSERVED RESULT

Messages are in English.


EXPECTED RESULT

Messages should be in system language, if translated beforehand.

Operating System: KDE neon Testing Edition
KDE Plasma Version: 5.26.90
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 5.15.0-58-generic (64-bit)
Graphics Platform: X11
Comment 1 David Edmundson 2023-01-21 00:21:49 UTC
Git commit bfe837c9184c198544848d58098ed2cac6346fe9 by David Edmundson.
Committed on 20/01/2023 at 23:21.
Pushed by davidedmundson into branch 'master'.

effects/tileseditor: Set translation domain in QML files

M  +5    -5    src/effects/tileseditor/qml/TileDelegate.qml
M  +3    -3    src/effects/tileseditor/qml/main.qml

https://invent.kde.org/plasma/kwin/commit/bfe837c9184c198544848d58098ed2cac6346fe9
Comment 2 Emir SARI 2023-02-15 08:41:14 UTC
The strings are still not translated in 5.27.0. I've looked into the possibility of being a cache issue, but I've recently flushed my locale settings, so I don't think that would be an issue.
Comment 3 David Edmundson 2023-02-15 09:34:09 UTC
Which language? We will get english strings if they aren't translated yet even if the code is fine.
Comment 4 Emir SARI 2023-02-15 09:39:57 UTC
It's Turkish. The strings are fine, I've translated them myself.
Comment 5 Vlad Zahorodnii 2023-02-17 10:26:08 UTC
Git commit 41f533550a8eea82540d317f12c247e20094ba2d by Vlad Zahorodnii, on behalf of David Edmundson.
Committed on 17/02/2023 at 10:25.
Pushed by vladz into branch 'cherry-pick-bfe837c9'.

effects/tileseditor: Set translation domain in QML files


(cherry picked from commit bfe837c9184c198544848d58098ed2cac6346fe9)

M  +5    -5    src/effects/tileseditor/qml/TileDelegate.qml
M  +3    -3    src/effects/tileseditor/qml/main.qml

https://invent.kde.org/plasma/kwin/commit/41f533550a8eea82540d317f12c247e20094ba2d
Comment 6 Vlad Zahorodnii 2023-02-17 10:27:23 UTC
The relevant fix has not been backported to 5.27 branch.
Comment 7 Vlad Zahorodnii 2023-02-20 07:55:53 UTC
*** Bug 465985 has been marked as a duplicate of this bug. ***