mirror of
https://github.com/penpot/penpot.git
synced 2025-06-03 14:41:37 +02:00
🐛 Fix encoding issue on reading po files.
This commit is contained in:
parent
adff40a4e7
commit
3583eb6aa9
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ function readLocales() {
|
||||||
const result = {};
|
const result = {};
|
||||||
|
|
||||||
for (let lang of langs) {
|
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();
|
lang = lang.toLowerCase();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue