Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion sshlauncher@sumo/files/sshlauncher@sumo/applet.js
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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() {
Expand Down
8 changes: 8 additions & 0 deletions sshlauncher@sumo/files/sshlauncher@sumo/po/ca.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
8 changes: 8 additions & 0 deletions sshlauncher@sumo/files/sshlauncher@sumo/po/da.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
8 changes: 8 additions & 0 deletions sshlauncher@sumo/files/sshlauncher@sumo/po/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
8 changes: 8 additions & 0 deletions sshlauncher@sumo/files/sshlauncher@sumo/po/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
8 changes: 8 additions & 0 deletions sshlauncher@sumo/files/sshlauncher@sumo/po/fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -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 ""
Expand Down
8 changes: 8 additions & 0 deletions sshlauncher@sumo/files/sshlauncher@sumo/po/hr.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
8 changes: 8 additions & 0 deletions sshlauncher@sumo/files/sshlauncher@sumo/po/hu.po
Original file line number Diff line number Diff line change
Expand Up @@ -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 ""
Expand Down
8 changes: 8 additions & 0 deletions sshlauncher@sumo/files/sshlauncher@sumo/po/it.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
8 changes: 8 additions & 0 deletions sshlauncher@sumo/files/sshlauncher@sumo/po/nl.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
8 changes: 8 additions & 0 deletions sshlauncher@sumo/files/sshlauncher@sumo/po/pl.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
8 changes: 8 additions & 0 deletions sshlauncher@sumo/files/sshlauncher@sumo/po/ru.po
Original file line number Diff line number Diff line change
Expand Up @@ -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-терминала"
10 changes: 9 additions & 1 deletion sshlauncher@sumo/files/sshlauncher@sumo/po/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -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 <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -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 ""
8 changes: 8 additions & 0 deletions sshlauncher@sumo/files/sshlauncher@sumo/po/sv.po
Original file line number Diff line number Diff line change
Expand Up @@ -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 ""
Expand Down
8 changes: 8 additions & 0 deletions sshlauncher@sumo/files/sshlauncher@sumo/po/vi.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
8 changes: 8 additions & 0 deletions sshlauncher@sumo/files/sshlauncher@sumo/po/zh_CN.po
Original file line number Diff line number Diff line change
Expand Up @@ -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 终端时显示通知消息"
8 changes: 8 additions & 0 deletions sshlauncher@sumo/files/sshlauncher@sumo/po/zh_TW.po
Original file line number Diff line number Diff line change
Expand Up @@ -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 終端機時顯示通知訊息"
8 changes: 7 additions & 1 deletion sshlauncher@sumo/files/sshlauncher@sumo/settings-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}