mirror of
https://github.com/IT4Change/ohmyform-ui.git
synced 2025-12-13 09:45:50 +00:00
test crowdin
This commit is contained in:
parent
ca51b7ed2c
commit
6ac044342e
@ -54,7 +54,7 @@ const compare = (original, compareTo, path, file) => {
|
||||
dirs.forEach(dir => {
|
||||
const files: string[] = glob.sync(`${dir}*.json`)
|
||||
|
||||
const existingFiles = files.map(file => file.replace(/^.*\/([a-z]+)\.json$/, '$1'))
|
||||
const existingFiles = files.map(file => file.replace(/^.*\/([a-z]+)\.json$/, '$1')).push('language')
|
||||
Object
|
||||
.keys(all)
|
||||
.filter(file => !existingFiles.includes(file))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user