Fix i18n: extract messages
This commit is contained in:
parent
88fd5eb63d
commit
7935cc15c8
4 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
add_definitions(-DTRANSLATION_DOMAIN=\"kdeconnect-indicator\")
|
||||
|
||||
set(indicator_SRCS
|
||||
main.cpp
|
||||
deviceindicator.cpp
|
||||
|
|
3
indicator/Messages.sh
Normal file
3
indicator/Messages.sh
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
$XGETTEXT `find . -name '*.cpp'` -o $podir/kdeconnect-indicator.pot
|
|
@ -1,3 +1,5 @@
|
|||
add_definitions(-DTRANSLATION_DOMAIN=\"kdeconnect-interfaces\")
|
||||
|
||||
function(geninterface source_h output_h)
|
||||
set(xml_file ${CMAKE_CURRENT_BINARY_DIR}/${output_h}.xml)
|
||||
qt5_generate_dbus_interface( ${source_h} ${xml_file})
|
||||
|
|
3
interfaces/Messages.sh
Normal file
3
interfaces/Messages.sh
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
$XGETTEXT `find . -name '*.cpp' -o -name '*.h'` -o $podir/kdeconnect-interfaces.pot
|
Loading…
Reference in a new issue