mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-06-15 10:44:42 -04:00
Build 29141053
This commit is contained in:
parent
369e2d7abd
commit
8290c5c157
12 changed files with 20 additions and 19 deletions
|
@ -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}`)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue