Open Ticket v4 Beta

This commit is contained in:
DJj123dj
2024-08-21 13:24:56 +02:00
parent 9326d0fae8
commit 0c2aca7039
154 changed files with 33881 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
import {openticket, api, utilities} from "../../index"
export const loadAllLanguages = async () => {
openticket.languages.add(new api.ODLanguage("openticket:custom","custom.json"))
openticket.languages.add(new api.ODLanguage("openticket:english","english.json"))
openticket.languages.add(new api.ODLanguage("openticket:dutch","dutch.json"))
openticket.languages.add(new api.ODLanguage("openticket:portuguese","portuguese.json"))
openticket.languages.add(new api.ODLanguage("openticket:czech","czech.json"))
/** How to add more languages?
* - Add the language to the list above
* - Add the language to the "languageList" in the "ODDefaultsManager" class
* - Add the language to the list in the "ODLanguageManagerIds_Default" interface
*/
}