[Gnucash-changes] r13205 - gnucash/trunk - Add --keyword=Q_ to
xgettext arguments so that translations with
Christian Stimming
cstim at cvs.gnucash.org
Sat Feb 11 05:55:35 EST 2006
Author: cstim
Date: 2006-02-11 05:55:34 -0500 (Sat, 11 Feb 2006)
New Revision: 13205
Trac: http://svn.gnucash.org/trac/changeset/13205
Modified:
gnucash/trunk/ChangeLog
gnucash/trunk/po/Makevars
gnucash/trunk/src/gnome-utils/gnc-tree-view-account.c
gnucash/trunk/src/gnome-utils/gnc-tree-view-commodity.c
Log:
Add --keyword=Q_ to xgettext arguments so that translations with
context prefix/disambiguation prefix are included as well.
Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog 2006-02-11 10:29:53 UTC (rev 13204)
+++ gnucash/trunk/ChangeLog 2006-02-11 10:55:34 UTC (rev 13205)
@@ -1,3 +1,9 @@
+2006-02-11 Christian Stimming <stimming at tuhh.de>
+
+ * po/Makevars: Add --keyword=Q_ to xgettext arguments so that
+ translations with context prefix/disambiguation prefix are
+ included as well.
+
2006-02-10 David Hampton <hampton at employees.org>
* src/gnome/gnc-plugin-page-account-tree.c: Correctly open an
Modified: gnucash/trunk/po/Makevars
===================================================================
--- gnucash/trunk/po/Makevars 2006-02-11 10:29:53 UTC (rev 13204)
+++ gnucash/trunk/po/Makevars 2006-02-11 10:55:34 UTC (rev 13205)
@@ -8,7 +8,7 @@
top_builddir = ..
# These options get passed to xgettext.
-XGETTEXT_OPTIONS = --keyword=_ --keyword=N_
+XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --keyword=Q_
# This is the copyright holder that gets inserted into the header of the
# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
Modified: gnucash/trunk/src/gnome-utils/gnc-tree-view-account.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-tree-view-account.c 2006-02-11 10:29:53 UTC (rev 13204)
+++ gnucash/trunk/src/gnome-utils/gnc-tree-view-account.c 2006-02-11 10:55:34 UTC (rev 13205)
@@ -564,12 +564,16 @@
GNC_TREE_MODEL_ACCOUNT_COL_TAX_INFO,
GNC_TREE_VIEW_COLUMN_VISIBLE_ALWAYS,
NULL);
- gnc_tree_view_add_toggle_column(view, _("Placeholder"), Q_("Placeholder|P"),
- "placeholder",
- GNC_TREE_MODEL_ACCOUNT_COL_PLACEHOLDER,
- GNC_TREE_VIEW_COLUMN_VISIBLE_ALWAYS,
- sort_by_placeholder,
- gnc_tree_view_account_placeholder_toggled);
+ gnc_tree_view_add_toggle_column
+ (view, _("Placeholder"),
+ /* Translators: This string has a context prefix; the translation
+ must only contain the part after the | character. */
+ Q_("Column letter for 'Placeholder'|P"),
+ "placeholder",
+ GNC_TREE_MODEL_ACCOUNT_COL_PLACEHOLDER,
+ GNC_TREE_VIEW_COLUMN_VISIBLE_ALWAYS,
+ sort_by_placeholder,
+ gnc_tree_view_account_placeholder_toggled);
/* By default only the first column is visible. */
gnc_tree_view_configure_columns(view, NULL);
Modified: gnucash/trunk/src/gnome-utils/gnc-tree-view-commodity.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-tree-view-commodity.c 2006-02-11 10:29:53 UTC (rev 13204)
+++ gnucash/trunk/src/gnome-utils/gnc-tree-view-commodity.c 2006-02-11 10:55:34 UTC (rev 13205)
@@ -512,12 +512,16 @@
GNC_TREE_VIEW_COLUMN_COLOR_NONE,
GNC_TREE_MODEL_COMMODITY_COL_VISIBILITY,
sort_by_fraction);
- gnc_tree_view_add_toggle_column (view, _("Get Quotes"), Q_("Get Quotes|Q"),
- "quote_flag",
- GNC_TREE_MODEL_COMMODITY_COL_QUOTE_FLAG,
- GNC_TREE_MODEL_COMMODITY_COL_VISIBILITY,
- sort_by_quote_flag,
- NULL);
+ gnc_tree_view_add_toggle_column
+ (view, _("Get Quotes"),
+ /* Translators: This string has a context prefix; the translation
+ must only contain the part after the | character. */
+ Q_("Column letter for 'Get Quotes'|Q"),
+ "quote_flag",
+ GNC_TREE_MODEL_COMMODITY_COL_QUOTE_FLAG,
+ GNC_TREE_MODEL_COMMODITY_COL_VISIBILITY,
+ sort_by_quote_flag,
+ NULL);
gnc_tree_view_add_text_column (view, _("Source"), "quote_source", NULL,
"yahoo",
GNC_TREE_MODEL_COMMODITY_COL_QUOTE_SOURCE,
More information about the gnucash-changes
mailing list