[bug][pt] fix the “Cannot find translation” spam

This commit is contained in:
Andrea Vos 2022-09-28 00:27:28 +02:00
parent 22dc272da9
commit 3bb7a33af2

View File

@ -9,7 +9,7 @@ class Translator {
this.expectedTranslations = expectedTranslations;
}
translate(key, params = {}, warn = true) {
translate(key, params = {}, warn = false) {
return this.applyParams(
this.get(key, warn),
params,