Перевод для np

This commit is contained in:
JonnyBro 2022-03-19 21:31:55 +05:00
parent 3b0976aca2
commit 7573eb45ec
3 changed files with 26 additions and 6 deletions

View file

@ -27,11 +27,17 @@ class Np extends Command {
const track = queue.songs[0]; const track = queue.songs[0];
const status = queue => 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
? queue.repeatMode === 2 ? "Очереди" : "Трека" ? queue.repeatMode === 2 ? message.translate("music/np:QUEUE") : message.translate("music/np:SONG")
: "Выкл" : message.translate("music/np:DISABLED")
}\` | Автовоспроизведение: \`${queue.autoplay ? "Вкл" : "Выкл"}\``; }\` | ${message.translate("music/np:AUTOPLAY")}: \`${
queue.autoplay
? message.translate("music/np:ENABLED")
: message.translate("music/np:DISABLED")
}\``;
const embed = new Discord.MessageEmbed() const embed = new Discord.MessageEmbed()
.setAuthor({ .setAuthor({

View file

@ -8,5 +8,12 @@
"T_DURATION": "Длительность", "T_DURATION": "Длительность",
"T_CONF": "Настройки", "T_CONF": "Настройки",
"T_DESCRIPTION": "Описание", "T_DESCRIPTION": "Описание",
"NO_DESCRIPTION": "Описание отсутствует" "NO_DESCRIPTION": "Описание отсутствует",
"FILTERS": "Фильтры",
"REPEAT": "Повтор",
"AUTOPLAY": "Автовоспроизведение",
"QUEUE": "Очереди",
"SONG": "Трека",
"ENABLED": "Вкл.",
"DISABLED": "Выкл."
} }

View file

@ -8,5 +8,12 @@
"T_DURATION": "Тривалість", "T_DURATION": "Тривалість",
"T_CONF": "Налаштування", "T_CONF": "Налаштування",
"T_DESCRIPTION": "Опис", "T_DESCRIPTION": "Опис",
"NO_DESCRIPTION": "Опис відсутній" "NO_DESCRIPTION": "Опис відсутній",
"FILTERS": "Фильтры",
"REPEAT": "Повтор",
"AUTOPLAY": "Автовоспроизведение",
"QUEUE": "Очереди",
"SONG": "Трека",
"ENABLED": "Вкл.",
"DISABLED": "Выкл."
} }