Bug 511003

Summary: Text of error message of Discover after update is not localised
Product: [Translations] i18n Reporter: BOF <bugs_kde_org.5.kuru>
Component: deAssignee: German-Translators <kde-i18n-de>
Status: RESOLVED UPSTREAM    
Severity: normal CC: kde-identity-of-alex, l10n.daphipz
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Discover - update offline reboot-details window

Description BOF 2025-10-24 08:56:13 UTC
Created attachment 186082 [details]
Discover - update offline reboot-details window

SUMMARY
The text of the error message when discover is updated is not localised

STEPS TO REPRODUCE
1. Update the system with Discover and reboot the system
2. Log in, WITHOUT being connected to the internet
3. Click on the button to show more detaisl

OBSERVED RESULT
English text

EXPECTED RESULT
German text

SOFTWARE/OS VERSIONS
Operating System: KDE neon User Edition
KDE Plasma Version: 6.5.0
KDE Frameworks Version: 6.19.0
Qt Version: 6.9.2
Kernel Version: 6.14.0-33-generic (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Connected to https://bugs.kde.org/show_bug.cgi?id=511002 ("[Feature request] Adapt update error message when user is offline")
Comment 1 Philipp Kiemle 2025-10-24 09:27:00 UTC
Thanks for your report! However, this text is not part of Discover. I have searched through all translatable strings in Discover and was unable to find it. It probably comes from whatever packaging tool you use. It should be translated there.
Comment 2 BOF 2025-10-24 09:34:17 UTC
(In reply to Philipp Kiemle from comment #1)
> Thanks for your report! However, this text is not part of Discover. I have
> searched through all translatable strings in Discover and was unable to find
> it. It probably comes from whatever packaging tool you use. It should be
> translated there.

I have no idea what packaging tool I use. As I use KDE neon, it should be rather easy to find out, right?
Comment 3 AlexB 2025-10-24 22:41:55 UTC
(In reply to BOF from comment #2)
> (In reply to Philipp Kiemle from comment #1)
> > Thanks for your report! However, this text is not part of Discover. I have
> > searched through all translatable strings in Discover and was unable to find
> > it. It probably comes from whatever packaging tool you use. It should be
> > translated there.
> 
> I have no idea what packaging tool I use. As I use KDE neon, it should be
> rather easy to find out, right?
Yes, if this string is in translation database of KDE. But it is not as already mentioned.
Anyway: I have tried:
- deactivate WIFI
- start Konsole, put command "journalctl -f"
- start Discover
- click on "Search for Updates"
- got fully localized error message in German
- clicked on "more details"
- got error message you have mentioned: "cannot refresh cache whilst offline"
- checked Konsole output of of "journalctl -f" → "plasma-discover[2655]: Transaction error: "Cannot refresh cache whilst offline" PackageKit::Transaction(0x64083cdce060)"
- checked in Konsole for other output with "PackageKit" → "dbus-daemon[788]: [system] Activating via systemd: service name='org.freedesktop.PackageKit' unit='packagekit.service' requested by ':1.113' (uid=1000 pid=2655 comm="/usr/bin/plasma-discover" label="unconfined")"

→ Discover uses org.freedesktop.PackageKit
→ Error message in English is from org.freedesktop.PackageKit

Check in sources of https://github.com/PackageKit/PackageKit
→ there are 4 source files throwing this error message.
→ kde-i18n-de is not responsible to translate those string
→ you could report this issue there: https://github.com/PackageKit/PackageKit/issues