From 7573eb45eca85820ce7920d139fa2980f42f4fc5 Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Sat, 19 Mar 2022 21:31:55 +0500 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=B5=D1=80=D0=B5=D0=B2=D0=BE=D0=B4=20?= =?UTF-8?q?=D0=B4=D0=BB=D1=8F=20np?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commands/Music/np.js | 14 ++++++++++---- languages/ru-RU/music/np.json | 9 ++++++++- languages/uk-UA/music/np.json | 9 ++++++++- 3 files changed, 26 insertions(+), 6 deletions(-) diff --git a/commands/Music/np.js b/commands/Music/np.js index 6cf753e2..08a5d85a 100644 --- a/commands/Music/np.js +++ b/commands/Music/np.js @@ -27,11 +27,17 @@ class Np extends Command { const track = queue.songs[0]; const status = queue => - `Фильтры: \`${queue.filters.join(", ") || "Выкл"}\` | Повтор: \`${ + `${message.translate("music/np:FILTERS")}: \`${ + queue.filters.join(", ") || message.translate("music/np:DISABLED") + }\` | ${message.translate("music/np:REPEAT")}: \`${ queue.repeatMode - ? queue.repeatMode === 2 ? "Очереди" : "Трека" - : "Выкл" - }\` | Автовоспроизведение: \`${queue.autoplay ? "Вкл" : "Выкл"}\``; + ? queue.repeatMode === 2 ? message.translate("music/np:QUEUE") : message.translate("music/np:SONG") + : message.translate("music/np:DISABLED") + }\` | ${message.translate("music/np:AUTOPLAY")}: \`${ + queue.autoplay + ? message.translate("music/np:ENABLED") + : message.translate("music/np:DISABLED") + }\``; const embed = new Discord.MessageEmbed() .setAuthor({ diff --git a/languages/ru-RU/music/np.json b/languages/ru-RU/music/np.json index 9bd30ee6..f80a02b0 100644 --- a/languages/ru-RU/music/np.json +++ b/languages/ru-RU/music/np.json @@ -8,5 +8,12 @@ "T_DURATION": "Длительность", "T_CONF": "Настройки", "T_DESCRIPTION": "Описание", - "NO_DESCRIPTION": "Описание отсутствует" + "NO_DESCRIPTION": "Описание отсутствует", + "FILTERS": "Фильтры", + "REPEAT": "Повтор", + "AUTOPLAY": "Автовоспроизведение", + "QUEUE": "Очереди", + "SONG": "Трека", + "ENABLED": "Вкл.", + "DISABLED": "Выкл." } \ No newline at end of file diff --git a/languages/uk-UA/music/np.json b/languages/uk-UA/music/np.json index 3a27fcd0..ad71abcc 100644 --- a/languages/uk-UA/music/np.json +++ b/languages/uk-UA/music/np.json @@ -8,5 +8,12 @@ "T_DURATION": "Тривалість", "T_CONF": "Налаштування", "T_DESCRIPTION": "Опис", - "NO_DESCRIPTION": "Опис відсутній" + "NO_DESCRIPTION": "Опис відсутній", + "FILTERS": "Фильтры", + "REPEAT": "Повтор", + "AUTOPLAY": "Автовоспроизведение", + "QUEUE": "Очереди", + "SONG": "Трека", + "ENABLED": "Вкл.", + "DISABLED": "Выкл." } \ No newline at end of file