Make progress strings translatable
This commit is contained in:
parent
1b62c663c8
commit
946ead4698
8 changed files with 59 additions and 3 deletions
|
@ -274,7 +274,7 @@ void IppPrinter::convertDone(QNetworkRequest request, QTemporaryFile* data)
|
|||
connect(_print_nam, SIGNAL(finished(QNetworkReply*)), data, SLOT(deleteLater()));
|
||||
data->open();
|
||||
|
||||
setBusyMessage("Transferring");
|
||||
setBusyMessage(tr("Transferring"));
|
||||
|
||||
QNetworkReply* reply = _print_nam->post(request, data);
|
||||
|
||||
|
@ -488,7 +488,7 @@ void IppPrinter::print(QJsonObject attrs, QString filename, bool alwaysUseMediaC
|
|||
contents = contents.append(filedata);
|
||||
file.close();
|
||||
|
||||
setBusyMessage("Transferring");
|
||||
setBusyMessage(tr("Transferring"));
|
||||
QNetworkReply* reply = _print_nam->post(request, contents);
|
||||
connect(reply, &QNetworkReply::uploadProgress, this, &IppPrinter::setProgress);
|
||||
}
|
||||
|
@ -524,7 +524,7 @@ void IppPrinter::print(QJsonObject attrs, QString filename, bool alwaysUseMediaC
|
|||
Tumble = true;
|
||||
}
|
||||
|
||||
setBusyMessage("Converting");
|
||||
setBusyMessage(tr("Converting"));
|
||||
|
||||
if(mimeType == Mimer::PDF)
|
||||
{
|
||||
|
|
|
@ -306,6 +306,14 @@
|
|||
<source>Unknown document format dimensions</source>
|
||||
<translation>Unbekannte Dokumentenformat Größe</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Transferring</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Converting</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>JobsPage</name>
|
||||
|
|
|
@ -306,6 +306,14 @@
|
|||
<source>Unknown document format dimensions</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Transferring</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Converting</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>JobsPage</name>
|
||||
|
|
|
@ -306,6 +306,14 @@
|
|||
<source>Unknown document format dimensions</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Transferring</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Converting</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>JobsPage</name>
|
||||
|
|
|
@ -306,6 +306,14 @@
|
|||
<source>Unknown document format dimensions</source>
|
||||
<translation>Onbekende afmetingen van documentformaat</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Transferring</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Converting</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>JobsPage</name>
|
||||
|
|
|
@ -306,6 +306,14 @@
|
|||
<source>Cannot convert this file format</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Transferring</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Converting</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>JobsPage</name>
|
||||
|
|
|
@ -306,6 +306,14 @@
|
|||
<source>Unknown document format dimensions</source>
|
||||
<translation>未知稳定格式尺寸</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Transferring</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Converting</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>JobsPage</name>
|
||||
|
|
|
@ -306,6 +306,14 @@
|
|||
<source>Unknown document format dimensions</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Transferring</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Converting</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>JobsPage</name>
|
||||
|
|
Loading…
Reference in a new issue