Improve prompt with more options hidden behind '?' (bnc#844373)
authorMichael Andres <ma@suse.de>
Tue, 15 Oct 2013 16:36:45 +0000 (18:36 +0200)
committerMichael Andres <ma@suse.de>
Tue, 15 Oct 2013 16:36:45 +0000 (18:36 +0200)
src/utils/prompt.cc

index db5cada..220b156 100644 (file)
@@ -83,6 +83,8 @@ const string PromptOptions::optionString() const
     if (shown_count)
       option_str << "/";
     fprint_color(option_str, "?", COLOR_CONTEXT_PROMPT_OPTION);
+    // translators: Press '?' to see all options embedded in this prompt: "Continue? [y/n/? shows all options] (y):"
+    option_str << " " << _("shows all options");
   }
 
   if (!_options.empty() && shown_count)