Skip to content

Commit 7142b22

Browse files
authored
Merge pull request #872 from zfi/demo
Embed application and build numbers into the internationalization file
2 parents 638a661 + d4848a4 commit 7142b22

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/main/resources/com/parallax/server/blocklyprop/internationalization/translations.properties

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,10 @@ footer.licenselink = License
2626
footer.changelog = Change log
2727
footer.librarieslink = External libraries
2828
footer.clientdownloadlink = BlocklyProp-client
29-
footer.appversion = v0.93
30-
footer.buildversion = 252
29+
30+
application.major = 0
31+
application.minor = 94
32+
application.build = 296
3133

3234
html.content_missing = Content missing
3335

src/main/webapp/WEB-INF/includes/pageparts/footer.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<ul class="nav navbar-nav navbar-right">
2323
<jsp:useBean id="date" class="java.util.Date" />
2424
<li><a href="http://www.parallax.com" target="_blank">
25-
<fmt:message key="footer.appversion" />.<fmt:message key="footer.buildversion" />
25+
V<fmt:message key="application.major" />.<fmt:message key="application.minor" />.<fmt:message key="application.build" />
2626
Parallax &copy; 2015 - <fmt:formatDate value="${date}" pattern="yyyy" /></a></li>
2727
</ul>
2828
</div>

0 commit comments

Comments
 (0)