Author: jkupec Date: Tue Sep 11 10:23:07 2007 New Revision: 7171 URL: http://svn.opensuse.org/viewcvs/zypp?rev=7171&view=rev Log: - translator comments added Modified: trunk/zypper/src/zypper-misc.cc Modified: trunk/zypper/src/zypper-misc.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/zypper/src/zypper-misc.cc?rev=7171&r1=7170&r2=7171&view=diff ============================================================================== --- trunk/zypper/src/zypper-misc.cc (original) +++ trunk/zypper/src/zypper-misc.cc Tue Sep 11 10:23:07 2007 @@ -700,6 +700,7 @@ it != toupgrade.end(); ++it) { string title = boost::str(format(_PL( + // TranslatorExplanation %s is a "package", "patch", "pattern", etc "The following %s is going to be upgraded:", "The following %s are going to be upgraded:", it->second.size() @@ -712,7 +713,9 @@ it != todowngrade.end(); ++it) { string title = boost::str(format(_PL( + // TranslatorExplanation %s is a "package", "patch", "pattern", etc "The following %s is going to be downgraded:", + // TranslatorExplanation %s is a "packages", "patches", "patterns", etc "The following %s are going to be downgraded:", it->second.size() )) % kind_to_string_localized(it->first, it->second.size())); @@ -724,7 +727,9 @@ it != toinstall.end(); ++it) { string title = boost::str(format(_PL( + // TranslatorExplanation %s is a "package", "patch", "pattern", etc "The following NEW %s is going to be installed:", + // TranslatorExplanation %s is a "packages", "patches", "patterns", etc "The following NEW %s are going to be installed:", it->second.size() )) % kind_to_string_localized(it->first, it->second.size())); @@ -736,7 +741,9 @@ it != toremove.end(); ++it) { string title = boost::str(format(_PL( + // TranslatorExplanation %s is a "package", "patch", "pattern", etc "The following %s is going to be REMOVED:", + // TranslatorExplanation %s is a "packages", "patches", "patterns", etc "The following %s are going to be REMOVED:", it->second.size() )) % kind_to_string_localized(it->first, it->second.size())); @@ -755,6 +762,10 @@ // TrasnlatorExplanation %s will be substituted by a byte count e.g. 212 K cout_n << format(_("After the operation, additional %s will be used.")) % new_installed_size.asString(0,1,1); + //! \todo uncomment the following for bug #309112 + /* + else if (new_installed_size == 0) + cout_n << _("No additional space will be used or freed after the operation.");*/ else { // get the absolute size @@ -768,6 +779,7 @@ return retv; } + /* std::string calculate_token() { -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org