diff --git a/utils/translate.py b/utils/translate.py index d0370b0..4d89526 100644 --- a/utils/translate.py +++ b/utils/translate.py @@ -32,12 +32,9 @@ def translate(string, region): async def get_text(inter, location, string): data = await inter.translate( - app_commands.locale_str(string), + string=app_commands.locale_str(string), locale=inter.locale, - data=app_commands.TranslationContext( - trans_loc.other, - location - ) + data=location ) return data or string