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

--- Comment #2 from Roxfr <ro...@outlook.fr> ---
I think the problem happens because the QML file shows the text without setting
the correct translation domain.
The translation actually exists in the system, but QML doesn’t know which file
to use, so it keeps showing the English text.

File:
plasma-desktop-master/desktoppackage/contents/configuration/ConfigurationShortcuts.qml

Relevant code snippet:

KCM.SimpleKCM {
    title: i18n("Shortcuts")

    Kirigami.FormLayout {
        KeySequenceItem {
            Kirigami.FormData.label: i18nc("@action:button set keyboard
shortcut for", "Activate widget as if clicked:")
        }
    }
}

To fix the issue, it would be necessary to add either:

Kirigami.LocaleHelper {
    id: localeHelper
    domain: "plasma_shell_org.kde.plasma.desktop"
}

or:

KCM.SimpleKCM {
    KCM.ConfigModule {
        translationDomain: "plasma_shell_org.kde.plasma.desktop"
    }
    ...
}

This will ensure that the correct translation is loaded and displayed.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to