[kcms/keyboard] Fix translations

For QML KCMs the domain name needs to match the KCM name
This commit is contained in:
Nicolas Fella 2024-04-14 01:09:48 +02:00 committed by Luigi Toscano
parent efd2ff3d76
commit 445ed61054
2 changed files with 2 additions and 4 deletions

View file

@ -1,4 +1,4 @@
add_definitions(-DTRANSLATION_DOMAIN=\"kcmkeyboard\")
add_definitions(-DTRANSLATION_DOMAIN=\"kcm_keyboard\")
add_subdirectory(tastenbrett)

View file

@ -1,4 +1,2 @@
#! /usr/bin/env bash
$EXTRACTRC kcm*.ui >> rc.cpp
$XGETTEXT `find . -name "*.cpp" -o -name "*.qml"` -o $podir/kcmkeyboard.pot
rm -f rc.cpp
$XGETTEXT `find . -name "*.cpp" -o -name "*.qml"` -o $podir/kcm_keyboard.pot