Bug 498559

Summary: French title for the Used Swap Memory in Plasma System Monitor is only "Utilisé"
Product: [Translations] i18n Reporter: grouchomarx.fr
Component: frAssignee: KDE Francophone <kde-francophone>
Status: RESOLVED FIXED    
Severity: minor CC: xavier.besnard
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot with the current translation
Screenshot with a shorter translation

Description grouchomarx.fr 2025-01-12 14:35:53 UTC
Created attachment 177299 [details]
Screenshot with the current translation

Hello,
in the memory section of the Plasma System Monitor (default config), the physical memory used and swap memory used are displayed.
The title of the first one is "Mémoire physique utilisée", but the second one is only "Utilisé" (screenshot).

The current translation of the full message is "Mémoire d'échange « swap » utilisée" and I guess it doesn't fit because it is too long. So the short version "Utilisé" is displayed instead.

It seems that you have translated "Swap Memory" as both "Mémoire d'échange « swap »" and "Mémoire d'échange", so I would suggest to use the latter.

I quickly tested with "Mémoire d'échange utilisée" instead of "Mémoire d'échange « swap » utilisée", and the message is displayed correctly this time.


*** in messages/ksystemstats/ksystemstats_plugins.po

#. +> trunk6 stable6 stable5
#: memory/backend.cpp:95
#, kde-format
msgctxt "@title"
msgid "Used Swap Memory"
msgstr "Mémoire d'échange « swap » utilisée"



Also, for consistency, I have found 2 more instances of this:

#. +> trunk6 stable6 stable5
#: memory/backend.cpp:18
#, kde-format
msgctxt "@title"
msgid "Swap Memory"
msgstr "Mémoire d'échange « swap »"

#. +> trunk6 stable6 stable5
#: memory/backend.cpp:104
#, kde-format
msgctxt "@title"
msgid "Free Swap Memory"
msgstr "Mémoire d'échange « swap » libre"


Thank you for your work,
Best regards
Comment 1 grouchomarx.fr 2025-01-12 14:37:10 UTC
Created attachment 177300 [details]
Screenshot with a shorter translation
Comment 2 Xavier Besnard 2025-01-12 17:43:05 UTC
Hello. Thanks for your report.
I found the following lines in all KDE FR po files refering to "swap memory":
messages/ksystemstats/ksystemstats_plugins.po:msgid "Swap Memory"
messages/ksystemstats/ksystemstats_plugins.po:msgid "Total Swap Memory"
messages/ksystemstats/ksystemstats_plugins.po:msgid "Used Swap Memory"
messages/ksystemstats/ksystemstats_plugins.po:msgid "Used Swap Memory Percentage"
messages/ksystemstats/ksystemstats_plugins.po:msgid "Free Swap Memory"
messages/ksystemstats/ksystemstats_plugins.po:msgid "Free Swap Memory Percentage"
messages/libksysguard/ksgrd.po:msgid "Swap Memory"

According to your request, I align the translations by deleting the « swap » word. The files are committed.
Thanks for your contribution. Regards. Xavier

Note: Unchanged:
messages/libksysguard/processcore.po:15390:msgid "This is an approximation of the amount of swap memory this process is using."
messages/libksysguard/processcore.po-15475-msgstr "Il s'agit d'une approximation de la quantité de mémoire d'échange utilisée par ce processus."