diff options
Diffstat (limited to 'src/m_key_server_sync/KeyServerBatchLogic.cpp')
| -rw-r--r-- | src/m_key_server_sync/KeyServerBatchLogic.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/m_key_server_sync/KeyServerBatchLogic.cpp b/src/m_key_server_sync/KeyServerBatchLogic.cpp index c67f65e..02b93fc 100644 --- a/src/m_key_server_sync/KeyServerBatchLogic.cpp +++ b/src/m_key_server_sync/KeyServerBatchLogic.cpp @@ -73,6 +73,15 @@ auto JoinForImport(const QList<QByteArray>& blocks) -> QByteArray { return out; } +auto NotFoundText() -> QString { + return QCoreApplication::translate("GTrC", + "The key server does not have this key."); +} + +auto IsNotFound(const QString& error) -> bool { + return error == NotFoundText(); +} + auto RefreshSummary(int fetched, int total, const QStringList& failures) -> QString { return WithFailures( |
