From d91c7a06ff289aa32c5eed25d83674917715a3da Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 28 Jun 2006 19:33:14 +0000 Subject: [PATCH] i18n fix --- g10/ChangeLog | 3 +++ g10/import.c | 9 +++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/g10/ChangeLog b/g10/ChangeLog index dface5ef2..2765ec94a 100644 --- a/g10/ChangeLog +++ b/g10/ChangeLog @@ -16,6 +16,9 @@ 2006-06-28 Werner Koch + * import.c (check_prefs_warning): Fix change for better + translatability. + * app-openpgp.c (do_writekey): Fixed computation of memmove length. This led to garbled keys if E was larger than one byte. Thanks to Achim Pietig for hinting at the garbled E. diff --git a/g10/import.c b/g10/import.c index eeacb58d1..6e581cfab 100644 --- a/g10/import.c +++ b/g10/import.c @@ -563,8 +563,13 @@ print_import_check (PKT_public_key * pk, PKT_user_id * id) static void check_prefs_warning(PKT_public_key *pk) { - log_info(_("WARNING: key %s contains preferences for unavailable\n" - "algorithms on these user IDs:\n"), keystr_from_pk(pk)); + log_info(_("WARNING: key %s contains preferences for unavailable\n"), + keystr_from_pk(pk)); + /* TRANSLATORS: This string is belongs to the previous one. They are + only split up to allow printing of a common prefix. The + check_prefs_warning tag is a hack to make this string unique. */ + log_info(_(" algorithms on these user IDs:\n" + "\0" "check_prefs_warning")); } static void