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

@ -36,11 +36,6 @@ LUI.MarketingPopup.Base = function(a1, data, a3)
local state = LUI.DeepCopy(image:getAnimationStateInC("default"))
local imagecontainer = LUI.UIStencilText.new(state)
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 width = 525

View File

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