0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-11 01:28:30 -05:00

🐛 Fix encoding issue on reading po files.

This commit is contained in:
Andrey Antukh 2021-04-23 12:57:33 +02:00
parent adff40a4e7
commit 3583eb6aa9

View file

@ -36,7 +36,7 @@ function readLocales() {
const result = {};
for (let lang of langs) {
const content = fs.readFileSync(`./translations/${lang}.po`);
const content = fs.readFileSync(`./translations/${lang}.po`, {encoding:"utf-8"});
lang = lang.toLowerCase();