Translated sendfileitemaction and the CLI
This commit is contained in:
parent
1f6cca406a
commit
f12a3768b4
4 changed files with 8 additions and 2 deletions
3
cli/Messages.sh
Normal file
3
cli/Messages.sh
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
$XGETTEXT `find . -name '*.cpp'` -o $podir/kdeconnect-cli.pot
|
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
int main(int argc, char** argv)
|
int main(int argc, char** argv)
|
||||||
{
|
{
|
||||||
KAboutData about("kctool", 0, ki18n(("kctool")), "1.0", ki18n("KDE Connect CLI tool"),
|
KAboutData about("kctool", "kdeconnect-cli", ki18n(("kctool")), "1.0", ki18n("KDE Connect CLI tool"),
|
||||||
KAboutData::License_GPL, ki18n("(C) 2013 Aleix Pol Gonzalez"));
|
KAboutData::License_GPL, ki18n("(C) 2013 Aleix Pol Gonzalez"));
|
||||||
about.addAuthor( ki18n("Aleix Pol Gonzalez"), KLocalizedString(), "aleixpol@kde.org" );
|
about.addAuthor( ki18n("Aleix Pol Gonzalez"), KLocalizedString(), "aleixpol@kde.org" );
|
||||||
KCmdLineArgs::init(argc, argv, &about);
|
KCmdLineArgs::init(argc, argv, &about);
|
||||||
|
|
3
fileitemactionplugin/Messages.sh
Normal file
3
fileitemactionplugin/Messages.sh
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
$XGETTEXT `find . -name '*.cpp'` -o $podir/kdeconnect-filetiemaction.pot
|
|
@ -38,7 +38,7 @@
|
||||||
#include <KLocalizedString>
|
#include <KLocalizedString>
|
||||||
|
|
||||||
K_PLUGIN_FACTORY(SendFileItemActionFactory, registerPlugin<SendFileItemAction>();)
|
K_PLUGIN_FACTORY(SendFileItemActionFactory, registerPlugin<SendFileItemAction>();)
|
||||||
K_EXPORT_PLUGIN(SendFileItemActionFactory("SendFileItemAction", "kdeconnectfiletiemaction"))
|
K_EXPORT_PLUGIN(SendFileItemActionFactory("SendFileItemAction", "kdeconnect-filetiemaction"))
|
||||||
|
|
||||||
SendFileItemAction::SendFileItemAction(QObject* parent, const QVariantList& ): KFileItemActionPlugin(parent)
|
SendFileItemAction::SendFileItemAction(QObject* parent, const QVariantList& ): KFileItemActionPlugin(parent)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue