瀏覽代碼

adds a comment for Translators to the 'do as I say' prompt to
prevent problems like #691024 in new translations

David Kalnischkies 13 年之前
父節點
當前提交
18056707d9
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      cmdline/apt-get.cc

+ 3 - 1
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)
       if (_config->FindB("APT::Get::Trivial-Only",false) == true)
 	 return _error->Error(_("Trivial Only specified but this is not a trivial operation."));
 	 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!");
       const char *Prompt = _("Yes, do as I say!");
       ioprintf(c2out,
       ioprintf(c2out,
 	       _("You are about to do something potentially harmful.\n"
 	       _("You are about to do something potentially harmful.\n"