Translate dates.

pull/763/head
Fredrik Jönsson 10 years ago
parent 7dbfa37887
commit 0b4e584533

@ -20,7 +20,6 @@
<script type="text/javascript" src="resources/js/lib/backbone.js"></script>
<script type="text/javascript" src="resources/js/lib/purl.js"></script>
<script type="text/javascript" src="resources/js/lib/bootstrapx-clickover.js"></script>
<script type="text/javascript" src="resources/js/lib/moment.js"></script>
<script type="text/javascript" src="resources/js/lib/bootstrap-sheet.js"></script>
<script type="text/javascript" src="resources/js/lib/bootpag.js"></script>
<c:if test="${js != null && js != ''}">

@ -34,6 +34,7 @@
<!-- Load jQuery up here so that we can use in-page functions -->
<script type="text/javascript" src="resources/js/lib/jquery.js"></script>
<script type="text/javascript" charset="UTF-8" src="resources/js/lib/moment-with-locales.js"></script>
<script type="text/javascript" src="resources/js/lib/i18next-1.7.7.js"></script>
<script type="text/javascript">
$.i18n.init({
@ -41,6 +42,7 @@
lng: "${pageContext.response.locale}",
resGetPath: "resources/js/locale/__lng__/messages.json"
});
moment.locale("${pageContext.response.locale}");
// safely set the title of the application
function setPageTitle(title) {
document.title = "${config.topbarTitle} - " + title;

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save