Ozancan Karataş 5 лет назад
Родитель
Сommit
4717f2ce0a
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      tools/convertTranslations.js

+ 2 - 2
tools/convertTranslations.js

@@ -161,8 +161,8 @@ function toInfoPlistStrings(lines) {
         if (!key.startsWith("INFOPLIST.")) {
           continue;
         }
-        key = key.replace('INFOPLIST.', '').replace(/\./gi, ' ').replace(/\_/gi, '-');
-        out += `"${key}" = "${line[1]}";\n`;
+        key = key.replace('INFOPLIST.', '');
+        out += `${key} = "${line[1]}";\n`;
       }
     }
     return out;