Fix message extraction a bit

This commit is contained in:
Yuri Chornoivan 2020-07-03 09:42:10 +03:00
parent 8e714b3702
commit c355ef271a
16 changed files with 4 additions and 38 deletions

View file

@ -1,4 +1,2 @@
#! /usr/bin/env bash
$EXTRACTRC `find . -name \*.rc -o -name \*.ui -o -name \*.kcfg` >> rc.cpp
$XGETTEXT `find . -name \*.qml -o -name \*.js -o -name \*.cpp` -o $podir/plasma_applet_org.kde.plasma.kickoff.pot
rm -f rc.cpp

View file

@ -1,4 +1,2 @@
#! /usr/bin/env bash
$EXTRACTRC `find . -name "*.ui"` >> rc.cpp || exit 11
$XGETTEXT `find . -name "*.cpp" -o -name "*.qml"` -o $podir/org.kde.plasma.emojier.pot
rm -f rc.cpp

View file

@ -1,4 +1,2 @@
#! /usr/bin/env bash
$EXTRACTRC `find . -name \*.rc -o -name \*.ui -o -name \*.kcfg` >> rc.cpp
$XGETTEXT `find . -name \*.qml -o -name \*.cpp` -o $podir/plasma_applet_org.kde.plasma.showActivityManager.pot
rm -f rc.cpp

View file

@ -1,4 +1,2 @@
#! /usr/bin/env bash
$EXTRACTRC `find . -name \*.rc -o -name \*.ui -o -name \*.kcfg` >> rc.cpp
$XGETTEXT `find . -name \*.js -o -name \*.qml -o -name \*.cpp` -o $podir/plasma_applet_org.kde.plasma.taskmanager.pot
rm -f rc.cpp

View file

@ -1,4 +1,2 @@
#! /usr/bin/env bash
$EXTRACTRC `find . -name \*.rc -o -name \*.ui -o -name \*.kcfg` >> rc.cpp
$XGETTEXT `find . -name \*.js -o -name \*.qml -o -name \*.cpp` -o $podir/plasma_applet_org.kde.plasma.trash.pot
rm -f rc.cpp

View file

@ -1,4 +1,2 @@
#! /usr/bin/env bash
$EXTRACTRC `find . -name \*.rc -o -name \*.ui -o -name \*.kcfg` >> rc.cpp
$XGETTEXT `find . -name \*.js -o -name \*.qml -o -name \*.cpp` -o $podir/plasma_applet_org.kde.plasma.windowlist.pot
rm -f rc.cpp

View file

@ -1,6 +1,2 @@
#! /usr/bin/env bash
$EXTRACTRC `find . -name \*.rc -o -name \*.ui -o -name \*.kcfg` >> rc.cpp
pofile=$podir/plasma_applet_org.kde.desktopcontainment.pot
$XGETTEXT `find . -name \*.qml` -L Java -o $pofile
$XGETTEXT `find . -name \*.cpp` -j -o $pofile
rm -f rc.cpp
$XGETTEXT `find . -name \*.cpp -o -name \*.h -o -name \*.qml` -o $podir/plasma_applet_org.kde.desktopcontainment.pot

View file

@ -1,4 +1,2 @@
#! /usr/bin/env bash
$EXTRACTRC `find . -name \*.rc -o -name \*.ui -o -name \*.kcfg` >> rc.cpp
$XGETTEXT `find . -name \*.js -o -name \*.qml -o -name \*.cpp` -o $podir/plasma_applet_org.kde.panel.pot
rm -f rc.cpp

View file

@ -1,4 +1,2 @@
#! /usr/bin/env bash
$EXTRACTRC `find -name \*.ui` >> rc.cpp || exit 11
$XGETTEXT `find . -name \*.cpp -o -name \*.qml` -o $podir/kcm_cursortheme.pot
rm -f rc.cpp

View file

@ -1,4 +1,4 @@
#! /usr/bin/env bash
$EXTRACTRC `find . -name "*.ui"` >> rc.cpp || exit 11
$EXTRACTRC `find . -name "*.kcfg"` >> rc.cpp || exit 11
$XGETTEXT `find . -name "*.cpp" -o -name "*.qml"` -o $podir/kcm_desktoptheme.pot
rm -f rc.cpp

View file

@ -1,2 +1,2 @@
#! /usr/bin/env bash
$XGETTEXT *.cpp -o $podir/kcm5_kded.pot
$XGETTEXT `find . -name \*.cc -o -name \*.cpp -o -name \*.h -o -name \*.qml` -o $podir/kcm5_kded.pot

View file

@ -28,13 +28,7 @@ import org.kde.private.kcms.style 1.0 as Private
KCM.ScrollViewKCM {
id: root
KCM.ConfigModule.quickHelp: i18n("<p>This module allows you to have an overview of all plugins of the
KDE Daemon, also referred to as KDE Services. Generally, there are two types of service:</p>
<ul><li>Services invoked at startup</li><li>Services called on demand</li></ul>
<p>The latter are only listed for convenience. The startup services can be started and stopped.
You can also define whether services should be loaded at startup.</p>
<p><b>Use this with care: some services are vital for Plasma; do not deactivate services if you
do not know what you are doing.</b></p>")
KCM.ConfigModule.quickHelp: i18n("<p>This module allows you to have an overview of all plugins of the KDE Daemon, also referred to as KDE Services. Generally, there are two types of service:</p> <ul><li>Services invoked at startup</li><li>Services called on demand</li></ul> <p>The latter are only listed for convenience. The startup services can be started and stopped. You can also define whether services should be loaded at startup.</p> <p><b>Use this with care: some services are vital for Plasma; do not deactivate services if you do not know what you are doing.</b></p>")
Binding {
target: kcm.filteredModel

View file

@ -1,4 +1,2 @@
#! /usr/bin/env bash
$EXTRACTRC `find . -name "*.ui"` >> rc.cpp || exit 11
$XGETTEXT `find . -name "*.cpp" -o -name "*.qml"` -o $podir/kcm_splashscreen.pot
rm -f rc.cpp

View file

@ -1,4 +1,2 @@
#! /usr/bin/env bash
$EXTRACTRC `find . -name "*.ui"` >> rc.cpp || exit 11
$XGETTEXT `find . -name "*.cpp" -o -name "*.qml"` -o $podir/kcm_lookandfeel.pot
rm -f rc.cpp

View file

@ -1,4 +1,2 @@
#! /usr/bin/env bash
$EXTRACTRC `find . -name "*.ui"` >> rc.cpp || exit 11
$XGETTEXT `find . -name "*.cpp"` -o $podir/kcm_search.pot
rm -f rc.cpp

View file

@ -1,4 +1,2 @@
#! /usr/bin/env bash
$EXTRACTRC `find . -name \*.rc -o -name \*.ui -o -name \*.kcfg` >> rc.cpp
$XGETTEXT `find . -name \*.js -o -name \*.qml -o -name \*.cpp` -o $podir/plasma_toolbox_org.kde.desktoptoolbox.pot
rm -f rc.cpp