forked from qt-creator/qt-creator
Tr/Python: Fix translation issues
- Use parametrization - Split message that relied on sentence structure of the language Change-Id: I5c0cca684bc9c94219e740fe0292e358a91714da Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -634,7 +634,8 @@ static void addPythonsFromRegistry(QList<Interpreter> &pythons)
|
||||
const FilePath &executable = FilePath::fromUserInput(regVal.toString());
|
||||
if (executable.exists() && !alreadyRegistered(pythons, executable)) {
|
||||
pythons << Interpreter{QUuid::createUuid().toString(),
|
||||
name + Tr::tr(" (Windowed)"),
|
||||
//: <python display name> (Windowed)
|
||||
Tr::tr("%1 (Windowed)").arg(name),
|
||||
FilePath::fromUserInput(regVal.toString())};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user