fixed some stuff and translated somethings

This commit is contained in:
2025-09-13 17:51:44 +02:00
parent d9efaa4620
commit 5b51c67069
6 changed files with 34 additions and 41 deletions

View File

@@ -540,6 +540,12 @@ class PfandCalculator:
# ref@todo/main.py
def create_todo_list(self):
#try:
# import tkFont
#except ImportError as e:
# print(f"error as -> {e}")
todo = tk.Toplevel(self.root)
todo.title("Todo Liste")
todo.resizable(True, True)
@@ -552,6 +558,7 @@ class PfandCalculator:
label_todo = tk.Label(
todo,
text=todo_instance.load_todo(),
#font="Segoe UI",
padx=10,
pady=10,
justify="left",
@@ -1749,7 +1756,6 @@ class PfandCalculator:
"Kasten",
"Dose",
"Plastikflasche",
"Monster",
"Joghurt Glas",
]
self.PRICES = {
@@ -1758,7 +1764,6 @@ class PfandCalculator:
"Kasten": 3.00,
"Dose": 0.25,
"Plastikflasche": 0.25,
"Monster": 0.25,
"Joghurt Glas": 0.17,
}
self.save_products()