summaryrefslogtreecommitdiff
path: root/build/parseDescription.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/parseDescription.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/parseDescription.c')
-rw-r--r--build/parseDescription.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/build/parseDescription.c b/build/parseDescription.c
index 0af14a230..ce4cd9b60 100644
--- a/build/parseDescription.c
+++ b/build/parseDescription.c
@@ -1,5 +1,6 @@
#include "system.h"
+#include "intl.h"
#include "rpmbuild.h"
#include "popt/popt.h"
@@ -31,7 +32,7 @@ int parseDescription(Spec spec)
lang = RPMBUILD_DEFAULT_LANG;
if ((rc = poptParseArgvString(spec->line, &argc, &argv))) {
- rpmError(RPMERR_BADSPEC, "line %d: Error parsing %%description: %s",
+ rpmError(RPMERR_BADSPEC, _("line %d: Error parsing %%description: %s"),
spec->lineNum, poptStrerror(rc));
return RPMERR_BADSPEC;
}
@@ -44,7 +45,7 @@ int parseDescription(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);
@@ -58,7 +59,7 @@ int parseDescription(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);
@@ -68,7 +69,7 @@ int parseDescription(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);
@@ -80,7 +81,7 @@ int parseDescription(Spec spec)
#if 0
if (headerIsEntry(pkg->header, RPMTAG_DESCRIPTION)) {
- rpmError(RPMERR_BADSPEC, "line %d: Second description", spec->lineNum);
+ rpmError(RPMERR_BADSPEC, _("line %d: Second description"), spec->lineNum);
FREE(argv);
poptFreeContext(optCon);
return RPMERR_BADSPEC;