mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 03:39:55 +00:00
Use German as the base for tests
This commit is contained in:
parent
65e87aea52
commit
0c1e5ea881
@ -164,7 +164,7 @@ describe("Translations", function () {
|
||||
dom.window.onload = function () {
|
||||
const { Translator } = dom.window;
|
||||
|
||||
Translator.load(mmm, translations.en, false, function () {
|
||||
Translator.load(mmm, translations.de, false, function () {
|
||||
base = Object.keys(Translator.translations[mmm.name]).sort();
|
||||
done();
|
||||
});
|
||||
@ -175,8 +175,10 @@ describe("Translations", function () {
|
||||
console.log(missing);
|
||||
});
|
||||
|
||||
// Using German as the base rather than English, since
|
||||
// at least one translated word doesn't exist in English.
|
||||
for (let language in translations) {
|
||||
if (language === "en") {
|
||||
if (language === "de") {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user