translate complete

This commit is contained in:
Désiré Werner Menrath 2023-11-20 20:06:33 +01:00
parent 64f0c351c2
commit e3163a3d1e
8 changed files with 248 additions and 158 deletions

View File

@ -9,7 +9,12 @@
# Use without warranty! ##
########################################################
########################################################
Encoding=UTF-8
# i18n - Internationalization - Internationalisierung
export TEXTDOMAIN=install
export TEXTDOMAINDIR="Wire-G/languages"
############################################################################################################
############################################################################################################
@ -52,7 +57,7 @@ elif grep -i 'suse' /etc/os-release > /dev/null 2>&1
fi
else
clear
echo $"Your system could not be determined."
echo $"Your System could not be determined."
echo
read -n 1 -s -r -p $"To close the window press a button"
clear

64
languages/de/install.po Normal file
View File

@ -0,0 +1,64 @@
# German translations for PACKAGE package.
# Copyright (C) 2023 THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# punix <polunga40@unity-mail.de>, 2023.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-11-20 19:57+0100\n"
"PO-Revision-Date: 2023-11-20 20:03+0100\n"
"Last-Translator: punix <polunga40@unity-mail.de>\n"
"Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=ASCII\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 3.4\n"
#: /home/punix/VSCodium/Wire-G/install:20
#: /home/punix/VSCodium/Wire-G/install:26
#: /home/punix/VSCodium/Wire-G/install:32
#: /home/punix/VSCodium/Wire-G/install:47
msgid "Wire-G is installed..."
msgstr "Wire-G wird installiert..."
#: /home/punix/VSCodium/Wire-G/install:39
msgid "Attention OpenSuse is not officially supported!"
msgstr "Achtung OpenSuse wird nicht offiziell unterstützt!"
#: /home/punix/VSCodium/Wire-G/install:41
msgid "yad must install them themselves when they continue!"
msgstr "yad müssen sie selbst installieren, wenn sie fortfahren!"
#: /home/punix/VSCodium/Wire-G/install:42
msgid "since these packages are officially not available."
msgstr "da diese Pakete offiziell nicht verfügbar sind."
#: /home/punix/VSCodium/Wire-G/install:44
msgid "Enter i for installation and enter key, break down with any other button ..."
msgstr "Geben Sie i für die installation ein und die Eingabetaste, Abbruch mit jeder anderen Taste ..."
#: /home/punix/VSCodium/Wire-G/install:55
msgid "Your system could not be determined."
msgstr "Ihr System konnte nicht ermittelt werden."
#: /home/punix/VSCodium/Wire-G/install:57
#: /home/punix/VSCodium/Wire-G/install:86
msgid "To close the window press a button"
msgstr "Zum Fenster schließen eine Taste drücken"
#: /home/punix/VSCodium/Wire-G/install:81
msgid "Wire-G uses the standard language."
msgstr "Wire-G nutzt die Standardsprache."
#: /home/punix/VSCodium/Wire-G/install:84
msgid "Installation successfully!"
msgstr "Installation erfolgreich!"
#: /home/punix/VSCodium/Wire-G/uninstall:31
msgid "uninstall successfully!"
msgstr "deinstallation erfolgreich!"

Binary file not shown.

View File

@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-11-09 19:17+0100\n"
"PO-Revision-Date: 2023-11-09 19:32+0100\n"
"POT-Creation-Date: 2023-11-20 18:58+0100\n"
"PO-Revision-Date: 2023-11-20 19:26+0100\n"
"Last-Translator: punix <polunga40@unity-mail.de>\n"
"Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
"Language: de\n"
@ -18,120 +18,123 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 3.4\n"
#: /home/punix/VSCodium/Wire-G/wire_g:52
msgid "$active powered"
#: /home/punix/VSCodium/Wire-G/wire_g:53
msgid "<span color='#0fad0a'><b>$ACTIVE</b></span> <span><b>powered</b></span>"
msgstr "<span color='#0fad0a'><b>$ACTIVE</b></span> <span><b>eingeschaltet</b></span>"
#: /home/punix/VSCodium/Wire-G/wire_g:61
msgid "$ACTIVE activ"
msgstr "$active eingeschaltet"
#: /home/punix/VSCodium/Wire-G/wire_g:83 /home/punix/VSCodium/Wire-G/wire_g:145
#: /home/punix/VSCodium/Wire-G/wire_g:212
#: /home/punix/VSCodium/Wire-G/wire_g:248
#: /home/punix/VSCodium/Wire-G/wire_g:62
msgid ""
"Wire-G open!/sbin/wire_g\n"
" |$ACTIVE stop!/sbin/wg_stop"
msgstr ""
"Wire-G öffnen!/sbin/wire_g\n"
" |$ACTIVE stop!/sbin/wg_stop"
#: /home/punix/VSCodium/Wire-G/wire_g:79
msgid "Cancel"
msgstr "Abbrechen"
#: /home/punix/VSCodium/Wire-G/wire_g:83 /home/punix/VSCodium/Wire-G/wire_g:117
#: /home/punix/VSCodium/Wire-G/wire_g:79
msgid "Wireguard .conf Select file"
msgstr "Wireguard .conf Datei auswählen"
#: /home/punix/VSCodium/Wire-G/wire_g:98
msgid "Wire-G"
#: /home/punix/VSCodium/Wire-G/wire_g:89
msgid "Tunnel already exists!"
msgstr "Tunnelname existiert schon!"
#: /home/punix/VSCodium/Wire-G/wire_g:116
msgid ""
"<b>Oh, something went wrong. No valid Wireguard file. </b> \\n\n"
"<b>Here is an example:</b><span color='#0fad0a'><b> my_wireguard.conf</b></span>"
msgstr ""
"<b>Oh, etwas ging schief. Keine gültige Wireguard Datei. </b> \\n\n"
"<b>Hier ein beispiel:</b><span color='#0fad0a'><b> my_wireguard.conf</b></span>"
#: /home/punix/VSCodium/Wire-G/wire_g:100
msgid "Tunnel name already exists."
msgstr "Tunnelname existiert schon."
#: /home/punix/VSCodium/Wire-G/wire_g:139
msgid "Your Tunnel $SELECTION was successfully deleted."
msgstr "Ihr Tunnel $selection wurde erfolgreich gelöscht."
#: /home/punix/VSCodium/Wire-G/wire_g:117
#: /home/punix/VSCodium/Wire-G/wire_g:145
#: /home/punix/VSCodium/Wire-G/wire_g:164
#: /home/punix/VSCodium/Wire-G/wire_g:170
#: /home/punix/VSCodium/Wire-G/wire_g:195
#: /home/punix/VSCodium/Wire-G/wire_g:248
#: /home/punix/VSCodium/Wire-G/wire_g:140 /home/punix/VSCodium/Wire-G/wire_g:146
msgid "OK"
msgstr ""
#: /home/punix/VSCodium/Wire-G/wire_g:120
msgid ""
"<b>Oh, something went wrong.</b> \\n\n"
"<b>No valid Wireguard file.</b> \\n \n"
"<b>Here is an example:</b><span color='#0fad0a'><b> my_wireguard.conf</b></"
"span> \\n"
msgstr ""
"<b>Oh da ging etwas schief.</b> \\n\n"
"<b>Keine gültige Wireguard Datei.</b> \\n \n"
"<b>Hier ein Beispiel:</b><span color='#0fad0a'><b> my_wireguard.conf</b></"
"span> \\n"
#: /home/punix/VSCodium/Wire-G/wire_g:145
msgid "Delete"
msgstr "Löschen"
#: /home/punix/VSCodium/Wire-G/wire_g:145
#: /home/punix/VSCodium/Wire-G/wire_g:248
msgid ""
"<b>Activ Tunnel: </b> <span color='#0fad0a'><b>$active</b></span> \n"
"<b>----------------------------------------------------------------------------------"
"</b> \n"
"<b>If no tunnels are listed,</b> \n"
"<b>so they have to import their tunnel beforehand.</b>"
msgstr ""
"<b>Aktiver Tunnel: </b> <span color='#0fad0a'><b>$active</b></span> \n"
"<b>----------------------------------------------------------------------------------"
"</b> \n"
"<b>Sollten keine Tunnel aufgelistet sein,</b> \n"
"<b>so müssen sie ihren Tunnel zuvor importieren.</b>"
#: /home/punix/VSCodium/Wire-G/wire_g:163
msgid "Your tunnel $selection was successfully deleted."
msgstr "Ihr Tunnel $selection wurde erfolgreich gelöscht."
#: /home/punix/VSCodium/Wire-G/wire_g:169
msgid "Oh something went wrong.\\nPlease delete tunnel in the network manager."
msgid "Oh something went wrong.\\nPlease delete Tunnel in the network manager."
msgstr "Oh etwas ging schief.\\nBitte Tunnel im Networkmanager löschen."
#: /home/punix/VSCodium/Wire-G/wire_g:194
msgid "There is no active tunnel that you could stop."
#: /home/punix/VSCodium/Wire-G/wire_g:166
msgid "There is no active Tunnel that you could stop."
msgstr "Es gibt keinen aktiven Tunnel den man stoppen könnte."
#: /home/punix/VSCodium/Wire-G/wire_g:212
msgid "Import"
#: /home/punix/VSCodium/Wire-G/wire_g:212 /home/punix/VSCodium/Wire-G/wire_g:230
#: /home/punix/VSCodium/Wire-G/wire_g:248 /home/punix/VSCodium/Wire-G/wire_g:266
msgid "Autoconnect on PC Start:CHK"
msgstr "Autoconnect bei PC Start:CHK"
#: /home/punix/VSCodium/Wire-G/wire_g:213 /home/punix/VSCodium/Wire-G/wire_g:231
#: /home/punix/VSCodium/Wire-G/wire_g:249 /home/punix/VSCodium/Wire-G/wire_g:267
msgid "Autoupdate:CHK"
msgstr ""
#: /home/punix/VSCodium/Wire-G/wire_g:216 /home/punix/VSCodium/Wire-G/wire_g:234
#: /home/punix/VSCodium/Wire-G/wire_g:252 /home/punix/VSCodium/Wire-G/wire_g:270
msgid ""
"<span color='#626ff1'><b>Wire-G Author: Désiré Werner Menrath</b></span> \\n \n"
"<span color='#626ff1'><b>E-Mail: polunga40@unity-mail.de</b></span> \\n\n"
"<span color='#626ff1'><b>At all Tunnels, the auto start is disabled.</b></span> \\n\n"
"<span color='#626ff1'><b>Version: $VERSION </b></span> \\n\n"
"<span color='#626ff1'><b>Use without warranty.</b></span> \\n\n"
"<a href='https://git.lunix.dedyn.io/punix/Wire-G/releases'>Download Wire-G </a> \\n"
msgstr ""
"<span color='#626ff1'><b>Wire-G Author: Désiré Werner Menrath</b></span> \\n \n"
"<span color='#626ff1'><b>E-Mail: polunga40@unity-mail.de</b></span> \\n\n"
"<span color='#626ff1'><b>Bei allen Tunnel wird der Autostart deaktiviert.</b></span> \\n\n"
"<span color='#626ff1'><b>Version: $VERSION </b></span> \\n\n"
"<span color='#626ff1'><b>Benutzung ohne Gewähr.</b></span> \\n\n"
"<a href='https://git.lunix.dedyn.io/punix/Wire-G/releases'>Download Wire-G </a> \\n"
#: /home/punix/VSCodium/Wire-G/wire_g:310
msgid "Start:0"
msgstr ""
#: /home/punix/VSCodium/Wire-G/wire_g:310
msgid "Stop:2"
msgstr ""
#: /home/punix/VSCodium/Wire-G/wire_g:310
msgid "Import:3"
msgstr "Importieren"
#: /home/punix/VSCodium/Wire-G/wire_g:212
msgid "Wire-G Stop"
msgstr ""
#: /home/punix/VSCodium/Wire-G/wire_g:212
msgid ""
"<span color='#626ff1'><b>Wire-G Author: Désiré Werner Menrath</b></span> "
"\\n \n"
"<span color='#626ff1'><b>E-Mail: polunga40@unity-mail.de</b></span> \\n\n"
"<span color='#626ff1'><b>At all tunnels, the auto start is disabled.</b></"
"span> \\n\n"
"<span color='#626ff1'><b>Version: $version </b></span> \\n\n"
"<span color='#626ff1'><b>Use without warranty.</b></span> \\n\n"
"<a href='https://git.lunix.dedyn.io/punix/Wire-G'>Download Wire-G </a> \\n"
msgstr ""
"<span color='#626ff1'><b>Wire-G Author: Désiré Werner Menrath</b></span> "
"\\n \n"
"<span color='#626ff1'><b>E-Mail: polunga40@unity-mail.de</b></span> \\n\n"
"<span color='#626ff1'><b>Bei allen Tunnel wird der Autostart deaktiviert.</"
"b></span> \\n\n"
"<span color='#626ff1'><b>Version: $version </b></span> \\n\n"
"<span color='#626ff1'><b>Benutzung ohne Gewähr.</b></span> \\n\n"
"<a href='https://git.lunix.dedyn.io/punix/Wire-G'>Download Wire-G </a> \\n"
#: /home/punix/VSCodium/Wire-G/wire_g:248
msgid "More"
msgstr "Mehr"
#: /home/punix/VSCodium/Wire-G/wire_g:248
msgid "Remove"
#: /home/punix/VSCodium/Wire-G/wire_g:310
msgid "Remove:4"
msgstr "Entfernen"
#: /home/punix/VSCodium/Wire-G/wire_g:248
#: /home/punix/VSCodium/Wire-G/wire_g:310
msgid "About:5"
msgstr "Über"
#: /home/punix/VSCodium/Wire-G/wire_g:310
msgid "Selection"
msgstr "Auswahl"
#: /home/punix/VSCodium/Wire-G/wg_stop:38
msgid "$wert Connection disconnected"
msgstr "$wert Verbindung wurde getrennt"
#: /home/punix/VSCodium/Wire-G/wire_g:310
msgid ""
"<b>Activ Tunnel: </b> <span color='#0fad0a'><b>$ACTIVE</b></span> \n"
"<b>-----------------------------------------------------------------------------------------------------"
"</b> \n"
"<b>If no Tunnels are listed,</b> \n"
"<b>so they have to import their Tunnel beforehand.</b>"
msgstr ""
"<b>Aktiver Tunnel: </b> <span color='#0fad0a'><b>$ACTIVE</b></span> \n"
"<b>-----------------------------------------------------------------------------------------------------"
"</b> \n"
"<b>Sollten keine Tunnel aufgelistet sein,</b> \n"
"<b>so müssen sie ihren Tunnel zuvor importieren.</b>"
#: /home/punix/VSCodium/Wire-G/wg_stop:40
msgid "<span color='#0fad0a'><b>$VALUE Connection</b></span><span> <b>disconnected</b></span>"
msgstr "<span color='#0fad0a'><b>$VALUE Verbindung</b></span><span> <b>getrennt</b></span>"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-11-09 19:17+0100\n"
"POT-Creation-Date: 2023-11-20 18:58+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -17,104 +17,117 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: /home/punix/VSCodium/Wire-G/wire_g:52
msgid "$active powered"
#: /home/punix/VSCodium/Wire-G/wire_g:53
msgid "<span color='#0fad0a'><b>$ACTIVE</b></span> <span><b>powered</b></span>"
msgstr ""
#: /home/punix/VSCodium/Wire-G/wire_g:83 /home/punix/VSCodium/Wire-G/wire_g:145
#: /home/punix/VSCodium/Wire-G/wire_g:212
#: /home/punix/VSCodium/Wire-G/wire_g:248
#: /home/punix/VSCodium/Wire-G/wire_g:61
msgid "$ACTIVE activ"
msgstr ""
#: /home/punix/VSCodium/Wire-G/wire_g:62
msgid ""
"Wire-G open!/sbin/wire_g\n"
" |$ACTIVE stop!/sbin/wg_stop"
msgstr ""
#: /home/punix/VSCodium/Wire-G/wire_g:79
msgid "Cancel"
msgstr ""
#: /home/punix/VSCodium/Wire-G/wire_g:83 /home/punix/VSCodium/Wire-G/wire_g:117
#: /home/punix/VSCodium/Wire-G/wire_g:79
msgid "Wireguard .conf Select file"
msgstr ""
#: /home/punix/VSCodium/Wire-G/wire_g:98
msgid "Wire-G"
#: /home/punix/VSCodium/Wire-G/wire_g:89
msgid "Tunnel already exists!"
msgstr ""
#: /home/punix/VSCodium/Wire-G/wire_g:100
msgid "Tunnel name already exists."
#: /home/punix/VSCodium/Wire-G/wire_g:116
msgid ""
"<b>Oh, something went wrong. No valid Wireguard file. </b> \\n\n"
"<b>Here is an example:</b><span color='#0fad0a'><b> my_wireguard.conf</b></"
"span>"
msgstr ""
#: /home/punix/VSCodium/Wire-G/wire_g:117
#: /home/punix/VSCodium/Wire-G/wire_g:145
#: /home/punix/VSCodium/Wire-G/wire_g:164
#: /home/punix/VSCodium/Wire-G/wire_g:170
#: /home/punix/VSCodium/Wire-G/wire_g:195
#: /home/punix/VSCodium/Wire-G/wire_g:248
#: /home/punix/VSCodium/Wire-G/wire_g:139
msgid "Your Tunnel $SELECTION was successfully deleted."
msgstr ""
#: /home/punix/VSCodium/Wire-G/wire_g:140
#: /home/punix/VSCodium/Wire-G/wire_g:146
msgid "OK"
msgstr ""
#: /home/punix/VSCodium/Wire-G/wire_g:120
msgid ""
"<b>Oh, something went wrong.</b> \\n\n"
"<b>No valid Wireguard file.</b> \\n \n"
"<b>Here is an example:</b><span color='#0fad0a'><b> my_wireguard.conf</b></"
"span> \\n"
#: /home/punix/VSCodium/Wire-G/wire_g:145
msgid "Oh something went wrong.\\nPlease delete Tunnel in the network manager."
msgstr ""
#: /home/punix/VSCodium/Wire-G/wire_g:145
msgid "Delete"
#: /home/punix/VSCodium/Wire-G/wire_g:166
msgid "There is no active Tunnel that you could stop."
msgstr ""
#: /home/punix/VSCodium/Wire-G/wire_g:145
#: /home/punix/VSCodium/Wire-G/wire_g:212
#: /home/punix/VSCodium/Wire-G/wire_g:230
#: /home/punix/VSCodium/Wire-G/wire_g:248
msgid ""
"<b>Activ Tunnel: </b> <span color='#0fad0a'><b>$active</b></span> \n"
"<b>----------------------------------------------------------------------------------"
"</b> \n"
"<b>If no tunnels are listed,</b> \n"
"<b>so they have to import their tunnel beforehand.</b>"
#: /home/punix/VSCodium/Wire-G/wire_g:266
msgid "Autoconnect on PC Start:CHK"
msgstr ""
#: /home/punix/VSCodium/Wire-G/wire_g:163
msgid "Your tunnel $selection was successfully deleted."
#: /home/punix/VSCodium/Wire-G/wire_g:213
#: /home/punix/VSCodium/Wire-G/wire_g:231
#: /home/punix/VSCodium/Wire-G/wire_g:249
#: /home/punix/VSCodium/Wire-G/wire_g:267
msgid "Autoupdate:CHK"
msgstr ""
#: /home/punix/VSCodium/Wire-G/wire_g:169
msgid "Oh something went wrong.\\nPlease delete tunnel in the network manager."
msgstr ""
#: /home/punix/VSCodium/Wire-G/wire_g:194
msgid "There is no active tunnel that you could stop."
msgstr ""
#: /home/punix/VSCodium/Wire-G/wire_g:212
msgid "Import"
msgstr ""
#: /home/punix/VSCodium/Wire-G/wire_g:212
msgid "Wire-G Stop"
msgstr ""
#: /home/punix/VSCodium/Wire-G/wire_g:212
#: /home/punix/VSCodium/Wire-G/wire_g:216
#: /home/punix/VSCodium/Wire-G/wire_g:234
#: /home/punix/VSCodium/Wire-G/wire_g:252
#: /home/punix/VSCodium/Wire-G/wire_g:270
msgid ""
"<span color='#626ff1'><b>Wire-G Author: Désiré Werner Menrath</b></span> "
"\\n \n"
"<span color='#626ff1'><b>E-Mail: polunga40@unity-mail.de</b></span> \\n\n"
"<span color='#626ff1'><b>At all tunnels, the auto start is disabled.</b></"
"<span color='#626ff1'><b>At all Tunnels, the auto start is disabled.</b></"
"span> \\n\n"
"<span color='#626ff1'><b>Version: $version </b></span> \\n\n"
"<span color='#626ff1'><b>Version: $VERSION </b></span> \\n\n"
"<span color='#626ff1'><b>Use without warranty.</b></span> \\n\n"
"<a href='https://git.lunix.dedyn.io/punix/Wire-G'>Download Wire-G </a> \\n"
"<a href='https://git.lunix.dedyn.io/punix/Wire-G/releases'>Download Wire-G </"
"a> \\n"
msgstr ""
#: /home/punix/VSCodium/Wire-G/wire_g:248
msgid "More"
#: /home/punix/VSCodium/Wire-G/wire_g:310
msgid "Start:0"
msgstr ""
#: /home/punix/VSCodium/Wire-G/wire_g:248
msgid "Remove"
#: /home/punix/VSCodium/Wire-G/wire_g:310
msgid "Stop:2"
msgstr ""
#: /home/punix/VSCodium/Wire-G/wire_g:248
#: /home/punix/VSCodium/Wire-G/wire_g:310
msgid "Import:3"
msgstr ""
#: /home/punix/VSCodium/Wire-G/wire_g:310
msgid "Remove:4"
msgstr ""
#: /home/punix/VSCodium/Wire-G/wire_g:310
msgid "About:5"
msgstr ""
#: /home/punix/VSCodium/Wire-G/wire_g:310
msgid "Selection"
msgstr ""
#: /home/punix/VSCodium/Wire-G/wg_stop:38
msgid "$wert Connection disconnected"
#: /home/punix/VSCodium/Wire-G/wire_g:310
msgid ""
"<b>Activ Tunnel: </b> <span color='#0fad0a'><b>$ACTIVE</b></span> \n"
"<b>-----------------------------------------------------------------------------------------------------"
"</b> \n"
"<b>If no Tunnels are listed,</b> \n"
"<b>so they have to import their Tunnel beforehand.</b>"
msgstr ""
#: /home/punix/VSCodium/Wire-G/wg_stop:40
msgid "<span color='#0fad0a'><b>$VALUE Connection</b></span><span> <b>disconnected</b></span>"

View File

@ -9,7 +9,12 @@
# Use without warranty! ##
########################################################
########################################################
Encoding=UTF-8
# i18n - Internationalization - Internationalisierung
export TEXTDOMAIN=install
export TEXTDOMAINDIR="Wire-G/languages"
########################################################
cd || exit
rm -f /home/"$USER"/.icons/wg-active.png wg-stop.png wg-vpn.png wg-import.png wg-trash.png wg-info.png wg-vpn-info.png 2>&1
wait;

View File

@ -37,7 +37,7 @@ WG_PIC="/home/$USER/.icons/"
--undecorated --borders=8 --skip-taskbar \
--text-align=center --no-buttons \
--timeout 2 --timeout-indicator=bottom \
--text=$"<span color='#0fad0a'><b>"$VALUE" Connection</b></span><span> <b>disconnected</b></span>"
--text=$"<span color='#0fad0a'><b>$VALUE Connection</b></span><span> <b>disconnected</b></span>"
fi
done
IFS=$'\n' lines=( $(cat ${WG_WDIR}for-kill_pid.txt) )

2
wire_g
View File

@ -50,7 +50,7 @@ wg_notify(){
--undecorated --borders=8 --skip-taskbar \
--text-align=center --no-buttons --auto-close \
--timeout 1 \
--text=$"<span color='#0fad0a'><b>"$ACTIVE"</b></span> <span><b>powered</b></span>"
--text=$"<span color='#0fad0a'><b>$ACTIVE</b></span> <span><b>powered</b></span>"
# autoconnect wird hier abgeschalten damit auch neu importierte nach einem Systemneustart nicht aktiv sind
IFS=$'\n' lines=( $(cat ${WG_WDIR}tunnel.txt) )
nmcli con mod "$lines" connection.autoconnect no