Merge branch 'release/20.04'
This commit is contained in:
commit
c8a87db367
12 changed files with 24 additions and 3 deletions
|
@ -19,6 +19,7 @@ Name[fr]=KDE Connect
|
||||||
Name[gl]=KDE Connect
|
Name[gl]=KDE Connect
|
||||||
Name[he]=KDE Connect
|
Name[he]=KDE Connect
|
||||||
Name[hu]=KDE Connect
|
Name[hu]=KDE Connect
|
||||||
|
Name[ia]=KDE Connect
|
||||||
Name[id]=KDE Connect
|
Name[id]=KDE Connect
|
||||||
Name[it]=KDE Connect
|
Name[it]=KDE Connect
|
||||||
Name[ko]=KDE Connect
|
Name[ko]=KDE Connect
|
||||||
|
|
|
@ -29,6 +29,7 @@ Name[fr]=KDE Connect
|
||||||
Name[gl]=KDE Connect
|
Name[gl]=KDE Connect
|
||||||
Name[he]=KDE Connect
|
Name[he]=KDE Connect
|
||||||
Name[hu]=KDE Connect
|
Name[hu]=KDE Connect
|
||||||
|
Name[ia]=KDE Connect
|
||||||
Name[id]=KDE Connect
|
Name[id]=KDE Connect
|
||||||
Name[it]=KDE Connect
|
Name[it]=KDE Connect
|
||||||
Name[ko]=KDE Connect
|
Name[ko]=KDE Connect
|
||||||
|
|
|
@ -18,6 +18,7 @@ Name[fi]=Lähetä tiedosto KDE Connectilla
|
||||||
Name[fr]=Envoyer via KDE Connect
|
Name[fr]=Envoyer via KDE Connect
|
||||||
Name[gl]=Enviar por KDE Connect
|
Name[gl]=Enviar por KDE Connect
|
||||||
Name[hu]=Küldés a KDE Connecttel
|
Name[hu]=Küldés a KDE Connecttel
|
||||||
|
Name[ia]=Invia via KDE Connect
|
||||||
Name[it]=Invia tramite KDE Connect
|
Name[it]=Invia tramite KDE Connect
|
||||||
Name[ko]=KDE Connect로 통해 보내기
|
Name[ko]=KDE Connect로 통해 보내기
|
||||||
Name[lt]=Siųsti per KDE Connect
|
Name[lt]=Siųsti per KDE Connect
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
<name xml:lang="fr">KDE Connect</name>
|
<name xml:lang="fr">KDE Connect</name>
|
||||||
<name xml:lang="gl">KDE Connect</name>
|
<name xml:lang="gl">KDE Connect</name>
|
||||||
<name xml:lang="he">KDE Connect</name>
|
<name xml:lang="he">KDE Connect</name>
|
||||||
|
<name xml:lang="ia">KDE Connect</name>
|
||||||
<name xml:lang="id">KDE Connect</name>
|
<name xml:lang="id">KDE Connect</name>
|
||||||
<name xml:lang="it">KDE Connect</name>
|
<name xml:lang="it">KDE Connect</name>
|
||||||
<name xml:lang="ko">KDE Connect</name>
|
<name xml:lang="ko">KDE Connect</name>
|
||||||
|
@ -59,6 +60,7 @@
|
||||||
<summary xml:lang="fr">Connecter vos périphériques avec facilité</summary>
|
<summary xml:lang="fr">Connecter vos périphériques avec facilité</summary>
|
||||||
<summary xml:lang="gl">Conexión constante entre dispositivos</summary>
|
<summary xml:lang="gl">Conexión constante entre dispositivos</summary>
|
||||||
<summary xml:lang="he">חיבור מהיר בין ההתקנים שלך</summary>
|
<summary xml:lang="he">חיבור מהיר בין ההתקנים שלך</summary>
|
||||||
|
<summary xml:lang="ia">Perfecte connexion de tu dispositivos</summary>
|
||||||
<summary xml:lang="id">Koneksi yang mulus dari perangkatmu</summary>
|
<summary xml:lang="id">Koneksi yang mulus dari perangkatmu</summary>
|
||||||
<summary xml:lang="it">Connessione trasparente dei tuoi dispositivi</summary>
|
<summary xml:lang="it">Connessione trasparente dei tuoi dispositivi</summary>
|
||||||
<summary xml:lang="ko">장치와 항상 연결하기</summary>
|
<summary xml:lang="ko">장치와 항상 연결하기</summary>
|
||||||
|
|
|
@ -13,6 +13,7 @@ GenericName[fi]=Avaa kytkettyyn laitteeseen KDE Connectilla
|
||||||
GenericName[fr]=Ouvrir sur un appareil connecté via KDE Connect
|
GenericName[fr]=Ouvrir sur un appareil connecté via KDE Connect
|
||||||
GenericName[gl]=Abrir no dispositivo conectado por KDE Connect
|
GenericName[gl]=Abrir no dispositivo conectado por KDE Connect
|
||||||
GenericName[hu]=Megnyitás a csatlakoztatott eszközön a KDE Connecttel
|
GenericName[hu]=Megnyitás a csatlakoztatott eszközön a KDE Connecttel
|
||||||
|
GenericName[ia]=Aperi sur dispositivo connectite via KDE Connect
|
||||||
GenericName[it]=Apri nel dispositivo connesso tramite KDE Connect
|
GenericName[it]=Apri nel dispositivo connesso tramite KDE Connect
|
||||||
GenericName[ko]=KDE Connect로 연결된 장치에서 열기
|
GenericName[ko]=KDE Connect로 연결된 장치에서 열기
|
||||||
GenericName[lt]=Atverti prijungtame įrenginyje per KDE Connect
|
GenericName[lt]=Atverti prijungtame įrenginyje per KDE Connect
|
||||||
|
@ -43,6 +44,7 @@ Name[fi]=Avaa kytkettyyn laitteeseen KDE Connectilla
|
||||||
Name[fr]=Ouvrir sur un appareil connecté via KDE Connect
|
Name[fr]=Ouvrir sur un appareil connecté via KDE Connect
|
||||||
Name[gl]=Abrir no dispositivo conectado por KDE Connect
|
Name[gl]=Abrir no dispositivo conectado por KDE Connect
|
||||||
Name[hu]=Megnyitás a csatlakoztatott eszközön a KDE Connecttel
|
Name[hu]=Megnyitás a csatlakoztatott eszközön a KDE Connecttel
|
||||||
|
Name[ia]=Aperi sur dispositivo connectite via KDE Connect
|
||||||
Name[it]=Apri nel dispositivo connesso tramite KDE Connect
|
Name[it]=Apri nel dispositivo connesso tramite KDE Connect
|
||||||
Name[ko]=KDE Connect로 연결된 장치에서 열기
|
Name[ko]=KDE Connect로 연결된 장치에서 열기
|
||||||
Name[lt]=Atverti prijungtame įrenginyje per KDE Connect
|
Name[lt]=Atverti prijungtame įrenginyje per KDE Connect
|
||||||
|
|
|
@ -30,6 +30,7 @@ Name[fr]=KDE Connect
|
||||||
Name[gl]=KDE Connect
|
Name[gl]=KDE Connect
|
||||||
Name[he]=KDE Connect
|
Name[he]=KDE Connect
|
||||||
Name[hu]=KDE Connect
|
Name[hu]=KDE Connect
|
||||||
|
Name[ia]=KDE Connect
|
||||||
Name[id]=KDE Connect
|
Name[id]=KDE Connect
|
||||||
Name[it]=KDE Connect
|
Name[it]=KDE Connect
|
||||||
Name[ko]=KDE Connect
|
Name[ko]=KDE Connect
|
||||||
|
|
|
@ -19,6 +19,7 @@ Name[fr]=KDE Connect
|
||||||
Name[gl]=KDE Connect
|
Name[gl]=KDE Connect
|
||||||
Name[he]=KDE Connect
|
Name[he]=KDE Connect
|
||||||
Name[hu]=KDE Connect
|
Name[hu]=KDE Connect
|
||||||
|
Name[ia]=KDE Connect
|
||||||
Name[id]=KDE Connect
|
Name[id]=KDE Connect
|
||||||
Name[it]=KDE Connect
|
Name[it]=KDE Connect
|
||||||
Name[ko]=KDE Connect
|
Name[ko]=KDE Connect
|
||||||
|
|
|
@ -20,6 +20,7 @@ Name[fr]=KDE Connect
|
||||||
Name[gl]=KDE Connect
|
Name[gl]=KDE Connect
|
||||||
Name[he]=KDE Connect
|
Name[he]=KDE Connect
|
||||||
Name[hu]=KDE Connect
|
Name[hu]=KDE Connect
|
||||||
|
Name[ia]=KDE Connect
|
||||||
Name[id]=KDE Connect
|
Name[id]=KDE Connect
|
||||||
Name[it]=KDE Connect
|
Name[it]=KDE Connect
|
||||||
Name[ko]=KDE Connect
|
Name[ko]=KDE Connect
|
||||||
|
@ -279,6 +280,7 @@ Name[fr]=Appel manqué
|
||||||
Name[gl]=Chamada perdida
|
Name[gl]=Chamada perdida
|
||||||
Name[he]=שיחה שלא נענתה
|
Name[he]=שיחה שלא נענתה
|
||||||
Name[hu]=Nem fogadott hívás
|
Name[hu]=Nem fogadott hívás
|
||||||
|
Name[ia]=Appello perdite
|
||||||
Name[id]=Panggilan Tidak Terjawab
|
Name[id]=Panggilan Tidak Terjawab
|
||||||
Name[it]=Chiamata persa
|
Name[it]=Chiamata persa
|
||||||
Name[ko]=부재중 전화
|
Name[ko]=부재중 전화
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QUuid>
|
#include <QUuid>
|
||||||
#include <QJsonDocument>
|
#include <QJsonDocument>
|
||||||
|
#include <QStandardPaths>
|
||||||
|
|
||||||
#include <KLocalizedString>
|
#include <KLocalizedString>
|
||||||
#include <KPluginFactory>
|
#include <KPluginFactory>
|
||||||
|
@ -41,13 +42,18 @@ K_PLUGIN_FACTORY(ShareConfigFactory, registerPlugin<RunCommandConfig>();)
|
||||||
RunCommandConfig::RunCommandConfig(QWidget* parent, const QVariantList& args)
|
RunCommandConfig::RunCommandConfig(QWidget* parent, const QVariantList& args)
|
||||||
: KdeConnectPluginKcm(parent, args, QStringLiteral("kdeconnect_runcommand_config"))
|
: KdeConnectPluginKcm(parent, args, QStringLiteral("kdeconnect_runcommand_config"))
|
||||||
{
|
{
|
||||||
|
QString qdbusExe = QStringLiteral("qdbus-qt5");
|
||||||
|
if (QStandardPaths::findExecutable(qdbusExe).isEmpty()) {
|
||||||
|
qdbusExe = QStringLiteral("qdbus");
|
||||||
|
}
|
||||||
|
|
||||||
QMenu* defaultMenu = new QMenu(this);
|
QMenu* defaultMenu = new QMenu(this);
|
||||||
addSuggestedCommand(defaultMenu, i18n("Suspend"), QStringLiteral("systemctl suspend"));
|
addSuggestedCommand(defaultMenu, i18n("Suspend"), QStringLiteral("systemctl suspend"));
|
||||||
addSuggestedCommand(defaultMenu, i18n("Maximum Brightness"), QStringLiteral("qdbus org.kde.Solid.PowerManagement /org/kde/Solid/PowerManagement/Actions/BrightnessControl org.kde.Solid.PowerManagement.Actions.BrightnessControl.setBrightness `qdbus org.kde.Solid.PowerManagement /org/kde/Solid/PowerManagement/Actions/BrightnessControl org.kde.Solid.PowerManagement.Actions.BrightnessControl.brightnessMax`"));
|
addSuggestedCommand(defaultMenu, i18n("Maximum Brightness"), QStringLiteral("%0 org.kde.Solid.PowerManagement /org/kde/Solid/PowerManagement/Actions/BrightnessControl org.kde.Solid.PowerManagement.Actions.BrightnessControl.setBrightness `%0 org.kde.Solid.PowerManagement /org/kde/Solid/PowerManagement/Actions/BrightnessControl org.kde.Solid.PowerManagement.Actions.BrightnessControl.brightnessMax`").arg(qdbusExe));
|
||||||
addSuggestedCommand(defaultMenu, i18n("Lock Screen"), QStringLiteral("loginctl lock-session"));
|
addSuggestedCommand(defaultMenu, i18n("Lock Screen"), QStringLiteral("loginctl lock-session"));
|
||||||
addSuggestedCommand(defaultMenu, i18n("Unlock Screen"), QStringLiteral("loginctl unlock-session"));
|
addSuggestedCommand(defaultMenu, i18n("Unlock Screen"), QStringLiteral("loginctl unlock-session"));
|
||||||
addSuggestedCommand(defaultMenu, i18n("Close All Vaults"), QStringLiteral("qdbus org.kde.kded5 /modules/plasmavault closeAllVaults"));
|
addSuggestedCommand(defaultMenu, i18n("Close All Vaults"), QStringLiteral("%0 org.kde.kded5 /modules/plasmavault closeAllVaults").arg(qdbusExe));
|
||||||
addSuggestedCommand(defaultMenu, i18n("Forcefully Close All Vaults"), QStringLiteral("qdbus org.kde.kded5 /modules/plasmavault forceCloseAllVaults"));
|
addSuggestedCommand(defaultMenu, i18n("Forcefully Close All Vaults"), QStringLiteral("%0 org.kde.kded5 /modules/plasmavault forceCloseAllVaults").arg(qdbusExe));
|
||||||
|
|
||||||
QTableView* table = new QTableView(this);
|
QTableView* table = new QTableView(this);
|
||||||
table->horizontalHeader()->setStretchLastSection(true);
|
table->horizontalHeader()->setStretchLastSection(true);
|
||||||
|
|
|
@ -12,6 +12,7 @@ Name[eu]=Exekutatu komandoa
|
||||||
Name[fi]=Suorita komento
|
Name[fi]=Suorita komento
|
||||||
Name[fr]=Exécuter une commande
|
Name[fr]=Exécuter une commande
|
||||||
Name[gl]=Executar unha orde
|
Name[gl]=Executar unha orde
|
||||||
|
Name[ia]=Executa Commando
|
||||||
Name[it]=Esegui comando
|
Name[it]=Esegui comando
|
||||||
Name[ko]=명령 실행
|
Name[ko]=명령 실행
|
||||||
Name[lt]=Vykdyti komandą
|
Name[lt]=Vykdyti komandą
|
||||||
|
|
|
@ -21,6 +21,7 @@ Name[fr]=Paramètres de KDE Connect
|
||||||
Name[gl]=Configuración de KDE Connect
|
Name[gl]=Configuración de KDE Connect
|
||||||
Name[he]=הגדרות KDE Connect
|
Name[he]=הגדרות KDE Connect
|
||||||
Name[hu]=A KDE Connect beállításai
|
Name[hu]=A KDE Connect beállításai
|
||||||
|
Name[ia]=Preferentias de KDE Connect
|
||||||
Name[id]=Pengaturan KDE Connect
|
Name[id]=Pengaturan KDE Connect
|
||||||
Name[it]=Impostazioni di KDE Connect
|
Name[it]=Impostazioni di KDE Connect
|
||||||
Name[ko]=KDE Connect 설정
|
Name[ko]=KDE Connect 설정
|
||||||
|
|
|
@ -14,6 +14,7 @@ Name[fi]=KDE Connectin tekstiviestit
|
||||||
Name[fr]=KDE Connect SMS
|
Name[fr]=KDE Connect SMS
|
||||||
Name[gl]=SMS de KDE Connect
|
Name[gl]=SMS de KDE Connect
|
||||||
Name[hu]=KDE Connect SMS
|
Name[hu]=KDE Connect SMS
|
||||||
|
Name[ia]=KDE Connect SMS
|
||||||
Name[id]=SMS KDE Connect
|
Name[id]=SMS KDE Connect
|
||||||
Name[it]=KDE Connect SMS
|
Name[it]=KDE Connect SMS
|
||||||
Name[ko]=KDE Connect SMS
|
Name[ko]=KDE Connect SMS
|
||||||
|
@ -46,6 +47,7 @@ GenericName[fi]=Tekstiviesti
|
||||||
GenericName[fr]=SMS
|
GenericName[fr]=SMS
|
||||||
GenericName[gl]=SMS
|
GenericName[gl]=SMS
|
||||||
GenericName[hu]=SMS
|
GenericName[hu]=SMS
|
||||||
|
GenericName[ia]=SMS
|
||||||
GenericName[id]=SMS
|
GenericName[id]=SMS
|
||||||
GenericName[it]=SMS
|
GenericName[it]=SMS
|
||||||
GenericName[ko]=SMS
|
GenericName[ko]=SMS
|
||||||
|
|
Loading…
Reference in a new issue