diff options
author | Cory Fields <cory-nospam-@coryfields.com> | 2013-09-14 12:07:18 -0400 |
---|---|---|
committer | Cory Fields <cory-nospam-@coryfields.com> | 2013-09-14 12:11:38 -0400 |
commit | a0c3ab7ed1011c66b5137a77f701b00be376dda1 (patch) | |
tree | 95998fa457c4326530adab44ecf930d80941f13c /doc/translation_process.md | |
parent | 035ddf6f6ba565f04d0b38652794378129baf4ed (diff) |
autotools: update translation docs
Diffstat (limited to 'doc/translation_process.md')
-rw-r--r-- | doc/translation_process.md | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/doc/translation_process.md b/doc/translation_process.md index 1724e95378..006726b953 100644 --- a/doc/translation_process.md +++ b/doc/translation_process.md @@ -32,14 +32,13 @@ This directory contains all translations. Filenames must adhere to this format: `src/qt/locale/bitcoin_en.ts` is treated in a special way. It is used as the source for all other translations. Whenever a string in the code is changed -this file must be updated to reflect those changes. This can be accomplished -by running `lupdate` (included in the Qt SDK). Also, a custom script is used +this file must be updated to reflect those changes. A custom script is used to extract strings from the non-Qt parts. This script makes use of `gettext`, so make sure that utility is installed (ie, `apt-get install gettext` on -Ubuntu/Debian): - - python share/qt/extract_strings_qt.py - lupdate bitcoin-qt.pro -no-obsolete -locations relative -ts src/qt/locale/bitcoin_en.ts +Ubuntu/Debian). Once this has been updated, lupdate (included in the Qt SDK) +is used to update bitcoin_en.ts. This process has been automated, from src/qt, +simply run: + make translate ##### Handling of plurals in the source file |