libwnck r1595 - in trunk: . libwnck
- From: vuntz svn gnome org
- To: svn-commits-list gnome org
- Subject: libwnck r1595 - in trunk: . libwnck
- Date: Mon, 3 Mar 2008 20:37:17 +0000 (GMT)
Author: vuntz
Date: Mon Mar 3 20:37:16 2008
New Revision: 1595
URL: http://svn.gnome.org/viewvc/libwnck?rev=1595&view=rev
Log:
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
Modified:
trunk/ChangeLog
trunk/libwnck/wnckprop.c
Modified: trunk/libwnck/wnckprop.c
==============================================================================
--- trunk/libwnck/wnckprop.c (original)
+++ trunk/libwnck/wnckprop.c Mon Mar 3 20:37:16 2008
@@ -1798,7 +1798,9 @@
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 @@
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 @@
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 @@
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 @@
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));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]