Revision: 18480
Author:   wko
Date:     2009-06-11 13:26:03 +0200 (Thu, 11 Jun 2009)
Log Message:
-----------
HSTTWO-627: Adding basic i18n

Modified Paths:
--------------
    
ecm/site-toolkit/trunk/testsuite/site/src/main/resources/org/hippoecm/hst/wicketexamples/WicketContentBrowserPage.html

Added Paths:
-----------
    
ecm/site-toolkit/trunk/testsuite/site/src/main/resources/org/hippoecm/hst/wicketexamples/WicketContentBrowserPage.properties
    
ecm/site-toolkit/trunk/testsuite/site/src/main/resources/org/hippoecm/hst/wicketexamples/WicketContentBrowserPage_en.properties

Modified: 
ecm/site-toolkit/trunk/testsuite/site/src/main/resources/org/hippoecm/hst/wicketexamples/WicketContentBrowserPage.html
===================================================================
--- 
ecm/site-toolkit/trunk/testsuite/site/src/main/resources/org/hippoecm/hst/wicketexamples/WicketContentBrowserPage.html
      2009-06-11 11:16:45 UTC (rev 18479)
+++ 
ecm/site-toolkit/trunk/testsuite/site/src/main/resources/org/hippoecm/hst/wicketexamples/WicketContentBrowserPage.html
      2009-06-11 11:26:03 UTC (rev 18480)
@@ -34,7 +34,7 @@
 
 <body>
 
-<h1>Current path: <span wicket:id="currentRelativePath">Current Relative 
Path</span></h1>
+<h1><wicket:message key="label.current.path"/><span 
wicket:id="currentRelativePath"> Current Relative Path</span></h1>
 
 <hr/>
     
@@ -42,13 +42,13 @@
     
 <table class="content-browser">
        <tr class="content-browser">
-               <th class="content-browser">Name</th>
-               <th class="content-browser">Primary Type</th>
-               <th class="content-browser">UUID</th>
-               <th class="content-browser">Content</th>
+               <th class="content-browser"><wicket:message 
key="label.name"/></th>
+               <th class="content-browser"><wicket:message 
key="label.primaryType"/></th>
+               <th class="content-browser"><wicket:message 
key="label.uuid"/></th>
+               <th class="content-browser"><wicket:message 
key="label.content"/></th>
        </tr>
     <tr class="content-browser">
-        <td class="content-browser" colspan="4"><em><a href='#' 
wicket:id='parentLink'>.. (go to parent)</a></em></td>
+        <td class="content-browser" colspan="4"><em><a href='#' 
wicket:id='parentLink'><wicket:message key="label.goto.parent"/></a></em></td>
     </tr>
        <tr wicket:id="itemView" class="content-browser">
                <td class="content-browser"><a href='#' 
wicket:id='nameLink'><span wicket:id="name" 
class="content-browser">name</span></a></td>
@@ -63,22 +63,22 @@
 
 <hr/>
 
-<h2>Search Contents</h2>
+<h2><wicket:message key="label.search"/></h2>
 <form wicket:id="searchForm">
-    <input type="text" wicket:id="searchQuery"/><input type="submit" 
wicket:id="search" value="Search"/>
+    <input type="text" wicket:id="searchQuery"/><input type="submit" 
wicket:id="search" />
 </form>
 
 <table class="content-browser">
     <tr class="content-browser">
-        <th class="content-browser">Name</th>
-        <th class="content-browser">Primary Type</th>
-           <th class="content-browser">UUID</th>
-        <th class="content-browser">Content</th>
+        <th class="content-browser"><wicket:message key="label.name"/></th>
+        <th class="content-browser"><wicket:message 
key="label.primaryType"/></th>
+        <th class="content-browser"><wicket:message key="label.uuid"/></th>
+        <th class="content-browser"><wicket:message key="label.content"/></th>
     </tr>
     <tr wicket:id="searchedItemView" class="content-browser">
         <td class="content-browser"><a href='#' wicket:id='nameLink'><span 
wicket:id="name" class="content-browser">name</span></a></td>
         <td class="content-browser"><span wicket:id="primaryNodeTypeName" 
class="content-browser">primaryNodeTypeName</span></td>
-           <td class="content-browser"><span wicket:id="uuid" 
class="content-browser">UUID</span></td>
+        <td class="content-browser"><span wicket:id="uuid" 
class="content-browser">UUID</span></td>
         <td class="content-browser"><span wicket:id="content" 
class="content-browser">Content</span></td>
     </tr>
     <tr class="content-browser">
@@ -88,7 +88,7 @@
 
 <hr/>
 
-<em>Wicket Content Browser Example</em>
+<em><wicket:message key="label.footer"/></em>
 
 </body>
 

Added: 
ecm/site-toolkit/trunk/testsuite/site/src/main/resources/org/hippoecm/hst/wicketexamples/WicketContentBrowserPage.properties
===================================================================
--- 
ecm/site-toolkit/trunk/testsuite/site/src/main/resources/org/hippoecm/hst/wicketexamples/WicketContentBrowserPage.properties
                                (rev 0)
+++ 
ecm/site-toolkit/trunk/testsuite/site/src/main/resources/org/hippoecm/hst/wicketexamples/WicketContentBrowserPage.properties
        2009-06-11 11:26:03 UTC (rev 18480)
@@ -0,0 +1,24 @@
+#
+#  Copyright 2008 Hippo
+#
+#  Licensed under the Apache License, Version 2.0 (the  "License");
+#  you may not use this file except in compliance with the License.
+#  You may obtain a copy of the License at
+#
+#  http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing, software
+#  distributed under the License is distributed on an "AS IS"
+#  BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 
implied.
+#  See the License for the specific language governing permissions and
+#  limitations under the License.
+#
+
+label.current.path = Current Path:
+label.name = Name
+label.primaryType = Primary Type 
+label.uuid = UUID
+label.content = Content
+label.goto.parent = .. (go to parent)
+label.search = Search Contents
+label.footer = Wicket Content Browser Example
\ No newline at end of file


Property changes on: 
ecm/site-toolkit/trunk/testsuite/site/src/main/resources/org/hippoecm/hst/wicketexamples/WicketContentBrowserPage.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: 
ecm/site-toolkit/trunk/testsuite/site/src/main/resources/org/hippoecm/hst/wicketexamples/WicketContentBrowserPage_en.properties
===================================================================
--- 
ecm/site-toolkit/trunk/testsuite/site/src/main/resources/org/hippoecm/hst/wicketexamples/WicketContentBrowserPage_en.properties
                             (rev 0)
+++ 
ecm/site-toolkit/trunk/testsuite/site/src/main/resources/org/hippoecm/hst/wicketexamples/WicketContentBrowserPage_en.properties
     2009-06-11 11:26:03 UTC (rev 18480)
@@ -0,0 +1,24 @@
+#
+#  Copyright 2008 Hippo
+#
+#  Licensed under the Apache License, Version 2.0 (the  "License");
+#  you may not use this file except in compliance with the License.
+#  You may obtain a copy of the License at
+#
+#  http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing, software
+#  distributed under the License is distributed on an "AS IS"
+#  BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 
implied.
+#  See the License for the specific language governing permissions and
+#  limitations under the License.
+#
+
+label.current.path = Current Path:
+label.name = Name
+label.primaryType = Primary Type 
+label.uuid = UUID
+label.content = Content
+label.goto.parent = .. (go to parent)
+label.search = Search Contents
+label.footer = Wicket Content Browser Example
\ No newline at end of file


Property changes on: 
ecm/site-toolkit/trunk/testsuite/site/src/main/resources/org/hippoecm/hst/wicketexamples/WicketContentBrowserPage_en.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

_______________________________________________
Hippocms-svn mailing list
[email protected]
http://lists.hippo.nl/mailman/listinfo/hippocms-svn

Reply via email to