diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-25 03:51:42 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-25 03:51:42 -0400 |
commit | 238bd7f8a5131e9bc51a649553fd2fafaf6337c2 (patch) | |
tree | b8ba95c43cbf66ed98abab8cc0c1944aa03ea50f /src/filters.h | |
parent | f745767fa68ad26195eed50b8c10dbaccba63e1e (diff) | |
download | fork-ledger-238bd7f8a5131e9bc51a649553fd2fafaf6337c2.tar.gz fork-ledger-238bd7f8a5131e9bc51a649553fd2fafaf6337c2.tar.bz2 fork-ledger-238bd7f8a5131e9bc51a649553fd2fafaf6337c2.zip |
Marked all strings needing internationalization
These strings are now collected automagically in the file po/ledger.pot.
If you'd like to produce a translation, just run this command after
building Ledger:
msginit -l LOCALE -o LANG.po -i po/ledger.pot
Where LOCALE is a string like de or en_GB, and LANG is a short
descriptive word for your language.
Then send me this .po file so I can commit it to the Ledger sources
(alternatively, you could maintain the file in a fork on GitHub), and
setup the build script to format and install your new message catalog
during a "make install".
Diffstat (limited to 'src/filters.h')
-rw-r--r-- | src/filters.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/filters.h b/src/filters.h index a2ab5aec..8bc121ba 100644 --- a/src/filters.h +++ b/src/filters.h @@ -389,7 +389,7 @@ public: display_predicate(_display_predicate), only_predicate(_only_predicate), count(0), last_xact(NULL), last_post(NULL), - totals_account(NULL, "<Total>"), + totals_account(NULL, _("<Total>")), only_collapse_if_zero(_only_collapse_if_zero) { TRACE_CTOR(collapse_posts, "post_handler_ptr"); } @@ -468,7 +468,7 @@ public: bool _changed_values_only) : item_handler<post_t>(handler), total_expr(_total_expr), report(_report), changed_values_only(_changed_values_only), - last_post(NULL), revalued_account(NULL, "<Revalued>") { + last_post(NULL), revalued_account(NULL, _("<Revalued>")) { TRACE_CTOR(changed_value_posts, "post_handler_ptr, const expr_t&, report_t&, bool"); } @@ -583,7 +583,7 @@ public: bool _exact_periods = false, bool _generate_empty_posts = false) : subtotal_posts(_handler, amount_expr), interval(_interval), - last_post(NULL), empty_account(NULL, "<None>"), + last_post(NULL), empty_account(NULL, _("<None>")), exact_periods(_exact_periods), generate_empty_posts(_generate_empty_posts) { TRACE_CTOR(interval_posts, @@ -615,9 +615,9 @@ class posts_as_equity : public subtotal_posts public: posts_as_equity(post_handler_ptr _handler, expr_t& amount_expr) : subtotal_posts(_handler, amount_expr), - equity_account(NULL, "Equity") { + equity_account(NULL, _("Equity")) { TRACE_CTOR(posts_as_equity, "post_handler_ptr, expr_t&"); - balance_account = equity_account.find_account("Opening Balances"); + balance_account = equity_account.find_account(_("Opening Balances")); } virtual ~posts_as_equity() throw() { TRACE_DTOR(posts_as_equity); |