summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2012-10-20 15:23:21 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2012-10-20 15:23:21 +0200
commit18056707d923f55c165385f08569bed00162cb7b (patch)
treee3bad1fb10edb0056547a715683808fb5483fd87
parent9708c074b57c4f39a79ccb327c3eeafc3152d290 (diff)
adds a comment for Translators to the 'do as I say' prompt to
prevent problems like #691024 in new translations
-rw-r--r--cmdline/apt-get.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc
index 4e307b657..6890b7120 100644
--- a/cmdline/apt-get.cc
+++ b/cmdline/apt-get.cc
@@ -1255,7 +1255,9 @@ bool InstallPackages(CacheFile &Cache,bool ShwKept,bool Ask = true,
{
if (_config->FindB("APT::Get::Trivial-Only",false) == true)
return _error->Error(_("Trivial Only specified but this is not a trivial operation."));
-
+
+ // TRANSLATOR: This string needs to be typed by the user as a confirmation, so be
+ // careful with hard to type or special characters (like non-breaking spaces)
const char *Prompt = _("Yes, do as I say!");
ioprintf(c2out,
_("You are about to do something potentially harmful.\n"