Julio Montoya 5 年之前
父節點
當前提交
acd7065030
共有 1 個文件被更改,包括 2 次插入1 次删除
  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++;
                 }
             }