Правильные склонения для stats и статуса

This commit is contained in:
JonnyBro 2022-01-03 14:35:55 +05:00
parent fb313a9ab8
commit d10140c9fa
2 changed files with 7 additions and 2 deletions

View file

@ -44,7 +44,7 @@ module.exports = class {
let servers = client.guilds.cache.filter(guild => guild.id != "568120814776614924" && guild.id != "892727526911258654").size;
const version = require("../package.json").version;
const status = [
{ name: `${servers} ${client.getNoun(servers, client.translate("misc:NOUNS:SERVERS:1"), client.translate("misc:NOUNS:SERVERS:2"), client.translate("misc:NOUNS:SERVERS:5"))}`, type: "WATCHING" },
{ name: `${servers} ${client.getNoun(servers, client.translate("misc:NOUNS:SERVER:1"), client.translate("misc:NOUNS:SERVER:2"), client.translate("misc:NOUNS:SERVER:5"))}`, type: "WATCHING" },
{ name: "help", type: "WATCHING" }
];

View file

@ -84,11 +84,16 @@
"2": "секунды",
"5": "секунд"
},
"SERVERS": {
"SERVER": {
"1": "сервер",
"2": "сервера",
"5": "серверов"
},
"SERVERS": {
"1": "сервере",
"2": "серверах",
"5": "серверах"
},
"AGE": {
"1": "год",
"2": "года",