From a08ececd832de2fb4de426d8894abccd45a7c3df Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Fri, 7 Mar 2008 09:47:51 +0200 Subject: 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.. --- lib/rpminstall.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib/rpminstall.c') 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); -- cgit v1.2.3