ox-it/wl-feedback — pull request #37 by nicholaswilson100 (2014-09-16 08:52:39+00:00)
Title: WL-3606: Text wrong on 'ask for help' link

There are a few things I've done.

1. Combined the 2 existing properties files into 1 and moved it to the proper Maven structure (src/main/resources).
2. Changed the pom so that it uses the new resource location.
3. Made the properties file locale-specific. (my machine picks up the en_GB.properties file)
4. Get Oxford-specific properties like 'WebLearn' from the config rather than from .properties files.
5. Lastly, change the link text on 'Ask for Help?' box in the Contact Us tool so it's the same as the third Technical one - 'Report the problem to the {0} team'.

Couple of notes:
1. In FeedbackTool.java, there was duplicate code adding the resourcebundle as an attribute to the request which I've factored out.
Also, there were some properties in the bundle which require parameter substitution. These are held as a constant in the class now and you can add another one here if you wanted.
2. In FeedbackEntityProvider.java, I'm replacing an indexed parameter with the newline character because now I'm feeding a property with newline characters in it and javascript does not like them. Before we weren't putting these into javascript (the properties file was only accessed after the email was submitted).