[kdenlive] update translation scripts for KF5
sunab
sunab at free.fr
Mon Jun 22 13:02:52 UTC 2015
Hi list,
Making packages for the 15.04.2 release I noticed problems with translation
scripts.
Here is a diff to reflect the move to kf5.
Olivier.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdenlive/attachments/20150622/30ad40a8/attachment.html>
-------------- next part --------------
diff --git a/svndoc.sh b/svndoc.sh
index 344673c..e43057c 100755
--- a/svndoc.sh
+++ b/svndoc.sh
@@ -1,11 +1,11 @@
#!/bin/bash
getlocale() {
local locale=$1
- wget -O $locale.docbook "http://websvn.kde.org/*checkout*/trunk/l10n-kde4/$locale/docs/extragear-multimedia/kdenlive/index.docbook"
+ wget -O $locale.docbook "http://websvn.kde.org/*checkout*/trunk/l10n-kf5/$locale/docs/kdemultimedia/kdenlive/index.docbook"
if [ $? -eq 0 ] ; then
mkdir $locale
mv $locale.docbook $locale/index.docbook
- echo "KDE4_CREATE_HANDBOOK(index.docbook INSTALL_DESTINATION \${HTML_INSTALL_DIR}/$locale SUBDIR kdenlive)" > $locale/CMakeLists.txt
+ echo "kdoctools_create_handbook(index.docbook INSTALL_DESTINATION \${HTML_INSTALL_DIR}/$locale SUBDIR kdenlive)" > $locale/CMakeLists.txt
echo "ADD_SUBDIRECTORY($locale)" >> CMakeLists.txt
else
rm $locale.docbook
@@ -13,8 +13,8 @@ getlocale() {
}
[ -d doc ] || mkdir doc
cd doc
-locales=$(wget -O - http://websvn.kde.org/*checkout*/trunk/l10n-kde4/subdirs | grep -v x-test)
-echo "KDE4_CREATE_HANDBOOK(index.docbook INSTALL_DESTINATION \${HTML_INSTALL_DIR}/en SUBDIR kdenlive)" > CMakeLists.txt
+locales=$(wget -O - http://websvn.kde.org/*checkout*/trunk/l10n-kf5/subdirs | grep -v x-test)
+echo "kdoctools_create_handbook(index.docbook INSTALL_DESTINATION \${HTML_INSTALL_DIR}/en SUBDIR kdenlive)" > CMakeLists.txt
for l in $locales; do
getlocale $l &
done
diff --git a/svnpo.sh b/svnpo.sh
index 854b449..d4cbe22 100755
--- a/svnpo.sh
+++ b/svnpo.sh
@@ -1,7 +1,7 @@
#!/bin/bash
getlocale() {
local locale=$1
- wget -O $locale.po "http://websvn.kde.org/*checkout*/trunk/l10n-kde4/$locale/messages/extragear-multimedia/kdenlive.po"
+ wget -O $locale.po "http://websvn.kde.org/*checkout*/trunk/l10n-kf5/$locale/messages/kdemultimedia/kdenlive.po"
if [ $? -eq 0 ] ; then
mkdir $locale
mv $locale.po $locale/kdenlive.po
More information about the kdenlive
mailing list