Julio Montoya hace 5 años
padre
commit
acd7065030
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      tests/scripts/lang/switch_files_to_gettext.php

+ 2 - 1
tests/scripts/lang/switch_files_to_gettext.php

@@ -59,7 +59,8 @@ foreach ($files as $file) {
                     $translation = $terms[$term];
                     $quotedTerm = $myTerms[1][0];
                     //echo "Would do sed -i \"s#$quotedTerm#'$translation'#g\" $file here\n";
-                    system("sed -i \"s#$term#'$translation'#g\" $file");
+                    //system("sed -i \"s#$term#'$translation'#g\" $file");
+                    system("sed -i \"s#$term#$translation#g\" $file");
                     $countReplaces++;
                 }
             }