diff options
author | Rohaq <rohaq at dearinternet[dot]com> | 2019-05-12 05:16:26 +0100 |
---|---|---|
committer | Rohaq <rohaq at dearinternet[dot]com> | 2019-05-12 05:16:26 +0100 |
commit | 1873af35bfe4f475cfc3c3af66015cd03c34b93b (patch) | |
tree | 434b2541637805a810f97ed42df3bd9b35e73df0 /README.i18n.md | |
parent | Updated Copyright notice (diff) | |
download | monero-1873af35bfe4f475cfc3c3af66015cd03c34b93b.tar.xz |
Made code block usage consistent across all .md files
Diffstat (limited to 'README.i18n.md')
-rw-r--r-- | README.i18n.md | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/README.i18n.md b/README.i18n.md index a3bd8070e..5df277624 100644 --- a/README.i18n.md +++ b/README.i18n.md @@ -15,23 +15,33 @@ You do not need anything from Qt in order to use the final translations. To update ts files after changing source code: - ./utils/translations/update-translations.sh +```bash +./utils/translations/update-translations.sh +``` To add a new language, eg Spanish (ISO code es): - cp translations/monero.ts translations/monero_es.ts +```bash +cp translations/monero.ts translations/monero_es.ts +``` To edit translations for Spanish: - linguist translations/monero_es.ts +```bash +linguist translations/monero_es.ts +``` To build translations after modifying them: - ./utils/translations/build-translations.sh +```bash +./utils/translations/build-translations.sh +``` To test a translation: - LANG=es ./build/release/bin/monero-wallet-cli +```bash +LANG=es ./build/release/bin/monero-wallet-cli +``` To add new translatable strings in the source code: @@ -39,6 +49,8 @@ Use the `tr(string)` function if possible. If the code is in a class, and this c If you're getting messages of the form: - Class 'cryptonote::simple_wallet' lacks Q_OBJECT macro +``` +Class 'cryptonote::simple_wallet' lacks Q_OBJECT macro +``` all is fine, we don't actually need that here. |