Author: svenmeier
Date: Wed Nov  9 17:05:41 2011
New Revision: 1199855

URL: http://svn.apache.org/viewvc?rev=1199855&view=rev
Log:
WICKET-4154 moved localization to wicket-jar.properties

Added:
    wicket/trunk/wicket-extensions/src/main/java/wicket-jar.properties   (with 
props)
    wicket/trunk/wicket-extensions/src/main/java/wicket-jar_de.properties   
(with props)
    wicket/trunk/wicket-extensions/src/main/java/wicket-jar_fr.properties.xml   
(with props)
Modified:
    
wicket/trunk/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/repeater/data/table/NavigatorLabel.java
    
wicket/trunk/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/repeater/data/table/NoRecordsToolbar.java

Modified: 
wicket/trunk/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/repeater/data/table/NavigatorLabel.java
URL: 
http://svn.apache.org/viewvc/wicket/trunk/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/repeater/data/table/NavigatorLabel.java?rev=1199855&r1=1199854&r2=1199855&view=diff
==============================================================================
--- 
wicket/trunk/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/repeater/data/table/NavigatorLabel.java
 (original)
+++ 
wicket/trunk/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/repeater/data/table/NavigatorLabel.java
 Wed Nov  9 17:05:41 2011
@@ -47,8 +47,7 @@ public class NavigatorLabel extends Labe
        {
                super(id);
                setDefaultModel(new StringResourceModel("NavigatorLabel", this,
-                       new Model<LabelModelObject>(new 
LabelModelObject(pageable)),
-                       "Showing ${from} to ${to} of ${of}"));
+                       new Model<LabelModelObject>(new 
LabelModelObject(pageable))));
        }
 
        private static class LabelModelObject implements IClusterable

Modified: 
wicket/trunk/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/repeater/data/table/NoRecordsToolbar.java
URL: 
http://svn.apache.org/viewvc/wicket/trunk/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/repeater/data/table/NoRecordsToolbar.java?rev=1199855&r1=1199854&r2=1199855&view=diff
==============================================================================
--- 
wicket/trunk/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/repeater/data/table/NoRecordsToolbar.java
 (original)
+++ 
wicket/trunk/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/repeater/data/table/NoRecordsToolbar.java
 Wed Nov  9 17:05:41 2011
@@ -38,7 +38,7 @@ public class NoRecordsToolbar extends Ab
        private static final long serialVersionUID = 1L;
 
        private static final IModel<String> DEFAULT_MESSAGE_MODEL = new 
ResourceModel(
-               "datatable.no-records-found", "No Records Found");
+               "datatable.no-records-found");
 
        /**
         * Constructor

Added: wicket/trunk/wicket-extensions/src/main/java/wicket-jar.properties
URL: 
http://svn.apache.org/viewvc/wicket/trunk/wicket-extensions/src/main/java/wicket-jar.properties?rev=1199855&view=auto
==============================================================================
--- wicket/trunk/wicket-extensions/src/main/java/wicket-jar.properties (added)
+++ wicket/trunk/wicket-extensions/src/main/java/wicket-jar.properties Wed Nov  
9 17:05:41 2011
@@ -0,0 +1,16 @@
+#  Licensed to the Apache Software Foundation (ASF) under one or more
+#  contributor license agreements.  See the NOTICE file distributed with
+#  this work for additional information regarding copyright ownership.
+#  The ASF licenses this file to You 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.
+NavigatorLabel=Showing ${from} to ${to} of ${of}
+datatable.no-records-found=No Records Found

Propchange: wicket/trunk/wicket-extensions/src/main/java/wicket-jar.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: wicket/trunk/wicket-extensions/src/main/java/wicket-jar_de.properties
URL: 
http://svn.apache.org/viewvc/wicket/trunk/wicket-extensions/src/main/java/wicket-jar_de.properties?rev=1199855&view=auto
==============================================================================
--- wicket/trunk/wicket-extensions/src/main/java/wicket-jar_de.properties 
(added)
+++ wicket/trunk/wicket-extensions/src/main/java/wicket-jar_de.properties Wed 
Nov  9 17:05:41 2011
@@ -0,0 +1,16 @@
+#  Licensed to the Apache Software Foundation (ASF) under one or more
+#  contributor license agreements.  See the NOTICE file distributed with
+#  this work for additional information regarding copyright ownership.
+#  The ASF licenses this file to You 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.
+NavigatorLabel=Zeige ${from} bis ${to} von ${of}
+datatable.no-records-found=Kein Ergebnis

Propchange: 
wicket/trunk/wicket-extensions/src/main/java/wicket-jar_de.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: wicket/trunk/wicket-extensions/src/main/java/wicket-jar_fr.properties.xml
URL: 
http://svn.apache.org/viewvc/wicket/trunk/wicket-extensions/src/main/java/wicket-jar_fr.properties.xml?rev=1199855&view=auto
==============================================================================
--- wicket/trunk/wicket-extensions/src/main/java/wicket-jar_fr.properties.xml 
(added)
+++ wicket/trunk/wicket-extensions/src/main/java/wicket-jar_fr.properties.xml 
Wed Nov  9 17:05:41 2011
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You 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.
+-->
+<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd";>
+<properties>
+       <entry key="NavigatorLabel">Affichage de ${from} à ${to} sur 
${of}</entry>
+       <entry key="datatable.no-records-found">Aucun résultat</entry>
+</properties>
\ No newline at end of file

Propchange: 
wicket/trunk/wicket-extensions/src/main/java/wicket-jar_fr.properties.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain


Reply via email to