mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
🐛 Fix encoding issue on reading po files.
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user