From d61d37ed5c7cc51f1106fe3105c3cf226cc10277 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Tue, 2 Feb 2010 14:12:15 -0500 Subject: Internationalize the command-line help message --- server/providers/data_provider_be.c | 2 +- server/providers/krb5/krb5_child.c | 6 +++--- server/providers/ldap/ldap_child.c | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'server/providers') 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 }; -- cgit