From 2c7916b8866646bb94e5f6418659a1c13096636e Mon Sep 17 00:00:00 2001 From: profitroll Date: Wed, 30 Aug 2023 12:37:09 +0200 Subject: [PATCH] Fixed locale strings --- locale/de.json | 1 - modules/search_name.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 locale/de.json diff --git a/locale/de.json b/locale/de.json deleted file mode 100644 index 0967ef4..0000000 --- a/locale/de.json +++ /dev/null @@ -1 +0,0 @@ -{} diff --git a/modules/search_name.py b/modules/search_name.py index 8d497be..1f3caf7 100644 --- a/modules/search_name.py +++ b/modules/search_name.py @@ -15,7 +15,7 @@ async def search_name(app: PyroClient, message: Message) -> Union[Location, None location: Union[Location, None] = None await message.reply_text( - app._("location_request_name", "messages", locale=user.locale), + app._("location_name", "messages", locale=user.locale), reply_markup=ForceReply( placeholder=app._("location_name", "force_replies", locale=user.locale) ),