Author: kmachalkova
Date: Mon Jul 21 15:23:44 2008
New Revision: 49278
URL: http://svn.opensuse.org/viewcvs/yast?rev=49278&view=rev
Log:
Show locale description
Modified:
trunk/ncurses-pkg/src/NCPkgFilterLocale.cc
Modified: trunk/ncurses-pkg/src/NCPkgFilterLocale.cc
URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses-pkg/src/NCPkgFilterLocale.cc?rev=49278&r1=49277&r2=49278&view=diff
==============================================================================
--- trunk/ncurses-pkg/src/NCPkgFilterLocale.cc (original)
+++ trunk/ncurses-pkg/src/NCPkgFilterLocale.cc Mon Jul 21 15:23:44 2008
@@ -17,6 +17,8 @@
/-*/
#define YUILogComponent "ncurses-pkg"
#include
+#include <sstream>
+#include
#include "NCPkgFilterLocale.h"
@@ -138,11 +140,15 @@
yuiMilestone() << "Packages supporting locale '" << myLocale.locale() << "':" << endl;
for_( it, myLocale.selectableBegin(), myLocale.selectableEnd() )
{
- //yuiMilestone() << (*it).name() << endl;i
ZyppPkg zyppPkg = tryCastToZyppPkg( (*it)->theObj() );
packageList->createListEntry( zyppPkg, *it );
}
+ ostringstream s;
+ //Translators: %s is a locale code, e.g. en_GB
+ s << boost::format( _( "Translations, dictionaries and other language related files for <b>%s</b> locale")) % myLocale.locale().code();
+ packager->FilterDescription()->setText( s.str() );
+
packageList->setCurrentItem( 0 );
packageList->drawList();
packageList->showInformation();
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org