[zypp-commit] r6893 - /trunk/zypper/src/zypper-callbacks.cc
Author: jkupec Date: Mon Aug 27 15:08:45 2007 New Revision: 6893 URL: http://svn.opensuse.org/viewcvs/zypp?rev=6893&view=rev Log: - mark [y/n] for translation (#304650) Modified: trunk/zypper/src/zypper-callbacks.cc Modified: trunk/zypper/src/zypper-callbacks.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/zypper/src/zypper-callbacks.cc?rev=6893&r1=6892&r2=6893&view=diff ============================================================================== --- trunk/zypper/src/zypper-callbacks.cc (original) +++ trunk/zypper/src/zypper-callbacks.cc Mon Aug 27 15:08:45 2007 @@ -126,7 +126,8 @@ bool read_bool_answer(const string & question, bool default_answer) { if (!gSettings.machine_readable) - cout << CLEARLN << question << " [y/n]: " << flush; + cout << CLEARLN << question + << " [" << _("y") << "/" << _("n") << "]: " << flush; // non-interactive mode: print the answer for convenience and return default if (gSettings.non_interactive) @@ -143,20 +144,18 @@ bool been_here_before = false; while (stm.good () // TranslatorExplanation This is a Lowercase 'y' for "yes" used as an - // answer in y/n prompts. Translate to the same letter as you translated - // it in the "[y/n]" string!. + // answer in y/n prompts. This letter will appear in the "Question [y/n]" + // prompts and will be expected as a possible answer. && c != _("y") // TranslatorExplanation Uppercase 'Y' for "yes" used as an - // answer in y/n prompts. Translate to the same letter as you translated - // it in the "[y/n]" string!. + // answer in y/n prompts. && c != _("Y") // TranslatorExplanation Lowercase 'n' for "no" used as an - // answer in y/n prompts. Translate to the same letter as you translated - // it in the "[y/n]" string!. + // answer in y/n prompts. This letter will appear in the "Question [y/n]" + // prompts and will be expected as a possible answer. && c != _("n") // TranslatorExplanation Uppercase 'N' for "no" used as an - // answer in y/n prompts. Translate to the same letter as you translated - // it in the "[y/n]" string!. + // answer in y/n prompts. && c != _("N")) { if (been_here_before) -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org
participants (1)
-
jkupec@svn.opensuse.org