Update documentation about adding translations

This commit is contained in:
Martchus 2017-10-06 17:12:55 +02:00
parent e3c6a5476a
commit d524ada4f1
1 changed files with 4 additions and 1 deletions

View File

@ -190,7 +190,8 @@ Currently translations for English and German are available. Further translation
can be added quite easily: can be added quite easily:
1. Append a new translation file for the desired locale to the `TS_FILES` list 1. Append a new translation file for the desired locale to the `TS_FILES` list
in `connector/CMakeLists.txt`, `model/CMakeLists.txt` and `tray/CMakeLists.txt`. in `connector/CMakeLists.txt`, `model/CMakeLists.txt`, `widgets/CMakeLists.txt`,
`plasmoid/CMakeLists.txt` and `tray/CMakeLists.txt`.
2. Trigger a new build, eg. follow steps under *Building this straight*. 2. Trigger a new build, eg. follow steps under *Building this straight*.
3. New translation files should have been created by the build system under 3. New translation files should have been created by the build system under
`connector/translations`, `model/translations` and `tray/translations`. `connector/translations`, `model/translations` and `tray/translations`.
@ -198,6 +199,8 @@ can be added quite easily:
the [Qt Tools repository](http://code.qt.io/cgit/qt/qttools.git/) and its usage the [Qt Tools repository](http://code.qt.io/cgit/qt/qttools.git/) and its usage
is [well documented](http://doc.qt.io/qt-5/linguist-translators.html). is [well documented](http://doc.qt.io/qt-5/linguist-translators.html).
Note that the CLI `syncthingctl` currently does not support translations.
### Using backend libraries ### Using backend libraries
Note that the contained backend libraries (which provide connecting to Syncthing, data models and more) are written for internal Note that the contained backend libraries (which provide connecting to Syncthing, data models and more) are written for internal
use whithin the components contained by this repository. use whithin the components contained by this repository.