X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=doc%2Ftranslation_process.md;h=996feb2f64b9e8d3c027d4b578c63a66d6ec6e31;hb=82f7c20f3c197f820ba742ffa60fb96883609bba;hp=3ddfc0cbf458cd9d3810f8bc33db83d7e5a2f5da;hpb=95dd79118759f3e14a3d3e093111676e2efea8f9;p=novacoin.git diff --git a/doc/translation_process.md b/doc/translation_process.md index 3ddfc0c..996feb2 100644 --- a/doc/translation_process.md +++ b/doc/translation_process.md @@ -7,18 +7,18 @@ handle those translations. Files and Folders ----------------- -### bitcoin-qt.pro +### novacoin-qt.pro This file takes care of generating `.qm` files from `.ts` files. It is mostly automated. -### src/qt/bitcoin.qrc +### src/qt/novacoin.qrc This file must be updated whenever a new translation is added. Please note that files must end with `.qm`, not `.ts`. - locale/bitcoin_en.qm + locale/novacoin_en.qm ... @@ -26,11 +26,11 @@ files must end with `.qm`, not `.ts`. This directory contains all translations. Filenames must adhere to this format: - bitcoin_xx_YY.ts or bitcoin_xx.ts + novacoin_xx_YY.ts or novacoin_xx.ts #### Source file -`src/qt/locale/bitcoin_en.ts` is treated in a special way. It is used as the +`src/qt/locale/novacoin_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. Usually, this can be accomplished by running `lupdate` (included in the Qt SDK). @@ -75,6 +75,6 @@ It is also possible to directly download new translations one by one from transi ### Fetching new translations 1. `tx pull -a` -2. update `src/qt/bitcoin.qrc` manually or via - `ls src/qt/locale/*ts|xargs -n1 basename|sed 's/\(bitcoin_\(.*\)\).ts/locale/\1.qm<\/file>/'` +2. update `src/qt/novacoin.qrc` manually or via + `ls src/qt/locale/*ts|xargs -n1 basename|sed 's/\(novacoin_\(.*\)\).ts/locale/\1.qm<\/file>/'` 3. `git add` new translations from `src/qt/locale/`