From eec973efef42e6714799ca2c0f53b6e07e7b2b90 Mon Sep 17 00:00:00 2001 From: Kurt Hindenburg Date: Sun, 30 Dec 2018 10:57:54 -0500 Subject: [PATCH] Use subs() instead of QString::number() for i18n --- src/TerminalDisplay.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TerminalDisplay.cpp b/src/TerminalDisplay.cpp index d5cc3951..e8c8ce1c 100644 --- a/src/TerminalDisplay.cpp +++ b/src/TerminalDisplay.cpp @@ -3454,7 +3454,7 @@ void TerminalDisplay::doPaste(QString text, bool appendReturn) description = i18n("ESC: Used for special commands to the current process"); break; default: - description = i18n("Other unprintable character (\\x%1)", QString::number(c.unicode(), 16)); + description = ki18n("Other unprintable character (\\x%1)").subs(c.unicode(), 0, 16).toString(); break; } unsafeCharacters.append(description);