I'm New to Git and GitHub so I don't know yet how to manage repositories and contributions.
The model should be creating pull requests with topic branches and merging on master or master
or develop
.
-
master
: stable code ready to be released -
develop
: unstable code or code that needs further testing
To develop new features please create new branches and finally merge to develop
See BUILDING.md
UI is localized with Qt Linguist.
Translation files live in src/translations
folder.
For more information see Qt Documentation.
-
Create a file named
traintimetable_*.ts
in translation folder. Replace placeholder with language code (i.e.it
,de
,fr
, etc). -
Make file known to CMake by adding it to
src/translations/CMakeLists.txt
. Add the file name with path inTRAINTIMETABLE_TS_FILES
variabile.
Then follow next paragraph.
-
Run
lupdate
to fill with text to be translated. This is done by enablingUPDATE_TS
option in CMake and runningRELEASE_TRANSLATIONS
target. -
Use Qt Linguist or other software to translate text.
If you think this workflow model is not efficient please let me know!