Mailinglist Archive: yast-commit (819 mails)

< Previous Next >
[yast-commit] r54392 - in /trunk/pkg-bindings: package/yast2-pkg-bindings.changes src/Source_Create.cc src/Source_Download.cc src/Source_Load.cc src/Source_Save.cc src/Source_Set.cc src/Target_Load.cc
  • From: lslezak@xxxxxxxxxxxxxxxx
  • Date: Tue, 06 Jan 2009 11:43:33 -0000
  • Message-id: <E1LKALN-0002Qo-Ba@xxxxxxxxxxxxxxxx>
Author: lslezak
Date: Tue Jan 6 12:43:32 2009
New Revision: 54392

URL: http://svn.opensuse.org/viewcvs/yast?rev=54392&view=rev
Log:
- Translate the help texts displayed when loading/saving the
package manager (bnc#446054)

Modified:
trunk/pkg-bindings/package/yast2-pkg-bindings.changes
trunk/pkg-bindings/src/Source_Create.cc
trunk/pkg-bindings/src/Source_Download.cc
trunk/pkg-bindings/src/Source_Load.cc
trunk/pkg-bindings/src/Source_Save.cc
trunk/pkg-bindings/src/Source_Set.cc
trunk/pkg-bindings/src/Target_Load.cc

Modified: trunk/pkg-bindings/package/yast2-pkg-bindings.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/pkg-bindings/package/yast2-pkg-bindings.changes?rev=54392&r1=54391&r2=54392&view=diff
==============================================================================
--- trunk/pkg-bindings/package/yast2-pkg-bindings.changes (original)
+++ trunk/pkg-bindings/package/yast2-pkg-bindings.changes Tue Jan 6 12:43:32
2009
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jan 6 12:30:01 CET 2009 - lslezak@xxxxxxx
+
+- Translate the help texts displayed when loading/saving the
+ package manager (bnc#446054)
+
+-------------------------------------------------------------------
Mon Dec 22 16:49:36 CET 2008 - lslezak@xxxxxxx

- call the refresh callbacks only when there is something to

Modified: trunk/pkg-bindings/src/Source_Create.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/pkg-bindings/src/Source_Create.cc?rev=54392&r1=54391&r2=54392&view=diff
==============================================================================
--- trunk/pkg-bindings/src/Source_Create.cc (original)
+++ trunk/pkg-bindings/src/Source_Create.cc Tue Jan 6 12:43:32 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: trunk/pkg-bindings/src/Source_Download.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/pkg-bindings/src/Source_Download.cc?rev=54392&r1=54391&r2=54392&view=diff
==============================================================================
--- trunk/pkg-bindings/src/Source_Download.cc (original)
+++ trunk/pkg-bindings/src/Source_Download.cc Tue Jan 6 12:43:32 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: trunk/pkg-bindings/src/Source_Load.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/pkg-bindings/src/Source_Load.cc?rev=54392&r1=54391&r2=54392&view=diff
==============================================================================
--- trunk/pkg-bindings/src/Source_Load.cc (original)
+++ trunk/pkg-bindings/src/Source_Load.cc Tue Jan 6 12:43:32 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);

@@ -468,7 +468,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: trunk/pkg-bindings/src/Source_Save.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/pkg-bindings/src/Source_Save.cc?rev=54392&r1=54391&r2=54392&view=diff
==============================================================================
--- trunk/pkg-bindings/src/Source_Save.cc (original)
+++ trunk/pkg-bindings/src/Source_Save.cc Tue Jan 6 12:43:32 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: trunk/pkg-bindings/src/Source_Set.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/pkg-bindings/src/Source_Set.cc?rev=54392&r1=54391&r2=54392&view=diff
==============================================================================
--- trunk/pkg-bindings/src/Source_Set.cc (original)
+++ trunk/pkg-bindings/src/Source_Set.cc Tue Jan 6 12:43:32 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: trunk/pkg-bindings/src/Target_Load.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/pkg-bindings/src/Target_Load.cc?rev=54392&r1=54391&r2=54392&view=diff
==============================================================================
--- trunk/pkg-bindings/src/Target_Load.cc (original)
+++ trunk/pkg-bindings/src/Target_Load.cc Tue Jan 6 12:43:32 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@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages