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

            Bug ID: 361510
           Summary: With i18n() empty strings as arguments seem ignored,
                    placeholder slip into result
           Product: frameworks-kdeclarative
           Version: 5.20.0
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: notm...@gmail.com
          Reporter: kosse...@kde.org
                CC: kdelibs-b...@kde.org

Seems (in Plasma widget code at least) when arguments which are empty strings
are passed to i18n() & friend calls, they are treated as non-existent,
resulting in placeholders to survive the replacement and replacements done in
wrong places.

Examples:
i18n("%1", "") -> "%1"
i18n("%1-%2", "", "text") -> "text-%2"

This happens both for verbatim empty strings and variables containing empty
strings.

Reproducible: Always

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

Reply via email to