mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
Merge branch 'Falkon/3.0'
This commit is contained in:
commit
cdfa79a06f
|
@ -1,2 +1,2 @@
|
|||
#! /bin/sh
|
||||
$EXTRACT_TR_STRINGS `find . -name '*.cpp' -o -name '*.h' -o -name '*.ui' | grep -v '/plugins/'` -o $podir/falkon_qt.pot
|
||||
$EXTRACT_TR_STRINGS `find . -name '*.cpp' -o -name '*.h' -o -name '*.ui' | grep -v -e '/plugins/' -e '/scripts/'` -o $podir/falkon_qt.pot
|
||||
|
|
|
@ -20,7 +20,7 @@ img {margin-bottom:15px;}
|
|||
<img src="%ABOUT-IMG%" width="250">
|
||||
%PRIVATE-BROWSING%
|
||||
<form action="https://duckduckgo.com/" method="GET">
|
||||
<input type="hidden" name="t" value="falkon" />
|
||||
<input type="hidden" name="t" value="qupzilla" />
|
||||
<input class="line" id="inp" class="question" name="q"/> <br/>
|
||||
<input class="submit" type="submit" value="%BUTTON-LABEL%">
|
||||
</form>
|
||||
|
|
|
@ -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,11 +8,4 @@ XGETTEXT_FLAGS_PYTHON="\
|
|||
-ki18n:1 -ki18np:1,2 \
|
||||
"
|
||||
|
||||
python_scripts="
|
||||
hellopython
|
||||
runaction
|
||||
"
|
||||
|
||||
for script in $python_scripts; do
|
||||
$XGETTEXT_PROGRAM $XGETTEXT_FLAGS_PYTHON `find $script -name '*.py'` -o $podir/falkon_$script.pot
|
||||
done
|
||||
$XGETTEXT_PROGRAM $XGETTEXT_FLAGS_PYTHON `find . -name '*.py'` -o $podir/falkon_hellopython.pot
|
11
src/scripts/runaction/Messages.sh
Normal file
11
src/scripts/runaction/Messages.sh
Normal file
|
@ -0,0 +1,11 @@
|
|||
#! /bin/sh
|
||||
|
||||
XGETTEXT_FLAGS_PYTHON="\
|
||||
--copyright-holder=This_file_is_part_of_KDE \
|
||||
--msgid-bugs-address=http://bugs.kde.org \
|
||||
--from-code=UTF-8 \
|
||||
-L Python \
|
||||
-ki18n:1 -ki18np:1,2 \
|
||||
"
|
||||
|
||||
$XGETTEXT_PROGRAM $XGETTEXT_FLAGS_PYTHON `find . -name '*.py'` -o $podir/falkon_runaction.pot
|
Loading…
Reference in New Issue
Block a user