This commit is contained in:
Joseph Garrone 2024-05-20 15:24:35 +02:00
parent 336813646f
commit 64fe15cf8c

View File

@ -56,7 +56,7 @@ async function main() {
(record[typeOfPage] ??= {})[language.replace(/_/g, "-")] = Object.fromEntries(
Object.entries(propertiesParser.parse(fs.readFileSync(pathJoin(baseThemeDirPath, filePath)).toString("utf8"))).map(
([key, value]: any) => [key, value.replace(/''/g, "'")]
([key, value]: any) => [key === "locale_pt_BR" ? "locale_pt-BR" : key, value.replace(/''/g, "'")]
)
);
});