Translation Update

Translation System now works!
This commit is contained in:
Yusarina
2024-07-05 13:01:59 +01:00
parent 0658e3a86f
commit ce9cc9684f
9 changed files with 86 additions and 35 deletions
+5 -3
View File
@@ -19,14 +19,16 @@ def register():
properties.register()
# Order the classes before registration
core.register.order_classes()
# Register the UI classes
# Iterate over the classes to register and register them
# Register the properties
core.register.register_properties()
# Register the UI classes
for cls in core.register.__bl_ordered_classes:
print("registering " + str(cls))
bpy.utils.register_class(cls)
# Load the translations after everything else is registered
functions.translations.load_translations()
def unregister():
print("Unregistering Avatar Toolkit")
# Unregister the UI classes