mirror of
https://github.com/Insality/druid
synced 2025-09-27 18:12:21 +02:00
#76 add params for lang text string.format
This commit is contained in:
@@ -7,8 +7,8 @@ local function setup_druid()
|
||||
sound.play("kenney:/sound#" .. name)
|
||||
end)
|
||||
|
||||
druid.set_text_function(function(lang_id)
|
||||
return lang.get_locale(lang_id)
|
||||
druid.set_text_function(function(lang_id, ...)
|
||||
return lang.get_locale(lang_id, ...)
|
||||
end)
|
||||
|
||||
druid.on_language_change()
|
||||
|
Reference in New Issue
Block a user