1.11.1024 #24

Merged
punix merged 13 commits from 1.11.1024 into main 2024-11-10 17:57:58 +01:00
2 changed files with 8 additions and 8 deletions
Showing only changes of commit ac87e0a4a7 - Show all commits

View File

@ -253,7 +253,7 @@ class Tunnel:
iw = r'/usr/share/icons/lx-icons/64/info.png' iw = r'/usr/share/icons/lx-icons/64/info.png'
ii = r'/usr/share/icons/wp-icons/48/wg_msg.png' ii = r'/usr/share/icons/wp-icons/48/wg_msg.png'
wt = _('Select tunnel') wt = _('Select tunnel')
msg_t = _('Please first import tunnel.') msg_t = _('Please first import tunnel')
msg_window(iw, ii, wt, msg_t) msg_window(iw, ii, wt, msg_t)
except TypeError: except TypeError:

View File

@ -487,7 +487,7 @@ class FrameWidgets(ttk.Frame):
iw = r'/usr/share/icons/lx-icons/64/info.png' iw = r'/usr/share/icons/lx-icons/64/info.png'
ii = r'/usr/share/icons/wp-icons/48/wg_msg.png' ii = r'/usr/share/icons/wp-icons/48/wg_msg.png'
wt = _('Select tunnel') 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) msg_window(iw, ii, wt, msg_t)
else: else:
@ -496,7 +496,7 @@ class FrameWidgets(ttk.Frame):
iw = r'/usr/share/icons/lx-icons/64/info.png' iw = r'/usr/share/icons/lx-icons/64/info.png'
ii = r'/usr/share/icons/wp-icons/48/wg_msg.png' ii = r'/usr/share/icons/wp-icons/48/wg_msg.png'
wt = _('Select tunnel') wt = _('Select tunnel')
msg_t = _('Please first import tunnel.') msg_t = _('Please first import tunnel')
msg_window(iw, ii, wt, msg_t) msg_window(iw, ii, wt, msg_t)
''' Button Trash ''' ''' Button Trash '''
@ -602,7 +602,7 @@ class FrameWidgets(ttk.Frame):
iw = r'/usr/share/icons/lx-icons/64/info.png' iw = r'/usr/share/icons/lx-icons/64/info.png'
ii = r'/usr/share/icons/wp-icons/48/wg_msg.png' ii = r'/usr/share/icons/wp-icons/48/wg_msg.png'
wt = _('Renaming not possible') 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) msg_window(iw, ii, wt, msg_t)
elif len(self.lb_rename.get()) == 0: 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' iw = r'/usr/share/icons/lx-icons/64/info.png'
ii = r'/usr/share/icons/wp-icons/48/wg_msg.png' ii = r'/usr/share/icons/wp-icons/48/wg_msg.png'
wt = _('Renaming not possible') 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) msg_window(iw, ii, wt, msg_t)
elif any(ch in special_characters for ch in self.lb_rename.get()): 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' iw = r'/usr/share/icons/lx-icons/64/info.png'
ii = r'/usr/share/icons/wp-icons/48/wg_msg.png' ii = r'/usr/share/icons/wp-icons/48/wg_msg.png'
wt = _('Renaming not possible') 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) msg_window(iw, ii, wt, msg_t)
''' Button Rename ''' ''' Button Rename '''
@ -1096,7 +1096,7 @@ class FrameWidgets(ttk.Frame):
iw = r'/usr/share/icons/lx-icons/64/info.png' iw = r'/usr/share/icons/lx-icons/64/info.png'
ii = r'/usr/share/icons/wp-icons/48/wg_msg.png' ii = r'/usr/share/icons/wp-icons/48/wg_msg.png'
wt = _('Select tunnel') 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) msg_window(iw, ii, wt, msg_t)
else: else:
@ -1105,7 +1105,7 @@ class FrameWidgets(ttk.Frame):
iw = r'/usr/share/icons/lx-icons/64/info.png' iw = r'/usr/share/icons/lx-icons/64/info.png'
ii = r'/usr/share/icons/wp-icons/48/wg_msg.png' ii = r'/usr/share/icons/wp-icons/48/wg_msg.png'
wt = _('Select tunnel') wt = _('Select tunnel')
msg_t = _('Please first import tunnel.') msg_t = _('Please first import tunnel')
msg_window(iw, ii, wt, msg_t) msg_window(iw, ii, wt, msg_t)