The 4 new languages can now be used in OTv4.0.1
This commit is contained in:
@@ -467,6 +467,10 @@ export interface ODLanguageManagerIds_Default {
|
||||
"opendiscord:hindi":ODLanguage,
|
||||
"opendiscord:lithuanian":ODLanguage,
|
||||
"opendiscord:polish":ODLanguage,
|
||||
"opendiscord:latvian":ODLanguage,
|
||||
"opendiscord:norwegian":ODLanguage,
|
||||
"opendiscord:russian":ODLanguage,
|
||||
"opendiscord:swedish":ODLanguage,
|
||||
//ADD NEW LANGUAGES HERE!!!
|
||||
}
|
||||
|
||||
|
||||
@@ -25,6 +25,10 @@ export const loadAllLanguages = async () => {
|
||||
opendiscord.languages.add(new api.ODJsonLanguage("opendiscord:hindi","hindi.json"))
|
||||
opendiscord.languages.add(new api.ODJsonLanguage("opendiscord:lithuanian","lithuanian.json"))
|
||||
opendiscord.languages.add(new api.ODJsonLanguage("opendiscord:polish","polish.json"))
|
||||
opendiscord.languages.add(new api.ODJsonLanguage("opendiscord:latvian","latvian.json"))
|
||||
opendiscord.languages.add(new api.ODJsonLanguage("opendiscord:norwegian","norwegian.json"))
|
||||
opendiscord.languages.add(new api.ODJsonLanguage("opendiscord:russian","russian.json"))
|
||||
opendiscord.languages.add(new api.ODJsonLanguage("opendiscord:swedish","swedish.json"))
|
||||
|
||||
/** How to add more languages?
|
||||
* - Register the language to the manager (see above)
|
||||
|
||||
Reference in New Issue
Block a user