WEB-146 - fixed some code references to English, not reference en
This commit is contained in:
parent
d07e52d5e0
commit
13a95c3b24
@ -114,7 +114,7 @@ public abstract class AbstractLesson extends Screen implements Comparable<Object
|
||||
|
||||
private LinkedList<String> availableLanguages = new LinkedList<String>();
|
||||
|
||||
private String defaultLanguage = "English";
|
||||
private String defaultLanguage = "en";
|
||||
|
||||
/**
|
||||
* Constructor for the Lesson object
|
||||
|
@ -123,7 +123,7 @@ public class CommandInjection extends LessonAdapter
|
||||
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>"
|
||||
+ (helpFile.toString().length() == 0 ? "<"+WebGoatI18N.get("SelectFileFromListBelow")+">" : helpFile.toString())
|
||||
|
@ -67,7 +67,7 @@ public class PathBasedAccessControl extends LessonAdapter
|
||||
|
||||
try
|
||||
{
|
||||
String dir = s.getContext().getRealPath("/lesson_plans/English");
|
||||
String dir = s.getContext().getRealPath("/lesson_plans/en");
|
||||
File d = new File(dir);
|
||||
|
||||
Table t = new Table().setCellSpacing(0).setCellPadding(2).setWidth("90%").setAlign("center");
|
||||
|
Loading…
x
Reference in New Issue
Block a user