-
Notifications
You must be signed in to change notification settings - Fork 329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[jungle] fixing i18n messages #861
Merged
Merged
Changes from 5 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
963b80f
removing extra setLocale
Turini e67878e
removing missed i closed tag
Turini 29b87d3
fixing i18n on header and login pages
Turini b09a018
removing more hardcoded messages
Turini 649b96e
fixing language menu
Turini 7306074
fixing charset
Turini File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> | ||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> | ||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> | ||
|
||
</div> | ||
|
||
<div class="footer v-footer"> | ||
<p> | ||
<a href="http://www.apache.org/licenses/LICENSE-2.0"> | ||
Licença Apache | ||
</a> | VRaptor @2013 Caelum - Ensino e Inovação | ||
<fmt:message key="licence" /> | ||
</a> | VRaptor @2013 Caelum - Ensino e Inova��o | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hmm, I see a charset problem here. |
||
</p> | ||
</div> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,18 +25,21 @@ | |
<body> | ||
<c:set var="path"><c:url value="/"/></c:set> | ||
|
||
<fmt:setLocale value="${locale}"/> | ||
|
||
<c:if test="${not empty param.language}"> | ||
<c:set var="lang" value="${param.language}" scope="session"/> | ||
<fmt:setLocale value="${param.language}" scope="session"/> | ||
</c:if> | ||
|
||
<div class="navbar navbar-default"> | ||
<div class="navbar-inner"> | ||
<div class="collapse navbar-collapse navbar-ex1-collapse"> | ||
<ul class="nav navbar-nav"> | ||
<li class="active"><a href="${path}"></i> Home</a></li> | ||
<li><a href="${path}"></i> About</a></li> | ||
<li class="active"> | ||
<a href="${path}"> <fmt:message key="menu.home"/> </a> | ||
</li> | ||
<li> | ||
<a href="${path}"> <fmt:message key="menu.about"/> </a> | ||
</li> | ||
<li> | ||
<a href="${linkTo[UsersController].list}"> | ||
<fmt:message key="list_users" /> | ||
|
@@ -51,13 +54,17 @@ | |
|
||
<ul class="nav navbar-nav"> | ||
<li class="divider-vertical"></li> | ||
<li class="active"><a href="?language=en">ENGLISH</a></li> | ||
<li><a href="?language=pt_BR">PORTUGU�S</a></li> | ||
<li class="${lang eq 'en' ? 'active' : ''}"> | ||
<a href="?language=en">ENGLISH</a> | ||
</li> | ||
<li class="${lang eq 'pt_BR' ? 'active' : ''}"> | ||
<a href="?language=pt_BR">PORTUGU�S</a> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Charset problem here too. |
||
</li> | ||
<li class="divider-vertical"></li> | ||
</ul> | ||
|
||
<span class="pull-right ${not empty userInfo.user ? '' : 'hidden'}"> | ||
${userInfo.user.name} (<a href="${linkTo[HomeController].logout}">Logout</a>) | ||
${userInfo.user.name} (<a href="${linkTo[HomeController].logout}"><fmt:message key="logout"/></a>) | ||
</span> | ||
</div> | ||
</div> | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ohh no :)