every file now supports translation & the languages "custom & dutch" are added

v2.1.0 push 9
This commit is contained in:
DJj123dj
2022-06-23 19:59:35 +02:00
parent 15825d0da6
commit 0bbde2018c
11 changed files with 190 additions and 46 deletions
+2 -2
View File
@@ -40,7 +40,7 @@ exports.createEmbed = (id) => {
var description = data.description
if (data.enableTicketExplaination){
description = description+"\n\n__choose a category:__\n"
description = description+"\n\n__"+l.messages.chooseCategory+"__\n"
var ticketExplainations = []
buttonData.forEach((button) => {
@@ -52,7 +52,7 @@ exports.createEmbed = (id) => {
}
if (data.enableMaxTicketsWarning){
description = description+"\n\n**Warning:** _You can only create "+config.system.max_allowed_tickets+" ticket(s) at a time!_"
description = description+"\n\n"+l.commands.maxTicketWarning.replace("{0}",config.system.max_allowed_tickets)
}
embed.setDescription(description)