Browse Source

InfoPlist.strings function

Ozancan Karataş 5 years ago
parent
commit
4717f2ce0a
1 changed files with 2 additions and 2 deletions
  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;