]> git.deb.at Git - pkg/abook.git/blobdiff - ui.c
Made string less ambiguous for translators.
[pkg/abook.git] / ui.c
diff --git a/ui.c b/ui.c
index 1923138da1d45ac9d44637cd6a986bd128a54c76..644c2acc184b237fb9be0a18d5c0b255e045c1cb 100644 (file)
--- 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();