diff --git a/Tools/Source/MigrationTools/org/tianocore/migration/ModuleInfo.java b/Tools/Source/MigrationTools/org/tianocore/migration/ModuleInfo.java index fa1843f15e..220b3e8d40 100644 --- a/Tools/Source/MigrationTools/org/tianocore/migration/ModuleInfo.java +++ b/Tools/Source/MigrationTools/org/tianocore/migration/ModuleInfo.java @@ -81,7 +81,7 @@ public class ModuleInfo { dirScan(""); String filename = null; if (msaorinf.isEmpty()) { - ui.println("No .inf nor .msa file found! Tool Halt!"); + ui.println("No INF nor MSA file found!"); System.exit(0); } else { filename = ui.choose("Found .inf or .msa file in the module\nChoose one Please", msaorinf.toArray()); @@ -99,7 +99,7 @@ public class ModuleInfo { new SourceFileReplacer(modulepath, this, db, ui).flush(); // some adding library actions are taken here,so it must be put before "MsaWriter" // show result - if (ui.yesOrNo("Parse Module Information Complete . See details ?")) { + if (ui.yesOrNo("Parse of the Module Information has completed. View details?")) { ui.println("\nModule Information : "); ui.println("Entrypoint : " + entrypoint); show(protocol, "Protocol : "); @@ -122,8 +122,8 @@ public class ModuleInfo { ui.println("Errors Left : " + db.error); ui.println("Complete!"); - ui.println("Your R9 module is placed at " + modulepath + File.separator + "result"); - ui.println("Your logfile is placed at " + modulepath); + ui.println("Your R9 module was placed here: " + modulepath + File.separator + "result"); + ui.println("Your logfile was placed here: " + modulepath); } private void show(Set hash, String show) { diff --git a/Tools/Source/MigrationTools/org/tianocore/migration/SourceFileReplacer.java b/Tools/Source/MigrationTools/org/tianocore/migration/SourceFileReplacer.java index 34eb6be454..dbe981ef94 100644 --- a/Tools/Source/MigrationTools/org/tianocore/migration/SourceFileReplacer.java +++ b/Tools/Source/MigrationTools/org/tianocore/migration/SourceFileReplacer.java @@ -71,7 +71,7 @@ public class SourceFileReplacer { PrintWriter outfile; String outname = null; String inname = null; - if (ui.yesOrNo("Change Source Code is to be doing . See details ?")) { + if (ui.yesOrNo("Changes will be made to the Source Code. View details?")) { showdetails = true; } @@ -84,7 +84,7 @@ public class SourceFileReplacer { } else { outname = inname; } - ui.println("\nModifying file : " + inname); + ui.println("\nModifying file: " + inname); mi.ensureDir(modulepath + File.separator + "result" + File.separator + outname); outfile = new PrintWriter(new BufferedWriter(new FileWriter(modulepath + File.separator + "result" + File.separator + outname))); outfile.append(sourcefilereplace(modulepath + File.separator + "temp" + File.separator + inname)); @@ -96,7 +96,7 @@ public class SourceFileReplacer { } else { outname = inname; } - ui.println("\nCopying file : " + inname); + ui.println("\nCopying file: " + inname); mi.ensureDir(modulepath + File.separator + "result" + File.separator + outname); outfile = new PrintWriter(new BufferedWriter(new FileWriter(modulepath + File.separator + "result" + File.separator + outname))); outfile.append(sourcefiletostring(modulepath + File.separator + "temp" + File.separator + inname)); @@ -173,7 +173,7 @@ public class SourceFileReplacer { // replace BS -> gBS , RT -> gRT Matcher mat = pat.matcher(line); if (mat.find()) { // add a library here - ui.println("Converting all BS->gBS,RT->gRT"); + ui.println("Converting all BS->gBS, RT->gRT"); line = mat.replaceAll("g$1$2$3"); //unknown correctiveness } mat.reset();