aboutsummaryrefslogtreecommitdiffstats
path: root/src/m_key_server_sync/KeyServerBatchLogic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/m_key_server_sync/KeyServerBatchLogic.cpp')
-rw-r--r--src/m_key_server_sync/KeyServerBatchLogic.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/m_key_server_sync/KeyServerBatchLogic.cpp b/src/m_key_server_sync/KeyServerBatchLogic.cpp
index 77411bc..18588eb 100644
--- a/src/m_key_server_sync/KeyServerBatchLogic.cpp
+++ b/src/m_key_server_sync/KeyServerBatchLogic.cpp
@@ -102,4 +102,12 @@ auto PublishSummary(int published, int total, const QString& host,
failures);
}
+auto InterruptedSummary(int handled, int total) -> QString {
+ return GTrC::tr("The key databases were changed while this was running, so "
+ "it was stopped after %1 of %2 keys. Nothing fetched was "
+ "imported. Please start it again.")
+ .arg(handled)
+ .arg(total);
+}
+
} // namespace KeyServerBatchLogic