Merge pull request '1.11.1824' (#27) from 1.11.1824 into main
Reviewed-on: #27
This commit is contained in:
commit
6b75713121
@ -17,6 +17,12 @@ My standard System: Linux Mint 22 Cinnamon
|
|||||||
### Added
|
### Added
|
||||||
10-11-2024
|
10-11-2024
|
||||||
|
|
||||||
|
- Fix Checkbutton Autostart when first install Wire-Py
|
||||||
|
- Update Translate Files
|
||||||
|
|
||||||
|
### Added
|
||||||
|
10-11-2024
|
||||||
|
|
||||||
- Translate file de_De complete
|
- Translate file de_De complete
|
||||||
- new FrameWidget for rename Entry and rename Button
|
- new FrameWidget for rename Entry and rename Button
|
||||||
|
|
||||||
|
57
cls_mth_fc.pot
Normal file
57
cls_mth_fc.pot
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
# SOME DESCRIPTIVE TITLE.
|
||||||
|
# Copyright (C) YEAR ORGANIZATION
|
||||||
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||||
|
#
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
|
"POT-Creation-Date: 2024-11-17 11:33+0100\n"
|
||||||
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Generated-By: pygettext.py 1.5\n"
|
||||||
|
|
||||||
|
|
||||||
|
#: cls_mth_fc.py:63
|
||||||
|
msgid "Download Successful"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: cls_mth_fc.py:64 cls_mth_fc.py:232
|
||||||
|
msgid "Your zip file is in home directory"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: cls_mth_fc.py:71 cls_mth_fc.py:78
|
||||||
|
msgid "Download error"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: cls_mth_fc.py:72
|
||||||
|
msgid "Download failed! Please try again"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: cls_mth_fc.py:79
|
||||||
|
msgid "Download failed! No internet connection!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: cls_mth_fc.py:231
|
||||||
|
msgid "Export Successful"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: cls_mth_fc.py:240
|
||||||
|
msgid "Export error"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: cls_mth_fc.py:241
|
||||||
|
msgid "Export failed! Please try again"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: cls_mth_fc.py:249
|
||||||
|
msgid "Select tunnel"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: cls_mth_fc.py:250
|
||||||
|
msgid "Please first import tunnel"
|
||||||
|
msgstr ""
|
||||||
|
|
Binary file not shown.
Binary file not shown.
17
wg_main.py
17
wg_main.py
@ -14,7 +14,7 @@ from cls_mth_fc import (Tunnel, msg_window, GiteaUpdate, _u, wg_tips, wg_set)
|
|||||||
tcl_path = Path('/usr/share/TK-Themes')
|
tcl_path = Path('/usr/share/TK-Themes')
|
||||||
|
|
||||||
''' 1 = 1. Year, 09 = Month of the Year, 2924 = Day and Year of the Year '''
|
''' 1 = 1. Year, 09 = Month of the Year, 2924 = Day and Year of the Year '''
|
||||||
version = 'v. 1.11.1024'
|
version = 'v. 1.11.1824'
|
||||||
|
|
||||||
res = GiteaUpdate.api_down('https://git.ilunix.de/api/v1/repos/punix/Wire-Py/releases', version)
|
res = GiteaUpdate.api_down('https://git.ilunix.de/api/v1/repos/punix/Wire-Py/releases', version)
|
||||||
|
|
||||||
@ -427,8 +427,8 @@ class FrameWidgets(ttk.Frame):
|
|||||||
self.l_box.delete(self.select_tunnel[0])
|
self.l_box.delete(self.select_tunnel[0])
|
||||||
with open(wg_set, 'r') as set_file6:
|
with open(wg_set, 'r') as set_file6:
|
||||||
lines6 = set_file6.readlines()
|
lines6 = set_file6.readlines()
|
||||||
if select_tl == lines6[7].strip() and 'off' not in lines6[7].strip():
|
if select_tl == lines6[7].strip() and 'off\n' not in lines6[7].strip():
|
||||||
lines6[7] = 'off'
|
lines6[7] = 'off\n'
|
||||||
with open(wg_set, 'w') as set_file7:
|
with open(wg_set, 'w') as set_file7:
|
||||||
set_file7.writelines(lines6)
|
set_file7.writelines(lines6)
|
||||||
self.selected_option.set(0)
|
self.selected_option.set(0)
|
||||||
@ -649,7 +649,7 @@ class FrameWidgets(ttk.Frame):
|
|||||||
self.StrVar.set(value=self.a)
|
self.StrVar.set(value=self.a)
|
||||||
with open(wg_set, 'r') as set_file5:
|
with open(wg_set, 'r') as set_file5:
|
||||||
lines5 = set_file5.readlines()
|
lines5 = set_file5.readlines()
|
||||||
if select_tl == lines5[7].strip() and 'off' not in lines5[7].strip():
|
if select_tl == lines5[7].strip() and 'off\n' not in lines5[7].strip():
|
||||||
lines5[7] = new_a_connect
|
lines5[7] = new_a_connect
|
||||||
with open(wg_set, 'w') as theme_set5:
|
with open(wg_set, 'w') as theme_set5:
|
||||||
theme_set5.writelines(lines5)
|
theme_set5.writelines(lines5)
|
||||||
@ -906,7 +906,7 @@ class FrameWidgets(ttk.Frame):
|
|||||||
if self.selected_option.get() == 0:
|
if self.selected_option.get() == 0:
|
||||||
with open(wg_set, 'r') as set_file3:
|
with open(wg_set, 'r') as set_file3:
|
||||||
lines3 = set_file3.readlines()
|
lines3 = set_file3.readlines()
|
||||||
lines3[7] = 'off'
|
lines3[7] = 'off\n'
|
||||||
with open(wg_set, 'w') as set_file3:
|
with open(wg_set, 'w') as set_file3:
|
||||||
set_file3.writelines(lines3)
|
set_file3.writelines(lines3)
|
||||||
|
|
||||||
@ -936,15 +936,16 @@ class FrameWidgets(ttk.Frame):
|
|||||||
with open(wg_set, 'r') as set_file4:
|
with open(wg_set, 'r') as set_file4:
|
||||||
lines4 = set_file4.readlines()
|
lines4 = set_file4.readlines()
|
||||||
|
|
||||||
if lines4[7] != 'off':
|
if lines4[7] != 'off\n':
|
||||||
|
print(lines4[7])
|
||||||
self.selected_option.set(1)
|
self.selected_option.set(1)
|
||||||
self.autoconnect_var.set('')
|
self.autoconnect_var.set('')
|
||||||
self.auto_con = lines4[7]
|
self.auto_con = lines4[7]
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
self.selected_option.set(0)
|
||||||
self.wg_autostart.configure(state='disabled')
|
|
||||||
self.auto_con = _('no Autoconnect')
|
self.auto_con = _('no Autoconnect')
|
||||||
|
|
||||||
self.autoconnect_var.set('')
|
self.autoconnect_var.set('')
|
||||||
self.autoconnect_var = tk.StringVar()
|
self.autoconnect_var = tk.StringVar()
|
||||||
self.autoconnect_var.set(self.auto_con)
|
self.autoconnect_var.set(self.auto_con)
|
||||||
|
260
wirepy.pot
Normal file
260
wirepy.pot
Normal file
@ -0,0 +1,260 @@
|
|||||||
|
# SOME DESCRIPTIVE TITLE.
|
||||||
|
# Copyright (C) YEAR ORGANIZATION
|
||||||
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||||
|
#
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
|
"POT-Creation-Date: 2024-11-17 11:33+0100\n"
|
||||||
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Generated-By: pygettext.py 1.5\n"
|
||||||
|
|
||||||
|
|
||||||
|
#: wg_main.py:151
|
||||||
|
msgid "Info"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:152
|
||||||
|
msgid ""
|
||||||
|
"Wire-Py a simple Wireguard Gui for Linux systems.\n"
|
||||||
|
"\n"
|
||||||
|
"Wire-Py is open source software written in Python.\n"
|
||||||
|
"\n"
|
||||||
|
"Email: polunga40@unity-mail.de also likes for donation.\n"
|
||||||
|
"\n"
|
||||||
|
"Use without warranty!\n"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:156
|
||||||
|
msgid "Go to Wire-Py git"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:180
|
||||||
|
msgid "Options"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:185
|
||||||
|
msgid "Click for Settings"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:201
|
||||||
|
msgid "Disable Updates"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:202
|
||||||
|
msgid "Disable Tooltips"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:203
|
||||||
|
msgid "Light"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:204
|
||||||
|
msgid "Dark"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:207
|
||||||
|
msgid "About"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:223
|
||||||
|
msgid "Update search off"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:227
|
||||||
|
msgid "Updates you have disabled"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:237
|
||||||
|
msgid "No Server Connection!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:239
|
||||||
|
msgid "No Updates"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:243
|
||||||
|
msgid "Congratulations! Wire-Py is up to date"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:254
|
||||||
|
msgid "available!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:262
|
||||||
|
msgid "Click to download new version"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:275
|
||||||
|
msgid "Download"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:314
|
||||||
|
msgid "Active: "
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:323
|
||||||
|
msgid "Interface"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:328
|
||||||
|
msgid "Peer"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:359
|
||||||
|
msgid ""
|
||||||
|
"You must first import\n"
|
||||||
|
"a Wireguard tunnel"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:368
|
||||||
|
msgid "Select a Tunnel"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:408
|
||||||
|
msgid "Click to import a Wireguard Tunnel"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:435 wg_main.py:947
|
||||||
|
msgid "no Autoconnect"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:452 wg_main.py:1016
|
||||||
|
msgid "No tunnels to start in the list"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:474 wg_main.py:571
|
||||||
|
msgid "Max. 12 characters!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:494 wg_main.py:503 wg_main.py:1104 wg_main.py:1113
|
||||||
|
msgid "Select tunnel"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:495 wg_main.py:666 wg_main.py:1105
|
||||||
|
msgid "Please select a tunnel from the list"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:504 wg_main.py:1114
|
||||||
|
msgid "Please first import tunnel"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:514
|
||||||
|
msgid "No tunnels to delete in the list"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:524 wg_main.py:823
|
||||||
|
msgid ""
|
||||||
|
"Click to delete a Wireguard Tunnel\n"
|
||||||
|
"Select from the list!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:544
|
||||||
|
msgid "No Tunnels in List for Export"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:554 wg_main.py:834
|
||||||
|
msgid ""
|
||||||
|
" Click to export all\n"
|
||||||
|
"Wireguard Tunnel to Zipfile"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:582
|
||||||
|
msgid "To rename a tunnel, at least one must be in the list"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:587 wg_main.py:845
|
||||||
|
msgid ""
|
||||||
|
"To rename a tunnel, you need to\n"
|
||||||
|
"select a tunnel from the list"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:609 wg_main.py:618 wg_main.py:627 wg_main.py:665
|
||||||
|
msgid "Renaming not possible"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:610
|
||||||
|
msgid "The new name may contain only 12 characters"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:619
|
||||||
|
msgid "At least one character must be entered"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:628
|
||||||
|
msgid ""
|
||||||
|
"No valid sign. These must not be used.\n"
|
||||||
|
"Blank, Slash, Backslash and { }\n"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:670
|
||||||
|
msgid "Rename"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:682
|
||||||
|
msgid "Autoconnect on:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:689
|
||||||
|
msgid ""
|
||||||
|
"You must have at least one\n"
|
||||||
|
"tunnel in the list,to use the autostart"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:701 wg_main.py:802
|
||||||
|
msgid "To use the autostart, enable this Checkbox"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:718
|
||||||
|
msgid "To use the autostart, a tunnel must be selected from the list"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:742
|
||||||
|
msgid "Select Wireguard config File"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:743
|
||||||
|
msgid "WG config files"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:762 wg_main.py:882
|
||||||
|
msgid "Import Error"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:763
|
||||||
|
msgid ""
|
||||||
|
"Tunnel already available!\n"
|
||||||
|
"Please use another file for import"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:813
|
||||||
|
msgid "List of available tunnels"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:883
|
||||||
|
msgid ""
|
||||||
|
"Oh... no valid Wireguard File!\n"
|
||||||
|
"Please select a valid Wireguard File"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:965
|
||||||
|
msgid "Address: "
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:969
|
||||||
|
msgid "Endpoint: "
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:999
|
||||||
|
msgid "Click to stop selected Wireguard Tunnel"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: wg_main.py:1025
|
||||||
|
msgid "Click to start selected Wireguard Tunnel"
|
||||||
|
msgstr ""
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user