Bug 464574

Summary: Permission details are untranslated in Discover
Product: [Applications] Discover Reporter: Emir SARI <emir_sari>
Component: discoverAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: aacid, aleixpol, nate
Priority: NOR    
Version First Reported In: 5.26.90   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screenshot

Description Emir SARI 2023-01-20 22:43:41 UTC
Created attachment 155462 [details]
screenshot

SUMMARY
Newly added permission declaration part is untranslated.


STEPS TO REPRODUCE
1. Navigate to any application in Discover
2. Scroll all the way down to the application system permissions

OBSERVED RESULT
1. The text is still in English

EXPECTED RESULT
1. The text should have been localized.

Operating System: KDE neon Testing Edition
KDE Plasma Version: 5.26.90
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 5.15.0-58-generic (64-bit)
Graphics Platform: X11
Comment 1 Nate Graham 2023-01-23 22:26:25 UTC
This was added a while back so I would expect it to have been translated by now. The i18n() function calls make use of the domain "libdiscover" like other strings in the library. For example https://invent.kde.org/plasma/discover/-/blob/master/libdiscover/backends/PackageKitBackend/qml/PackageKitPermissions.qml#L24.
Comment 2 Albert Astals Cid 2023-01-23 22:35:54 UTC
>  The i18n() function calls make use of the domain "libdiscover" like other strings in the library

This was just done less than 24 hours ago so it's not part of 5.26.90

https://invent.kde.org/plasma/discover/-/commit/2f5b68c39cbad829d2fbd26d47836cf241de0d9b
Comment 3 Aleix Pol 2023-01-25 18:27:50 UTC
It's cherry-picked in 5.27 as 2f5b68c39cbad829d2fbd26d47836cf241de0d9b.