[jboss-cvs] jboss-seam/examples/wiki/view/plugins/feedTeasers ...
Christian Bauer
christian at hibernate.org
Fri Oct 12 12:31:29 EDT 2007
User: cbauer
Date: 07/10/12 12:31:29
Modified: examples/wiki/view/plugins/feedTeasers plugin.xhtml
Log:
Internationalized almost all strings
Revision Changes Path
1.11 +5 -3 jboss-seam/examples/wiki/view/plugins/feedTeasers/plugin.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: plugin.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/view/plugins/feedTeasers/plugin.xhtml,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- plugin.xhtml 24 Sep 2007 08:23:23 -0000 1.10
+++ plugin.xhtml 12 Oct 2007 16:31:29 -0000 1.11
@@ -36,7 +36,7 @@
<h:outputText value="#{fe.updatedDate}"><f:convertDateTime pattern="dd. MMM yyyy, HH:mm" timeZone="#{wikiPreferences.timeZone}"/></h:outputText>
<h:outputText value=" #{wikiPreferences.timeZone}"/>
</s:span>
- <s:span rendered="#{feedTeasersPreferences.properties['showAuthor']}">, by 
+ <s:span rendered="#{feedTeasersPreferences.properties['showAuthor']}">, #{messages['feedTeasers.label.By']} 
<h:outputLink target="_top" value="#{wiki:renderHomeURL(fe.document.createdBy)}"
rendered="#{!empty fe.document.createdBy.memberHome}">
<h:outputText styleClass="teaserAuthorLink" value="#{fe.document.createdBy.fullname}"/>
@@ -47,7 +47,9 @@
<s:span rendered="#{fe.document.enableComments and wiki:sizeOf(fe.document.comments) > 0}" styleClass="undecoratedLink">
<h:outputLink target="_top" styleClass="feedTeaserComments" value="#{wiki:renderPermLink(fe.document)}#comments">
#{wiki:sizeOf(fe.document.comments)} 
- <h:outputText value="#{wiki:sizeOf(fe.document.comments)>1 ? 'comments' : 'comment'}"/>
+ <h:outputText value="#{wiki:sizeOf(fe.document.comments)>1
+ ? messages['lacewiki.label.commentsDisplay.Comments']
+ : messages['lacewiki.label.commentsDisplay.Comment']}"/>
</h:outputLink>
</s:span>
</div>
@@ -61,7 +63,7 @@
<h:outputLink target="_top" styleClass="teaserBody"
value="#{fe.link}"
rendered="#{wiki:length(fe.descriptionValueStripped) > feedTeasersPreferences.properties['truncateDescription']}">
-  more...
+  #{messages['feedTeasers.label.More']}
</h:outputLink>
</h:column>
More information about the jboss-cvs-commits
mailing list