mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +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)
|
||||
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}")
|
||||
endif()
|
||||
endfunction()
|
||||
|
|
|
@ -8,4 +8,4 @@ XGETTEXT_FLAGS_PYTHON="\
|
|||
-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