Let's say you want to add translations for Russian, you can proceed as follows:
Install devel/qt5-linguist and devel/qt5-linguisttools
cd to src/nomadbsd-dmconfig
Add locale/$${PROGRAM}_ru.ts to TRANSLATIONS in nomadbsd-dmconfig-gui.pro, and commit: git commit -m 'Add Russian translations.' nomadbsd-dmconfig-gui.pro
Available translations
Instructions
Let's say you want to add translations for Russian, you can proceed as follows:
devel/qt5-linguist
anddevel/qt5-linguisttools
cd
tosrc/nomadbsd-dmconfig
locale/$${PROGRAM}_ru.ts
toTRANSLATIONS
innomadbsd-dmconfig-gui.pro
, and commit:git commit -m 'Add Russian translations.' nomadbsd-dmconfig-gui.pro
/usr/local/lib/qt5/bin/linguist nomadbsd-dmconfig-gui.pro
linguist locale/nomadbsd-dmconfig-gui_ru.ts
git add locale/nomadbsd-dmconfig-gui_ru.ts && git commit -m 'Add Russian translation file.'
<file>locale/nomadbsd-dmconfig-gui_ru.qm</file>
to theresources.qrc
, and commit:git commit -m 'Add Russian translation file.' resources.qrc