Author: thomas.heute(a)jboss.com
Date: 2007-02-13 06:35:34 -0500 (Tue, 13 Feb 2007)
New Revision: 6243
Added:
trunk/core-search/src/resources/portal-search-war/WEB-INF/classes/
trunk/core-search/src/resources/portal-search-war/WEB-INF/classes/Resource.properties
Modified:
trunk/core-search/src/resources/portal-search-war/WEB-INF/default-object.xml
trunk/core-search/src/resources/portal-search-war/WEB-INF/portlet.xml
Log:
Search portlet localization (easiest part of)
Added:
trunk/core-search/src/resources/portal-search-war/WEB-INF/classes/Resource.properties
===================================================================
--- trunk/core-search/src/resources/portal-search-war/WEB-INF/classes/Resource.properties
(rev 0)
+++
trunk/core-search/src/resources/portal-search-war/WEB-INF/classes/Resource.properties 2007-02-13
11:35:34 UTC (rev 6243)
@@ -0,0 +1,25 @@
+################################################################################
+# JBoss, a division of Red Hat #
+# Copyright 2006, Red Hat Middleware, LLC, and individual #
+# contributors as indicated by the @authors tag. See the #
+# copyright.txt in the distribution for a full listing of #
+# individual contributors. #
+# #
+# This is free software; you can redistribute it and/or modify it #
+# under the terms of the GNU Lesser General Public License as #
+# published by the Free Software Foundation; either version 2.1 of #
+# the License, or (at your option) any later version. #
+# #
+# This software is distributed in the hope that it will be useful, #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU #
+# Lesser General Public License for more details. #
+# #
+# You should have received a copy of the GNU Lesser General Public #
+# License along with this software; if not, write to the Free #
+# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA #
+# 02110-1301 USA, or see the FSF site:
http://www.fsf.org. #
+################################################################################
+
+SEARCH_SEARCH=Search
+
\ No newline at end of file
Modified: trunk/core-search/src/resources/portal-search-war/WEB-INF/default-object.xml
===================================================================
---
trunk/core-search/src/resources/portal-search-war/WEB-INF/default-object.xml 2007-02-13
03:52:54 UTC (rev 6242)
+++
trunk/core-search/src/resources/portal-search-war/WEB-INF/default-object.xml 2007-02-13
11:35:34 UTC (rev 6243)
@@ -30,7 +30,7 @@
<deployment>
<parent-ref>default</parent-ref>
<page>
- <page-name>default</page-name>
+ <page-name>search</page-name>
<window>
<window-name>SearchPortletWindow</window-name>
<instance-ref>SearchPortletInstance</instance-ref>
Modified: trunk/core-search/src/resources/portal-search-war/WEB-INF/portlet.xml
===================================================================
--- trunk/core-search/src/resources/portal-search-war/WEB-INF/portlet.xml 2007-02-13
03:52:54 UTC (rev 6242)
+++ trunk/core-search/src/resources/portal-search-war/WEB-INF/portlet.xml 2007-02-13
11:35:34 UTC (rev 6243)
@@ -37,6 +37,8 @@
<mime-type>text/html</mime-type>
<portlet-mode>VIEW</portlet-mode>
</supports>
+ <supported-locale>en</supported-locale>
+ <resource-bundle>Resource</resource-bundle>
<portlet-info>
<title>Search Portlet</title>
</portlet-info>