Merge branch 'Falkon/3.0'

remotes/origin/anmolgautam
David Rosca 8 years ago
commit cdfa79a06f
No known key found for this signature in database
GPG Key ID: EBC3FC294452C6D8
  1. 2
      src/Messages.sh
  2. 2
      src/lib/data/html/start.html
  3. 6
      src/scripts/CMakeLists.txt
  4. 9
      src/scripts/hellopython/Messages.sh
  5. 11
      src/scripts/runaction/Messages.sh

@ -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

@ -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…
Cancel
Save