From b637c0ba84885f3b0d8738bbb1f88216457a4e4d Mon Sep 17 00:00:00 2001 From: Ben Kibbey Date: Sat, 8 Aug 2009 14:56:16 -0400 Subject: [PATCH] Minor typo fix in the knownhost dialog. --- po/libpwmd.pot | 26 +++++++++++++++++++++----- src/pwmc.c | 2 +- 2 files changed, 22 insertions(+), 6 deletions(-) diff --git a/po/libpwmd.pot b/po/libpwmd.pot index e50f72de..cce04469 100644 --- a/po/libpwmd.pot +++ b/po/libpwmd.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: bjk@luxsci.net\n" -"POT-Creation-Date: 2009-05-09 16:50-0400\n" +"POT-Creation-Date: 2009-08-08 14:54-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -32,7 +32,7 @@ msgstr "" msgid "Unknown error" msgstr "" -#: src/libpwmd.c:1267 src/pinentry.c:275 +#: src/libpwmd.c:1289 src/pinentry.c:275 msgid "Invalid passphrase, please try again." msgstr "" @@ -112,7 +112,7 @@ msgstr "" msgid "Please type the passphrase again for confirmation." msgstr "" -#: src/pwmc.c:64 +#: src/pwmc.c:66 msgid "" "Read a PWMD protocol command from standard input.\n" "\n" @@ -192,6 +192,9 @@ msgid "" " --inquire-fd \n" " read inquire data from the specified file descriptor\n" "\n" +" --cipher \n" +" the cipher to use when saving\n" +"\n" " --save, -S\n" " send the SAVE command before exiting\n" "\n" @@ -205,7 +208,7 @@ msgid "" " --help\n" msgstr "" -#: src/pwmc.c:159 +#: src/pwmc.c:164 msgid "" "\n" "A url string (specified with --url) may be in the form of:\n" @@ -213,6 +216,19 @@ msgid "" " ssh[46]://[username@]hostname[:port],identity,known_hosts\n" msgstr "" -#: src/ssh.c:54 +#: src/pwmc.c:280 +#, c-format +msgid "" +"Password Manager Daemon: %s\n" +"\n" +"While attempting an SSH connection to %s, there was a problem verifying it's " +"hostkey against the known and trusted hosts file because it's hostkey was " +"not found.\n" +"\n" +"Would you like to treat this connection as trusted for this and future " +"connections by adding %s's hostkey to the known hosts file?" +msgstr "" + +#: src/ssh.c:55 msgid "libpwmd saying bye!" msgstr "" diff --git a/src/pwmc.c b/src/pwmc.c index 44b53bfc..963d427d 100644 --- a/src/pwmc.c +++ b/src/pwmc.c @@ -277,7 +277,7 @@ static gpg_error_t knownhost_cb(void *data, const char *host, const char *key, size_t len) { gpg_error_t rc; - char *buf = pwmd_strdup_printf(N_("Password Manager Daemon: %s\n\nWhile attepting an SSH connection to %s, there was a problem verifying it's hostkey against the known and trusted hosts file because it's hostkey was not found.\n\nWould you like to treat this connection as trusted for this and future connections by adding %s's hostkey to the known hosts file?"), (char *)data, host, host); + char *buf = pwmd_strdup_printf(N_("Password Manager Daemon: %s\n\nWhile attempting an SSH connection to %s, there was a problem verifying it's hostkey against the known and trusted hosts file because it's hostkey was not found.\n\nWould you like to treat this connection as trusted for this and future connections by adding %s's hostkey to the known hosts file?"), (char *)data, host, host); rc = pwmd_setopt(pwm, PWMD_OPTION_PINENTRY_TITLE, buf); pwmd_free(buf); -- 2.11.4.GIT