summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-02-02 14:12:15 -0500
committerStephen Gallagher <sgallagh@redhat.com>2010-02-05 09:43:42 -0500
commitd61d37ed5c7cc51f1106fe3105c3cf226cc10277 (patch)
treef27ee797a08d25c3f9ddf985ed9a4952075e71a2 /server
parenta9402e5d8e75f7f361a5754e91180ed4f4ee98e1 (diff)
downloadsssd-d61d37ed5c7cc51f1106fe3105c3cf226cc10277.tar.gz
sssd-d61d37ed5c7cc51f1106fe3105c3cf226cc10277.tar.bz2
sssd-d61d37ed5c7cc51f1106fe3105c3cf226cc10277.zip
Internationalize the command-line help message
Diffstat (limited to 'server')
-rw-r--r--server/monitor/monitor.c6
-rw-r--r--server/providers/data_provider_be.c2
-rw-r--r--server/providers/krb5/krb5_child.c6
-rw-r--r--server/providers/ldap/ldap_child.c6
-rw-r--r--server/util/util.h10
5 files changed, 15 insertions, 15 deletions
diff --git a/server/monitor/monitor.c b/server/monitor/monitor.c
index ef8ede0e..ddbfb6a7 100644
--- a/server/monitor/monitor.c
+++ b/server/monitor/monitor.c
@@ -2537,11 +2537,11 @@ int main(int argc, const char *argv[])
POPT_AUTOHELP
SSSD_MAIN_OPTS
{"daemon", 'D', POPT_ARG_NONE, &opt_daemon, 0, \
- "Become a daemon (default)", NULL }, \
+ _("Become a daemon (default)"), NULL }, \
{"interactive", 'i', POPT_ARG_NONE, &opt_interactive, 0, \
- "Run interactive (not a daemon)", NULL}, \
+ _("Run interactive (not a daemon)"), NULL}, \
{"config", 'c', POPT_ARG_STRING, &opt_config_file, 0, \
- "Specify a non-default config file", NULL}, \
+ _("Specify a non-default config file"), NULL}, \
{ NULL }
};
diff --git a/server/providers/data_provider_be.c b/server/providers/data_provider_be.c
index c0e7e4b0..135a3eff 100644
--- a/server/providers/data_provider_be.c
+++ b/server/providers/data_provider_be.c
@@ -1158,7 +1158,7 @@ int main(int argc, const char *argv[])
POPT_AUTOHELP
SSSD_MAIN_OPTS
{"domain", 0, POPT_ARG_STRING, &be_domain, 0,
- "Domain of the information provider (mandatory)", NULL },
+ _("Domain of the information provider (mandatory)"), NULL },
POPT_TABLEEND
};
diff --git a/server/providers/krb5/krb5_child.c b/server/providers/krb5/krb5_child.c
index a1a32eae..08e16b4a 100644
--- a/server/providers/krb5/krb5_child.c
+++ b/server/providers/krb5/krb5_child.c
@@ -924,11 +924,11 @@ int main(int argc, const char *argv[])
struct poptOption long_options[] = {
POPT_AUTOHELP
{"debug-level", 'd', POPT_ARG_INT, &debug_level, 0,
- "Debug level", NULL},
+ _("Debug level"), NULL},
{"debug-timestamps", 0, POPT_ARG_INT, &debug_timestamps, 0,
- "Add debug timestamps", NULL},
+ _("Add debug timestamps"), NULL},
{"debug-fd", 0, POPT_ARG_INT, &debug_fd, 0,
- "Add debug timestamps", NULL},
+ _("An open file descriptor for the debug logs"), NULL},
POPT_TABLEEND
};
diff --git a/server/providers/ldap/ldap_child.c b/server/providers/ldap/ldap_child.c
index fad075e7..a17bcad0 100644
--- a/server/providers/ldap/ldap_child.c
+++ b/server/providers/ldap/ldap_child.c
@@ -324,11 +324,11 @@ int main(int argc, const char *argv[])
struct poptOption long_options[] = {
POPT_AUTOHELP
{"debug-level", 'd', POPT_ARG_INT, &debug_level, 0,
- "Debug level", NULL},
+ _("Debug level"), NULL},
{"debug-timestamps", 0, POPT_ARG_INT, &debug_timestamps, 0,
- "Add debug timestamps", NULL},
+ _("Add debug timestamps"), NULL},
{"debug-fd", 0, POPT_ARG_INT, &debug_fd, 0,
- "Add debug timestamps", NULL},
+ _("An open file descriptor for the debug logs"), NULL},
POPT_TABLEEND
};
diff --git a/server/util/util.h b/server/util/util.h
index 2ea62464..9c8679ec 100644
--- a/server/util/util.h
+++ b/server/util/util.h
@@ -56,12 +56,12 @@ void debug_fn(const char *format, ...);
errno_t set_debug_file_from_fd(const int fd);
#define SSSD_DEBUG_OPTS \
- {"debug-level", 'd', POPT_ARG_INT, &debug_level, 0, \
- "Debug level", NULL}, \
- {"debug-to-files", 'f', POPT_ARG_NONE, &debug_to_file, 0, \
- "Send the debug output to files instead of stderr", NULL }, \
+ {"debug-level", 'd', POPT_ARG_INT, &debug_level, 0, \
+ _("Debug level"), NULL}, \
+ {"debug-to-files", 'f', POPT_ARG_NONE, &debug_to_file, 0, \
+ _("Send the debug output to files instead of stderr"), NULL }, \
{"debug-timestamps", 0, POPT_ARG_INT, &debug_timestamps, 0, \
- "Add debug timestamps", NULL},
+ _("Add debug timestamps"), NULL},
/** \def DEBUG(level, body)
\brief macro to generate debug messages