summaryrefslogtreecommitdiff
path: root/build/parseFiles.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1998-09-27 22:03:52 +0000
committerjbj <devnull@localhost>1998-09-27 22:03:52 +0000
commitfd068345e6e5165b8b772edc3392adda228800fe (patch)
treec331c30f8ec940d6d0d2d36dec3f6f12db257132 /build/parseFiles.c
parent4ce5eff979df73a23c4ef071e52cff67693e15d2 (diff)
downloadlibrpm-tizen-fd068345e6e5165b8b772edc3392adda228800fe.tar.gz
librpm-tizen-fd068345e6e5165b8b772edc3392adda228800fe.tar.bz2
librpm-tizen-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 'build/parseFiles.c')
-rw-r--r--build/parseFiles.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/build/parseFiles.c b/build/parseFiles.c
index 5fc3c1179..375be78f8 100644
--- a/build/parseFiles.c
+++ b/build/parseFiles.c
@@ -1,5 +1,6 @@
#include "system.h"
+#include "intl.h"
#include "rpmbuild.h"
#include "popt/popt.h"
@@ -26,7 +27,7 @@ int parseFiles(Spec spec)
name = file = NULL;
if ((rc = poptParseArgvString(spec->line, &argc, &argv))) {
- rpmError(RPMERR_BADSPEC, "line %d: Error parsing %%files: %s",
+ rpmError(RPMERR_BADSPEC, _("line %d: Error parsing %%files: %s"),
spec->lineNum, poptStrerror(rc));
return RPMERR_BADSPEC;
}
@@ -39,7 +40,7 @@ int parseFiles(Spec spec)
}
if (arg < -1) {
- rpmError(RPMERR_BADSPEC, "line %d: Bad option %s: %s",
+ rpmError(RPMERR_BADSPEC, _("line %d: Bad option %s: %s"),
spec->lineNum,
poptBadOption(optCon, POPT_BADOPTION_NOALIAS),
spec->line);
@@ -53,7 +54,7 @@ int parseFiles(Spec spec)
name = poptGetArg(optCon);
}
if (poptPeekArg(optCon)) {
- rpmError(RPMERR_BADSPEC, "line %d: Too many names: %s",
+ rpmError(RPMERR_BADSPEC, _("line %d: Too many names: %s"),
spec->lineNum,
spec->line);
FREE(argv);
@@ -63,7 +64,7 @@ int parseFiles(Spec spec)
}
if (lookupPackage(spec, name, flag, &pkg)) {
- rpmError(RPMERR_BADSPEC, "line %d: Package does not exist: %s",
+ rpmError(RPMERR_BADSPEC, _("line %d: Package does not exist: %s"),
spec->lineNum, spec->line);
FREE(argv);
poptFreeContext(optCon);
@@ -71,7 +72,7 @@ int parseFiles(Spec spec)
}
if (pkg->fileList) {
- rpmError(RPMERR_BADSPEC, "line %d: Second %%files list",
+ rpmError(RPMERR_BADSPEC, _("line %d: Second %%files list"),
spec->lineNum);
FREE(argv);
poptFreeContext(optCon);