mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 03:59:50 +02:00
feat: hide warning
This commit is contained in:
1 parent
eed9d23646
commit
bfcf183a6e
1 file changed
+3
-3
@@ -19,9 +19,9 @@ export function localizationObject(
|
|||||||
(!strict || validNameRegex.test(translation)) && translation.length > 0;
|
(!strict || validNameRegex.test(translation)) && translation.length > 0;
|
||||||
|
|
||||||
if (!isValid) {
|
if (!isValid) {
|
||||||
console.warn(
|
// console.warn(
|
||||||
`Invalid localization for ${locale} (${path}): ${translation}; skipping...`
|
// `Invalid localization for ${locale} (${path}): ${translation}; skipping...`
|
||||||
);
|
// );
|
||||||
return localizations;
|
return localizations;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user