Author: phuong_vu
Date: 2011-02-14 05:31:51 -0500 (Mon, 14 Feb 2011)
New Revision: 5876
Modified:
portal/branches/branch-GTNPORTAL-1790/examples/extension/war/src/main/webapp/WEB-INF/classes/locale/portal/sample_en.properties
portal/branches/branch-GTNPORTAL-1790/examples/extension/war/src/main/webapp/templates/groovy/webui/component/UIHomePagePortlet.gtmpl
portal/branches/branch-GTNPORTAL-1790/examples/portal/war/src/main/webapp/WEB-INF/classes/locale/portal/sample_en.properties
portal/branches/branch-GTNPORTAL-1790/examples/portal/war/src/main/webapp/templates/groovy/webui/component/UIHomePagePortlet.gtmpl
Log:
GTNPORTAL-1748 IntroText on HomePagePortlet is not translated when
gatein-sample-extensions are deployed
Modified:
portal/branches/branch-GTNPORTAL-1790/examples/extension/war/src/main/webapp/WEB-INF/classes/locale/portal/sample_en.properties
===================================================================
---
portal/branches/branch-GTNPORTAL-1790/examples/extension/war/src/main/webapp/WEB-INF/classes/locale/portal/sample_en.properties 2011-02-14
09:55:55 UTC (rev 5875)
+++
portal/branches/branch-GTNPORTAL-1790/examples/extension/war/src/main/webapp/WEB-INF/classes/locale/portal/sample_en.properties 2011-02-14
10:31:51 UTC (rev 5876)
@@ -17,4 +17,5 @@
# 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
#
-UIHomePagePortlet.Label.SampleRB.SampleKey=This is a new key from the new Resource Bundle
"locale.portal.sample" of "sample-ext"
\ No newline at end of file
+UIHomePagePortlet.Label.SampleRB.SampleKey=This is a new key from the new Resource Bundle
"locale.portal.sample" of "sample-ext"
+UIHomePagePortlet.Label.ExtendedHomePage=This is the Home Page of the
"sample-ext" (skin has changed, new pages, customized resource bundles) :
\ No newline at end of file
Modified:
portal/branches/branch-GTNPORTAL-1790/examples/extension/war/src/main/webapp/templates/groovy/webui/component/UIHomePagePortlet.gtmpl
===================================================================
---
portal/branches/branch-GTNPORTAL-1790/examples/extension/war/src/main/webapp/templates/groovy/webui/component/UIHomePagePortlet.gtmpl 2011-02-14
09:55:55 UTC (rev 5875)
+++
portal/branches/branch-GTNPORTAL-1790/examples/extension/war/src/main/webapp/templates/groovy/webui/component/UIHomePagePortlet.gtmpl 2011-02-14
10:31:51 UTC (rev 5876)
@@ -4,7 +4,7 @@
<div class="UIHomePagePortlet" id="$uicomponent.id">
<div class="TRContainer">
<div class="PortletDecoration">
- <div class="GuideText">GateIn is the new generation of Open Source
portal, jointly led by Red Hat and eXo Platform who partner to gather the best portal
experts and communities around a robust and intuitive portal that brings rich
administration functionalities to IT systems. <br /> This is the Home Page of the
"sample-ext" (skin has changed, new pages, customized resource bundles)
:</div>
+ <div
class="GuideText"><%=_ctx.appRes("UIHomePagePortlet.Label.IntroText")%>
<br />
<%=_ctx.appRes("UIHomePagePortlet.Label.ExtendedHomePage")%></div>
<a class="VersionIcon"
href="http://www.jboss.org/gatein/"
target="_blank"></a>
<div class="DotLine"><span></span></div>
<div
class="GuideText"><%=_ctx.appRes("UIHomePagePortlet.Label.GuideText")%></div>
Modified:
portal/branches/branch-GTNPORTAL-1790/examples/portal/war/src/main/webapp/WEB-INF/classes/locale/portal/sample_en.properties
===================================================================
---
portal/branches/branch-GTNPORTAL-1790/examples/portal/war/src/main/webapp/WEB-INF/classes/locale/portal/sample_en.properties 2011-02-14
09:55:55 UTC (rev 5875)
+++
portal/branches/branch-GTNPORTAL-1790/examples/portal/war/src/main/webapp/WEB-INF/classes/locale/portal/sample_en.properties 2011-02-14
10:31:51 UTC (rev 5876)
@@ -17,4 +17,5 @@
# 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
#
-UIHomePagePortlet.Label.SampleRB.SampleKey=This is a new key from the new Resource Bundle
"locale.portal.sample" of "sample-portal"
\ No newline at end of file
+UIHomePagePortlet.Label.SampleRB.SampleKey=This is a new key from the new Resource Bundle
"locale.portal.sample" of "sample-portal"
+UIHomePagePortlet.Label.ExtendedHomePage=This is the Home Page of the
"sample-portal" contained in gatein-sample-extension.ear/war, as you can see the
skin has changed, we added new pages, we use our customized resource bundles as you can
see below:
\ No newline at end of file
Modified:
portal/branches/branch-GTNPORTAL-1790/examples/portal/war/src/main/webapp/templates/groovy/webui/component/UIHomePagePortlet.gtmpl
===================================================================
---
portal/branches/branch-GTNPORTAL-1790/examples/portal/war/src/main/webapp/templates/groovy/webui/component/UIHomePagePortlet.gtmpl 2011-02-14
09:55:55 UTC (rev 5875)
+++
portal/branches/branch-GTNPORTAL-1790/examples/portal/war/src/main/webapp/templates/groovy/webui/component/UIHomePagePortlet.gtmpl 2011-02-14
10:31:51 UTC (rev 5876)
@@ -4,7 +4,7 @@
<div class="UIHomePagePortlet" id="$uicomponent.id">
<div class="TRContainer">
<div class="PortletDecoration">
- <div class="GuideText">This is the Home Page of the
"sample-portal" contained in gatein-sample-extension.ear/war, as you can see the
skin has changed, we added new pages, we use our customized resource bundles as you can
see below:
+ <div
class="GuideText"><%=_ctx.appRes("UIHomePagePortlet.Label.ExtendedHomePage")%>
<ul>
<li><b><%=_ctx.appRes("UIHomePagePortlet.Label.SampleKey")%></b></li>
<li><b><%=_ctx.appRes("UIHomePagePortlet.Label.SampleRB.SampleKey")%></b></li>