remove case to translate open in Notify
This commit is contained in:
		@@ -28,13 +28,7 @@ IFS=$'\n' WG_START=( $(cat ${WG_WDIR}onstart.txt) )
 | 
			
		||||
nmcli connection up "$WG_START" 
 | 
			
		||||
nmcli connection show --active | grep -iPo "(.*)(wireguard)" | sed 's/  .*//' &> ${WG_WDIR}onstart.txt
 | 
			
		||||
ACTIVE=$(nmcli connection show --active | grep -iPo "(.*)(wireguard)" | sed 's/  .*//')
 | 
			
		||||
 | 
			
		||||
#    case $LANG in  
 | 
			
		||||
#   
 | 
			
		||||
#       de_DE.UTF-8)  OPEN=öffnen ;;
 | 
			
		||||
#         
 | 
			
		||||
#                  *)  OPEN=open ;;
 | 
			
		||||
#    esac         
 | 
			
		||||
      
 | 
			
		||||
    yad --image-on-top --image=${WG_PIC}wg-vpn-info.png \
 | 
			
		||||
        --undecorated --borders=8 --skip-taskbar \
 | 
			
		||||
        --text-align=center --no-buttons --auto-close \
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										7
									
								
								wire_g
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								wire_g
									
									
									
									
									
								
							@@ -40,12 +40,7 @@ wg_notify(){
 | 
			
		||||
    sleep 1 
 | 
			
		||||
    nmcli connection show --active | grep -iPo "(.*)(wireguard)" | sed 's/  .*//' &> ${WG_WDIR}onstart.txt
 | 
			
		||||
    ACTIVE=$(nmcli connection show --active | grep -iPo "(.*)(wireguard)" | sed 's/  .*//')
 | 
			
		||||
    case $LANG in  
 | 
			
		||||
   
 | 
			
		||||
        de_DE.UTF-8)  OPEN=öffnen ;;
 | 
			
		||||
        
 | 
			
		||||
                  *)  OPEN=open ;;
 | 
			
		||||
    esac         
 | 
			
		||||
 | 
			
		||||
        yad --image-on-top --image=${WG_PIC}wg-vpn-info.png \
 | 
			
		||||
            --undecorated --borders=8 --skip-taskbar \
 | 
			
		||||
            --text-align=center --no-buttons --auto-close \
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user