|
5 | 5 | Bu Yazılımın Bir Kopyası GitHub da yayınlanmaktadır Görüntülemek için: https://github.com/LinuxUsersLinuxMint/AdWMGUI
|
6 | 6 | A Copy of This Software is published on GitHub To view: https://github.com/LinuxUsersLinuxMint/AdWMGUI """
|
7 | 7 |
|
8 |
| -userLang = input('Enter Language (EN, TR): ') |
| 8 | +from tkinter import * |
| 9 | +from tkinter import font |
9 | 10 |
|
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": |
11 | 41 | windows_title = "AdWMGUI (Advanced Windows Manager GUI)"
|
12 | 42 | system_clean_title = "SystemClean"
|
13 | 43 | advanced_system_clean_title = "DISM WinSxS Folder clean"
|
14 | 44 | system_repair_title = "SystemRepair"
|
15 | 45 | about_title = "About"
|
16 | 46 | shutdownpc_title = "ShutdownPC"
|
17 | 47 | 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/" |
28 | 61 | adwmgui_txt_title = "AdWMGUI"
|
29 | 62 | shutdownpc_askyesno_txt_title = "Are you sure you want to shutdown your computer?"
|
30 | 63 | shutdownpc_askyesno_cancel_txt_title = "Shutdown cancelled."
|
|
44 | 77 | usertm_title = "After how many seconds should the computer be shut down?: "
|
45 | 78 | adwmgui_platform_error_title_txt = "AdWMGUI platform system error"
|
46 | 79 | 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": |
48 | 81 | windows_title = "AdWMGUI (Gelişmiş Windows Yönetimi GUI)"
|
49 | 82 | system_clean_title = "Sistem Temizliği"
|
50 | 83 | advanced_system_clean_title = "DISM WinSxS Klasör temizliği"
|
51 | 84 | system_repair_title = "Sistem Onarımı"
|
52 | 85 | about_title = "Hakkımda"
|
53 | 86 | shutdownpc_title = "Bilgisayarı Kapat"
|
54 | 87 | 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/" |
65 | 101 | adwmgui_txt_title = "AdWMGUI"
|
66 | 102 | shutdownpc_askyesno_txt_title = "Bilgisayarı kapatmak istediğinizden emin misiniz?"
|
67 | 103 | shutdownpc_askyesno_cancel_txt_title = "Kapatma iptal edildi."
|
|
0 commit comments