mirror of
https://github.com/Insality/druid.git
synced 2025-06-27 10:27:47 +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
|
||||
function M.set_text_function(callback)
|
||||
settings.get_text = callback or const.EMPTY_FUNCTION
|
||||
-- TODO: Update all localized text
|
||||
-- Need to store all current druid instances to iterate over it?
|
||||
M.on_language_change()
|
||||
end
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user