Gui: remove superfluous whitespace from translation string

Avoids possible translation mistakes by only exposing non-whitespace strings.
This commit is contained in:
luz paz
2021-11-22 09:55:16 -05:00
committed by Uwe
parent 8b7dadc1ab
commit a07c7e4333
2 changed files with 13 additions and 7 deletions

View File

@@ -101,7 +101,7 @@ PyObject* CommandPy::listByShortcut(PyObject *args)
re.setCaseSensitivity(Qt::CaseInsensitive);
if (!re.isValid()){
std::stringstream str;
str << "Invalid regular expression: " << shortcut_to_find;
str << "Invalid regular expression:" << ' ' << shortcut_to_find;
throw Py::RuntimeError(str.str());
}