Skip to content

Commit 6eae249

Browse files
AdWMGUI 1.6
1 parent b39a41b commit 6eae249

File tree

6 files changed

+110
-43
lines changed

6 files changed

+110
-43
lines changed

AdWMFuncLib/About/about.py

Lines changed: 31 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,37 @@
55
Bu Yazılımın Bir Kopyası GitHub da yayınlanmaktadır Görüntülemek için: https://github.com/LinuxUsersLinuxMint/AdWMGUI
66
A Copy of This Software is published on GitHub To view: https://github.com/LinuxUsersLinuxMint/AdWMGUI """
77

8-
from tkinter import *
9-
from tkinter import messagebox
108
from AdWMGUILang.lang import *
119

1210
def AboutMsgBox():
13-
aboutLevel = str(input(about_level_title))
14-
aboutLevel = int(aboutLevel)
15-
if aboutLevel == 0:
16-
messagebox.showinfo(about_txt_title, about_zero_level_title)
17-
elif aboutLevel == 1:
18-
messagebox.showinfo(about_txt_title, about_one_level_title)
19-
elif aboutLevel == 2:
20-
messagebox.showinfo(about_txt_two_title, about_two_level_title)
21-
elif aboutLevel == 3:
22-
messagebox.showinfo(about_txt_three_title, about_three_level_title)
23-
else:
24-
messagebox.showerror(error_title, error_txt_title)
11+
about = Tk()
12+
about.title(about_title)
13+
about.geometry("500x500")
14+
about.resizable(FALSE,FALSE)
15+
about_label = Label(about, text=app_information_title, font=("Arial", 12, "bold"), anchor="w", justify=LEFT)
16+
about_label.pack(fill="x", anchor="w")
17+
app_name = Label(about, text=app_name_txt, anchor="w", justify=LEFT)
18+
app_name.pack(fill="x", anchor="w")
19+
app_version = Label(about, text=app_version_txt, anchor="w", justify=LEFT)
20+
app_version.pack(fill="x", anchor="w")
21+
version_type = Label(about, text=app_version_type_txt, anchor="w", justify=LEFT)
22+
version_type.pack(fill="x", anchor="w")
23+
licence_information = Label(about, text=licence_information_title, font=("Arial",12,"bold"),anchor="w",justify=LEFT)
24+
licence_information.pack(fill="x", anchor="w")
25+
licence_name = Label(about, text=licence_name_txt, anchor="w", justify=LEFT)
26+
licence_name.pack(fill="x", anchor="w")
27+
licence_version = Label(about, text=licence_version_txt, anchor="w", justify=LEFT)
28+
licence_version.pack(fill="x", anchor="w")
29+
full_licence_name = Label(about, text=full_licence_name_txt, anchor="w", justify=LEFT)
30+
full_licence_name.pack(fill="x", anchor="w")
31+
creator_information = Label(about, text=manufacturer_information_title, font=("Arial",12,"bold"), anchor="w", justify=LEFT)
32+
creator_information.pack(fill="x", anchor="w")
33+
creator_name = Label(about, text=manufacturer_name_txt, anchor="w", justify=LEFT)
34+
creator_name.pack(fill="x", anchor="w")
35+
organization = Label(about, text=organization_txt, anchor="w", justify=LEFT)
36+
organization.pack(fill="x", anchor="w")
37+
website_information = Label(about, text=website_information_title, font=("Arial",12,"bold"), anchor="w", justify=LEFT)
38+
website_information.pack(fill="x", anchor="w")
39+
organization_website = Label(about, text=organization_website_txt, anchor="w", justify=LEFT)
40+
organization_website.pack(fill="x", anchor="w")
41+
about.mainloop()

AdWMFuncLib/About/adwmgui_icon.png

17 KB
Loading

AdWMFuncLib/About/not.txt

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Uygulama bilgisi:
2+
3+
Uygulama adı: AdWMGUI (Advanced Windows Manager GUI)
4+
Sürüm: 1.6
5+
Sürüm tipi: test edilmemiş version
6+
7+
Lisans bilgisi:
8+
9+
Lisans adı: GPL
10+
Lisans sürümü: 2
11+
Tam lisans ismi: GPL2 (General Public License)
12+
13+
Üretici bilgisi:
14+
15+
Program üreticisi: LinuxUsersLinuxMint
16+
Organizasyon: LinuxUsersLinuxMint
17+
18+
Web site bilgisi:
19+
20+
Organizasyon web sitesi: https://linuxuserslinuxmint.github.io/

AdWMFuncLib/ShutdownPC/shutdownpc.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,9 @@
55
Bu Yazılımın Bir Kopyası GitHub da yayınlanmaktadır Görüntülemek için: https://github.com/LinuxUsersLinuxMint/AdWMGUI
66
A Copy of This Software is published on GitHub To view: https://github.com/LinuxUsersLinuxMint/AdWMGUI """
77

8-
from tkinter import *
98
from tkinter import messagebox
10-
from AdWMGUILang.lang import *
119
from AdWMFuncLib.Systemrepair import *
1210
from AdWMFuncLib.Systemclean import *
13-
from PyAppDevKit.pyappdevkit import *
14-
import os
1511

1612
def ShutdownPC():
1713
if messagebox.askyesno(adwmgui_txt_title, shutdownpc_askyesno_txt_title) == True:

AdWMGUILang/lang.py

Lines changed: 59 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,59 @@
55
Bu Yazılımın Bir Kopyası GitHub da yayınlanmaktadır Görüntülemek için: https://github.com/LinuxUsersLinuxMint/AdWMGUI
66
A Copy of This Software is published on GitHub To view: https://github.com/LinuxUsersLinuxMint/AdWMGUI """
77

8-
userLang = input('Enter Language (EN, TR): ')
8+
from tkinter import *
9+
from tkinter import font
910

10-
if userLang == "en" or userLang == "EN" or userLang == "English":
11+
def set_tr():
12+
global userLang
13+
userLang = "TR"
14+
lang.destroy()
15+
16+
def set_en():
17+
global userLang
18+
userLang = "EN"
19+
lang.destroy()
20+
21+
lang = Tk()
22+
lang.title("Select Language")
23+
lang.iconphoto(False, PhotoImage(file="Icon/adwmgui_icon.png"))
24+
lang.geometry("200x100")
25+
lang.resizable(FALSE,FALSE)
26+
lang_label = Label(lang, text="Select Language")
27+
lang_label.pack()
28+
btnfrm = Frame(lang)
29+
btnfrm.pack()
30+
lang_button_tr = Button(btnfrm, text="Türkçe",command=set_tr,width=10)
31+
lang_button_tr.pack(side=LEFT)
32+
lang_button_en = Button(btnfrm, text="English",command=set_en,width=10)
33+
lang_button_en.pack(side=LEFT)
34+
exit_button = Button(lang, text="Exit",command=lang.destroy,width=10)
35+
exit_button.pack()
36+
adwmgui_version_label = Label(lang,text="AdWMGUI v1.6", font=("Arial",10,"bold"))
37+
adwmgui_version_label.pack()
38+
lang.mainloop()
39+
40+
if userLang == "EN":
1141
windows_title = "AdWMGUI (Advanced Windows Manager GUI)"
1242
system_clean_title = "SystemClean"
1343
advanced_system_clean_title = "DISM WinSxS Folder clean"
1444
system_repair_title = "SystemRepair"
1545
about_title = "About"
1646
shutdownpc_title = "ShutdownPC"
1747
all_operations_shutdownpc_title = "Do all operations and then shut down the computer"
18-
about_level_title = "Enter About Level (0, 1, 2, 3): "
19-
about_txt_title = "About"
20-
about_zero_level_title = "AdWMGUI (Advanced Windows Manager GUI) version: 1.5"
21-
about_one_level_title = "AdWMGUI (Advanced Windows Manager GUI) version: 1.5, version_type: Untested version (for GUI and Program), licence: GPL2"
22-
about_txt_two_title = "About Licence"
23-
about_two_level_title = "AdWMGUI (Advanced Windows Manager GUI), Licence type: GPL, Licence Version: 2, Licence Name: GPL2"
24-
about_txt_three_title = "Manufacturer Information"
25-
about_three_level_title = "Program Manufacturer: LinuxUsersLinuxMint, Organization: LinuxUsersLinuxMint, Organization Website: https://linuxuserslinuxmint.github.io/"
26-
error_title = "Error"
27-
error_txt_title = "Error: Unknown About Level"
48+
app_information_title = "App knowledge:\n"
49+
app_name_txt = "App name: AdWMGUI (Advanced Windows Manager GUI)"
50+
app_version_txt = "Version: 1.6"
51+
app_version_type_txt = "Version type: Stable version"
52+
licence_information_title = "Licence information:\n"
53+
licence_name_txt = "Licence name: GPL"
54+
licence_version_txt = "Licence version: 2"
55+
full_licence_name_txt = "Full licence name: GPL2 (General Public License)"
56+
manufacturer_information_title = "Manufacturer information:\n"
57+
manufacturer_name_txt = "Manufacturer name: LinuxUsersLinuxMint"
58+
organization_txt = "Organization: LinuxUsersLinuxMint"
59+
website_information_title = "Website information:\n"
60+
organization_website_txt = "Organization website: https://linuxuserslinuxmint.github.io/"
2861
adwmgui_txt_title = "AdWMGUI"
2962
shutdownpc_askyesno_txt_title = "Are you sure you want to shutdown your computer?"
3063
shutdownpc_askyesno_cancel_txt_title = "Shutdown cancelled."
@@ -44,24 +77,27 @@
4477
usertm_title = "After how many seconds should the computer be shut down?: "
4578
adwmgui_platform_error_title_txt = "AdWMGUI platform system error"
4679
adwmgui_platform_error_txt = "Sorry! You do not meet the Platform system requirement to use the AdWMGUI application."
47-
if userLang == "tr" or userLang == "TR" or userLang == "Türkçe":
80+
if userLang == "TR":
4881
windows_title = "AdWMGUI (Gelişmiş Windows Yönetimi GUI)"
4982
system_clean_title = "Sistem Temizliği"
5083
advanced_system_clean_title = "DISM WinSxS Klasör temizliği"
5184
system_repair_title = "Sistem Onarımı"
5285
about_title = "Hakkımda"
5386
shutdownpc_title = "Bilgisayarı Kapat"
5487
all_operations_shutdownpc_title = "Tüm işlemleri yap ardından Bilgisayarı kapat"
55-
about_level_title = "Hakkımda seviyesi gir (0, 1, 2, 3): "
56-
about_txt_title = "Hakkımda"
57-
about_zero_level_title = "AdWMGUI (Gelişmiş Windows Yönetimi GUI) sürüm: 1.5"
58-
about_one_level_title = "AdWMGUI (Gelişmiş Windows Yönetimi GUI) sürüm: 1.5, sürüm tipi: Test edilmemiş sürüm (GUI ve Program için), Lisans: GPL2"
59-
about_txt_two_title = "Lisans Hakkında"
60-
about_two_level_title = "AdWMGUI (Gelişmiş Windows Yönetimi GUI), Lisans Türü: GPL, Lisans sürümü: 2, Lisans adı: GPL2"
61-
about_txt_three_title = "Üretici Bilgisi"
62-
about_three_level_title = "Program üreticisi: LinuxUsersLinuxMint, Organizasyon: LinuxUsersLinuxMint, Organizasyon Web sitesi: https://linuxuserslinuxmint.github.io/"
63-
error_title = "Hata"
64-
error_txt_title = "Hata: Bilinmeyen/Geçersiz hakkımda seviyesi"
88+
app_information_title = "Uygulama bilgisi:\n"
89+
app_name_txt = "Uygulama adı: AdWMGUI (Advanced Windows Manager GUI)"
90+
app_version_txt = "Sürüm: 1.6"
91+
app_version_type_txt = "Sürüm tipi: Stabil sürüm"
92+
licence_information_title = "Lisans bilgisi:\n"
93+
licence_name_txt = "Lisans adı: GPL"
94+
licence_version_txt = "Lisans sürümü: 2"
95+
full_licence_name_txt = "Tam lisans ismi: GPL2 (General Public License)"
96+
manufacturer_information_title = "Üretici bilgisi:\n"
97+
manufacturer_name_txt = "Program üreticisi: LinuxUsersLinuxMint"
98+
organization_txt = "Organizasyon: LinuxUsersLinuxMint"
99+
website_information_title = "Web site bilgisi:\n"
100+
organization_website_txt = "Organizasyon web sitesi: https://linuxuserslinuxmint.github.io/"
65101
adwmgui_txt_title = "AdWMGUI"
66102
shutdownpc_askyesno_txt_title = "Bilgisayarı kapatmak istediğinizden emin misiniz?"
67103
shutdownpc_askyesno_cancel_txt_title = "Kapatma iptal edildi."

adwm.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
import AdWMFuncLib.Systemrepair
1111
import AdWMFuncLib.About.about
1212
import AdWMFuncLib.ShutdownPC.shutdownpc
13-
from tkinter import *
14-
from tkinter import Tk
1513
from AdWMGUILang.lang import *
1614
import platform
1715

0 commit comments

Comments
 (0)