From: Cedric Duval Date: Sun, 2 Oct 2005 22:13:25 +0000 (+0000) Subject: Made string less ambiguous for translators. X-Git-Tag: upstream/0.6.1~2^2~142 X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=4164f9d94097406569736b02f5caa6a76eff38f1;p=pkg%2Fabook.git Made string less ambiguous for translators. --- diff --git a/po/abook.pot b/po/abook.pot index 555dc16..3a14feb 100644 --- a/po/abook.pot +++ b/po/abook.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-09-30 19:27+0300\n" +"POT-Creation-Date: 2005-10-03 00:06+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -220,7 +220,7 @@ msgstr "" msgid "Add \"%s <%s>\" to %s? (%c/%c)\n" msgstr "" -#: abook.c:744 abook.c:751 ui.c:344 +#: abook.c:744 abook.c:751 ui.c:344 ui.c:606 msgid "keybinding for yes|y" msgstr "" @@ -445,7 +445,7 @@ msgstr "" msgid "Export ll, export elected, or ancel?" msgstr "" -#: filter.c:328 ui.c:621 +#: filter.c:328 ui.c:629 msgid "keybindings:all/selected/cancel|asc" msgstr "" @@ -669,26 +669,27 @@ msgstr "" msgid "Search hit bottom, continuing at top" msgstr "" -#: ui.c:602 -msgid "Your current data will be lost - Press 'y' to continue" +#: ui.c:604 +#, c-format +msgid "Your current data will be lost - Press '%c' to continue" msgstr "" -#: ui.c:621 +#: ui.c:629 msgid "Print ll, print elected, or ancel?" msgstr "" -#: ui.c:627 +#: ui.c:635 msgid "No selected items" msgstr "" -#: ui.c:653 +#: ui.c:661 msgid "File to open: " msgstr "" -#: ui.c:663 +#: ui.c:671 msgid "Save current database" msgstr "" -#: ui.c:671 +#: ui.c:679 msgid "Sorry, the specified file appears not to be a valid abook addressbook" msgstr "" diff --git a/ui.c b/ui.c index 1923138..644c2ac 100644 --- a/ui.c +++ b/ui.c @@ -598,10 +598,18 @@ ui_print_number_of_items() void ui_read_database() { - if(items > 0) - if(!statusline_ask_boolean(_("Your current data will be lost - " - "Press 'y' to continue"), FALSE)) + char *msg; + + if(items > 0) { + msg = mkstr(_("Your current data will be lost - " + "Press '%c' to continue"), + *(S_("keybinding for yes|y"))); + if(!statusline_ask_boolean(msg, FALSE)) { + free(msg); return; + } + free(msg); + } load_database(datafile); refresh_list();