Build 29141053

This commit is contained in:
Renan LE CARO 2025-05-28 22:13:29 +02:00
parent 369e2d7abd
commit 8290c5c157
12 changed files with 20 additions and 19 deletions

View file

@ -5,7 +5,7 @@ for(let filename of files){
if(!filename.endsWith('.json')) continue
const content = JSON.parse(fs.readFileSync(`./src/i18n/${filename}`))
for(let key in content){
if(content[key].match(/<|>|http|puck|palet|퍽|disco|шайба|冰球|rondelle/gi)){
if(content[key].match( /<|>|http|\bpuck\b|\bpalet\b|퍽|\bdisco\b|шайба|冰球|rondelle/gi,)){
content[key]=''
console.log(`Removed ${key} of ${filename}`)
}