diff options
author | ewt <devnull@localhost> | 1998-01-09 19:10:54 +0000 |
---|---|---|
committer | ewt <devnull@localhost> | 1998-01-09 19:10:54 +0000 |
commit | af9aba223f6a49e9ecd96fb1fbc59ffdecf5b97c (patch) | |
tree | a4e5a228901c41210f0b8844f965b261bc966982 /lib/depends.c | |
parent | bee24b06ae463b921d91225867bc5a6831d06cfe (diff) | |
download | librpm-tizen-af9aba223f6a49e9ecd96fb1fbc59ffdecf5b97c.tar.gz librpm-tizen-af9aba223f6a49e9ecd96fb1fbc59ffdecf5b97c.tar.bz2 librpm-tizen-af9aba223f6a49e9ecd96fb1fbc59ffdecf5b97c.zip |
added more i18n strings
CVS patchset: 1946
CVS date: 1998/01/09 19:10:54
Diffstat (limited to 'lib/depends.c')
-rw-r--r-- | lib/depends.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/depends.c b/lib/depends.c index ebc2fb042..27c0bb71f 100644 --- a/lib/depends.c +++ b/lib/depends.c @@ -9,6 +9,7 @@ #include <stdlib.h> #include <string.h> +#include "intl.h" #include "misc.h" #include "rpmlib.h" #include "messages.h" @@ -378,8 +379,8 @@ int rpmdepCheck(rpmDependencies rpmdep, h = rpmdbGetRecord(rpmdep->db, rpmdep->removedPackages[i]); if (!h) { rpmError(RPMERR_DBCORRUPT, - "cannot read header at %d for dependency " - "check", rpmdep->removedPackages[i]); + _("cannot read header at %d for dependency check"), + rpmdep->removedPackages[i]); free(ps.problems); return 1; } @@ -532,8 +533,9 @@ static int checkPackageSet(rpmDependencies rpmdep, struct problemsSet * psp, h = rpmdbGetRecord(rpmdep->db, matches->recs[i].recOffset); if (!h) { - rpmError(RPMERR_DBCORRUPT, "cannot read header at %d for dependency " - "check", rpmdep->removedPackages[i]); + rpmError(RPMERR_DBCORRUPT, + _("cannot read header at %d for dependency check"), + rpmdep->removedPackages[i]); return 1; } @@ -817,7 +819,7 @@ static int addOrderedPack(rpmDependencies rpmdep, strcat(errorString, " "); } - rpmError(RPMMESS_PREREQLOOP, "loop in prerequisite chain: %s", + rpmError(RPMMESS_PREREQLOOP, _("loop in prerequisite chain: %s"), errorString); return 1; |