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/report.h | |
parent | f745767fa68ad26195eed50b8c10dbaccba63e1e (diff) | |
download | ledger-238bd7f8a5131e9bc51a649553fd2fafaf6337c2.tar.gz ledger-238bd7f8a5131e9bc51a649553fd2fafaf6337c2.tar.bz2 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/report.h')
-rw-r--r-- | src/report.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/report.h b/src/report.h index 498af88f..5bc5bd69 100644 --- a/src/report.h +++ b/src/report.h @@ -253,8 +253,8 @@ public: interval_t interval(args[0].to_string()); if (! is_valid(interval.begin)) throw_(std::invalid_argument, - "Could not determine beginning of period '" - << args[0].to_string() << "'"); + _("Could not determine beginning of period '%1'") + << args[0].to_string()); string predicate = "date>=[" + to_iso_extended_string(interval.begin) + "]"; @@ -369,8 +369,8 @@ public: interval_t interval(args[0].to_string()); if (! is_valid(interval.begin)) throw_(std::invalid_argument, - "Could not determine end of period '" - << args[0].to_string() << "'"); + _("Could not determine end of period '%1'") + << args[0].to_string()); string predicate = "date<[" + to_iso_extended_string(interval.begin) + "]"; |