Fix i18n
This commit is contained in:
@ -34,7 +34,7 @@ crawl(".").forEach(filePath => {
|
||||
|
||||
const [, typeOfPage, language] = match;
|
||||
|
||||
(record[typeOfPage] ??= {})[language] =
|
||||
(record[typeOfPage] ??= {})[language.replace(/_/g,"-")] =
|
||||
propertiesParser.parse(
|
||||
fs.readFileSync(filePath)
|
||||
.toString("utf8")
|
||||
|
Reference in New Issue
Block a user