aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g10/ChangeLog3
-rw-r--r--g10/import.c9
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 <[email protected]>
+ * 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