Skip to content

Commit

Permalink
fix(tr): missing translations
Browse files Browse the repository at this point in the history
  • Loading branch information
ZRunner committed Jan 7, 2024
1 parent a15b168 commit 82ed633
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lang/fun/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
"Pro-tip : La commande %{say_cmd} est très utile pour poster des messages anonymes... du moins quand vous y avez accès.",
"Pro-tip : La commande %{discordlinks_cmd} vous donnera tous les liens utiles relatifs à discord !",
"Le saviez-vous ? Tous les designs relatifs au bot sont réalisés par Chadrixy, dont l'énorme liste d'émojis utilisés dans la commande %{bigtext_cmd} !",
"Le saviez-vous ? Jusqu'à récemment, je m'appelais 'Zbot', en référence à créateur, Z_runner !",
"Le saviez-vous ? Jusqu'à récemment, je m'appelais 'Zbot', en référence à mon créateur, Z_runner !",
"Pro-tip : Le bot possède un Discord, où vous pourrez voir les bugs actuels et voter pour les prochaines mises à jour ! Utilisez la commande %{about_cmd} pour en obtenir le lien",
"Pro-tip : la commande `prefix` permet d'avoir la liste des préfixes actuellement utilisables dans le serveur",
"Le saviez-vous ? Vous pouvez donner une description de votre serveur qui pourra être utilisée dans d’autres serveurs, via l’option `description` de la commande %{config_cmd}",
Expand Down
10 changes: 5 additions & 5 deletions libs/serverconfig/checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,35 +82,35 @@ async def moderation_commands_check(bot: Axobot, guild: discord.Guild, option: s
return await _create_warning_embed(
bot,
guild,
await bot._(guild, "server.warnings.moderation_commands", perm=ban_perm)
await bot._(guild, "server.warnings.moderation_command", perm=ban_perm)
)
if option == "clear_allowed_roles" and not guild.me.guild_permissions.manage_messages:
manage_msg_perms = await bot._(guild, "permissions.list.manage_messages")
return await _create_warning_embed(
bot,
guild,
await bot._(guild, "server.warnings.moderation_commands", perm=manage_msg_perms)
await bot._(guild, "server.warnings.moderation_command", perm=manage_msg_perms)
)
if option == "kick_allowed_roles" and not guild.me.guild_permissions.kick_members:
kick_perm = await bot._(guild, "permissions.list.kick_members")
return await _create_warning_embed(
bot,
guild,
await bot._(guild, "server.warnings.moderation_commands", perm=kick_perm)
await bot._(guild, "server.warnings.moderation_command", perm=kick_perm)
)
if option == "mute_allowed_roles" and not guild.me.guild_permissions.moderate_members:
moderate_perm = await bot._(guild, "permissions.list.moderate_members")
return await _create_warning_embed(
bot,
guild,
await bot._(guild, "server.warnings.moderation_commands", perm=moderate_perm)
await bot._(guild, "server.warnings.moderation_command", perm=moderate_perm)
)
if option == "slowmode_allowed_roles" and not guild.me.guild_permissions.manage_channels:
manage_channel_perm = await bot._(guild, "permissions.list.manage_channels")
return await _create_warning_embed(
bot,
guild,
await bot._(guild, "server.warnings.moderation_commands", perm=manage_channel_perm)
await bot._(guild, "server.warnings.moderation_command", perm=manage_channel_perm)
)


Expand Down

0 comments on commit 82ed633

Please sign in to comment.