]> granicus.if.org Git - neomutt/commitdiff
Use gettext to determine the good signature pattern.
authorThomas Roessler <roessler@does-not-exist.org>
Tue, 11 Dec 2001 09:28:05 +0000 (09:28 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Tue, 11 Dec 2001 09:28:05 +0000 (09:28 +0000)
contrib/gpg.rc

index d76f95ea7c100773434726f52a2a48b938a6ea50..7770cd074e344bfdc949dc6efea096ca4455a7f7 100644 (file)
@@ -74,5 +74,9 @@ set pgp_list_secring_command="/usr/bin/gpg   --no-verbose --batch --quiet   --wi
 # set pgp_getkeys_command="pkspxycwrap %r"
 
 # pattern for good signature - may need to be adapted to locale!
-set pgp_good_sign="^gpg: Good signature from"
+
+# set pgp_good_sign="^gpg: Good signature from"
+
+# OK, here's a version which uses gnupg's message catalog:
+set pgp_good_sign="`gettext -d gnupg -s 'Good signature from "' | tr -d '\"'`"