Commit ed596714 authored by Florent Revest's avatar Florent Revest

recipes-asteroid: Invoke lrelease with appropriate parameters for id-based translations

parent 2ce2d0ad
......@@ -15,7 +15,7 @@ RDEPENDS_${PN} += "nemo-qml-plugin-alarms"
FILES_${PN} += "/usr/share/translations/ /usr/lib/systemd/user/alarmpresenter.service /usr/share/dbus-1/services/com.nokia.voland.service"
do_install_append() {
lrelease ${S}/alarmclock/i18n/asteroid-alarmclock.*.ts
lrelease -idbased ${S}/alarmclock/i18n/asteroid-alarmclock.*.ts
install -d ${D}/usr/share/translations/
cp ${S}/alarmclock/i18n/asteroid-alarmclock.*.qm ${D}/usr/share/translations/
}
......@@ -24,7 +24,7 @@ do_install_append() {
ln -s /usr/lib/systemd/user/asteroid-btsyncd.service ${D}/home/ceres/.config/systemd/user/default.target.wants/asteroid-btsyncd.service
fi
lrelease ${S}/i18n/asteroid-btsyncd.*.ts
lrelease -idbased ${S}/i18n/asteroid-btsyncd.*.ts
install -d ${D}/usr/share/translations/
cp ${S}/i18n/asteroid-btsyncd.*.qm ${D}/usr/share/translations/
}
......
......@@ -15,7 +15,7 @@ RDEPENDS_${PN} += "nemo-qml-plugin-calendar"
FILES_${PN} += "/usr/share/translations/"
do_install_append() {
lrelease ${S}/i18n/asteroid-calendar.*.ts
lrelease -idbased ${S}/i18n/asteroid-calendar.*.ts
install -d ${D}/usr/share/translations/
cp ${S}/i18n/asteroid-calendar.*.qm ${D}/usr/share/translations/
}
......@@ -18,7 +18,7 @@ RDEPENDS_${PN} += "qtdeclarative-qmlplugins qml-asteroid qtwayland-plugins nemo-
FILES_${PN} += "/usr/share/asteroid-launcher/ /usr/lib/systemd/user/ /usr/share/translations/ /home/ceres/.config/systemd/user/default.target.wants/"
do_install_append() {
lrelease ${S}/i18n/asteroid-launcher.*.ts
lrelease -idbased ${S}/i18n/asteroid-launcher.*.ts
install -d ${D}/usr/share/translations/
cp ${S}/i18n/asteroid-launcher.*.qm ${D}/usr/share/translations/
......
......@@ -15,7 +15,7 @@ RDEPENDS_${PN} += "qtmpris"
FILES_${PN} += "/usr/share/translations/"
do_install_append() {
lrelease ${S}/i18n/asteroid-music.*.ts
lrelease -idbased ${S}/i18n/asteroid-music.*.ts
install -d ${D}/usr/share/translations/
cp ${S}/i18n/asteroid-music.*.qm ${D}/usr/share/translations/
}
......@@ -15,7 +15,7 @@ RDEPENDS_${PN} += "nemo-qml-plugin-systemsettings nemo-qml-plugin-dbus qtmultime
FILES_${PN} += "/usr/share/translations/"
do_install_append() {
lrelease ${S}/i18n/asteroid-settings.*.ts
lrelease -idbased ${S}/i18n/asteroid-settings.*.ts
install -d ${D}/usr/share/translations/
cp ${S}/i18n/asteroid-settings.*.qm ${D}/usr/share/translations/
}
......@@ -15,7 +15,7 @@ RDEPENDS_${PN} += "nemo-qml-plugin-configuration"
FILES_${PN} += "/usr/share/translations/"
do_install_append() {
lrelease ${S}/i18n/asteroid-weather.*.ts
lrelease -idbased ${S}/i18n/asteroid-weather.*.ts
install -d ${D}/usr/share/translations/
cp ${S}/i18n/asteroid-weather.*.qm ${D}/usr/share/translations/
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment