- Preparation for language translation part 4
This commit is contained in:
		| @@ -253,7 +253,7 @@ class Tunnel: | ||||
|                 iw = r'/usr/share/icons/lx-icons/64/info.png' | ||||
|                 ii = r'/usr/share/icons/wp-icons/48/wg_msg.png' | ||||
|                 wt = _('Select tunnel') | ||||
|                 msg_t = _('Please first import tunnel.') | ||||
|                 msg_t = _('Please first import tunnel') | ||||
|                 msg_window(iw, ii, wt, msg_t) | ||||
|  | ||||
|         except TypeError: | ||||
|   | ||||
							
								
								
									
										14
									
								
								wg_main.py
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								wg_main.py
									
									
									
									
									
								
							| @@ -487,7 +487,7 @@ class FrameWidgets(ttk.Frame): | ||||
|                     iw = r'/usr/share/icons/lx-icons/64/info.png' | ||||
|                     ii = r'/usr/share/icons/wp-icons/48/wg_msg.png' | ||||
|                     wt = _('Select tunnel') | ||||
|                     msg_t = _('Please select a tunnel from the list.') | ||||
|                     msg_t = _('Please select a tunnel from the list') | ||||
|                     msg_window(iw, ii, wt, msg_t) | ||||
|  | ||||
|                 else: | ||||
| @@ -496,7 +496,7 @@ class FrameWidgets(ttk.Frame): | ||||
|                     iw = r'/usr/share/icons/lx-icons/64/info.png' | ||||
|                     ii = r'/usr/share/icons/wp-icons/48/wg_msg.png' | ||||
|                     wt = _('Select tunnel') | ||||
|                     msg_t = _('Please first import tunnel.') | ||||
|                     msg_t = _('Please first import tunnel') | ||||
|                     msg_window(iw, ii, wt, msg_t) | ||||
|  | ||||
|         ''' Button Trash ''' | ||||
| @@ -602,7 +602,7 @@ class FrameWidgets(ttk.Frame): | ||||
|                 iw = r'/usr/share/icons/lx-icons/64/info.png' | ||||
|                 ii = r'/usr/share/icons/wp-icons/48/wg_msg.png' | ||||
|                 wt = _('Renaming not possible') | ||||
|                 msg_t = _('The new name may contain only 12 characters.') | ||||
|                 msg_t = _('The new name may contain only 12 characters') | ||||
|                 msg_window(iw, ii, wt, msg_t) | ||||
|  | ||||
|             elif len(self.lb_rename.get()) == 0: | ||||
| @@ -611,7 +611,7 @@ class FrameWidgets(ttk.Frame): | ||||
|                 iw = r'/usr/share/icons/lx-icons/64/info.png' | ||||
|                 ii = r'/usr/share/icons/wp-icons/48/wg_msg.png' | ||||
|                 wt = _('Renaming not possible') | ||||
|                 msg_t = _('At least one character must be entered.') | ||||
|                 msg_t = _('At least one character must be entered') | ||||
|                 msg_window(iw, ii, wt, msg_t) | ||||
|  | ||||
|             elif any(ch in special_characters for ch in self.lb_rename.get()): | ||||
| @@ -658,7 +658,7 @@ class FrameWidgets(ttk.Frame): | ||||
|                     iw = r'/usr/share/icons/lx-icons/64/info.png' | ||||
|                     ii = r'/usr/share/icons/wp-icons/48/wg_msg.png' | ||||
|                     wt = _('Renaming not possible') | ||||
|                     msg_t = _('Please select a tunnel from the list.') | ||||
|                     msg_t = _('Please select a tunnel from the list') | ||||
|                     msg_window(iw, ii, wt, msg_t) | ||||
|  | ||||
|         ''' Button Rename ''' | ||||
| @@ -1096,7 +1096,7 @@ class FrameWidgets(ttk.Frame): | ||||
|                 iw = r'/usr/share/icons/lx-icons/64/info.png' | ||||
|                 ii = r'/usr/share/icons/wp-icons/48/wg_msg.png' | ||||
|                 wt = _('Select tunnel') | ||||
|                 msg_t = _('Please select a tunnel from the list.') | ||||
|                 msg_t = _('Please select a tunnel from the list') | ||||
|                 msg_window(iw, ii, wt, msg_t) | ||||
|  | ||||
|             else: | ||||
| @@ -1105,7 +1105,7 @@ class FrameWidgets(ttk.Frame): | ||||
|                 iw = r'/usr/share/icons/lx-icons/64/info.png' | ||||
|                 ii = r'/usr/share/icons/wp-icons/48/wg_msg.png' | ||||
|                 wt = _('Select tunnel') | ||||
|                 msg_t = _('Please first import tunnel.') | ||||
|                 msg_t = _('Please first import tunnel') | ||||
|                 msg_window(iw, ii, wt, msg_t) | ||||
|  | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user