mirror of https://github.com/minetest/minetest.git
Fix main menu tab titles being cached
This commit is contained in:
parent
ab5202c103
commit
c78c566ef3
|
@ -116,7 +116,9 @@ end
|
|||
|
||||
return {
|
||||
name = "about",
|
||||
caption = fgettext("About"),
|
||||
caption = function()
|
||||
return fgettext("About")
|
||||
end,
|
||||
|
||||
cbf_formspec = function(tabview, name, tabdata)
|
||||
local logofile = defaulttexturedir .. "logo.png"
|
||||
|
|
|
@ -459,7 +459,9 @@ end
|
|||
--------------------------------------------------------------------------------
|
||||
return {
|
||||
name = "local",
|
||||
caption = fgettext("Start Game"),
|
||||
caption = function()
|
||||
return fgettext("Start Game")
|
||||
end ,
|
||||
cbf_formspec = get_formspec,
|
||||
cbf_button_handler = main_button_handler,
|
||||
on_change = on_change
|
||||
|
|
|
@ -425,7 +425,9 @@ end
|
|||
|
||||
return {
|
||||
name = "online",
|
||||
caption = fgettext("Join Game"),
|
||||
caption = function()
|
||||
return fgettext("Join Game")
|
||||
end,
|
||||
cbf_formspec = get_formspec,
|
||||
cbf_button_handler = main_button_handler,
|
||||
on_change = on_change
|
||||
|
|
Loading…
Reference in New Issue