mirror of
https://github.com/Insality/druid
synced 2025-11-27 03:10:53 +01:00
Solve #182 add table pool for events
This commit is contained in:
@@ -41,6 +41,12 @@ function LangText.init(self, node, locale_id, no_adjust)
|
||||
end
|
||||
|
||||
|
||||
function LangText.on_internal_remove(self)
|
||||
component.on_internal_remove(self)
|
||||
self.on_change:clear()
|
||||
end
|
||||
|
||||
|
||||
function LangText.on_language_change(self)
|
||||
if self.last_locale then
|
||||
self:translate(self.last_locale, unpack(self.last_locale_args))
|
||||
|
||||
Reference in New Issue
Block a user