Fixed some translation errors & added Catalan!

This commit is contained in:
DJj123dj
2024-08-21 22:46:54 +02:00
parent 0a69efdfe5
commit 1dd8c0246a
19 changed files with 507 additions and 18 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ export const registerCommandResponders = async () => {
const option = openticket.options.get(id)
//return if unknown option
if (!option || !(option instanceof api.ODTicketOption)){
instance.reply(await openticket.builders.messages.getSafe("openticket:error").build("button",{guild,channel,user,error:"Unknown Option",layout:"simple"}))
instance.reply(await openticket.builders.messages.getSafe("openticket:error").build("button",{guild,channel,user,error:openticket.languages.getTranslation("errors.titles.unknownOption"),layout:"simple"}))
return cancel()
}
//return if option is the same