mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-26 06:23:35 -04:00
[trans] don't warn about missing translations anymore, it just pollutes logs
This commit is contained in:
parent
88b53381ae
commit
408182a9b7
@ -16,7 +16,7 @@ class Translator {
|
||||
);
|
||||
}
|
||||
|
||||
get(key, warn = true, base = false, useFallback = true) {
|
||||
get(key, warn = false, base = false, useFallback = true) {
|
||||
let value = base ? this.baseTranslations : this.translations;
|
||||
for (let part of key.split('.')) {
|
||||
value = value[part];
|
||||
|
Loading…
x
Reference in New Issue
Block a user