Archived
[fix]: Translation fix
This commit is contained in:
1 parent
cada18c9f9
commit
260da8a11b
3 files changed
+14
-28
No files matched your search
+1
-1
@@ -30,7 +30,7 @@ def translate(string, region):
|
||||
else:
|
||||
return string
|
||||
|
||||
async def get_text(inter, location, string):
|
||||
async def get_text(inter, string, location = None):
|
||||
data = await inter.translate(
|
||||
string=app_commands.locale_str(string),
|
||||
locale=inter.locale,
|
||||
|
||||
Reference in new issue
Block a user