Small change

This commit is contained in:
fed 2023-03-02 20:55:13 +01:00
parent 66ee0c0c50
commit 04ebd7f15a
2 changed files with 1 additions and 7 deletions

View File

@ -37,11 +37,6 @@ LUI.MarketingPopup.Base = function(a1, data, a3)
local imagecontainer = LUI.UIStencilText.new(state) local imagecontainer = LUI.UIStencilText.new(state)
local material = RegisterMaterial(data.image) local material = RegisterMaterial(data.image)
local helpertext = element:getFirstDescendentById("helper_text_text")
if (haslink and helpertext) then
helpertext:setText(Engine.Localize("@MENU_OPEN_LINK"))
end
local ratio = Engine.GetMaterialAspectRatio(material) local ratio = Engine.GetMaterialAspectRatio(material)
local width = 525 local width = 525
local height = width / ratio local height = width / ratio

View File

@ -118,6 +118,5 @@
"LUA_MENU_SP_LOCATION_TRAINER": "LUA_MENU_SP_LOCATION_TRAINER", "LUA_MENU_SP_LOCATION_TRAINER": "LUA_MENU_SP_LOCATION_TRAINER",
"LUA_MENU_SP_LOCATION_MUSEUM": "LUA_MENU_SP_LOCATION_MUSEUM", "LUA_MENU_SP_LOCATION_MUSEUM": "LUA_MENU_SP_LOCATION_MUSEUM",
"DEPOT_GO_TO_THE_DEPOT": "DEPOT_GO_TO_THE_DEPOT", "DEPOT_GO_TO_THE_DEPOT": "Open link"
"MENU_OPEN_LINK": "Open link"
} }