LNXSDK/leenkx/blender/lnx/logicnode/native/LN_get_system_language.py
2025-01-22 16:18:30 +01:00

12 lines
347 B
Python

from lnx.logicnode.lnx_nodes import *
class GetSystemLanguage(LnxLogicTreeNode):
"""Returns the language of the current system."""
bl_idname = 'LNGetSystemLanguage'
bl_label = 'Get System Language'
lnx_section = 'Native'
lnx_version = 1
def lnx_init(self, context):
self.add_output('LnxStringSocket', 'Language')