Commit 43a24ac1 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Figure out Messages.sh after code refactoring

KDED is translated again
Rename the core's pot to kdeconnect-core.pot and make sure the library
loads the catalog when it's linked to.
Provide a separate translations file for all the plugins, together.

REVIEW: 118774
parent 43267c74
#!/usr/bin/env bash
$EXTRACTRC `find -name '*.ui' -o -name '*.rc'` >> rc.cpp
$XGETTEXT rc.cpp -o $podir/kdeconnect-kded.pot
rm -f rc.cpp
#.cpp (-j passed to merge into existing file)
$XGETTEXT `find . -name '*.cpp'` -j -o $podir/kdeconnect-kded.pot
#.desktop and .notifyrc files doesn't need to be included here
$EXTRACTRC `find . -name '*.ui' -o -name '*.rc'` >> rc.cpp
$XGETTEXT `find . -name '*.cpp'` -o $podir/kdeconnect-core.pot
......@@ -41,6 +41,9 @@
#include "backends/devicelink.h"
#include "backends/linkprovider.h"
static const KCatalogLoader loader("kdeconnect-core");
static const KCatalogLoader loaderPlugins("kdeconnect-plugins");
struct DaemonPrivate
{
//Different ways to find devices and connect to them
......
#!/usr/bin/env bash
$EXTRACTRC `find . -name '*.ui' -o -name '*.rc'` >> rc.cpp
$XGETTEXT `find . -name '*.cpp'` -o $podir/kdeconnect-kded.pot
#!/usr/bin/env bash
$EXTRACTRC `find . -name '*.ui' -o -name '*.rc'` >> rc.cpp
$XGETTEXT `find . -name '*.cpp'` -o $podir/kdeconnect-plugins.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