Update instructions for localisation
This commit is contained in:
@@ -1,2 +0,0 @@
|
|||||||
.qmlformat.ini
|
|
||||||
.qmlls.ini
|
|
||||||
@@ -2,8 +2,6 @@
|
|||||||
|
|
||||||
The headset application and the server dashboard are translated, contributions are welcome to improve and extend them.
|
The headset application and the server dashboard are translated, contributions are welcome to improve and extend them.
|
||||||
|
|
||||||
This document only describes headset application translation, the dashboard is being rewritten, please wait before contributing translations for it.
|
|
||||||
|
|
||||||
# Required software
|
# Required software
|
||||||
You only need `gettext` and a text editor, you can optionally use a graphical editor such as [GNOME Translation Editor](https://wiki.gnome.org/Apps/Gtranslator/) or [Lokalize](https://apps.kde.org/lokalize/).
|
You only need `gettext` and a text editor, you can optionally use a graphical editor such as [GNOME Translation Editor](https://wiki.gnome.org/Apps/Gtranslator/) or [Lokalize](https://apps.kde.org/lokalize/).
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ xgettext \
|
|||||||
--keyword=i18ncp:1c,2,3 \
|
--keyword=i18ncp:1c,2,3 \
|
||||||
--output=$WIVRN_DASHBOARD_POT \
|
--output=$WIVRN_DASHBOARD_POT \
|
||||||
--package-name=WiVRn-dashboard \
|
--package-name=WiVRn-dashboard \
|
||||||
$(find dashboard-qml/ -name "*.qml" -o -name "*.cpp" | sort)
|
$(find dashboard/ -name "*.qml" -o -name "*.cpp" | sort)
|
||||||
|
|
||||||
sed -i 's/charset=CHARSET/charset=UTF-8/g' $WIVRN_CLIENT_POT $WIVRN_DASHBOARD_POT
|
sed -i 's/charset=CHARSET/charset=UTF-8/g' $WIVRN_CLIENT_POT $WIVRN_DASHBOARD_POT
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user