Add check that translation for a certain theme is complete, add a few missing dutch translations

This commit is contained in:
Pieter Vander Vennet 2021-10-01 04:49:19 +02:00
parent 4c2beb5334
commit 4fcd3523b7
7 changed files with 63 additions and 4 deletions

View file

@ -302,6 +302,10 @@ export default class LayerConfig {
this.filters = (json.filter ?? []).map((option, i) => {
return new FilterConfig(option, `${context}.filter-[${i}]`)
});
if(json["filters"] !== undefined){
throw "Error in "+context+": use 'filter' instead of 'filters'"
}
const titleIcons = [];
const defaultIcons = [