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

            Bug ID: 508491
           Summary: Translation in systemsettings - wallpaper
    Classification: Plasma
           Product: plasmashell
      Version First master
       Reported In:
          Platform: ROSA RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Wallpaper images
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: 1.0

Created attachment 184271
  --> https://bugs.kde.org/attachment.cgi?id=184271&action=edit
fix.kcm_wallpaper.patch

There are problems in /kcms/wallpaper/.
In the file /plasma-workspace/kcms/wallpaper/CMakeLists.txt it is specified
add_definitions(-DTRANSLATION_DOMAIN="kcm_wallpaper")
And translation and Messages.sh do not exist.
I also had to edit the file /plasma-workspace/kcms/wallpaper/ui/main.qml so
that the translation would be detected.
I fixed it in the package with this patch.fix.kcm_wallpaper.patch

In fact, all these manipulations and the patch itself seem unnecessary.
Basically, the translation is visible everywhere.
I noticed that in the main window there was this line without translation
https://invent.kde.org/plasma/plasma-workspace/-/blob/master/kcms/wallpaper/ui/main.qml?ref_type=heads#L27

Here
https://invent.kde.org/plasma/plasma-workspace/-/blob/master/kcms/wallpaper/ui/main.qml?ref_type=heads#L27
it is specified,
title: i18ndc("plasma_shell_org.kde.plasma.desktop", "@title:window",
"Wallpaper").
But if you look in the file for plasma_shell_org.kde.plasma.desktop, there are
lines of a different type.
name: i18nd("plasma_shell_org.kde.plasma.desktop", "Wallpaper")
https://invent.kde.org/plasma/plasma-desktop/-/blob/master/desktoppackage/contents/configuration/ContainmentConfiguration.qml?ref_type=heads#L27
And this line remains untranslated.


Operating System: ROSA Fresh Desktop 13
KDE Plasma Version: 6.4.80
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1
Kernel Version: 6.16.1-generic-1rosa13-x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-7700K CPU @ 4.20GHz
Memory: 32 ГиБ of RAM (31.2 ГиБ usable)
Graphics Processor: NVIDIA GeForce RTX 3050
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: B250M-D3H

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

Reply via email to