X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=Messages.sh;h=097dcd009a24d0cc61aff785e6a58a43703623f7;hb=ecda842bf2b632f75198d6cf0fac1fcb5ef862ad;hp=4785debb220dcb457eb3f35375e691bf05516b67;hpb=953862e97c339147bc2ac5b061c3ea64381b1898;p=kdenlive diff --git a/Messages.sh b/Messages.sh index 4785debb..097dcd00 100755 --- a/Messages.sh +++ b/Messages.sh @@ -3,7 +3,7 @@ EXTRACTRC=`which extractrc` # XGETTEXT="`which xgettext` --kde -ki18n --no-location -s " XGETTEXT="`which xgettext` -s " podir=`pwd`/po -kdenlive_subdirs="src src/widgets renderer" +kdenlive_subdirs="src src/widgets renderer plugins" kde_inc=${includedir:-${KDEDIR:-@CMAKE_INSTALL_PREFIX@}/include/kde}/kde.pot @@ -14,11 +14,12 @@ else kde_inc="" fi -$EXTRACTRC --tag=name --tag=description --tag=label effects/*.xml >> rc.cpp || exit 11 +$EXTRACTRC --tag=name --tag=description --tag=label --tag=comment --tag=paramlistdisplay effects/*.xml data/*.rc >> rc.cpp || exit 11 + $EXTRACTRC `find $kdenlive_subdirs -name \*.ui` >> rc.cpp || exit 11 $EXTRACTRC `find $kdenlive_subdirs -name \*.rc` >> rc.cpp || exit 11 -$XGETTEXT -C -kde -ci18n -ki18n:1 -ki18nc:1c,2 -ki18np:1,2 -ki18ncp:1c,2,3 -ktr2i18n:1 \ +$XGETTEXT --from-code=utf-8 -C -kde -ci18n -ki18n:1 -ki18nc:1c,2 -ki18np:1,2 -ki18ncp:1c,2,3 -ktr2i18n:1 \ -kI18N_NOOP:1 -kI18N_NOOP2:1c,2 -ktranslate -kaliasLocale -kki18n:1 -kki18nc:1c,2 -kki18np:1,2 -kki18ncp:1c,2,3 --add-comments=\"TRANSLATORS:\" ${kde_inc} `find $kdenlive_subdirs -name \*.cpp -o -name \*.h` *.cpp -o $podir/kdenlive.pot #$XGETTEXT -C -kki18n -ki18n -ktr2i18n -kI18N_NOOP -ktr `find $kdenlive_subdirs -name \*.cpp -o -name \*.h` *.cpp -o $podir/kdenlive.pot