[nautilus-actions] nautilus-actions-print.c: move program summary as a global def
- From: Pierre Wieser <pwieser src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus-actions] nautilus-actions-print.c: move program summary as a global def
- Date: Wed, 19 Jan 2011 21:55:36 +0000 (UTC)
commit 053af217cb63b210740a006d59259ded3dc32a24
Author: Pierre Wieser <pwieser trychlos org>
Date: Sun Jan 16 12:50:04 2011 +0100
nautilus-actions-print.c: move program summary as a global def
ChangeLog | 2 ++
src/utils/nautilus-actions-print.c | 5 ++++-
2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 93e8505..a0d956d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -23,6 +23,8 @@
* Makefile.am:
* configure.ac: configure in tools/.
+ * src/utils/nautilus-actions-print.c: Move program summary as a global def.
+
2011-01-15 Pierre Wieser <pwieser trychlos org>
* tools/init-finalize-diff.sh: Fix the interpretation of debug messages.
diff --git a/src/utils/nautilus-actions-print.c b/src/utils/nautilus-actions-print.c
index fc2563e..4e1f134 100644
--- a/src/utils/nautilus-actions-print.c
+++ b/src/utils/nautilus-actions-print.c
@@ -51,6 +51,9 @@ static gchar *id = "";
static gchar *format = "";
static gboolean version = FALSE;
+/* i18n: nautilus-actions-print program summary */
+static const gchar *program_summary = N_( "Print a menu or an action to stdout." );
+
static GOptionEntry entries[] = {
{ "id" , 'i', 0, G_OPTION_ARG_STRING , &id,
@@ -166,7 +169,7 @@ init_options( void )
gchar* description;
GOptionGroup *misc_group;
- context = g_option_context_new( _( "Print a menu or an action to stdout." ));
+ context = g_option_context_new( program_summary );
g_option_context_set_translation_domain( context, GETTEXT_PACKAGE );
#ifdef ENABLE_NLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]