Open Ticket v4 Beta
This commit is contained in:
@@ -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
|
||||
*/
|
||||
}
|
||||
Reference in New Issue
Block a user