diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-10-03 16:48:26 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-10-03 16:48:26 +0200 |
commit | ae2a713f26fd58f397aaf93242f24c85dee98a2b (patch) | |
tree | db69c96f6419e011cfc1c6e6081613d7a0f0d7cc /doc/Development/Translating.asciidoc | |
parent | Subwindow: only keep tab history for restore tab action (diff) | |
download | smolbote-ae2a713f26fd58f397aaf93242f24c85dee98a2b.tar.xz |
Convert documentation into asciidoc from markdown
Diffstat (limited to 'doc/Development/Translating.asciidoc')
-rw-r--r-- | doc/Development/Translating.asciidoc | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/Development/Translating.asciidoc b/doc/Development/Translating.asciidoc new file mode 100644 index 0000000..f79fa56 --- /dev/null +++ b/doc/Development/Translating.asciidoc @@ -0,0 +1,16 @@ +== Translating +[code, sh] +---- +# generating translations +lupdate src/ lib/ -ts lang/<lang-id>.ts + +# updating translations +lupdate src/ lib/ -no-obsolete -ts lang/<lang-id>.ts + +# generate lang/<lang-id>.qm +lrelease lang/<land-id>.ts +---- + +=== Using translations + --browser.locale # set Qt translation; ex. de + --browser.translation # set translation file; ex. /home/user/.config/smolbote/lang/custom-translate.qm |