diff options
author | jbj <devnull@localhost> | 1998-09-27 22:03:52 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 1998-09-27 22:03:52 +0000 |
commit | fd068345e6e5165b8b772edc3392adda228800fe (patch) | |
tree | c331c30f8ec940d6d0d2d36dec3f6f12db257132 /oldrpmdb.c | |
parent | 4ce5eff979df73a23c4ef071e52cff67693e15d2 (diff) | |
download | rpm-fd068345e6e5165b8b772edc3392adda228800fe.tar.gz rpm-fd068345e6e5165b8b772edc3392adda228800fe.tar.bz2 rpm-fd068345e6e5165b8b772edc3392adda228800fe.zip |
add Slovak translation (Stanislav Meduna <stano@trillian.eunet.sk>)
gettextify rpmMessage/rpmError/fprintf messages.
CVS patchset: 2368
CVS date: 1998/09/27 22:03:52
Diffstat (limited to 'oldrpmdb.c')
-rw-r--r-- | oldrpmdb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/oldrpmdb.c b/oldrpmdb.c index 80bf36343..a1fcffedd 100644 --- a/oldrpmdb.c +++ b/oldrpmdb.c @@ -451,14 +451,14 @@ int oldrpmdbGetPackageInfo(struct oldrpmdb * oldrpmdb, struct oldrpmdbLabel labe labelstr = oldrpmdbLabelToLabelstr(label, 0); - rpmMessage(RPMMESS_DEBUG, "pulling %s from database\n", labelstr); + rpmMessage(RPMMESS_DEBUG, _("pulling %s from database\n"), labelstr); key.dptr = labelstr; key.dsize = strlen(labelstr); rec = gdbm_fetch(oldrpmdb->packages, key); if (!rec.dptr) { - rpmError(RPMERR_OLDDBCORRUPT, "package not found in database"); + rpmError(RPMERR_OLDDBCORRUPT, _("package not found in database")); return 1; } @@ -519,7 +519,7 @@ int oldrpmdbGetPackageInfo(struct oldrpmdb * oldrpmdb, struct oldrpmdbLabel labe if (!pinfo->distribution) pinfo->distribution = strdup(""); if (!pinfo->copyright) { pinfo->copyright = strdup(""); - printf("no copyright!\n"); + fprintf(stdout, _("no copyright!\n")); } pinfo->files = malloc(sizeof(struct oldrpmFileInfo) * pinfo->fileCount); |