You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@click.apache.org by sa...@apache.org on 2010/04/06 12:32:42 UTC

svn commit: r931077 - in /click/trunk/click/extras/src: META-INF/resources/click/calendar/ org/apache/click/extras/control/

Author: sabob
Date: Tue Apr  6 10:32:42 2010
New Revision: 931077

URL: http://svn.apache.org/viewvc?rev=931077&view=rev
Log:
added polish and dutch translations. CLK-624

Added:
    click/trunk/click/extras/src/META-INF/resources/click/calendar/nl.js
    click/trunk/click/extras/src/org/apache/click/extras/control/DateField_da.properties
    click/trunk/click/extras/src/org/apache/click/extras/control/DateField_fi.properties
    click/trunk/click/extras/src/org/apache/click/extras/control/DateField_pl.properties
Modified:
    click/trunk/click/extras/src/org/apache/click/extras/control/DateField.java

Added: click/trunk/click/extras/src/META-INF/resources/click/calendar/nl.js
URL: http://svn.apache.org/viewvc/click/trunk/click/extras/src/META-INF/resources/click/calendar/nl.js?rev=931077&view=auto
==============================================================================
--- click/trunk/click/extras/src/META-INF/resources/click/calendar/nl.js (added)
+++ click/trunk/click/extras/src/META-INF/resources/click/calendar/nl.js Tue Apr  6 10:32:42 2010
@@ -0,0 +1,41 @@
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+// Full month names
+Date.months = new Array('Januari','Februari','Maart','April','Mei','Juni','Juli','Augustus','September','Oktober','November','December');
+
+// Month abbreviations
+Date.monthAbbreviations = new Array('Jan','Feb','Mrt','Apr','Mei','Jun','Jul','Aug','Sep','Okt','Nov','Dec');
+
+// Full day names
+Date.dayNames = new Array('Zondag','Maandag','Dinsdag','Woensdag','Donderdag','Vrijdag','Zaterdag');
+
+// Day abbreviations
+Date.dayAbbreviations = new Array('Zo','Ma','Di','Wo','Do','Vr','Za');
+
+// Weekdays displayed by popup calendar
+Date.weekdays = new Array('Z','M','D','W','D','V','Z');
+
+Date.first_day_of_week = 0;
+
+_translations = {
+    "OK": "OK",
+    "Now": "Nu",
+    "Today": "Vandaag",
+    "Clear": "Wissen"
+}
\ No newline at end of file

Modified: click/trunk/click/extras/src/org/apache/click/extras/control/DateField.java
URL: http://svn.apache.org/viewvc/click/trunk/click/extras/src/org/apache/click/extras/control/DateField.java?rev=931077&r1=931076&r2=931077&view=diff
==============================================================================
--- click/trunk/click/extras/src/org/apache/click/extras/control/DateField.java (original)
+++ click/trunk/click/extras/src/org/apache/click/extras/control/DateField.java Tue Apr  6 10:32:42 2010
@@ -139,7 +139,7 @@ public class DateField extends TextField
 
     /** Supported locales. */
     static final String[] SUPPORTTED_LANGUAGES =
-        {"de", "fi", "fr", "ja", "pl", "pt", "ru"};
+        {"da", "de", "fi", "fr", "ja", "nl", "pl", "pt", "ru"};
 
     // ----------------------------------------------------- Instance Variables
 

Added: click/trunk/click/extras/src/org/apache/click/extras/control/DateField_da.properties
URL: http://svn.apache.org/viewvc/click/trunk/click/extras/src/org/apache/click/extras/control/DateField_da.properties?rev=931077&view=auto
==============================================================================
--- click/trunk/click/extras/src/org/apache/click/extras/control/DateField_da.properties (added)
+++ click/trunk/click/extras/src/org/apache/click/extras/control/DateField_da.properties Tue Apr  6 10:32:42 2010
@@ -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.

Added: click/trunk/click/extras/src/org/apache/click/extras/control/DateField_fi.properties
URL: http://svn.apache.org/viewvc/click/trunk/click/extras/src/org/apache/click/extras/control/DateField_fi.properties?rev=931077&view=auto
==============================================================================
--- click/trunk/click/extras/src/org/apache/click/extras/control/DateField_fi.properties (added)
+++ click/trunk/click/extras/src/org/apache/click/extras/control/DateField_fi.properties Tue Apr  6 10:32:42 2010
@@ -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.

Added: click/trunk/click/extras/src/org/apache/click/extras/control/DateField_pl.properties
URL: http://svn.apache.org/viewvc/click/trunk/click/extras/src/org/apache/click/extras/control/DateField_pl.properties?rev=931077&view=auto
==============================================================================
--- click/trunk/click/extras/src/org/apache/click/extras/control/DateField_pl.properties (added)
+++ click/trunk/click/extras/src/org/apache/click/extras/control/DateField_pl.properties Tue Apr  6 10:32:42 2010
@@ -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.