diff --git a/locales/pl-PL.po b/locales/pl-PL.po index 3c65ce6..c7d5058 100644 --- a/locales/pl-PL.po +++ b/locales/pl-PL.po @@ -10,8 +10,8 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -msgid "{mention} your temporary channel was created: **{channel_name}**." -msgstr "{mention} utworzono Twój kanał tymczasowy: **{channel_name}**." +msgid "{mention} your temporary channel was created: {channel_mention}." +msgstr "{mention} utworzono Twój kanał tymczasowy: {channel_mention}." msgid "TempVoice is not fully configured for this server. An administrator should set the start channel and target category with `tempvoice setstart` and `tempvoice setcategory`." msgstr "TempVoice nie jest w pełni skonfigurowany dla tego serwera. Administrator powinien ustawić kanał startowy i kategorię docelową komendami `tempvoice setstart` oraz `tempvoice setcategory`." diff --git a/tempvoice.py b/tempvoice.py index 467679b..30b9693 100644 --- a/tempvoice.py +++ b/tempvoice.py @@ -378,8 +378,8 @@ class TempVoice(commands.Cog): return False async def _send_creation_message(self, member: discord.Member, voice_channel: discord.VoiceChannel) -> None: - content = _("{mention} your temporary channel was created: **{channel_name}**.").format( - mention=member.mention, channel_name=voice_channel.name + content = _("{mention} your temporary channel was created: {channel_mention}.").format( + mention=member.mention, channel_mention=voice_channel.mention ) await self._send_guild_message(member.guild, content, preferred_channel=voice_channel)