Fix error message
This commit is contained in:
parent
04de7388b1
commit
c63abf4809
@ -1107,11 +1107,11 @@ in %1</source>
|
||||
(%2)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/translate/translator.cpp" line="276"/>
|
||||
<location filename="../../src/translate/translator.cpp" line="275"/>
|
||||
<source>All translators failed
|
||||
</source>
|
||||
%1</source>
|
||||
<translation>Не удалось перевести текст
|
||||
</translation>
|
||||
%1</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
|
@ -272,8 +272,8 @@ void Translator::processQueue()
|
||||
continue;
|
||||
|
||||
if (task->translators.isEmpty()) {
|
||||
task->error =
|
||||
tr("All translators failed\n").arg(task->translatorErrors.join("\n"));
|
||||
task->error = tr("All translators failed\n%1")
|
||||
.arg(task->translatorErrors.join("\n"));
|
||||
finishedTasks.push_back(task);
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user