Fixed grammar in messages.
[mirror_edk2.git] / Tools / Source / MigrationTools / org / tianocore / migration / SourceFileReplacer.java
index 6f56e51969c0706a00c870046316be2306b8a2e5..2df0ffd104b4d9be5788873ffeb8c443875ae9b3 100644 (file)
@@ -70,7 +70,7 @@ public class SourceFileReplacer {
        public void flush() throws Exception {\r
                PrintWriter outfile;\r
                String temp = null;\r
-               if (ui.yesOrNo("Change Source Code is to be doing . See details ?")) {\r
+               if (ui.yesOrNo("Changes will be made to the Source Code.  View details?")) {\r
                        showdetails = true;\r
                }\r
                File tempdir = new File(modulepath + File.separator + "result" + File.separator);\r
@@ -78,7 +78,7 @@ public class SourceFileReplacer {
                String[] list = new File(modulepath + File.separator + "temp").list();  //what I change is the non-local .h commented-out files\r
                for (int i = 0 ; i < list.length ; i++) {\r
                        if (list[i].contains(".c")) {\r
-                               ui.println("\nModifying file : " + list[i]);\r
+                               ui.println("\nModifying file: " + list[i]);\r
                                outfile = new PrintWriter(new BufferedWriter(new FileWriter(modulepath + File.separator + "result" + File.separator + list[i])));\r
                                outfile.append(sourcefilereplace(modulepath + File.separator + "temp" + File.separator + list[i]));\r
                                outfile.flush();\r
@@ -93,7 +93,7 @@ public class SourceFileReplacer {
                                } else {\r
                                        continue;\r
                                }\r
-                               ui.println("\nCopying file : " + temp);\r
+                               ui.println("\nCopying file: " + temp);\r
                                outfile = new PrintWriter(new BufferedWriter(new FileWriter(modulepath + File.separator + "result" + File.separator + temp)));\r
                                outfile.append(sourcefiletostring(modulepath + File.separator + "temp" + File.separator + list[i]));\r
                                outfile.flush();\r
@@ -167,7 +167,7 @@ public class SourceFileReplacer {
                // replace BS -> gBS , RT -> gRT\r
                Matcher mat = pat.matcher(line);\r
                if (mat.find()) {                                                                                               // add a library here\r
-                       ui.println("Converting all BS->gBS,RT->gRT");\r
+                       ui.println("Converting all BS->gBS, RT->gRT");\r
                        line = mat.replaceAll("g$1$2$3");                                                       //unknown correctiveness\r
                }\r
                mat.reset();\r