mirror of
https://github.com/Insality/druid
synced 2025-06-27 10:27:48 +02:00
#143 Update all lang components on set_text_function
This commit is contained in:
parent
94197391a5
commit
a8c2185d20
@ -83,8 +83,7 @@ end
|
|||||||
-- @tparam function callback Get localized text function
|
-- @tparam function callback Get localized text function
|
||||||
function M.set_text_function(callback)
|
function M.set_text_function(callback)
|
||||||
settings.get_text = callback or const.EMPTY_FUNCTION
|
settings.get_text = callback or const.EMPTY_FUNCTION
|
||||||
-- TODO: Update all localized text
|
M.on_language_change()
|
||||||
-- Need to store all current druid instances to iterate over it?
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user