more languages fixes

This commit is contained in:
JonnyBro 2021-12-29 16:15:18 +05:00
parent d5255a8c2c
commit afcf5d991d
3 changed files with 5 additions and 3 deletions

View file

@ -41,7 +41,7 @@ class Serverinfo extends Command {
.addField(this.client.customEmojis.calendar + message.translate("common:CREATION"), message.printDate(guild.createdAt), true) .addField(this.client.customEmojis.calendar + message.translate("common:CREATION"), message.printDate(guild.createdAt), true)
.addField(this.client.customEmojis.users + message.translate("common:MEMBERS"), message.translate("general/serverinfo:MEMBERS", { .addField(this.client.customEmojis.users + message.translate("common:MEMBERS"), message.translate("general/serverinfo:MEMBERS", {
count: guild.members.cache.filter(m => !m.user.bot).size count: guild.members.cache.filter(m => !m.user.bot).size
}) + " | " + message.translate("general/serverinfo:BOTS", { }) + "\n" + message.translate("general/serverinfo:BOTS", {
count: guild.members.cache.filter(m => m.user.bot).size count: guild.members.cache.filter(m => m.user.bot).size
}), true) }), true)
.addField(this.client.customEmojis.afk + message.translate("general/serverinfo:AFK_CHANNEL"), guild.afkChannel || message.translate("general/serverinfo:NO_AFK_CHANNEL"), true) .addField(this.client.customEmojis.afk + message.translate("general/serverinfo:AFK_CHANNEL"), guild.afkChannel || message.translate("general/serverinfo:NO_AFK_CHANNEL"), true)
@ -50,9 +50,9 @@ class Serverinfo extends Command {
.addField(this.client.customEmojis.boost + message.translate("general/serverinfo:BOOSTS"), guild.premiumSubscriptionCount || 0, true) .addField(this.client.customEmojis.boost + message.translate("general/serverinfo:BOOSTS"), guild.premiumSubscriptionCount || 0, true)
.addField(this.client.customEmojis.channels + message.translate("common:CHANNELS"), message.translate("general/serverinfo:TEXT_CHANNELS", { .addField(this.client.customEmojis.channels + message.translate("common:CHANNELS"), message.translate("general/serverinfo:TEXT_CHANNELS", {
count: guild.channels.cache.filter(c => c.type === "text").size count: guild.channels.cache.filter(c => c.type === "text").size
}) + " | " + message.translate("general/serverinfo:VOICE_CHANNELS", { }) + "\n" + message.translate("general/serverinfo:VOICE_CHANNELS", {
count: guild.channels.cache.filter(c => c.type === "voice").size count: guild.channels.cache.filter(c => c.type === "voice").size
}) + " | " + message.translate("general/serverinfo:CAT_CHANNELS", { }) + "\n" + message.translate("general/serverinfo:CAT_CHANNELS", {
count: guild.channels.cache.filter(c => c.type === "category").size count: guild.channels.cache.filter(c => c.type === "category").size
}), true) }), true)
.setColor(data.config.embed.color) .setColor(data.config.embed.color)

View file

@ -10,6 +10,7 @@
"USER": "User", "USER": "User",
"CREATION": "Creation", "CREATION": "Creation",
"MEMBERS": "Members", "MEMBERS": "Members",
"NAME": "Name",
"CHANNELS": "Channels", "CHANNELS": "Channels",
"ID": "ID", "ID": "ID",
"OWNER": "Owner", "OWNER": "Owner",

View file

@ -10,6 +10,7 @@
"USER": "Пользователь", "USER": "Пользователь",
"CREATION": "Создан", "CREATION": "Создан",
"MEMBERS": "Участники", "MEMBERS": "Участники",
"NAME": "Название",
"CHANNELS": "Каналы", "CHANNELS": "Каналы",
"ID": "ID", "ID": "ID",
"OWNER": "Владелец", "OWNER": "Владелец",