summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrius Štikonas <andrius@stikonas.eu>2016-07-13 21:10:07 (GMT)
committerAndrius Štikonas <andrius@stikonas.eu>2016-07-13 21:10:07 (GMT)
commit9c273f8900dc65536457c8f7b70150406ef5867c (patch)
treedf04961565fa6716a6ccd86179b38a2c6bf3de7f
parent4822b13b9cf04160156921e81611cbb01695b9c9 (diff)
KLocale->KLocalizedString.
-rw-r--r--kgpg.h4
-rw-r--r--kgpg.kcfg2
2 files changed, 3 insertions, 3 deletions
diff --git a/kgpg.h b/kgpg.h
index 08b07a2..e0d3335 100644
--- a/kgpg.h
+++ b/kgpg.h
@@ -21,14 +21,14 @@
#include <QApplication>
#include <QKeySequence>
-#include <KLocale>
+#include <KLocalizedString>
class KeysManager;
class KGpgExternalActions;
class QCommandLineParser;
class QString;
-static const char * const EMailTemplateText=I18N_NOOP(
+static const QString EMailTemplateText=i18n(
"Hi,\n\nplease find attached the user id '%UIDNAME%' of your key %KEYID% signed by me. "
"This mail is encrypted with that key to make sure you control both the email address and the key.\n\n"
"If you have multiple user ids, I sent the signature for each user id separately to that user id's associated email address. "
diff --git a/kgpg.kcfg b/kgpg.kcfg
index ca0b6fb..9a08156 100644
--- a/kgpg.kcfg
+++ b/kgpg.kcfg
@@ -264,7 +264,7 @@
<group name="Key Signing">
<entry name="EmailTemplate" type="String" key="Email_Template">
<label>This is the text of the email sent by the "Sign and Mail User ID" action.</label>
- <default code="true">i18n(EMailTemplateText)</default>
+ <default code="true">EMailTemplateText</default>
</entry>
<entry name="MailUats" type="Enum" key="Mail_Uats">
<choices>