Meldungsfenster zu import korrektur
This commit is contained in:
		
							
								
								
									
										13
									
								
								wire_g
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								wire_g
									
									
									
									
									
								
							@@ -94,12 +94,11 @@ import_wg(){
 | 
			
		||||
                                fi                                
 | 
			
		||||
                            fi ;;
 | 
			
		||||
 | 
			
		||||
                        *) yad --button=$"OK" --title=$"Wireguard .conf Select file" \
 | 
			
		||||
                               --window-icon=${WG_PIC}wg-stop.png --image=${WG_PIC}wg-info.png \
 | 
			
		||||
                               --center --buttons-layout=center --borders=8 --width=350 --height=60 \
 | 
			
		||||
                               --text $"<b>Oh, something went wrong.</b> \n
 | 
			
		||||
<b>No valid Wireguard file.</b> \n 
 | 
			
		||||
<b>Here is an example:</b><span color='#0fad0a'><b> my_wireguard.conf</b></span> \n" 
 | 
			
		||||
                        *) yad --image-on-top --image=${WG_PIC}wg-info.png --height=150 --width=240 \
 | 
			
		||||
                               --text-align=center --undecorated --skip-taskbar \
 | 
			
		||||
                               --borders=12 --button="OK" --buttons-layout=center \
 | 
			
		||||
                               --text $"<b>Oh, something went wrong. No valid Wireguard file. </b> \n
 | 
			
		||||
<b>Here is an example:</b><span color='#0fad0a'><b> my_wireguard.conf</b></span>" 
 | 
			
		||||
import_wg ;;
 | 
			
		||||
            esac 
 | 
			
		||||
    fi }
 | 
			
		||||
@@ -149,7 +148,7 @@ up_or_down(){
 | 
			
		||||
        then
 | 
			
		||||
            yad --image-on-top --image=${WG_PIC}wg-info.png \
 | 
			
		||||
                --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 \
 | 
			
		||||
                --timeout 4 --timeout-indicator=bottom --skip-taskbar
 | 
			
		||||
    else
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user