WEB-146 - fixed some code references to English, not reference en

This commit is contained in:
Bruce Mayhew 2014-09-19 11:27:40 -06:00
parent d07e52d5e0
commit 13a95c3b24
3 changed files with 3 additions and 3 deletions

View File

@ -114,7 +114,7 @@ public abstract class AbstractLesson extends Screen implements Comparable<Object
private LinkedList<String> availableLanguages = new LinkedList<String>(); private LinkedList<String> availableLanguages = new LinkedList<String>();
private String defaultLanguage = "English"; private String defaultLanguage = "en";
/** /**
* Constructor for the Lesson object * Constructor for the Lesson object

View File

@ -123,7 +123,7 @@ public class CommandInjection extends LessonAdapter
illegalCommand = false; illegalCommand = false;
} }
} }
File safeDir = new File(s.getContext().getRealPath("/lesson_plans/English")); File safeDir = new File(s.getContext().getRealPath("/lesson_plans/en"));
ec.addElement(new StringElement(WebGoatI18N.get("YouAreCurrentlyViewing")+"<b>" ec.addElement(new StringElement(WebGoatI18N.get("YouAreCurrentlyViewing")+"<b>"
+ (helpFile.toString().length() == 0 ? "&lt;"+WebGoatI18N.get("SelectFileFromListBelow")+"&gt;" : helpFile.toString()) + (helpFile.toString().length() == 0 ? "&lt;"+WebGoatI18N.get("SelectFileFromListBelow")+"&gt;" : helpFile.toString())

View File

@ -67,7 +67,7 @@ public class PathBasedAccessControl extends LessonAdapter
try try
{ {
String dir = s.getContext().getRealPath("/lesson_plans/English"); String dir = s.getContext().getRealPath("/lesson_plans/en");
File d = new File(dir); File d = new File(dir);
Table t = new Table().setCellSpacing(0).setCellPadding(2).setWidth("90%").setAlign("center"); Table t = new Table().setCellSpacing(0).setCellPadding(2).setWidth("90%").setAlign("center");