Refactoring a lot of code
This commit is contained in:
1 parent
914b1beef8
commit
63d1e21b9a
26 files changed
+314
-406
No files matched your search
@@ -19,6 +19,7 @@ class Language {
|
||||
}
|
||||
|
||||
get(key) {
|
||||
if(typeof key === typeof undefined) return "Key \"undefined\".";
|
||||
let j = this.getRecursive(key.split("."));
|
||||
if(typeof j === typeof undefined || j == null) return "Missing \"" + key + "\"";
|
||||
return j;
|
||||
|
||||
Reference in new issue
Block a user