Meldungsfenster zu import korrektur

This commit is contained in:
Désiré Werner Menrath 2023-11-14 21:09:08 +01:00
parent 6032decfbe
commit 3d4faee700

13
wire_g
View File

@ -94,12 +94,11 @@ import_wg(){
fi fi
fi ;; fi ;;
*) yad --button=$"OK" --title=$"Wireguard .conf Select file" \ *) yad --image-on-top --image=${WG_PIC}wg-info.png --height=150 --width=240 \
--window-icon=${WG_PIC}wg-stop.png --image=${WG_PIC}wg-info.png \ --text-align=center --undecorated --skip-taskbar \
--center --buttons-layout=center --borders=8 --width=350 --height=60 \ --borders=12 --button="OK" --buttons-layout=center \
--text $"<b>Oh, something went wrong.</b> \n --text $"<b>Oh, something went wrong. No valid Wireguard file. </b> \n
<b>No valid Wireguard file.</b> \n <b>Here is an example:</b><span color='#0fad0a'><b> my_wireguard.conf</b></span>"
<b>Here is an example:</b><span color='#0fad0a'><b> my_wireguard.conf</b></span> \n"
import_wg ;; import_wg ;;
esac esac
fi } fi }
@ -149,7 +148,7 @@ up_or_down(){
then then
yad --image-on-top --image=${WG_PIC}wg-info.png \ yad --image-on-top --image=${WG_PIC}wg-info.png \
--text=$"\There is no active Tunnel that you could stop." \ --text=$"\There is no active Tunnel that you could stop." \
--text-align=center --no-buttons --title "Wire-G" \ --text-align=center --no-buttons \
--borders=8 --undecorated \ --borders=8 --undecorated \
--timeout 4 --timeout-indicator=bottom --skip-taskbar --timeout 4 --timeout-indicator=bottom --skip-taskbar
else else