SUMMARY Keywords=terminal;console;script;run;execute;command;command-line;commandline;cli;bash;sh;shell;zsh;cmd;command prompt Keywords[fr]=terminal ; console ; script ; lancer ; exécuter ;commande ; commande en ligne ; cli ; bash ; sh ; shell ; zsh ; invite de commandes cmd is missing in French. STEPS TO REPRODUCE 1. Open Kickoff 2. Type cmd OBSERVED RESULT Konsole isn't shown EXPECTED RESULT Konsole should be shown SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE Plasma Version: 6.3.6 KDE Frameworks Version: 6.18.0 Qt Version: 6.9.2 ADDITIONAL INFORMATION For some reason, the French .desktop files translations are the only ones to have spaces around the ;
Hi, thanks for the report. I just fixed it in http://websvn.kde.org/?view=revision&revision=1721213. @Xavier: for the spaces around, I think it's spotted by pology or automatically updated. Can you check if it can ignore the desktop files?
Hi. Concerning the raised issue: @Johnny: The generic rule is to put an unbreakable space before certain characters and a space after. This applies at least to ':', '?' and '';' This point is documented in : https://community.kde.org/KDE_Localization/fr/grammaire * Les ponctuations fortes (dites aussi doubles) sont : ; ? ! qui nécessitent : un espace insécable avant et un espace après ; Currently, all strings are subject to this rule and I check translations accordingly. May be, this point should be reviewed and the tool updated accordingly. Waiting for further guidance or tool modifications. Regards. Xavier
(In reply to Xavier Besnard from comment #2) > Hi. > Concerning the raised issue: > @Johnny: The generic rule is to put an unbreakable space before certain > characters and a space after. This applies at least to ':', '?' and '';' > > This point is documented in : > https://community.kde.org/KDE_Localization/fr/grammaire > * Les ponctuations fortes (dites aussi doubles) sont : ; ? ! qui > nécessitent : un espace insécable avant et un espace après ; > > Currently, all strings are subject to this rule and I check translations > accordingly. > May be, this point should be reviewed and the tool updated accordingly. > > Waiting for further guidance or tool modifications. > Regards. Xavier From what I understand, in the desktop files, we have a list of keywords splitted by ";" which are used by different tools to be able to filter/search per keywords. If I take one file randomly: https://invent.kde.org/graphics/koko/-/blob/master/src/org.kde.koko.desktop?ref_type=heads#L121-152. In this case, we don't need to have the extra spaces (it is not a sentence). I'm not sure how the different keyword parsers work, if the spaces are totally ignored (in which case, we should not care) or if they can cause misses when searching (in this case, we should remove them). Logically, I would say parsers do a grep in the list elements so spaces should be ignored.