Merge branch 'master' into uma
commit
06ae8545ae
|
@ -50,9 +50,9 @@ public class ConfigurationPropertiesBean {
|
||||||
|
|
||||||
private Long regTokenLifeTime;
|
private Long regTokenLifeTime;
|
||||||
|
|
||||||
private boolean forceHttps = false;
|
private boolean forceHttps = false; // by default we just log a warning for HTTPS deployment
|
||||||
|
|
||||||
private Locale locale = Locale.getDefault();
|
private Locale locale = Locale.ENGLISH; // we default to the english translation
|
||||||
|
|
||||||
public ConfigurationPropertiesBean() {
|
public ConfigurationPropertiesBean() {
|
||||||
|
|
||||||
|
|
|
@ -39,10 +39,10 @@
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$.i18n.init({
|
$.i18n.init({
|
||||||
fallbackLng: "en",
|
fallbackLng: "en",
|
||||||
lng: "${pageContext.response.locale}",
|
lng: "${config.locale}",
|
||||||
resGetPath: "resources/js/locale/__lng__/messages.json"
|
resGetPath: "resources/js/locale/__lng__/messages.json"
|
||||||
});
|
});
|
||||||
moment.locale("${pageContext.response.locale}");
|
moment.locale("${config.locale}");
|
||||||
// safely set the title of the application
|
// safely set the title of the application
|
||||||
function setPageTitle(title) {
|
function setPageTitle(title) {
|
||||||
document.title = "${config.topbarTitle} - " + title;
|
document.title = "${config.topbarTitle} - " + title;
|
||||||
|
|
Loading…
Reference in New Issue