mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-28 07:20:49 -04:00
[bug][pt] fix the “Cannot find translation” spam
This commit is contained in:
parent
22dc272da9
commit
3bb7a33af2
@ -9,7 +9,7 @@ class Translator {
|
|||||||
this.expectedTranslations = expectedTranslations;
|
this.expectedTranslations = expectedTranslations;
|
||||||
}
|
}
|
||||||
|
|
||||||
translate(key, params = {}, warn = true) {
|
translate(key, params = {}, warn = false) {
|
||||||
return this.applyParams(
|
return this.applyParams(
|
||||||
this.get(key, warn),
|
this.get(key, warn),
|
||||||
params,
|
params,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user