From 13cf3661bcb45d70b6b6cfd6f9ca52d8fd122da8 Mon Sep 17 00:00:00 2001 From: punix Date: Wed, 1 Nov 2023 20:22:11 +0100 Subject: [PATCH] translate german --- installer1.0.5 | 1 + uninstaller1.0.0 | 2 +- wg_stop | 5 ++--- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/installer1.0.5 b/installer1.0.5 index cbc1458..0b9728d 100755 --- a/installer1.0.5 +++ b/installer1.0.5 @@ -48,6 +48,7 @@ wait; sudo cp wire_g wg_stop /sbin/ ; sudo chmod +x /sbin/wire_g ; sudo chmod +x /sbin/wg_stop wait; sudo cp Wire-G.desktop /usr/share/applications/ echo +sudo mv languages/wire-g_de_DE.po /usr/share/locale/de/LC_MESSAGES/wire-g.po echo "Installation erfolgreich!" echo read -n 1 -s -r -p "Zum Fenster schließen eine Taste drücken" diff --git a/uninstaller1.0.0 b/uninstaller1.0.0 index ab4c3ee..79474d5 100755 --- a/uninstaller1.0.0 +++ b/uninstaller1.0.0 @@ -10,7 +10,7 @@ sudo rm /usr/share/icons/Arch-Symbole/wireguard-vpn.png wait; sudo rm /sbin/wire_g ; sudo rm /sbin/wg_stop wait; -sudo rm /usr/share/applications/Wire-G.desktop +sudo rm /usr/share/applications/Wire-G.desktop ; sudo rm /usr/share/locale/de/LC_MESSAGES/wire-g.po echo echo "deinstallation erfolgreich!" echo diff --git a/wg_stop b/wg_stop index eb31682..8f032c7 100755 --- a/wg_stop +++ b/wg_stop @@ -28,8 +28,7 @@ export textdomaindir="/usr/share/locale" #echo ${lines[0]} #Damit wird der Inhalt ausgelesen. (Index angeben) wert=$"*_*" for wert in "${lines[@]}" - do - # rm /home/$a_user/.config/wg_nmcli/.tunnel.txt # falls Wireguard nicht richtig funktioniert hier die # wegnehmen + do # hier wird die Ausgabe von nmcli für die auswertung in die .stop.txt gespeichert nmcli connection down $wert &> ${wg_wdir}.stop.txt if disable=$(grep -i 'deaktiviert\|disabled' ${wg_wdir}.stop.txt) @@ -41,6 +40,6 @@ export textdomaindir="/usr/share/locale" done -################################# ENDE ################################################################# +################################# END ################################################################## ############################################################################################################