Author: rpmcruz Date: Fri Oct 17 10:44:05 2008 New Revision: 52318 URL: http://svn.opensuse.org/viewcvs/yast?rev=52318&view=rev Log: Improved wording a bit. Modified: trunk/gtk/src/yzyppwrapper.cc Modified: trunk/gtk/src/yzyppwrapper.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/src/yzyppwrapper.cc?rev=52318&r1=52317&r2=52318&view=diff ============================================================================== --- trunk/gtk/src/yzyppwrapper.cc (original) +++ trunk/gtk/src/yzyppwrapper.cc Fri Oct 17 10:44:05 2008 @@ -422,7 +422,20 @@ YGUtils::escapeMarkup (text); YGUtils::replace (text, "\n\n", 2, "<br>"); // break every double line - text += "<br>"; + text += br; + } + + if (isUnsupported()) { + text += "<b>"; + text += _("This package is not covered by the default support contract."); + text += "</font>"; + } + if (!isInstalled()) { + if (isRecommended()) + text += br + _("(As this package is an extension to an already installed package, it is <b>recommended</b> it be installed.)"); + if (isSuggested()) + text += br + _("(As this package complements some installed packages, it is <b>suggested</b> it be installed.)"); + text += br; } // specific @@ -437,12 +450,6 @@ #else text += br + "<b>" + _("Size:") + "</b> " + object->installsize().asString(); #endif - if (!isInstalled()) { - if (isRecommended() || isSuggested()) - text += br + "<b>" + (isRecommended() ? _("Recommended") : _("Suggested")) + " " + _("for install") + "</font></b>"; - } - if (isUnsupported()) - text += br + "<b>" + _("Not covered by the default support contract.") + "</font></b>"; break; } case Ypp::Package::PATCH_TYPE: -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org