Disable article addition in lint script

This commit is contained in:
pietervdvn 2022-06-07 14:01:27 +02:00
parent cc55c239b7
commit 1596e23ac6

View file

@ -50,6 +50,9 @@ function addArticleToPresets(layerConfig: {presets?: {title: any}[]}){
if(txt.startsWith(article+" ")){ if(txt.startsWith(article+" ")){
return txt; return txt;
} }
if(txt.startsWith("an ")){
return txt;
}
return article +" " + txt.toLowerCase(); return article +" " + txt.toLowerCase();
}) })
.translations .translations