[yast-commit] r63880 - in /trunk/qt-pkg: VERSION.cmake package/yast2-qt-pkg.changes src/YQPkgDependenciesView.cc src/YQPkgSearchFilterView.cc
Author: tgoettlicher Date: Wed Apr 27 17:05:58 2011 New Revision: 63880 URL: http://svn.opensuse.org/viewcvs/yast?rev=63880&view=rev Log: Added translation markers for RPM fields (bnc #686502) Modified: trunk/qt-pkg/VERSION.cmake trunk/qt-pkg/package/yast2-qt-pkg.changes trunk/qt-pkg/src/YQPkgDependenciesView.cc trunk/qt-pkg/src/YQPkgSearchFilterView.cc Modified: trunk/qt-pkg/VERSION.cmake URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/VERSION.cmake?rev=63880&r1=63879&r2=63880&view=diff ============================================================================== --- trunk/qt-pkg/VERSION.cmake (original) +++ trunk/qt-pkg/VERSION.cmake Wed Apr 27 17:05:58 2011 @@ -1,3 +1,3 @@ SET(VERSION_MAJOR "2") SET(VERSION_MINOR "21") -SET(VERSION_PATCH "1") +SET(VERSION_PATCH "2") Modified: trunk/qt-pkg/package/yast2-qt-pkg.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/package/yast2-qt-pkg.changes?rev=63880&r1=63879&r2=63880&view=diff ============================================================================== --- trunk/qt-pkg/package/yast2-qt-pkg.changes (original) +++ trunk/qt-pkg/package/yast2-qt-pkg.changes Wed Apr 27 17:05:58 2011 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Wed Apr 27 17:05:04 CEST 2011 - tgoettlicher@suse.de + +- Added translation markers for RPM fields (bnc #686502) +- 2.21.2 + +------------------------------------------------------------------- Wed Apr 27 16:27:50 CEST 2011 - tgoettlicher@suse.de - Enabled menu key to show context menu (bnc #681702) Modified: trunk/qt-pkg/src/YQPkgDependenciesView.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/src/YQPkgDependenciesView.cc?rev=63880&r1=63879&r2=63880&view=diff ============================================================================== --- trunk/qt-pkg/src/YQPkgDependenciesView.cc (original) +++ trunk/qt-pkg/src/YQPkgDependenciesView.cc Wed Apr 27 17:05:58 2011 @@ -103,18 +103,15 @@ table( row( hcell( _( "Version:" ) ) + cell( pkg->edition().asString() ) ) + - // Intentionally NOT translating the RPM depencency tags: - // They make only sense to users who have some basic knowledge what they are anyway. - - row( "Provides:", pkg->dep( zypp::Dep::PROVIDES ) ) + - row( "Prerequires:", pkg->dep( zypp::Dep::PREREQUIRES ) ) + - row( "Requires:", pkg->dep( zypp::Dep::REQUIRES ) ) + - row( "Conflicts:", pkg->dep( zypp::Dep::CONFLICTS ) ) + - row( "Obsoletes:", pkg->dep( zypp::Dep::OBSOLETES ) ) + - row( "Recommends:", pkg->dep( zypp::Dep::RECOMMENDS ) ) + - row( "Suggests:", pkg->dep( zypp::Dep::SUGGESTS ) ) + - row( "Enances:", pkg->dep( zypp::Dep::ENHANCES ) ) + - row( "Supplements:", pkg->dep( zypp::Dep::SUPPLEMENTS ) ) + row( _("Provides:"), pkg->dep( zypp::Dep::PROVIDES ) ) + + row( _("Prerequires:"), pkg->dep( zypp::Dep::PREREQUIRES ) ) + + row( _("Requires:"), pkg->dep( zypp::Dep::REQUIRES ) ) + + row( _("Conflicts:"), pkg->dep( zypp::Dep::CONFLICTS ) ) + + row( _("Obsoletes:"), pkg->dep( zypp::Dep::OBSOLETES ) ) + + row( _("Recommends:"), pkg->dep( zypp::Dep::RECOMMENDS ) ) + + row( _("Suggests:"), pkg->dep( zypp::Dep::SUGGESTS ) ) + + row( _("Enances:"), pkg->dep( zypp::Dep::ENHANCES ) ) + + row( _("Supplements:"), pkg->dep( zypp::Dep::SUPPLEMENTS ) ) ); return html; @@ -136,15 +133,15 @@ row( hcell( _( "Version:" ) ) + cell( p1->edition().asString() ) + cell( p2->edition().asString() ) ) + - row( "Provides:", p1->dep( zypp::Dep::PROVIDES ), p2->dep( zypp::Dep::PROVIDES ) ) + - row( "Prerequires:", p1->dep( zypp::Dep::PREREQUIRES ), p2->dep( zypp::Dep::PREREQUIRES ) ) + - row( "Requires:", p1->dep( zypp::Dep::REQUIRES ), p2->dep( zypp::Dep::REQUIRES ) ) + - row( "Conflicts:", p1->dep( zypp::Dep::CONFLICTS ), p2->dep( zypp::Dep::CONFLICTS ) ) + - row( "Obsoletes:", p1->dep( zypp::Dep::OBSOLETES ), p2->dep( zypp::Dep::OBSOLETES ) ) + - row( "Recommends:", p1->dep( zypp::Dep::RECOMMENDS ), p2->dep( zypp::Dep::RECOMMENDS ) ) + - row( "Suggests:", p1->dep( zypp::Dep::SUGGESTS ), p2->dep( zypp::Dep::SUGGESTS ) ) + - row( "Enances:", p1->dep( zypp::Dep::ENHANCES ), p2->dep( zypp::Dep::ENHANCES ) ) + - row( "Supplements:", p1->dep( zypp::Dep::SUPPLEMENTS ), p2->dep( zypp::Dep::SUPPLEMENTS ) ) + row( _("Provides:"), p1->dep( zypp::Dep::PROVIDES ), p2->dep( zypp::Dep::PROVIDES ) ) + + row( _("Prerequires:"), p1->dep( zypp::Dep::PREREQUIRES ), p2->dep( zypp::Dep::PREREQUIRES ) ) + + row( _("Requires:"), p1->dep( zypp::Dep::REQUIRES ), p2->dep( zypp::Dep::REQUIRES ) ) + + row( _("Conflicts:"), p1->dep( zypp::Dep::CONFLICTS ), p2->dep( zypp::Dep::CONFLICTS ) ) + + row( _("Obsoletes:"), p1->dep( zypp::Dep::OBSOLETES ), p2->dep( zypp::Dep::OBSOLETES ) ) + + row( _("Recommends:"), p1->dep( zypp::Dep::RECOMMENDS ), p2->dep( zypp::Dep::RECOMMENDS ) ) + + row( _("Suggests:"), p1->dep( zypp::Dep::SUGGESTS ), p2->dep( zypp::Dep::SUGGESTS ) ) + + row( _("Enances:"), p1->dep( zypp::Dep::ENHANCES ), p2->dep( zypp::Dep::ENHANCES ) ) + + row( _("Supplements:"), p1->dep( zypp::Dep::SUPPLEMENTS ), p2->dep( zypp::Dep::SUPPLEMENTS ) ) ); return html; Modified: trunk/qt-pkg/src/YQPkgSearchFilterView.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/src/YQPkgSearchFilterView.cc?rev=63880&r1=63879&r2=63880&view=diff ============================================================================== --- trunk/qt-pkg/src/YQPkgSearchFilterView.cc (original) +++ trunk/qt-pkg/src/YQPkgSearchFilterView.cc Wed Apr 27 17:05:58 2011 @@ -119,10 +119,9 @@ vLayout->addStretch(); - // Intentionally NOT marking RPM tags for translation - _searchInProvides = new QCheckBox( "RPM \"P&rovides\"" , gbox ); YUI_CHECK_NEW( _searchInProvides ); + _searchInProvides = new QCheckBox( _( "RPM \"P&rovides\""), gbox ); YUI_CHECK_NEW( _searchInProvides ); vLayout->addWidget(_searchInProvides); - _searchInRequires = new QCheckBox( "RPM \"Re&quires\"" , gbox ); YUI_CHECK_NEW( _searchInRequires ); + _searchInRequires = new QCheckBox( _( "RPM \"Re&quires\""), gbox ); YUI_CHECK_NEW( _searchInRequires ); vLayout->addWidget(_searchInRequires); _searchInFileList = new QCheckBox( _( "File list" ), gbox ); YUI_CHECK_NEW( _searchInFileList ); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
tgoettlicher@svn2.opensuse.org