From f7fee0ea9d9241f25235fa5dc91d3af92119e028 Mon Sep 17 00:00:00 2001 From: alfred Date: Tue, 15 Aug 2006 04:43:21 +0000 Subject: Re-Follow... git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1265 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Source/MigrationTools/org/tianocore/migration/ModuleInfo.java | 8 ++++---- .../org/tianocore/migration/SourceFileReplacer.java | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Tools/Source/MigrationTools/org/tianocore/migration/ModuleInfo.java b/Tools/Source/MigrationTools/org/tianocore/migration/ModuleInfo.java index fa1843f..220b3e8 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 34eb6be..dbe981e 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(); -- cgit v1.1