Explorar o código

InfoPlist.strings function

Ozancan Karataş %!s(int64=5) %!d(string=hai) anos
pai
achega
4717f2ce0a
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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;