Add --keyword=Q_ to xgettext arguments so that translations with

context prefix/disambiguation prefix are included as well.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13205 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2006-02-11 10:55:34 +00:00
parent b9ca4bf5e8
commit 136cc78b4d
4 changed files with 27 additions and 13 deletions

View File

@ -1,3 +1,9 @@
2006-02-11 Christian Stimming <stimming@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@employees.org>
* src/gnome/gnc-plugin-page-account-tree.c: Correctly open an

View File

@ -8,7 +8,7 @@ subdir = po
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

View File

@ -564,12 +564,16 @@ gnc_tree_view_account_new_with_group (AccountGroup *group, gboolean show_root)
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);

View File

@ -512,12 +512,16 @@ gnc_tree_view_commodity_new (QofBook *book,
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,