click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From take...@apache.org
Subject svn commit: r910014 - in /click/trunk/click/extras/src: META-INF/resources/click/calendar/ja.js org/apache/click/extras/control/DateField.java org/apache/click/extras/control/DateField_ja.properties
Date Sun, 14 Feb 2010 14:55:00 GMT
Author: takezoe
Date: Sun Feb 14 14:54:59 2010
New Revision: 910014

URL: http://svn.apache.org/viewvc?rev=910014&view=rev
Log:
[#CLK-624]Added Japanese translation to DateField.

Added:
    click/trunk/click/extras/src/META-INF/resources/click/calendar/ja.js   (with props)
Modified:
    click/trunk/click/extras/src/org/apache/click/extras/control/DateField.java
    click/trunk/click/extras/src/org/apache/click/extras/control/DateField_ja.properties

Added: click/trunk/click/extras/src/META-INF/resources/click/calendar/ja.js
URL: http://svn.apache.org/viewvc/click/trunk/click/extras/src/META-INF/resources/click/calendar/ja.js?rev=910014&view=auto
==============================================================================
--- click/trunk/click/extras/src/META-INF/resources/click/calendar/ja.js (added)
+++ click/trunk/click/extras/src/META-INF/resources/click/calendar/ja.js Sun Feb 14 14:54:59
2010
@@ -0,0 +1,29 @@
+// 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.
+
+Date.weekdays = $w('月 火 水 木 金 土 日');
+Date.months = $w('1月 2月 3月 4月 5月 6月 7月 8月 9月
10月 11月 12月');
+
+Date.first_day_of_week = 1;
+
+_translations = {
+  "OK": "OK",
+  "Now": "今日",
+  "Today": "今日",
+  "Clear": "クリア"
+}

Propchange: click/trunk/click/extras/src/META-INF/resources/click/calendar/ja.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain

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=910014&r1=910013&r2=910014&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 Sun Feb 14
14:54:59 2010
@@ -142,7 +142,7 @@
 
     /** Supported locales. */
     static final String[] SUPPORTTED_LANGUAGES =
-        {"de", "fi", "fr", "pl", "pt", "ru"};
+        {"de", "fi", "fr", "ja", "pl", "pt", "ru"};
 
     // ----------------------------------------------------- Instance Variables
 

Modified: click/trunk/click/extras/src/org/apache/click/extras/control/DateField_ja.properties
URL: http://svn.apache.org/viewvc/click/trunk/click/extras/src/org/apache/click/extras/control/DateField_ja.properties?rev=910014&r1=910013&r2=910014&view=diff
==============================================================================
--- click/trunk/click/extras/src/org/apache/click/extras/control/DateField_ja.properties (original)
+++ click/trunk/click/extras/src/org/apache/click/extras/control/DateField_ja.properties Sun
Feb 14 14:54:59 2010
@@ -15,4 +15,6 @@
 # specific language governing permissions and limitations
 # under the License.
 
-date-format-error={0} \u306F\u4E0D\u6B63\u3067\u3059\u3002\u65E5\u4ED8\u306E\u30D5\u30A9\u30FC\u30DE\u30C3\u30C8\u306F
{1} \u3067\u3059\u3002
+date-format-error={0} \u306f\u4e0d\u6b63\u3067\u3059\u3002\u65e5\u4ed8\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306f
{1} \u3067\u3059\u3002
+date-title=\u65e5\u4ed8\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8: {0}
+calendar-image-title=\u30ab\u30ec\u30f3\u30c0\u30fc
\ No newline at end of file



Mime
View raw message