[gnome-terminal] client: Fix option group descriptions
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal] client: Fix option group descriptions
- Date: Mon, 4 Jun 2012 20:45:55 +0000 (UTC)
commit fbbaf76f4a6ebd1be86c4b39285d9b40d53d2977
Author: Christian Persch <chpe gnome org>
Date: Mon Jun 4 21:14:29 2012 +0200
client: Fix option group descriptions
Can't use empty strings here since that will make --help-* spew the po file header.
src/client.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/src/client.c b/src/client.c
index 0cca227..e9841f1 100644
--- a/src/client.c
+++ b/src/client.c
@@ -390,14 +390,18 @@ get_goption_context (OptionData *data)
g_option_context_set_description (context, N_("GNOME Terminal Client"));
g_option_context_set_ignore_unknown_options (context, FALSE);
- group = g_option_group_new ("global-options", "", "",
+ group = g_option_group_new ("global-options",
+ N_("Global options:"),
+ N_("Show global options"),
data,
NULL);
g_option_group_set_translation_domain (group, GETTEXT_PACKAGE);
g_option_group_add_entries (group, global_goptions);
g_option_context_add_group (context, group);
- group = g_option_group_new ("server-options", "", "",
+ group = g_option_group_new ("server-options",
+ N_("Server options:"),
+ N_("Show server options"),
data,
NULL);
g_option_group_set_translation_domain (group, GETTEXT_PACKAGE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]