From 90f7ed9da364947f55b2358d7ecc97fe989ed5d1 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 16 Aug 2021 11:03:04 +0200 Subject: [PATCH] =?UTF-8?q?Traduction=20compl=C3=A8te=20en=20FR?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/cogs/music.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/cogs/music.py b/src/cogs/music.py index b8a8977..ed2ad57 100644 --- a/src/cogs/music.py +++ b/src/cogs/music.py @@ -151,16 +151,16 @@ class Player(wavelink.Player): channel = self.bot.get_channel(int(self.channel_id)) qsize = self.queue.qsize() - embed = discord.Embed(title=f'Music Controller | {channel.name}', colour=0xebb145) - embed.description = f'Now Playing:\n**`{track.title}`**\n\n' + embed = discord.Embed(title=f'Contrôleur musical dans {channel.name}', colour=0xebb145) + embed.description = f"En cours :\n**`{track.title}`**\n\n" embed.set_thumbnail(url=track.thumb) - embed.add_field(name='Duration', value=str(datetime.timedelta(milliseconds=int(track.length)))) - embed.add_field(name='Queue Length', value=str(qsize)) - embed.add_field(name='Volume', value=f'**`{self.volume}%`**') - embed.add_field(name='Requested By', value=track.requester.mention) - embed.add_field(name='DJ', value=self.dj.mention) - embed.add_field(name='Video URL', value=f'[Click Here!]({track.uri})') + embed.add_field(name="Durée", value=str(datetime.timedelta(milliseconds=int(track.length)))) + embed.add_field(name="Longueur de la file d'attente", value=str(qsize)) + embed.add_field(name="Volume", value=f"**`{self.volume}%`**") + embed.add_field(name="Demandé par", value=track.requester.mention) + embed.add_field(name="DJ", value=self.dj.mention) + embed.add_field(name="Lien de la vidéo", value=f"[Clique ici]({track.uri})") return embed @@ -312,7 +312,7 @@ class PaginatorSource(menus.ListPageSource): super().__init__(entries, per_page=per_page) async def format_page(self, menu: menus.Menu, page): - embed = discord.Embed(title='Coming Up...', colour=0x4f0321) + embed = discord.Embed(title='À suivre...', colour=0x4f0321) embed.description = '\n'.join(f'`{index}. {title}`' for index, title in enumerate(page, 1)) return embed