Bug 440797 - string is not translated in the astronomical events plugin
Summary: string is not translated in the astronomical events plugin
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Digital Clock widget (other bugs)
Version First Reported In: master
Platform: Neon Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-09 16:54 UTC by grouchomarx.fr
Modified: 2021-08-10 21:51 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description grouchomarx.fr 2021-08-09 16:54:09 UTC
Hello

It seems that the "Show:" label in the settings is not translated in any languages even though it has a translation in the plasma_calendar_astronomicalevents.po file.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Neon
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.3
Comment 1 Nate Graham 2021-08-10 16:23:17 UTC
Similar to Bug 399038.

No idea how to fix this to make them translatable though. I don't know anything about how the localization system works in this case. CCing a few people who might.
Comment 2 Albert Astals Cid 2021-08-10 21:10:49 UTC
This has nothing to do with 399038

399038 is about missing strings in the translation catalog

This is about a string that is translated in the translation catalog not being used (probably because the catalog is not set in the qml file somehow).

i.e. i18n("Show:") needs to be like i18nd like the other two transltable strings in that config dialog.
Comment 3 Bug Janitor Service 2021-08-10 21:38:01 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/83
Comment 4 Nate Graham 2021-08-10 21:51:15 UTC
Git commit 61d8e7ece72e93abe47c67d74f17db184c818348 by Nate Graham.
Committed on 10/08/2021 at 21:36.
Pushed by ngraham into branch 'master'.

[astronomical events plugin] Make "Show:" label translatable

...By setting the translation catalog, as other strings in this file do.
FIXED-IN: 5.23

M  +1    -1    plasmacalendarplugins/astronomical/config/qml/AstronomicalEventsConfig.qml

https://invent.kde.org/plasma/kdeplasma-addons/commit/61d8e7ece72e93abe47c67d74f17db184c818348