Skip to content

Commit

Permalink
Merge pull request #832 from open-eid/stable
Browse files Browse the repository at this point in the history
Do not translate to RUS
  • Loading branch information
kristelmerilain authored Oct 13, 2020
2 parents a5308d7 + 9889e04 commit 1ee0d56
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.10)
if(POLICY CMP0074)
cmake_policy(SET CMP0074 NEW)
endif()
project(qdigidoc4 VERSION 4.2.6)
project(qdigidoc4 VERSION 4.2.7)

set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules")
set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
2 changes: 1 addition & 1 deletion client/dialogs/MobileProgress.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ std::vector<unsigned char> MobileProgress::sign(const std::string &method, const
{"hash", QByteArray::fromRawData((const char*)digest.data(), int(digest.size())).toBase64()},
{"hashType", digestMethod},
{"language", lang.value(Common::language(), QStringLiteral("EST"))},
{"displayText", tr("Sign document")},
{"displayText", tr("Sign document", "Do not translate to RUS (IB-6416)")},
{"displayTextFormat", "UCS-2"}
})).toJson();
d->req.setUrl(QUrl(QStringLiteral("%1/signature").arg(d->URL())));
Expand Down
2 changes: 1 addition & 1 deletion client/dialogs/MobileProgress.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

class QWidget;

class MobileProgress: public digidoc::Signer
class MobileProgress final: public digidoc::Signer
{
Q_DECLARE_TR_FUNCTIONS(MobileProgress)
public:
Expand Down
2 changes: 1 addition & 1 deletion client/dialogs/SmartIDProgress.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ std::vector<unsigned char> SmartIDProgress::sign(const std::string &method, cons
{"hash", QByteArray::fromRawData((const char*)digest.data(), int(digest.size())).toBase64()},
{"hashType", digestMethod},
{"requestProperties", QVariantHash{{"vcChoice", true}}},
{"displayText", tr("Sign document")}
{"displayText", tr("Sign document", "Do not translate to RUS (IB-6416)")}
})).toJson();
d->req.setUrl(QUrl(QStringLiteral("%1/signature/document/%2").arg(d->URL(), d->documentNumber)));
qCDebug(SIDLog).noquote() << d->req.url() << data;
Expand Down
1 change: 1 addition & 0 deletions client/translations/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1920,6 +1920,7 @@ and enter Smart-ID PIN2-code.</translation>
</message>
<message>
<source>Sign document</source>
<comment>Do not translate to RUS (IB-6416)</comment>
<translation>Sign document</translation>
</message>
<message>
Expand Down
1 change: 1 addition & 0 deletions client/translations/et.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1920,6 +1920,7 @@ ja sisesta nutiseadmes Smart-ID PIN2-kood.</translation>
</message>
<message>
<source>Sign document</source>
<comment>Do not translate to RUS (IB-6416)</comment>
<translation>Allkirjasta dokument</translation>
</message>
<message>
Expand Down
3 changes: 2 additions & 1 deletion client/translations/ru.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1923,7 +1923,8 @@ and enter Smart-ID PIN2-code.</source>
</message>
<message>
<source>Sign document</source>
<translation>Подписать документ</translation>
<comment>Do not translate to RUS (IB-6416)</comment>
<translation type="unfinished"></translation>
</message>
<message>
<source>Your Mobile-ID transaction has failed. Please contact your mobile network operator.</source>
Expand Down

0 comments on commit 1ee0d56

Please sign in to comment.