| Summary: | Konsole .desktop file keywords don't include "cmd" in translation | ||
|---|---|---|---|
| Product: | [Translations] i18n | Reporter: | Thomas Bertels <tbertels> |
| Component: | fr | Assignee: | KDE Francophone <kde-francophone> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | jazeix, xavier.besnard |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Manjaro | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Thomas Bertels
2025-10-26 08:46:09 UTC
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. |