https://bugs.kde.org/show_bug.cgi?id=528654

            Bug ID: 528654
           Summary: [fr] Translation error breaking graph axis formatting
                    in kinfocenter
    Classification: Translations
           Product: i18n
      Version First unspecified
       Reported In:
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: fr
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Hello,

I spotted a translation issue in Kinfocenter (Energy / Énergie section). The
left axis of the graphs displays broken strings like "�%. De %" or "�%. De W"
instead of values like "20 %" or "6 W".
The French translation incorrectly alters the "%.0f" format specifier, likely
mistaking the digit 0 for an uppercase "O".


Here are the faulty entries found in "messages/kinfocenter/kcm_energyinfo.po":


#. +> trunk6 stable6
#: ui/main.qml:314
#, kde-format
msgctxt "A format string with %1 as the short symbol for Watt"
msgid "%.0f %1"
msgstr " %. De %1"

Fix: The msgstr should preserve the format specifier exactly like the original,
with no extra space: "%.0f %1"


#. +> trunk6 stable6
#: ui/main.qml:315
#, kde-format
msgctxt "A format string with %1 as the percentage symbol '%'"
msgid "%.0f %1"
msgstr " %. De %1"

Fix: The msgstr should also be restored to: "%.0f %1"


Thank you for your hard work and best regards

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to