Skip to content

Commit f624c9e

Browse files
Important Update.
1 parent 834ed4a commit f624c9e

File tree

6 files changed

+20
-22
lines changed

6 files changed

+20
-22
lines changed

EN/Basic_Maths.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,4 +122,4 @@ def all_math_operations(optDialog,first_opt_dialog,second_opt_dialog,third_opt_d
122122
elif select_func == mod_options_one or select_func == mod_options_two or select_func == mod_options_three or select_func == mod_options_four or select_func == mod_options_five:
123123
Mod(number_one,number_two,resdialog)
124124
else:
125-
error_msg(errdg)
125+
error_msg(errdg,"","")

EN/calc.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
Bu Yazılımın Bir Kopyası GİTHUB da yayınlanmaktadır Görüntülemek için: https://github.com/LinuxUsersLinuxMint/LinuxUsersLinuxMint-Calcutator
1212
A Copy of This Software is published on GITHUB To view: https://github.com/LinuxUsersLinuxMint/LinuxUsersLinuxMint-Calcutator """
1313
print("*********************************************************************")
14-
print("*** Welcome to LinuxUsersLinuxMint-Calcutator 2.1 Program ***")
14+
print("*** Welcome to LinuxUsersLinuxMint-Calcutator 2.2 Program ***")
1515
print("""*** Options: ***
1616
*** ***
1717
*** Enter the Command you want to choose... ***
@@ -86,10 +86,10 @@
8686
elif command=="web-site":
8787
print("https://linuxuserslinuxmint.github.io")
8888
elif command=="ver":
89-
print("Version: 2.1 (Last Updated on Jan 5, 2025, 9:09)")
89+
print("Version: 2.2 (Last Updated on Jan 29, 2025, 3:12)")
9090
elif command=="licence":
9191
print("This Software is protected under the GPL2 license")
9292
elif command=="Thank":
93-
print("Thank You for Using Python-Calcutator.")
93+
print("Thank You for Using LinuxUsersLinuxMint-Calcutator.")
9494
else:
9595
error_msg(error_dialog)

EN/pyappdevkit.py

+6-7
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,21 @@ def time(number):
1111
for _ in range(100000000):
1212
pass
1313

14-
def error_msg(error_dialog):
15-
print(error_dialog)
14+
def error_msg(error_dialog,error_code,support_link):
15+
print(error_dialog,error_code,support_link)
1616

1717
def exit_program_dialog_time(exit_dialog_msg,userTime):
1818
print(exit_dialog_msg)
19-
userTime = int(userTime)
2019
time(userTime)
2120
exit()
2221

2322
def exit_program_time(userTime):
24-
userTime = int(userTime)
2523
time(userTime)
2624
exit()
2725

2826
def exit_program_dialog(exit_dialog_msg):
2927
print(exit_dialog_msg)
28+
exit()
3029

3130
""" Example Dialog (ExitSelectDialog): "Select the method to exit the program (0: Dialogue and Time entry, 1: Time entry only, 2: Dialogue entry only, 3: Normal exit (old style)): "
3231
Example Dialog (userTimeDialog): "After how many seconds should the program be closed?: "
@@ -37,10 +36,10 @@ def all_exit(ExitSelectDialog,userTimeDialog,exitDialog,errormsgDialog):
3736
exit_select = int(input(ExitSelectDialog))
3837
exit_select = int(exit_select)
3938
if exit_select == 0:
40-
userTime = input(userTimeDialog)
39+
userTime = int(input(userTimeDialog))
4140
exit_program_dialog_time(exitDialog, userTime)
4241
elif exit_select == 1:
43-
userTime = input(userTimeDialog)
42+
userTime = int(input(userTimeDialog))
4443
exit_program_time(userTime)
4544
elif exit_select == 2:
4645
exit_program_dialog(exitDialog)
@@ -83,4 +82,4 @@ def program_welcome_msg(welcome_msg,cfg,cfg_,appname,libname,websitelink):
8382
elif cfg_ == "app":
8483
program_info("Program Name: ",appname,"","","","","","","","","","","","","","","","","","")
8584
else:
86-
error_msg("Invalid definition!")
85+
error_msg("Invalid definition!","","")

TR/Basic_Maths.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,4 +122,4 @@ def all_math_operations(optDialog,first_opt_dialog,second_opt_dialog,third_opt_d
122122
elif select_func == mod_options_one or select_func == mod_options_two or select_func == mod_options_three or select_func == mod_options_four or select_func == mod_options_five:
123123
Mod(number_one,number_two,resdialog)
124124
else:
125-
error_msg(errdg)
125+
error_msg(errdg,"","")

TR/calc.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
Bu Yazılımın Bir Kopyası GİTHUB da yayınlanmaktadır Görüntülemek için: https://github.com/LinuxUsersLinuxMint/LinuxUsersLinuxMint-Calcutator
1212
A Copy of This Software is published on GITHUB To view: https://github.com/LinuxUsersLinuxMint/LinuxUsersLinuxMint-Calcutator """
1313
print("*********************************************************************")
14-
print("*** LinuxUsersLinuxMint-Calcutator 2.1 Programına Hoşgeldiniz ***")
14+
print("*** LinuxUsersLinuxMint-Calcutator 2.2 Programına Hoşgeldiniz ***")
1515
print("""*** Seçenekler: ***
1616
*** ***
1717
*** Seçmek istediğiniz Komutu Giriniz... ***
@@ -85,10 +85,10 @@
8585
elif command=="web-site":
8686
print("linuxuserslinuxmint.github.io")
8787
elif command=="ver":
88-
print("Sürüm: 2.1 (Son Güncellenme Tarihi 1 Ocak , 2025 , 20:27)")
88+
print("Sürüm: 2.2 (Son Güncellenme Tarihi 29 Ocak , 2025 , 15:12)")
8989
elif command=="licence":
9090
print("Bu Yazılım GPL2 lisansı kapsamında korunmaktadır.")
9191
elif command=="Thank":
92-
print("Python-Calcutator'u Kullandığınız için Teşekkür ederim. ")
92+
print("LinuxUsersLinuxMint-Calcutator'u Kullandığınız için Teşekkür ederim. ")
9393
else:
9494
error_msg(error_dialog)

TR/pyappdevkit.py

+6-7
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,21 @@ def time(number):
1111
for _ in range(100000000):
1212
pass
1313

14-
def error_msg(error_dialog):
15-
print(error_dialog)
14+
def error_msg(error_dialog,error_code,support_link):
15+
print(error_dialog,error_code,support_link)
1616

1717
def exit_program_dialog_time(exit_dialog_msg,userTime):
1818
print(exit_dialog_msg)
19-
userTime = int(userTime)
2019
time(userTime)
2120
exit()
2221

2322
def exit_program_time(userTime):
24-
userTime = int(userTime)
2523
time(userTime)
2624
exit()
2725

2826
def exit_program_dialog(exit_dialog_msg):
2927
print(exit_dialog_msg)
28+
exit()
3029

3130
""" Example Dialog (ExitSelectDialog): "Select the method to exit the program (0: Dialogue and Time entry, 1: Time entry only, 2: Dialogue entry only, 3: Normal exit (old style)): "
3231
Example Dialog (userTimeDialog): "After how many seconds should the program be closed?: "
@@ -37,10 +36,10 @@ def all_exit(ExitSelectDialog,userTimeDialog,exitDialog,errormsgDialog):
3736
exit_select = int(input(ExitSelectDialog))
3837
exit_select = int(exit_select)
3938
if exit_select == 0:
40-
userTime = input(userTimeDialog)
39+
userTime = int(input(userTimeDialog))
4140
exit_program_dialog_time(exitDialog, userTime)
4241
elif exit_select == 1:
43-
userTime = input(userTimeDialog)
42+
userTime = int(input(userTimeDialog))
4443
exit_program_time(userTime)
4544
elif exit_select == 2:
4645
exit_program_dialog(exitDialog)
@@ -83,4 +82,4 @@ def program_welcome_msg(welcome_msg,cfg,cfg_,appname,libname,websitelink):
8382
elif cfg_ == "app":
8483
program_info("Program Name: ",appname,"","","","","","","","","","","","","","","","","","")
8584
else:
86-
error_msg("Invalid definition!")
85+
error_msg("Invalid definition!","","")

0 commit comments

Comments
 (0)