Skip to content

Commit a63e0a0

Browse files
committed
Reenable German translation test based on new API
1 parent 84d21d9 commit a63e0a0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/smoke/src/areas/workbench/localization.test.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,11 @@ export function setup(opts: minimist.ParsedArgs) {
3636
throw new Error(`Received wrong localized strings: ${JSON.stringify(result, undefined, 0)}`);
3737
}
3838
return;
39+
} else {
40+
if (result.open.toLowerCase() !== 'öffnen' || result.close.toLowerCase() !== 'schließen' || result.find.toLowerCase() !== 'finden') {
41+
throw new Error(`Received wrong German localized strings: ${JSON.stringify(result, undefined, 0)}`);
42+
}
3943
}
40-
41-
// As soon as strings are translated in the next round we can check for german as well.
4244
});
4345
});
4446
}

0 commit comments

Comments
 (0)