aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2007-05-16 15:17:25 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2007-05-16 15:17:25 +0000
commit78c85a14ac870f1c9bc9a496a3ad0084f8d17ae3 (patch)
treeb12b7b1b185dbcb81a1c8702fd50d7b1d9211a65 /src/main.c
parent0c1e586a2487339d60019504250dcecc58f312ee (diff)
downloadmailfromd-78c85a14ac870f1c9bc9a496a3ad0084f8d17ae3.tar.gz
mailfromd-78c85a14ac870f1c9bc9a496a3ad0084f8d17ae3.tar.bz2
Add missing NLS markers
git-svn-id: file:///svnroot/mailfromd/trunk@1441 7a8a7f39-df28-0410-adc6-e0d955640f24
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c27
1 files changed, 16 insertions, 11 deletions
diff --git a/src/main.c b/src/main.c
index fa6e3d54..ce8cf993 100644
--- a/src/main.c
+++ b/src/main.c
@@ -864,3 +864,2 @@ static struct argp_option options[] = {
-
#undef GRP
@@ -1034,3 +1033,4 @@ parse_opt (int key, char *arg, struct argp_state *state)
if (format_option == NULL)
- argp_error(state, "unknown DB format");
+ argp_error(state, _("Unknown database format: %s"),
+ arg);
break;
@@ -1077,4 +1077,5 @@ parse_opt (int key, char *arg, struct argp_state *state)
case 'L':
- argp_error(state, "The option `-%c' is not yet implemented",
- key);
+ argp_error(state,
+ _("The option `-%c' is not yet implemented"),
+ key);
break;
@@ -1106,3 +1107,4 @@ parse_opt (int key, char *arg, struct argp_state *state)
if (*p)
- argp_error(state, "-O level must be a non-negative integer");
+ argp_error(state,
+ _("-O level must be a non-negative integer"));
}
@@ -1124,3 +1126,4 @@ parse_opt (int key, char *arg, struct argp_state *state)
argp_error(state,
- "Unknown smtp state tag: %s", arg);
+ _("Unknown smtp state tag: %s"),
+ arg);
}
@@ -1145,3 +1148,3 @@ parse_opt (int key, char *arg, struct argp_state *state)
argp_error(state,
- "incorrect variable assignement: %s",
+ _("Expected assignment, but found `%s'"),
arg);
@@ -1215,3 +1218,4 @@ parse_opt (int key, char *arg, struct argp_state *state)
if (lev == -1)
- argp_error(state, "%s: invalid Gacopyz log level",
+ argp_error(state,
+ _("%s: invalid log level"),
arg);
@@ -1344,3 +1348,4 @@ switch_to_privs(uid_t uid, gid_t gid)
!mu_iterator_is_done (itr); mu_iterator_next (itr))
- mu_iterator_current (itr, (void **)(emptygidset + j++));
+ mu_iterator_current (itr,
+ (void **)(emptygidset + j++));
mu_iterator_destroy(&itr);
@@ -1363,3 +1368,3 @@ switch_to_privs(uid_t uid, gid_t gid)
mu_error(_("setegid(%lu) failed: %s"),
- (unsigned long) gid, mu_strerror(errno));
+ (unsigned long) gid, mu_strerror(errno));
#elif defined(HAVE_SETREGID)
@@ -1713,3 +1718,3 @@ main(int argc, char **argv)
int index;
-
+
#ifdef ENABLE_NLS

Return to:

Send suggestions and report system problems to the System administrator.