summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2023-04-06 10:15:08 +0200
committerWerner Koch <wk@gnupg.org>2023-04-06 10:15:08 +0200
commit0262cd3371cf9794be94851955fec099b0e1fab5 (patch)
tree7427143938cd34e678759b716a07eb91f83ee50a
parent1a382660855fb46da86980797acc50af1718c359 (diff)
downloadlibgpg-error-0262cd3371cf9794be94851955fec099b0e1fab5.tar.gz
core: New error codes for PUKs and reset codes.
* src/err-codes.h.in (GPG_ERR_BAD_PUK): New (GPG_ERR_NO_RESET_CODE, GPG_ERR_BAD_RESET_CODE): New. -- Also updated the German translation
-rw-r--r--doc/errorref.txt11
-rw-r--r--po/de.po14
-rw-r--r--src/err-codes.h.in3
-rw-r--r--src/gpg-error.h.in2
4 files changed, 28 insertions, 2 deletions
diff --git a/doc/errorref.txt b/doc/errorref.txt
index 26d73fd..c4b8399 100644
--- a/doc/errorref.txt
+++ b/doc/errorref.txt
@@ -1097,6 +1097,17 @@ GPG_ERR_SERVICE Service error
An error occured in a service component. This is a generic
version of GPG_ERR_AGENT et al.
+GPG_ERR_BAD_PUK Bad PUK
+
+ A wrong PIN Unblocking Code was used.
+
+GPG_ERR_NO_RESET_CODE No reset code
+
+ A reset code has not been configured for the card or token.
+
+GPG_ERR_BAD_RESET_CODE No reset code
+
+ A wrong reset code was used.
GPG_ERR_SYSTEM_BUG System bug detected
diff --git a/po/de.po b/po/de.po
index 063c0f2..1adcf6f 100644
--- a/po/de.po
+++ b/po/de.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: libgpg-error-1.19\n"
"Report-Msgid-Bugs-To: translations@gnupg.org\n"
-"PO-Revision-Date: 2021-03-22 10:25+0100\n"
+"PO-Revision-Date: 2023-04-06 10:13+0200\n"
"Last-Translator: Werner Koch <wk@gnupg.org>\n"
"Language-Team: none\n"
"Language: de\n"
@@ -69,6 +69,9 @@ msgstr "TPM2d"
msgid "TLS"
msgstr "TLS"
+msgid "TKD"
+msgstr "TKD"
+
msgid "Any source"
msgstr "Unspezifische Quelle"
@@ -987,6 +990,15 @@ msgstr "Service ist nicht aktiv"
msgid "Service error"
msgstr "Fehler im Service"
+msgid "Bad PUK"
+msgstr "Falsche PUK"
+
+msgid "No reset code"
+msgstr "Kein Rückstellcode"
+
+msgid "Bad reset code"
+msgstr "Falscher Rückstellcode"
+
msgid "System bug detected"
msgstr "Fehler im System entdeckt"
diff --git a/src/err-codes.h.in b/src/err-codes.h.in
index c65775f..d8b2fb0 100644
--- a/src/err-codes.h.in
+++ b/src/err-codes.h.in
@@ -339,6 +339,9 @@
317 GPG_ERR_KEYBOXD Keybox daemon error
318 GPG_ERR_NO_SERVICE Service is not running
319 GPG_ERR_SERVICE Service error
+320 GPG_ERR_BAD_PUK Bad PUK
+321 GPG_ERR_NO_RESET_CODE No reset code
+322 GPG_ERR_BAD_RESET_CODE Bad reset code
# This range is free for use.
666 GPG_ERR_SYSTEM_BUG System bug detected
diff --git a/src/gpg-error.h.in b/src/gpg-error.h.in
index 8e22dde..94dc105 100644
--- a/src/gpg-error.h.in
+++ b/src/gpg-error.h.in
@@ -1084,7 +1084,7 @@ void _gpgrt_log_assert (const char *expr, const char *file, int line,
/*
* Spawn functions (Not yet available)
*/
-/* Internal flag to ihnerit file descriptor/handle */
+/* Internal flag to inherit file descriptor/handle */
#define GPGRT_SPAWN_INHERIT_FILE 1
#define GPGRT_SPAWN_NONBLOCK 16 /* Set the streams to non-blocking. */