Commit df3155e4 authored by Yuri Chornoivan's avatar Yuri Chornoivan

Translate kcfg files

parent bdb7fd5d
#! /usr/bin/env bash #! /usr/bin/env bash
$EXTRACTRC `find . -name "*.ui"` >> rc.cpp $EXTRACTRC `find . -name "*.ui" -o -name "*.kcfg"` >> rc.cpp
$XGETTEXT `find . -name "*.cpp" -o -name "*.qml"` -o $podir/kcm_colors.pot $XGETTEXT `find . -name "*.cpp" -o -name "*.qml"` -o $podir/kcm_colors.pot
rm -f rc.cpp rm -f rc.cpp
#! /usr/bin/env bash #! /usr/bin/env bash
$EXTRACTRC *.ui >> rc.cpp $EXTRACTRC `find . -name \*.ui -o -name \*.kcfg` >> rc.cpp
$XGETTEXT *.cpp -o $podir/kcm5_componentchooser.pot $XGETTEXT *.cpp -o $podir/kcm5_componentchooser.pot
#! /usr/bin/env bash #! /usr/bin/env bash
$EXTRACTRC `find . -name \*.kcfg` >> rc.cpp
$XGETTEXT `find . -name \*.cpp -o -name \*.qml` -o $podir/kcm_cursortheme.pot $XGETTEXT `find . -name \*.cpp -o -name \*.qml` -o $podir/kcm_cursortheme.pot
#! /usr/bin/env bash #! /usr/bin/env bash
$EXTRACTRC `find . -name \*.kcfg` >> rc.cpp
$XGETTEXT `find . -name "*.cpp" -o -name "*.qml"` -o $podir/kcm_fonts.pot $XGETTEXT `find . -name "*.cpp" -o -name "*.qml"` -o $podir/kcm_fonts.pot
#! /usr/bin/env bash #! /usr/bin/env bash
$EXTRACTRC `find . -name \*.kcfg` >> rc.cpp
$XGETTEXT `find . -name "*.cpp" -o -name "*.qml"` -o $podir/kcm5_icons.pot $XGETTEXT `find . -name "*.cpp" -o -name "*.qml"` -o $podir/kcm5_icons.pot
#! /usr/bin/env bash #! /usr/bin/env bash
$EXTRACTRC *.ui >> rc.cpp $EXTRACTRC `find . -name \*.ui -o -name \*.kcfg` >> rc.cpp
$XGETTEXT *.cpp -o $podir/kcmsmserver.pot $XGETTEXT *.cpp -o $podir/kcmsmserver.pot
rm -f rc.cpp
#! /usr/bin/env bash #! /usr/bin/env bash
$EXTRACTRC `find . -name \*.kcfg` >> rc.cpp
$XGETTEXT `find . -name "*.cpp" -o -name "*.qml"` -o $podir/kcm_splashscreen.pot $XGETTEXT `find . -name "*.cpp" -o -name "*.qml"` -o $podir/kcm_splashscreen.pot
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<kcfgfile name="ksplashrc" /> <kcfgfile name="ksplashrc" />
<group name="KSplash"> <group name="KSplash">
<entry name="engine" key="Engine" type="String"> <entry name="engine" key="Engine" type="String">
<label>For futur use</label> <label>For future use</label>
<default code="true">theme() == QStringLiteral("None") ? QStringLiteral("none") : QStringLiteral("KSplashQML")</default> <default code="true">theme() == QStringLiteral("None") ? QStringLiteral("none") : QStringLiteral("KSplashQML")</default>
</entry> </entry>
<entry name="theme" key="Theme" type="String"> <entry name="theme" key="Theme" type="String">
......
#! /usr/bin/env bash #! /usr/bin/env bash
$EXTRACTRC `find . -name \*.kcfg` >> rc.cpp
$XGETTEXT `find . -name \*.cpp -o -name \*.qml` -o $podir/kcm_launchfeedback.pot $XGETTEXT `find . -name \*.cpp -o -name \*.qml` -o $podir/kcm_launchfeedback.pot
#! /usr/bin/env bash #! /usr/bin/env bash
$EXTRACTRC `find . -name \*.kcfg` >> rc.cpp
$XGETTEXT `find . -name "*.cpp" -o -name "*.qml"` -o $podir/kcm_lookandfeel.pot $XGETTEXT `find . -name "*.cpp" -o -name "*.qml"` -o $podir/kcm_lookandfeel.pot
#! /usr/bin/env bash #! /usr/bin/env bash
$EXTRACTRC *.ui >> rc.cpp $EXTRACTRC `find . -name \*.ui -o -name \*.kcfg` >> rc.cpp
$XGETTEXT *.cpp -o $podir/kcmqtquicksettings.pot $XGETTEXT *.cpp -o $podir/kcmqtquicksettings.pot
rm -f rc.cpp
#! /usr/bin/env bash #! /usr/bin/env bash
$EXTRACTRC *.ui >> rc.cpp $EXTRACTRC `find . -name \*.ui -o -name \*.kcfg` >> rc.cpp
$XGETTEXT `find . -name "*.cpp" -o -name "*.qml"` -o $podir/kcm_style.pot $XGETTEXT `find . -name "*.cpp" -o -name "*.qml"` -o $podir/kcm_style.pot
rm -f rc.cpp
#! /usr/bin/env bash #! /usr/bin/env bash
$EXTRACTRC `find . -name \*.kcfg` >> rc.cpp
$XGETTEXT `find . -name "*.cpp" -o -name "*.qml"` -o $podir/kcm_workspace.pot $XGETTEXT `find . -name "*.cpp" -o -name "*.qml"` -o $podir/kcm_workspace.pot
#! /bin/sh #! /bin/sh
$EXTRACTRC *.ui *.kcfg >> rc.cpp $EXTRACTRC `find . -name \*.ui -o -name \*.kcfg` >> rc.cpp
$XGETTEXT *.cpp -o $podir/kcm5_device_automounter.pot $XGETTEXT *.cpp -o $podir/kcm5_device_automounter.pot
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment