fix (shop): Fix localisation issues.

This commit is contained in:
2023-03-08 16:49:42 +02:00
parent ab70c3178e
commit 3f637302fe
3 changed files with 5 additions and 6 deletions

View File

@@ -205,7 +205,7 @@ class StoreManager(ui.LeoUI):
buttons.append(pressed_switch_shop)
@ui.AButton(
label=_p('ui:stores|button:close|label', "Close"),
label=t(_p('ui:stores|button:close|label', "Close")),
emoji=self.bot.config.emojis.getemoji('cancel')
)
async def pressed_close(press: discord.Interaction, pressed):