Refactoring: More fixes to the themes

This commit is contained in:
Pieter Vander Vennet 2023-06-20 03:49:12 +02:00
parent c260d16159
commit 4a6457f146
7 changed files with 29 additions and 37 deletions

View file

@ -26,9 +26,14 @@ export class Translation extends BaseUIElement {
if (!translations.hasOwnProperty(translationsKey)) {
continue
}
if (translationsKey === "_context" || translationsKey === "_meta") {
if (
translationsKey === "_context" ||
translationsKey === "_meta" ||
translationsKey === "special"
) {
continue
}
count++
if (typeof translations[translationsKey] != "string") {
console.error(