Use subs() instead of QString::number() for i18n

wilder-portage
Kurt Hindenburg 7 years ago
parent 71bbe3dc91
commit eec973efef
  1. 2
      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);

Loading…
Cancel
Save