mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 18:56:34 +01:00
Use separate Messages.sh for each Python extension
This commit is contained in:
parent
b17af37230
commit
3c8fcd5f70
@ -1,6 +1,10 @@
|
|||||||
function(install_python_script name)
|
function(install_python_script name)
|
||||||
if (ENABLE_PYTHON_PLUGINS)
|
if (ENABLE_PYTHON_PLUGINS)
|
||||||
install(DIRECTORY ${name} DESTINATION "${FALKON_INSTALL_PLUGINDIR}/python")
|
install(
|
||||||
|
DIRECTORY ${name}
|
||||||
|
DESTINATION "${FALKON_INSTALL_PLUGINDIR}/python"
|
||||||
|
FILES_MATCHING PATTERN "*" PATTERN "Messages.sh" EXCLUDE
|
||||||
|
)
|
||||||
install(FILES i18n.py DESTINATION "${FALKON_INSTALL_PLUGINDIR}/python/${name}")
|
install(FILES i18n.py DESTINATION "${FALKON_INSTALL_PLUGINDIR}/python/${name}")
|
||||||
endif()
|
endif()
|
||||||
endfunction()
|
endfunction()
|
||||||
|
@ -8,4 +8,4 @@ XGETTEXT_FLAGS_PYTHON="\
|
|||||||
-ki18n:1 -ki18np:1,2 \
|
-ki18n:1 -ki18np:1,2 \
|
||||||
"
|
"
|
||||||
|
|
||||||
$XGETTEXT_PROGRAM $XGETTEXT_FLAGS_PYTHON `find hellopython -name '*.py'` -o $podir/falkon_hellopython.pot
|
$XGETTEXT_PROGRAM $XGETTEXT_FLAGS_PYTHON `find . -name '*.py'` -o $podir/falkon_hellopython.pot
|
Loading…
Reference in New Issue
Block a user