Author: lslezak Date: Tue Jan 6 12:43:53 2009 New Revision: 54393 URL: http://svn.opensuse.org/viewcvs/yast?rev=54393&view=rev Log: - Translate the help texts displayed when loading/saving the package manager (bnc#446054) Modified: branches/SuSE-Code-11-Branch/pkg-bindings/package/yast2-pkg-bindings.changes branches/SuSE-Code-11-Branch/pkg-bindings/src/Source_Create.cc branches/SuSE-Code-11-Branch/pkg-bindings/src/Source_Download.cc branches/SuSE-Code-11-Branch/pkg-bindings/src/Source_Load.cc branches/SuSE-Code-11-Branch/pkg-bindings/src/Source_Save.cc branches/SuSE-Code-11-Branch/pkg-bindings/src/Source_Set.cc branches/SuSE-Code-11-Branch/pkg-bindings/src/Target_Load.cc Modified: branches/SuSE-Code-11-Branch/pkg-bindings/package/yast2-pkg-bindings.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/pkg-bindings/package/yast2-pkg-bindings.changes?rev=54393&r1=54392&r2=54393&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/pkg-bindings/package/yast2-pkg-bindings.changes (original) +++ branches/SuSE-Code-11-Branch/pkg-bindings/package/yast2-pkg-bindings.changes Tue Jan 6 12:43:53 2009 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Tue Jan 6 12:30:01 CET 2009 - lslezak@suse.cz + +- Translate the help texts displayed when loading/saving the + package manager (bnc#446054) + +------------------------------------------------------------------- Mon Dec 15 13:14:06 CET 2008 - lslezak@suse.cz - Pkg::SetSolverFlags() - support for "reset" key in the map Modified: branches/SuSE-Code-11-Branch/pkg-bindings/src/Source_Create.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/pkg-bindings/src/Source_Create.cc?rev=54393&r1=54392&r2=54393&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/pkg-bindings/src/Source_Create.cc (original) +++ branches/SuSE-Code-11-Branch/pkg-bindings/src/Source_Create.cc Tue Jan 6 12:43:53 2009 @@ -620,7 +620,7 @@ stages.push_back(_("Load Data")); } - pkgprogress.Start(_("Adding the Repository..."), stages, HelpTexts::create_help); + pkgprogress.Start(_("Adding the Repository..."), stages, _(HelpTexts::create_help)); zypp::ProgressData prg(100); prg.sendTo(pkgprogress.Receiver()); Modified: branches/SuSE-Code-11-Branch/pkg-bindings/src/Source_Download.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/pkg-bindings/src/Source_Download.cc?rev=54393&r1=54392&r2=54393&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/pkg-bindings/src/Source_Download.cc (original) +++ branches/SuSE-Code-11-Branch/pkg-bindings/src/Source_Download.cc Tue Jan 6 12:43:53 2009 @@ -408,7 +408,7 @@ prog_total.sendTo(pkgprogress.Receiver()); // 3 steps per repository (download, cache rebuild, load resolvables) - pkgprogress.Start(_("Refreshing Repository..."), stages, HelpTexts::refresh_help); + pkgprogress.Start(_("Refreshing Repository..."), stages, _(HelpTexts::refresh_help)); try { Modified: branches/SuSE-Code-11-Branch/pkg-bindings/src/Source_Load.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/pkg-bindings/src/Source_Load.cc?rev=54393&r1=54392&r2=54393&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/pkg-bindings/src/Source_Load.cc (original) +++ branches/SuSE-Code-11-Branch/pkg-bindings/src/Source_Load.cc Tue Jan 6 12:43:53 2009 @@ -170,7 +170,7 @@ PkgProgress pkgprogress(_callbackHandler); // 3 steps per repository (download, cache rebuild, load resolvables) - pkgprogress.Start(_("Loading the Package Manager..."), stages, HelpTexts::load_resolvables); + pkgprogress.Start(_("Loading the Package Manager..."), stages, _(HelpTexts::load_resolvables)); YCPValue ret = SourceLoadImpl(pkgprogress); @@ -458,7 +458,7 @@ stages.push_back(_("Load Data")); // 3 steps per repository (download, cache rebuild, load resolvables) - pkgprogress.Start(_("Loading the Package Manager..."), stages, HelpTexts::load_resolvables); + pkgprogress.Start(_("Loading the Package Manager..."), stages, _(HelpTexts::load_resolvables)); } YCPValue ret = SourceStartManagerImpl(enable, pkgprogress); Modified: branches/SuSE-Code-11-Branch/pkg-bindings/src/Source_Save.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/pkg-bindings/src/Source_Save.cc?rev=54393&r1=54392&r2=54393&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/pkg-bindings/src/Source_Save.cc (original) +++ branches/SuSE-Code-11-Branch/pkg-bindings/src/Source_Save.cc Tue Jan 6 12:43:53 2009 @@ -142,7 +142,7 @@ prog_total.sendTo(pkgprogress.Receiver()); // start the process - pkgprogress.Start(_("Saving Repositories..."), stages, HelpTexts::save_help); + pkgprogress.Start(_("Saving Repositories..."), stages, _(HelpTexts::save_help)); // remove deleted repos (the old configurations) at first for (RepoCont::iterator it = repos.begin(); Modified: branches/SuSE-Code-11-Branch/pkg-bindings/src/Source_Set.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/pkg-bindings/src/Source_Set.cc?rev=54393&r1=54392&r2=54393&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/pkg-bindings/src/Source_Set.cc (original) +++ branches/SuSE-Code-11-Branch/pkg-bindings/src/Source_Set.cc Tue Jan 6 12:43:53 2009 @@ -80,7 +80,7 @@ prog_total.sendTo(pkgprogress.Receiver()); zypp::CombinedProgressData load_subprogress(prog_total, 100); - pkgprogress.Start(_("Loading the Package Manager..."), stages, HelpTexts::load_resolvables); + pkgprogress.Start(_("Loading the Package Manager..."), stages, _(HelpTexts::load_resolvables)); success = LoadResolvablesFrom(repo->repoInfo(), load_subprogress); } Modified: branches/SuSE-Code-11-Branch/pkg-bindings/src/Target_Load.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/pkg-bindings/src/Target_Load.cc?rev=54393&r1=54392&r2=54393&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/pkg-bindings/src/Target_Load.cc (original) +++ branches/SuSE-Code-11-Branch/pkg-bindings/src/Target_Load.cc Tue Jan 6 12:43:53 2009 @@ -59,7 +59,7 @@ stages.push_back(_("Read Installed Packages")); PkgProgress pkgprogress(_callbackHandler); - pkgprogress.Start(_("Loading the Package Manager..."), stages, HelpTexts::load_target); + pkgprogress.Start(_("Loading the Package Manager..."), stages, _(HelpTexts::load_target)); try { @@ -175,7 +175,7 @@ PkgProgress pkgprogress(_callbackHandler); - pkgprogress.Start(_("Loading the Package Manager..."), stages, HelpTexts::load_target); + pkgprogress.Start(_("Loading the Package Manager..."), stages, _(HelpTexts::load_target)); try { -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org