Bug 449338 - In the Appearance section of system settings, the last two subsections are named the same
Summary: In the Appearance section of system settings, the last two subsections are na...
Status: RESOLVED FIXED
Alias: None
Product: i18n
Classification: Translations
Component: fr (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KDE Francophone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-29 19:41 UTC by makosol
Modified: 2022-02-25 08:10 UTC (History)
5 users (show)

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


Attachments
screenshot (101.30 KB, image/png)
2022-01-29 19:41 UTC, makosol
Details

Note You need to log in before you can comment on or make changes to this bug.
Description makosol 2022-01-29 19:41:15 UTC
Created attachment 146054 [details]
screenshot

SUMMARY
In the Appearance section of system settings, the last two subsections are named the same (at least in french : "Écran de démarrage"), cf screenshot.


STEPS TO REPRODUCE
1. Go the the Appearance section of system settings

OBSERVED RESULT
there are two sub-sections with the same name.

EXPECTED RESULT
the sections should not have the same name.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE NEON 5.25.3
(available in About System)
KDE Plasma Version: 5.25.3
KDE Frameworks Version: 5.90
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Comment 1 Nicolas Fella 2022-01-29 23:01:28 UTC
It seems like there are two different issues here:
- Those are actually two different entries, with different names in English, but in some languages the names are translated to the same name. I've forwarded this to our translators
- When one of those is open switching to the other doesn't seem to work, but only when using a language where the two have the same name
Comment 2 Nicolas Fella 2022-01-29 23:22:43 UTC
> - When one of those is open switching to the other doesn't seem to work, but
> only when using a language where the two have the same name

the cause for that is obvious, there's code that prevents switching if the name is the same: https://invent.kde.org/plasma/systemsettings/-/blob/master/sidebar/SidebarMode.cpp#L473

It should be doable to fix that by comparing the internal id instead, but not sure it's worth it since the name never should be the same in the first place
Comment 3 Nate Graham 2022-02-01 21:59:00 UTC
I agree, KCMs with the same names is nonsense.
Comment 4 Bruno P. 2022-02-10 09:16:07 UTC
Here's a suggestion for french translators :
- the first entry “Splash Screen” is the splash screen displayed just after login ton graphical session. It should be “Écran d'ouverture de session” or shorter, “Écran de session” in french;
- second entry “Boot Splash Screen” is the splash screen displayed at boot. It should be “Écran de démarrage”
The same should apply to buttons “Get new (boot) splash screen”

HTH
Comment 5 Jazeix Johnny 2022-02-12 09:36:37 UTC
(In reply to Bruno P. from comment #4)
> Here's a suggestion for french translators :
> - the first entry “Splash Screen” is the splash screen displayed just after
> login ton graphical session. It should be “Écran d'ouverture de session” or
> shorter, “Écran de session” in french;
> - second entry “Boot Splash Screen” is the splash screen displayed at boot.
> It should be “Écran de démarrage”
> The same should apply to buttons “Get new (boot) splash screen”
> 
> HTH

Thanks for the report.
I see at some places we also use "écran d'accueil" for "splash screen". "Ecran de session" seems a bit weird for me and "Ecran d'ouverture de session" is nicer but longer.
We should agree on the term and add it in https://community.kde.org/KDE_Localization/fr/dictionnaire so future translations are coherent
Comment 6 Xavier Besnard 2022-02-16 10:23:06 UTC
Hello.
I found "Splash Screen" in the following po files:
* messages/kcm-grub2/kcm-grub2.po:msgid "Show Splash Screen"
* messages/kwave/kwave.po:msgid "Disable the Splash Screen."
* messages/kwin/kcm_kwinrules.po:msgid "Splash Screen"
* messages/plasma-desktop/kcm_splashscreen.po:msgid "Splash Screen"
* messages/plasma-desktop/plasma-desktop._desktop_.po:msgid "Splash Screens"
* messages/plasma-desktop/plasma-desktop._json_.po:msgid "Splash Screen"
* messages/plymouth-kcm/kcm_plymouth.po:msgid "Get New Boot Splash Screens..."
* messages/plymouth-kcm/plymouth-kcm._desktop_.po:msgid "Boot Splash Screen"
* messages/plymouth-kcm/plymouth-kcm._json_.po:msgid "Boot Splash Screen"

According to the proposal, I propose the following rule: 
* For a graphical connection screen, "splash screen" shall be translated by "Écran de session". 
* For boot splash screen (Grub2), translations remain "Écran de démarrage"
* For applications, using a splash screen, I propose keeping ""Écran de démarrage" (grub may be considered as an appli)

I updated kcm_splashscreen.po supposing it is related to the graphical connection screen, using "Écran de session". Modifications are commited.

 Let me know, if that is acceptable or not, prior to close the report.
Cheers. Xavier