Dont bother translators with dependency lookup debug messages
authorPanu Matilainen <pmatilai@redhat.com>
Mon, 29 Mar 2010 03:48:23 +0000 (06:48 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Mon, 29 Mar 2010 03:48:23 +0000 (06:48 +0300)
lib/depends.c
lib/rpmal.c

index 5c7535d..ec02a7b 100644 (file)
@@ -379,7 +379,7 @@ retry:
            oneshot = rpmdsRpmlib(&rpmlibP, NULL);
        
        if (rpmlibP != NULL && rpmdsSearch(rpmlibP, dep) >= 0) {
-           rpmdsNotify(dep, _("(rpmlib provides)"), rc);
+           rpmdsNotify(dep, "(rpmlib provides)", rc);
            goto exit;
        }
        goto unsatisfied;
@@ -393,7 +393,7 @@ retry:
     /* See if we already looked this up */
     if (depCacheGetEntry(dcache, DNEVR, &cachedrc, NULL, NULL)) {
        rc = *cachedrc;
-       rpmdsNotify(dep, _("(cached)"), rc);
+       rpmdsNotify(dep, "(cached)", rc);
        return rc;
     }
     /* Only bother caching the expensive rpmdb lookups */
@@ -403,7 +403,7 @@ retry:
        mi = rpmtsPrunedIterator(ts, RPMTAG_BASENAMES, Name);
 
        while ((h = rpmdbNextIterator(mi)) != NULL) {
-           rpmdsNotify(dep, _("(db files)"), rc);
+           rpmdsNotify(dep, "(db files)", rc);
            mi = rpmdbFreeIterator(mi);
            goto exit;
        }
@@ -413,7 +413,7 @@ retry:
     mi = rpmtsPrunedIterator(ts, RPMTAG_PROVIDENAME, Name);
     while ((h = rpmdbNextIterator(mi)) != NULL) {
        if (rpmdsAnyMatchesDep(h, dep, _rpmds_nopromote)) {
-           rpmdsNotify(dep, _("(db provides)"), rc);
+           rpmdsNotify(dep, "(db provides)", rc);
            mi = rpmdbFreeIterator(mi);
            goto exit;
        }
index 69b57fb..bf36a4b 100644 (file)
@@ -299,7 +299,7 @@ static rpmte * rpmalAllFileSatisfiesDepend(const rpmal al, const rpmds ds)
                if (alp->p == NULL) // deleted
                    continue;
 
-               rpmdsNotify(ds, _("(added files)"), 0);
+               rpmdsNotify(ds, "(added files)", 0);
 
                ret[found] = alp->p;
                found++;
@@ -354,7 +354,7 @@ static rpmte * rpmalAllSatisfiesDepend(const rpmal al, const rpmds ds)
            rc = rpmdsCompare(alp->provides, ds);
 
        if (rc) {
-           rpmdsNotify(ds, _("(added provide)"), 0);
+           rpmdsNotify(ds, "(added provide)", 0);
            ret[found] = alp->p;
            found++;
        }