Translation Update
Translation System now works!
This commit is contained in:
+5
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user