Commit c8a87db3 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Merge branch 'release/20.04'

parents 74c6b71e b699372d
Pipeline #25981 canceled with stage
......@@ -19,6 +19,7 @@ Name[fr]=KDE Connect
Name[gl]=KDE Connect
Name[he]=KDE Connect
Name[hu]=KDE Connect
Name[ia]=KDE Connect
Name[id]=KDE Connect
Name[it]=KDE Connect
Name[ko]=KDE Connect
......
......@@ -29,6 +29,7 @@ Name[fr]=KDE Connect
Name[gl]=KDE Connect
Name[he]=KDE Connect
Name[hu]=KDE Connect
Name[ia]=KDE Connect
Name[id]=KDE Connect
Name[it]=KDE Connect
Name[ko]=KDE Connect
......
......@@ -18,6 +18,7 @@ Name[fi]=Lähetä tiedosto KDE Connectilla
Name[fr]=Envoyer via KDE Connect
Name[gl]=Enviar por KDE Connect
Name[hu]=Küldés a KDE Connecttel
Name[ia]=Invia via KDE Connect
Name[it]=Invia tramite KDE Connect
Name[ko]=KDE Connect로 통해 보내기
Name[lt]=Siųsti per KDE Connect
......
......@@ -19,6 +19,7 @@
<name xml:lang="fr">KDE Connect</name>
<name xml:lang="gl">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="it">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="gl">Conexión constante entre dispositivos</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="it">Connessione trasparente dei tuoi dispositivi</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[gl]=Abrir no dispositivo conectado por KDE Connect
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[ko]=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[gl]=Abrir no dispositivo conectado por KDE Connect
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[ko]=KDE Connect로 연결된 장치에서 열기
Name[lt]=Atverti prijungtame įrenginyje per KDE Connect
......
......@@ -30,6 +30,7 @@ Name[fr]=KDE Connect
Name[gl]=KDE Connect
Name[he]=KDE Connect
Name[hu]=KDE Connect
Name[ia]=KDE Connect
Name[id]=KDE Connect
Name[it]=KDE Connect
Name[ko]=KDE Connect
......
......@@ -19,6 +19,7 @@ Name[fr]=KDE Connect
Name[gl]=KDE Connect
Name[he]=KDE Connect
Name[hu]=KDE Connect
Name[ia]=KDE Connect
Name[id]=KDE Connect
Name[it]=KDE Connect
Name[ko]=KDE Connect
......
......@@ -20,6 +20,7 @@ Name[fr]=KDE Connect
Name[gl]=KDE Connect
Name[he]=KDE Connect
Name[hu]=KDE Connect
Name[ia]=KDE Connect
Name[id]=KDE Connect
Name[it]=KDE Connect
Name[ko]=KDE Connect
......@@ -279,6 +280,7 @@ Name[fr]=Appel manqué
Name[gl]=Chamada perdida
Name[he]=שיחה שלא נענתה
Name[hu]=Nem fogadott hívás
Name[ia]=Appello perdite
Name[id]=Panggilan Tidak Terjawab
Name[it]=Chiamata persa
Name[ko]=부재중 전화
......
......@@ -29,6 +29,7 @@
#include <QDebug>
#include <QUuid>
#include <QJsonDocument>
#include <QStandardPaths>
#include <KLocalizedString>
#include <KPluginFactory>
......@@ -41,13 +42,18 @@ K_PLUGIN_FACTORY(ShareConfigFactory, registerPlugin<RunCommandConfig>();)
RunCommandConfig::RunCommandConfig(QWidget* parent, const QVariantList& args)
: 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);
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("Unlock Screen"), QStringLiteral("loginctl unlock-session"));
addSuggestedCommand(defaultMenu, i18n("Close All Vaults"), QStringLiteral("qdbus org.kde.kded5 /modules/plasmavault closeAllVaults"));
addSuggestedCommand(defaultMenu, i18n("Forcefully Close All Vaults"), QStringLiteral("qdbus org.kde.kded5 /modules/plasmavault forceCloseAllVaults"));
addSuggestedCommand(defaultMenu, i18n("Close All Vaults"), QStringLiteral("%0 org.kde.kded5 /modules/plasmavault closeAllVaults").arg(qdbusExe));
addSuggestedCommand(defaultMenu, i18n("Forcefully Close All Vaults"), QStringLiteral("%0 org.kde.kded5 /modules/plasmavault forceCloseAllVaults").arg(qdbusExe));
QTableView* table = new QTableView(this);
table->horizontalHeader()->setStretchLastSection(true);
......
......@@ -12,6 +12,7 @@ Name[eu]=Exekutatu komandoa
Name[fi]=Suorita komento
Name[fr]=Exécuter une commande
Name[gl]=Executar unha orde
Name[ia]=Executa Commando
Name[it]=Esegui comando
Name[ko]=명령 실행
Name[lt]=Vykdyti komandą
......
......@@ -21,6 +21,7 @@ Name[fr]=Paramètres de KDE Connect
Name[gl]=Configuración de KDE Connect
Name[he]=הגדרות KDE Connect
Name[hu]=A KDE Connect beállításai
Name[ia]=Preferentias de KDE Connect
Name[id]=Pengaturan KDE Connect
Name[it]=Impostazioni di KDE Connect
Name[ko]=KDE Connect 설정
......
......@@ -14,6 +14,7 @@ Name[fi]=KDE Connectin tekstiviestit
Name[fr]=KDE Connect SMS
Name[gl]=SMS de KDE Connect
Name[hu]=KDE Connect SMS
Name[ia]=KDE Connect SMS
Name[id]=SMS KDE Connect
Name[it]=KDE Connect SMS
Name[ko]=KDE Connect SMS
......@@ -46,6 +47,7 @@ GenericName[fi]=Tekstiviesti
GenericName[fr]=SMS
GenericName[gl]=SMS
GenericName[hu]=SMS
GenericName[ia]=SMS
GenericName[id]=SMS
GenericName[it]=SMS
GenericName[ko]=SMS
......
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