Skip to content

Commit

Permalink
Merge branch 'master' into clustering
Browse files Browse the repository at this point in the history
  • Loading branch information
laggron42 committed Feb 26, 2025
2 parents 26ad480 + c4bb32b commit b6f7e52
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ballsdex/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.25.0"
__version__ = "2.25.1"
7 changes: 5 additions & 2 deletions ballsdex/core/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,11 @@ class Translator(app_commands.Translator):
async def translate(
self, string: locale_str, locale: Locale, context: TranslationContextTypes
) -> str | None:
return string.message.replace("countryball", settings.collectible_name).replace(
"BallsDex", settings.bot_name
return (
string.message.replace("countryballs", settings.plural_collectible_name)
.replace("countryball", settings.collectible_name)
.replace("/balls", f"/{settings.players_group_cog_name}")
.replace("BallsDex", settings.bot_name)
)


Expand Down
2 changes: 1 addition & 1 deletion ballsdex/packages/admin/cog.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def __init__(self, bot: "BallsDexBot"):

assert self.__cog_app_commands_group__
self.__cog_app_commands_group__.add_command(
BallsGroup(name=settings.plural_collectible_name)
BallsGroup(name=settings.players_group_cog_name)
)
self.__cog_app_commands_group__.add_command(BlacklistGroup())
self.__cog_app_commands_group__.add_command(BlacklistGuildGroup())
Expand Down

0 comments on commit b6f7e52

Please sign in to comment.