diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-03-07 09:47:51 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-03-07 09:47:51 +0200 |
commit | a08ececd832de2fb4de426d8894abccd45a7c3df (patch) | |
tree | aee1008294e17df8bb08e2ca289cd9d1d37501ea /lib/rpminstall.c | |
parent | e97e5619e9ddaf8b0e78568ca8848e2c2840dd00 (diff) | |
download | librpm-tizen-a08ececd832de2fb4de426d8894abccd45a7c3df.tar.gz librpm-tizen-a08ececd832de2fb4de426d8894abccd45a7c3df.tar.bz2 librpm-tizen-a08ececd832de2fb4de426d8894abccd45a7c3df.zip |
Log message adjustments
- dont waste translator time by having them translate obscure debug messages
- adjust some suspect looking logging levels
- mark some non-debug messages for translation where missing..
Diffstat (limited to 'lib/rpminstall.c')
-rw-r--r-- | lib/rpminstall.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/rpminstall.c b/lib/rpminstall.c index 38bb72494..df923b423 100644 --- a/lib/rpminstall.c +++ b/lib/rpminstall.c @@ -353,7 +353,7 @@ if (fileURL[0] == '=') { ts->suggests[ts->nsuggests] = _free(ts->suggests[ts->nsuggests]); } ts->suggests = _free(ts->suggests); - rpmlog(RPMLOG_DEBUG, _("Adding goal: %s\n"), fileURL); + rpmlog(RPMLOG_DEBUG, "Adding goal: %s\n", fileURL); eiu->pkgURL[eiu->pkgx] = fileURL; fileURL = NULL; eiu->pkgx++; @@ -386,7 +386,7 @@ if (fileURL[0] == '=') { /* XXX undefined %{name}/%{version}/%{release} here */ /* XXX %{_tmpdir} does not exist */ - rpmlog(RPMLOG_DEBUG, _(" ... as %s\n"), tfn); + rpmlog(RPMLOG_DEBUG, " ... as %s\n", tfn); rc = urlGetFile(fileURL, tfn); if (rc < 0) { rpmlog(RPMLOG_ERR, @@ -464,7 +464,7 @@ if (fileURL[0] == '=') { eiu->isSource = headerIsSource(eiu->h); if (eiu->isSource) { - rpmlog(RPMLOG_DEBUG, _("\tadded source package [%d]\n"), + rpmlog(RPMLOG_DEBUG, "\tadded source package [%d]\n", eiu->numSRPMS); eiu->sourceURL = xrealloc(eiu->sourceURL, (eiu->numSRPMS + 2) * sizeof(*eiu->sourceURL)); @@ -531,7 +531,7 @@ if (fileURL[0] == '=') { switch(rc) { case 0: - rpmlog(RPMLOG_DEBUG, _("\tadded binary package [%d]\n"), + rpmlog(RPMLOG_DEBUG, "\tadded binary package [%d]\n", eiu->numRPMS); break; case 1: @@ -589,7 +589,7 @@ maybe_manifest: break; } - rpmlog(RPMLOG_DEBUG, _("found %d source and %d binary packages\n"), + rpmlog(RPMLOG_DEBUG, "found %d source and %d binary packages\n", eiu->numSRPMS, eiu->numRPMS); if (eiu->numFailed) goto exit; @@ -626,7 +626,7 @@ maybe_manifest: rpmcliPackagesTotal += eiu->numSRPMS; - rpmlog(RPMLOG_DEBUG, _("installing binary packages\n")); + rpmlog(RPMLOG_DEBUG, "installing binary packages\n"); /* Drop added/available package indices and dependency sets. */ rpmtsClean(ts); |