Bug 1215357

Summary: Plasma5-pk-updates with mixed languages
Product: [openSUSE] openSUSE Tumbleweed Reporter: Frank Krüger <fkrueger>
Component: KDE Workspace (Plasma)Assignee: E-Mail List <opensuse-kde-bugs>
Status: REOPENED --- QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Current   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
URL: https://bugs.kde.org/show_bug.cgi?id=474572
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Plasma5-pk-updates with mixed languages
PK-updates Applet with updated language files
pk-updates-0.3.2+git145-83.1.x86_64 still with "Check for Updates"

Description Frank Krüger 2023-09-14 20:36:51 UTC
Created attachment 869516 [details]
Plasma5-pk-updates with mixed languages

Given TW20230913, KDE Plasma 5.27.7 and KDE Frameworks 5.110.0 within a German environment, plasma5-pk-updates contains different languages although *-lang is installed.
Comment 1 Frank Krüger 2023-09-15 18:36:17 UTC
Reported upstream: https://bugs.kde.org/show_bug.cgi?id=474572
Comment 2 Frank Krüger 2023-09-17 08:49:37 UTC
Created attachment 869560 [details]
PK-updates Applet with updated language files

Using the current upstream language files from https://github.com/KDE/plasma-pk-updates/tree/master/po/de seems to solve the issue, apart from the "Check for Updates" button. So, is this a downstream packing issue?
Comment 3 Christophe Marin 2023-09-17 09:15:22 UTC
(In reply to Frank Krüger from comment #2)
> Created attachment 869560 [details]
> PK-updates Applet with updated language files
> 
> Using the current upstream language files from
> https://github.com/KDE/plasma-pk-updates/tree/master/po/de seems to solve
> the issue, apart from the "Check for Updates" button. So, is this a
> downstream packing issue?


The last plasma-pk-update is 5 years old. We use a snapshot for the package that was last updated last year. We can try updating it
Comment 4 Christophe Marin 2023-09-17 09:34:53 UTC
A new snapshot is available in the KDE:Frameworks5 repository, can you give it a try?
Comment 5 Frank Krüger 2023-09-17 10:09:03 UTC
(In reply to Christophe Marin from comment #4)
> A new snapshot is available in the KDE:Frameworks5 repository, can you give
> it a try?

The issue is fixed with plasma5-pk-updates-(lang)-0.3.2+git143-82.1.x86_64, apart from the above-mentioned "Check for Updates" button. Thank you for the speedy update.
Comment 6 Christophe Marin 2023-09-17 10:39:18 UTC
Thanks, submitted. https://build.opensuse.org/request/show/1111754
Comment 7 Frank Krüger 2023-09-20 20:58:37 UTC
Just to track the missing piece: https://invent.kde.org/system/plasma-pk-updates/-/merge_requests/11
Comment 8 Frank Krüger 2023-09-20 21:22:09 UTC
(In reply to Christophe Marin from comment #6)
> Thanks, submitted. https://build.opensuse.org/request/show/1111754

By the way, I was puzzled that you closed the bug as "resolved", even though it is not!
Comment 9 Christophe Marin 2023-09-20 21:44:50 UTC
https://build.opensuse.org/request/show/1112643
Comment 10 Frank Krüger 2023-09-21 16:53:31 UTC
Created attachment 869668 [details]
pk-updates-0.3.2+git145-83.1.x86_64 still with "Check for Updates"

Unfortunately, plasma5-pk-updates-0.3.2+git145-83.1.x86_64 does not solve the issue.
Comment 11 Frank Krüger 2023-09-21 16:54:22 UTC
Given comment 10, any idea? Thx.
Comment 12 Christophe Marin 2023-09-21 16:58:53 UTC
(In reply to Frank Krüger from comment #11)
> Given comment 10, any idea? Thx.

No, this one has this commit https://invent.kde.org/system/plasma-pk-updates/-/commit/53bfded7e24b92aa57afe67d2bb0d622feb64751
Comment 13 Christophe Marin 2023-09-21 17:03:11 UTC
(In reply to Christophe Marin from comment #12)
> (In reply to Frank Krüger from comment #11)
> > Given comment 10, any idea? Thx.
> 
> No, this one has this commit
> https://invent.kde.org/system/plasma-pk-updates/-/commit/
> 53bfded7e24b92aa57afe67d2bb0d622feb64751


but marked fuzzy, so it won't be used I guess.
Comment 15 Christophe Marin 2023-09-21 17:31:39 UTC
(In reply to Frank Krüger from comment #14)
> Shouldn't it be this one
> https://invent.kde.org/system/plasma-pk-updates/-/commit/
> 2842c8a95010b86a3712ff6b0e914cf41c58a386?

No, this just indicates this string can be translated. The automated scripts executed daily then extract the message into .po files for each language and try to find a suitable translation.

When translators either validate the pre-filled entry or fix the translated message, it's added back into the repository. (and the fuzzy indicator is removed)
Comment 16 Frank Krüger 2023-09-21 17:34:16 UTC
(In reply to Christophe Marin from comment #15)
> (In reply to Frank Krüger from comment #14)
> > Shouldn't it be this one
> > https://invent.kde.org/system/plasma-pk-updates/-/commit/
> > 2842c8a95010b86a3712ff6b0e914cf41c58a386?
> 
> No, this just indicates this string can be translated. The automated scripts
> executed daily then extract the message into .po files for each language and
> try to find a suitable translation.
> 
> When translators either validate the pre-filled entry or fix the translated
> message, it's added back into the repository. (and the fuzzy indicator is
> removed)

I see, thank you.
Comment 17 Frank Krüger 2023-09-23 06:02:56 UTC
Upstream translation issue: https://bugs.kde.org/show_bug.cgi?id=474572#c5
Comment 18 Christophe Marin 2023-09-28 10:47:42 UTC
I'm keeping an eye on upstream translations. A couple languages have updated the string, but not all.