diff options
author | alfred <alfred@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-08-15 04:32:05 +0000 |
---|---|---|
committer | alfred <alfred@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-08-15 04:32:05 +0000 |
commit | c5d67e99c517cfda0159401d40ce50391f28e744 (patch) | |
tree | 13b24c27386fc50da84d8ad15d50db9bf5148281 | |
parent | 22991bacb9c62ee8fb2568227b56c353ecffe05a (diff) | |
download | edk2-c5d67e99c517cfda0159401d40ce50391f28e744.zip edk2-c5d67e99c517cfda0159401d40ce50391f28e744.tar.gz edk2-c5d67e99c517cfda0159401d40ce50391f28e744.tar.bz2 |
Follow changes on grammar in messages by Larry
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1263 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | Tools/Source/MigrationTools/org/tianocore/migration/ModuleInfo.java | 8 | ||||
-rw-r--r-- | Tools/Source/MigrationTools/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<String> 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();
|