diff --git a/sshlauncher@sumo/files/sshlauncher@sumo/applet.js b/sshlauncher@sumo/files/sshlauncher@sumo/applet.js index d102bfb6e16..ae0d1256c74 100644 --- a/sshlauncher@sumo/files/sshlauncher@sumo/applet.js +++ b/sshlauncher@sumo/files/sshlauncher@sumo/applet.js @@ -32,6 +32,7 @@ function _(str) { const KEYS = { CUSTOM_COMMAND: 'customCommand', + SHOW_CONNECTION_NOTIFICATION: 'showConnectionNotification', }; const CUSTOM_ICON_KEY = "themeIcon"; const SYMBOLIC_ICON_KEY = "symbolicIcon"; @@ -255,7 +256,9 @@ MyApplet.prototype = { // to provide better feedback on issues Util.spawnCommandLine(command); if (DEBUG()) global.log("Terminal opened with command '" + command + "'"); - this.sendNotification(_("SSH Launcher"), _("Connection opened to ") + hostname + _(" using ") + terminal); + if (this._showConnectionNotification) { + this.sendNotification(_("SSH Launcher"), _("Connection opened to ") + hostname + _(" using ") + terminal); + } }, editConfig: function() { diff --git a/sshlauncher@sumo/files/sshlauncher@sumo/po/ca.po b/sshlauncher@sumo/files/sshlauncher@sumo/po/ca.po index 1475ae955c6..4c4483579a4 100644 --- a/sshlauncher@sumo/files/sshlauncher@sumo/po/ca.po +++ b/sshlauncher@sumo/files/sshlauncher@sumo/po/ca.po @@ -100,3 +100,11 @@ msgid "" msgstr "" "Habitualment hauria d'acabar amb -e de manera que s'executi l'ordre ssh " "proveïda. Reviseu el manual del vostre terminal." + +#. settings-schema.json->showConnectionNotification->description +msgid "Show notification when launching SSH connection" +msgstr "Mostrar notificació en iniciar connexió SSH" + +#. settings-schema.json->showConnectionNotification->tooltip +msgid "Display a notification message when SSH terminal is launched" +msgstr "Mostrar un missatge de notificació quan s'inicia el terminal SSH" diff --git a/sshlauncher@sumo/files/sshlauncher@sumo/po/da.po b/sshlauncher@sumo/files/sshlauncher@sumo/po/da.po index 086878713e3..360d1afde8c 100644 --- a/sshlauncher@sumo/files/sshlauncher@sumo/po/da.po +++ b/sshlauncher@sumo/files/sshlauncher@sumo/po/da.po @@ -96,6 +96,14 @@ msgstr "" "Normalt skal det ende med -e, så den angivne ssh-kommando udføres. Kig i " "manualen til den valgte terminal." +#. settings-schema.json->showConnectionNotification->description +msgid "Show notification when launching SSH connection" +msgstr "Vis notifikation ved start af SSH-forbindelse" + +#. settings-schema.json->showConnectionNotification->tooltip +msgid "Display a notification message when SSH terminal is launched" +msgstr "Vis en notifikationsbesked når SSH-terminal startes" + #. metadata.json->description msgid "An applet to connect to SSH hosts configured in ~/.ssh/config" msgstr "Tilslut til SSH-værter konfigurerede i ~/.ssh/config" diff --git a/sshlauncher@sumo/files/sshlauncher@sumo/po/de.po b/sshlauncher@sumo/files/sshlauncher@sumo/po/de.po index 2ed91a752f9..a524c164e55 100644 --- a/sshlauncher@sumo/files/sshlauncher@sumo/po/de.po +++ b/sshlauncher@sumo/files/sshlauncher@sumo/po/de.po @@ -102,3 +102,11 @@ msgstr "" "Für gewöhnlich sollte dieser mit -e enden, damit der gegebene SSH-Befehl " "ausgeführt wird. Konsultieren Sie die Dokumentation Ihres gewählten " "Terminals." + +#. settings-schema.json->showConnectionNotification->description +msgid "Show notification when launching SSH connection" +msgstr "Benachrichtigung beim Starten der SSH-Verbindung anzeigen" + +#. settings-schema.json->showConnectionNotification->tooltip +msgid "Display a notification message when SSH terminal is launched" +msgstr "Benachrichtigung anzeigen, wenn SSH-Terminal gestartet wird" diff --git a/sshlauncher@sumo/files/sshlauncher@sumo/po/es.po b/sshlauncher@sumo/files/sshlauncher@sumo/po/es.po index e4fab47994b..dea8a3ec3c7 100644 --- a/sshlauncher@sumo/files/sshlauncher@sumo/po/es.po +++ b/sshlauncher@sumo/files/sshlauncher@sumo/po/es.po @@ -96,6 +96,14 @@ msgstr "" "Por lo general, debe terminar con -e para que ejecute el comando ssh " "proporcionado, consulte el manual del terminal elegido." +#. settings-schema.json->showConnectionNotification->description +msgid "Show notification when launching SSH connection" +msgstr "Mostrar notificación al iniciar conexión SSH" + +#. settings-schema.json->showConnectionNotification->tooltip +msgid "Display a notification message when SSH terminal is launched" +msgstr "Mostrar un mensaje de notificación cuando se inicia el terminal SSH" + #. metadata.json->description msgid "An applet to connect to SSH hosts configured in ~/.ssh/config" msgstr "Un applet para conectarse a hosts SSH configurados en ~/.ssh/config" diff --git a/sshlauncher@sumo/files/sshlauncher@sumo/po/fr.po b/sshlauncher@sumo/files/sshlauncher@sumo/po/fr.po index 04b1430d559..799bf13ad0a 100644 --- a/sshlauncher@sumo/files/sshlauncher@sumo/po/fr.po +++ b/sshlauncher@sumo/files/sshlauncher@sumo/po/fr.po @@ -96,6 +96,14 @@ msgstr "" "Généralement, il devrait se terminer par -e pour exécuter la commande SSH " "fournie, consultez le manuel du terminal choisi." +#. settings-schema.json->showConnectionNotification->description +msgid "Show notification when launching SSH connection" +msgstr "Afficher une notification lors du lancement de connexion SSH" + +#. settings-schema.json->showConnectionNotification->tooltip +msgid "Display a notification message when SSH terminal is launched" +msgstr "Afficher un message de notification lorsque le terminal SSH est lancé" + #. metadata.json->description msgid "An applet to connect to SSH hosts configured in ~/.ssh/config" msgstr "" diff --git a/sshlauncher@sumo/files/sshlauncher@sumo/po/hr.po b/sshlauncher@sumo/files/sshlauncher@sumo/po/hr.po index e26b92bc7bd..d32f034c860 100644 --- a/sshlauncher@sumo/files/sshlauncher@sumo/po/hr.po +++ b/sshlauncher@sumo/files/sshlauncher@sumo/po/hr.po @@ -50,3 +50,11 @@ msgstr "Povezivanje uspostavljeno s " #. sshlauncher@sumo->metadata.json->description msgid "An applet to connect to SSH hosts configured in ~/.ssh/config" msgstr "Aplet za povezivanje sa SSH računalima podešenim u ~/.ssh/config" + +#. settings-schema.json->showConnectionNotification->description +msgid "Show notification when launching SSH connection" +msgstr "Prikaži obavijest pri pokretanju SSH veze" + +#. settings-schema.json->showConnectionNotification->tooltip +msgid "Display a notification message when SSH terminal is launched" +msgstr "Prikaži poruku obavijesti kada se pokrene SSH terminal" diff --git a/sshlauncher@sumo/files/sshlauncher@sumo/po/hu.po b/sshlauncher@sumo/files/sshlauncher@sumo/po/hu.po index d478fc0cdec..93fc160584f 100644 --- a/sshlauncher@sumo/files/sshlauncher@sumo/po/hu.po +++ b/sshlauncher@sumo/files/sshlauncher@sumo/po/hu.po @@ -95,6 +95,14 @@ msgstr "" "Általában -e legyen a végződés, így végrehajtja a mellékelt ssh parancsot, " "ellenőrizze az ön által használt terminál kézikönyvét." +#. settings-schema.json->showConnectionNotification->description +msgid "Show notification when launching SSH connection" +msgstr "Értesítés megjelenítése SSH-kapcsolat indításakor" + +#. settings-schema.json->showConnectionNotification->tooltip +msgid "Display a notification message when SSH terminal is launched" +msgstr "Értesítési üzenet megjelenítése az SSH terminál indításakor" + #. metadata.json->description msgid "An applet to connect to SSH hosts configured in ~/.ssh/config" msgstr "" diff --git a/sshlauncher@sumo/files/sshlauncher@sumo/po/it.po b/sshlauncher@sumo/files/sshlauncher@sumo/po/it.po index 17a2749d198..a64cd42e44a 100644 --- a/sshlauncher@sumo/files/sshlauncher@sumo/po/it.po +++ b/sshlauncher@sumo/files/sshlauncher@sumo/po/it.po @@ -94,6 +94,14 @@ msgstr "" "Di solito dovrebbe terminare con -e cosicché eseguirà il comando ssh " "fornito, controlla il manuale del terminale scelto." +#. settings-schema.json->showConnectionNotification->description +msgid "Show notification when launching SSH connection" +msgstr "Mostra notifica all'avvio della connessione SSH" + +#. settings-schema.json->showConnectionNotification->tooltip +msgid "Display a notification message when SSH terminal is launched" +msgstr "Visualizza un messaggio di notifica quando viene avviato il terminale SSH" + #. metadata.json->description msgid "An applet to connect to SSH hosts configured in ~/.ssh/config" msgstr "Un'applet per connettersi agli host SSH configurati in ~/.ssh/config" diff --git a/sshlauncher@sumo/files/sshlauncher@sumo/po/nl.po b/sshlauncher@sumo/files/sshlauncher@sumo/po/nl.po index c3123cb6c9f..01d5ee2ceed 100644 --- a/sshlauncher@sumo/files/sshlauncher@sumo/po/nl.po +++ b/sshlauncher@sumo/files/sshlauncher@sumo/po/nl.po @@ -98,3 +98,11 @@ msgid "" msgstr "" "Gewoonlijk moet het eindigen op -e zodat het het meegeleverde SSH-commando " "zal uitvoeren, controleer de handleiding van je gekozen terminal." + +#. settings-schema.json->showConnectionNotification->description +msgid "Show notification when launching SSH connection" +msgstr "Toon melding bij het starten van SSH-verbinding" + +#. settings-schema.json->showConnectionNotification->tooltip +msgid "Display a notification message when SSH terminal is launched" +msgstr "Toon een meldingsbericht wanneer de SSH-terminal wordt gestart" diff --git a/sshlauncher@sumo/files/sshlauncher@sumo/po/pl.po b/sshlauncher@sumo/files/sshlauncher@sumo/po/pl.po index 037da205073..b900acdf99e 100644 --- a/sshlauncher@sumo/files/sshlauncher@sumo/po/pl.po +++ b/sshlauncher@sumo/files/sshlauncher@sumo/po/pl.po @@ -97,6 +97,14 @@ msgstr "" "Zwykle powinno kończyć się opcją -e, tak aby uruchomić polecenie ssh. " "Sprawdź szczegóły w pomocy wybranego terminala." +#. settings-schema.json->showConnectionNotification->description +msgid "Show notification when launching SSH connection" +msgstr "Pokazuj powiadomienie przy uruchamianiu połączenia SSH" + +#. settings-schema.json->showConnectionNotification->tooltip +msgid "Display a notification message when SSH terminal is launched" +msgstr "Wyświetlaj komunikat po uruchomieniu terminala SSH" + #. metadata.json->description msgid "An applet to connect to SSH hosts configured in ~/.ssh/config" msgstr "Aplet do nawiązywania połączeń SSH skonfigurowanych w ~/.ssh/config" diff --git a/sshlauncher@sumo/files/sshlauncher@sumo/po/ru.po b/sshlauncher@sumo/files/sshlauncher@sumo/po/ru.po index 593f8551990..0fd7ff02192 100644 --- a/sshlauncher@sumo/files/sshlauncher@sumo/po/ru.po +++ b/sshlauncher@sumo/files/sshlauncher@sumo/po/ru.po @@ -97,3 +97,11 @@ msgid "" msgstr "" "Обычно заканчивается на -e, чтобы выполнить указанную команду ssh, проверьте " "руководство по использованию выбранного терминала." + +#. settings-schema.json->showConnectionNotification->description +msgid "Show notification when launching SSH connection" +msgstr "Показывать уведомление при запуске SSH-соединения" + +#. settings-schema.json->showConnectionNotification->tooltip +msgid "Display a notification message when SSH terminal is launched" +msgstr "Отображать уведомление при запуске SSH-терминала" diff --git a/sshlauncher@sumo/files/sshlauncher@sumo/po/sshlauncher@sumo.pot b/sshlauncher@sumo/files/sshlauncher@sumo/po/sshlauncher@sumo.pot index 0f4afa7186f..89105750bfd 100644 --- a/sshlauncher@sumo/files/sshlauncher@sumo/po/sshlauncher@sumo.pot +++ b/sshlauncher@sumo/files/sshlauncher@sumo/po/sshlauncher@sumo.pot @@ -9,7 +9,7 @@ msgstr "" "Project-Id-Version: sshlauncher@sumo 0.1.2\n" "Report-Msgid-Bugs-To: https://github.com/linuxmint/cinnamon-spices-applets/" "issues\n" -"POT-Creation-Date: 2023-12-24 12:01+0100\n" +"POT-Creation-Date: 2025-11-25 18:00+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -92,3 +92,11 @@ msgid "" "Usually it should end with -e so it will execute the supplied ssh command, " "check your chosen terminal's manual." msgstr "" + +#. settings-schema.json->showConnectionNotification->description +msgid "Show notification when launching SSH connection" +msgstr "" + +#. settings-schema.json->showConnectionNotification->tooltip +msgid "Display a notification message when SSH terminal is launched" +msgstr "" diff --git a/sshlauncher@sumo/files/sshlauncher@sumo/po/sv.po b/sshlauncher@sumo/files/sshlauncher@sumo/po/sv.po index b940c72d343..1813decabd0 100644 --- a/sshlauncher@sumo/files/sshlauncher@sumo/po/sv.po +++ b/sshlauncher@sumo/files/sshlauncher@sumo/po/sv.po @@ -95,6 +95,14 @@ msgstr "" "Vanligtvis skall det avslutas med -e, så att ssh-kommandot exekveras. " "Kontrollera i manualen för din valda terminal." +#. settings-schema.json->showConnectionNotification->description +msgid "Show notification when launching SSH connection" +msgstr "Visa notifiering vid start av SSH-anslutning" + +#. settings-schema.json->showConnectionNotification->tooltip +msgid "Display a notification message when SSH terminal is launched" +msgstr "Visa ett notifieringsmeddelande när SSH-terminal startas" + #. metadata.json->description msgid "An applet to connect to SSH hosts configured in ~/.ssh/config" msgstr "" diff --git a/sshlauncher@sumo/files/sshlauncher@sumo/po/vi.po b/sshlauncher@sumo/files/sshlauncher@sumo/po/vi.po index 6e95c527f34..f6d85ffb427 100644 --- a/sshlauncher@sumo/files/sshlauncher@sumo/po/vi.po +++ b/sshlauncher@sumo/files/sshlauncher@sumo/po/vi.po @@ -97,3 +97,11 @@ msgid "" "Usually it should end with -e so it will execute the supplied ssh command, " "check your chosen terminal's manual." msgstr "Thông thường kết thúc bằng -e để thực thi lệnh ssh, kiểm tra hướng dẫn Terminal bạn chọn." + +#. settings-schema.json->showConnectionNotification->description +msgid "Show notification when launching SSH connection" +msgstr "Hiển thị thông báo khi khởi chạy kết nối SSH" + +#. settings-schema.json->showConnectionNotification->tooltip +msgid "Display a notification message when SSH terminal is launched" +msgstr "Hiển thị thông báo khi Terminal SSH được khởi chạy" diff --git a/sshlauncher@sumo/files/sshlauncher@sumo/po/zh_CN.po b/sshlauncher@sumo/files/sshlauncher@sumo/po/zh_CN.po index c0a8ef2da7b..b87d374e477 100644 --- a/sshlauncher@sumo/files/sshlauncher@sumo/po/zh_CN.po +++ b/sshlauncher@sumo/files/sshlauncher@sumo/po/zh_CN.po @@ -97,3 +97,11 @@ msgstr "" #. metadata.json->description msgid "An applet to connect to SSH hosts configured in ~/.ssh/config" msgstr "连接到 ~/.ssh/config 中配置的 SSH 主机的小程序" + +#. settings-schema.json->showConnectionNotification->description +msgid "Show notification when launching SSH connection" +msgstr "启动 SSH 连接时显示通知" + +#. settings-schema.json->showConnectionNotification->tooltip +msgid "Display a notification message when SSH terminal is launched" +msgstr "启动 SSH 终端时显示通知消息" diff --git a/sshlauncher@sumo/files/sshlauncher@sumo/po/zh_TW.po b/sshlauncher@sumo/files/sshlauncher@sumo/po/zh_TW.po index 20e19ee98d7..9cb18571ec8 100644 --- a/sshlauncher@sumo/files/sshlauncher@sumo/po/zh_TW.po +++ b/sshlauncher@sumo/files/sshlauncher@sumo/po/zh_TW.po @@ -96,3 +96,11 @@ msgid "" msgstr "" "通常需要以 -e 作為結尾,以便執行所提供的 SSH 指令\n" "請參閱所使用終端機的使用手冊以取得更多資訊。" + +#. settings-schema.json->showConnectionNotification->description +msgid "Show notification when launching SSH connection" +msgstr "啟動 SSH 連線時顯示通知" + +#. settings-schema.json->showConnectionNotification->tooltip +msgid "Display a notification message when SSH terminal is launched" +msgstr "啟動 SSH 終端機時顯示通知訊息" diff --git a/sshlauncher@sumo/files/sshlauncher@sumo/settings-schema.json b/sshlauncher@sumo/files/sshlauncher@sumo/settings-schema.json index 95db91c91f5..6349f3ea648 100644 --- a/sshlauncher@sumo/files/sshlauncher@sumo/settings-schema.json +++ b/sshlauncher@sumo/files/sshlauncher@sumo/settings-schema.json @@ -23,5 +23,11 @@ , "default": "" , "description": "Use custom command for opening terminal" , "tooltip": "Usually it should end with -e so it will execute the supplied ssh command, check your chosen terminal's manual." + }, + "showConnectionNotification": + { "type": "checkbox" + , "default": true + , "description": "Show notification when launching SSH connection" + , "tooltip": "Display a notification message when SSH terminal is launched" } -} \ No newline at end of file +}