Commit 939b1edf authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Properly encode u009C on C++

parent 434d3155
......@@ -242,14 +242,14 @@ QString AbstractResource::upgradeText() const
return i18n("Update to version %1", available);
} else if (!installed.isEmpty() && !available.isEmpty()) {
// Old and new version numbers
// This thing with \x9C is a fancy feature in QML text handling:
// This thing with \u009C is a fancy feature in QML text handling:
// when the string will be elided, it shows the string after
// the last \x9C. This allows us to show a smaller string
// the last \u009C. This allows us to show a smaller string
// when there's now enough room
// All of this is mostly for the benefit of KDE Neon users,
// since the version strings there are really really long
return i18nc("Do not translate or alter \\x9C", "%1 → %2\x9C%1 → %2\x9C%2", installed, available);
return i18nc("Do not translate or alter \\u009C", "%1 → %2\u009C%1 → %2\u009C%2", installed, available);
} else {
// Available version only, for when the installed version
// isn't available for some reason
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment