summaryrefslogtreecommitdiff
path: root/libwnck
diff options
context:
space:
mode:
authorVincent Untz <vuntz@gnome.org>2008-03-03 20:37:16 +0000
committerVincent Untz <vuntz@src.gnome.org>2008-03-03 20:37:16 +0000
commit82b0758dfa241aa0fabd2c93530886bcbbe09b57 (patch)
tree89cdab34ab211479ff7c55e5885a8f367d626d42 /libwnck
parent962ed74ea5c16c71125a2e173e99f048c905bc77 (diff)
downloadlibwnck-82b0758dfa241aa0fabd2c93530886bcbbe09b57.tar.gz
have the --help output translated. The strings were marked for
2008-03-03 Vincent Untz <vuntz@gnome.org> * libwnck/wnckprop.c: (main): have the --help output translated. The strings were marked for translations before, but some steps were forgotten. Fix bug #518070 svn path=/trunk/; revision=1595
Diffstat (limited to 'libwnck')
-rw-r--r--libwnck/wnckprop.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/libwnck/wnckprop.c b/libwnck/wnckprop.c
index 3f6a591..2601087 100644
--- a/libwnck/wnckprop.c
+++ b/libwnck/wnckprop.c
@@ -1798,7 +1798,9 @@ main (int argc, char **argv)
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);
- ctxt = g_option_context_new ("");
+ ctxt = g_option_context_new (NULL);
+ g_option_context_set_translation_domain (ctxt, GETTEXT_PACKAGE);
+
g_option_context_set_summary (ctxt,
N_("Print or modify the properties of a "
"screen/workspace/window, or interact with "
@@ -1814,6 +1816,7 @@ main (int argc, char **argv)
N_("Show options to list windows or workspaces"),
NULL, NULL);
g_option_group_add_entries (group, list_entries);
+ g_option_group_set_translation_domain (group, GETTEXT_PACKAGE);
g_option_context_add_group (ctxt, group);
group = g_option_group_new ("window",
@@ -1821,6 +1824,7 @@ main (int argc, char **argv)
N_("Show options to modify properties of a window"),
NULL, NULL);
g_option_group_add_entries (group, window_entries);
+ g_option_group_set_translation_domain (group, GETTEXT_PACKAGE);
g_option_context_add_group (ctxt, group);
group = g_option_group_new ("workspace",
@@ -1828,6 +1832,7 @@ main (int argc, char **argv)
N_("Show options to modify properties of a workspace"),
NULL, NULL);
g_option_group_add_entries (group, space_entries);
+ g_option_group_set_translation_domain (group, GETTEXT_PACKAGE);
g_option_context_add_group (ctxt, group);
group = g_option_group_new ("screen",
@@ -1835,6 +1840,7 @@ main (int argc, char **argv)
N_("Show options to modify properties of a screen"),
NULL, NULL);
g_option_group_add_entries (group, screen_entries);
+ g_option_group_set_translation_domain (group, GETTEXT_PACKAGE);
g_option_context_add_group (ctxt, group);
g_option_context_add_group (ctxt, gtk_get_option_group (TRUE));