Skip to content

Commit 9b10cac

Browse files
metsmakristelmerilain
authored andcommitted
Do not translate to RUS
IB-6670 Signed-off-by: Raul Metsma <raul@metsma.ee>
1 parent 36db74d commit 9b10cac

File tree

6 files changed

+7
-4
lines changed

6 files changed

+7
-4
lines changed

client/dialogs/MobileProgress.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ std::vector<unsigned char> MobileProgress::sign(const std::string &method, const
328328
{"hash", QByteArray::fromRawData((const char*)digest.data(), int(digest.size())).toBase64()},
329329
{"hashType", digestMethod},
330330
{"language", lang.value(Common::language(), QStringLiteral("EST"))},
331-
{"displayText", tr("Sign document")},
331+
{"displayText", tr("Sign document", "Do not translate to RUS (IB-6416)")},
332332
{"displayTextFormat", "UCS-2"}
333333
})).toJson();
334334
d->req.setUrl(QUrl(QStringLiteral("%1/signature").arg(d->URL())));

client/dialogs/MobileProgress.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
class QWidget;
2727

28-
class MobileProgress: public digidoc::Signer
28+
class MobileProgress final: public digidoc::Signer
2929
{
3030
Q_DECLARE_TR_FUNCTIONS(MobileProgress)
3131
public:

client/dialogs/SmartIDProgress.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ std::vector<unsigned char> SmartIDProgress::sign(const std::string &method, cons
326326
{"hash", QByteArray::fromRawData((const char*)digest.data(), int(digest.size())).toBase64()},
327327
{"hashType", digestMethod},
328328
{"requestProperties", QVariantHash{{"vcChoice", true}}},
329-
{"displayText", tr("Sign document")}
329+
{"displayText", tr("Sign document", "Do not translate to RUS (IB-6416)")}
330330
})).toJson();
331331
d->req.setUrl(QUrl(QStringLiteral("%1/signature/document/%2").arg(d->URL(), d->documentNumber)));
332332
qCDebug(SIDLog).noquote() << d->req.url() << data;

client/translations/en.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1916,6 +1916,7 @@ and enter Smart-ID PIN2-code.</translation>
19161916
</message>
19171917
<message>
19181918
<source>Sign document</source>
1919+
<comment>Do not translate to RUS (IB-6416)</comment>
19191920
<translation>Sign document</translation>
19201921
</message>
19211922
<message>

client/translations/et.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1916,6 +1916,7 @@ ja sisesta nutiseadmes Smart-ID PIN2-kood.</translation>
19161916
</message>
19171917
<message>
19181918
<source>Sign document</source>
1919+
<comment>Do not translate to RUS (IB-6416)</comment>
19191920
<translation>Allkirjasta dokument</translation>
19201921
</message>
19211922
<message>

client/translations/ru.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1919,7 +1919,8 @@ and enter Smart-ID PIN2-code.</source>
19191919
</message>
19201920
<message>
19211921
<source>Sign document</source>
1922-
<translation>Подписать документ</translation>
1922+
<comment>Do not translate to RUS (IB-6416)</comment>
1923+
<translation type="unfinished"></translation>
19231924
</message>
19241925
<message>
19251926
<source>Your Mobile-ID transaction has failed. Please contact your mobile network operator.</source>

0 commit comments

Comments
 (0)