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