Bug 450398 - "splash screen" and "boot splash screen" translated with identical names
Summary: "splash screen" and "boot splash screen" translated with identical names
Status: RESOLVED FIXED
Alias: None
Product: i18n
Classification: Translations
Component: de (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: German-Translators
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-16 18:07 UTC by mecklenr
Modified: 2022-02-20 09:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshots of the affected plasma settings page. above: German, below: English (24.66 KB, image/png)
2022-02-16 18:07 UTC, mecklenr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mecklenr 2022-02-16 18:07:15 UTC
Created attachment 146831 [details]
Screenshots of the affected plasma settings page. above: German, below: English

SUMMARY
When the system language is set to german, the names of this KCM and the Plasma splash screen KCM are translated to the same word, "Startbildschirm".
This is not a bug in itself, but leads to strange behaviour:
When one of the affected KCMs is selected, clicking the other does not cause the system settings app to switch to the other settings page. Only navigation between the two affected settings pages is affected, navigating from or to any other part of the "appearance" tab produces the expected result.

My guess is that the settings app uses localized strings in some way to handle navigation, which causes breakage if there are two identically-named settings pages.

STEPS TO REPRODUCE
1. Ensure this KCM and the plasma splash screen KCM is installed
2. Set the system language to german
3. Visit system settings -> appearance, select one of the identically-named options

OBSERVED RESULT
Navigation between the two identically named pages breaks

EXPECTED RESULT
Navigation working normally

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux x86_64 with kernel 5.16.9-arch1-1
KDE Plasma Version: 5.24.1
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
See the attached image for an illustration of the issue.
Comment 1 Nate Graham 2022-02-17 22:46:19 UTC
This condition should never happen; forwarding to the German translation team. We had a similar issue in French.
Comment 2 mecklenr 2022-02-18 07:09:57 UTC
(In reply to Nate Graham from comment #1)
> This condition should never happen; forwarding to the German translation
> team. We had a similar issue in French.

Thanks, Nate. This is my first report here and I wasn't quite sure where to put it.
Why do we rely on the uniqueness of translated strings for navigation here?
That seems to me like it might cause similar issues elsewhere in other languages.
Comment 3 Nate Graham 2022-02-18 19:17:33 UTC
We could rely on the uniqueness of untranslated strings or IDS, but it would run into the same problem if a 3rd-party installed a KCM with the same name or ID. Ultimately we have to be able rely on *something* being unique. :)
Comment 4 Unknown 2022-02-20 09:12:36 UTC
SVN commit 1619554 by schwarzer:

distinguish splash from boot splash



 M  +4 -5      plasma-desktop/plasma-desktop._json_.po  
 M  +9 -8      plymouth-kcm/kcm_plymouth.po  
 M  +8 -8      plymouth-kcm/plymouth-kcm._desktop_.po  
 M  +6 -6      plymouth-kcm/plymouth-kcm._json_.po  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1619554