Return-Path: Delivered-To: apmail-tapestry-commits-archive@locus.apache.org Received: (qmail 28210 invoked from network); 21 Nov 2008 19:46:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Nov 2008 19:46:37 -0000 Received: (qmail 9247 invoked by uid 500); 21 Nov 2008 19:46:46 -0000 Delivered-To: apmail-tapestry-commits-archive@tapestry.apache.org Received: (qmail 9215 invoked by uid 500); 21 Nov 2008 19:46:46 -0000 Mailing-List: contact commits-help@tapestry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tapestry.apache.org Delivered-To: mailing list commits@tapestry.apache.org Received: (qmail 9206 invoked by uid 99); 21 Nov 2008 19:46:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Nov 2008 11:46:46 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Nov 2008 19:45:30 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 53C7E2388875; Fri, 21 Nov 2008 11:46:16 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r719688 - in /tapestry/tapestry5/branches/5.0: src/site/apt/guide/ tapestry-core/src/main/java/org/apache/tapestry5/services/ tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/ tapestry-core/src/main/resources/org/apa... Date: Fri, 21 Nov 2008 19:46:15 -0000 To: commits@tapestry.apache.org From: hlship@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20081121194616.53C7E2388875@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: hlship Date: Fri Nov 21 11:46:15 2008 New Revision: 719688 URL: http://svn.apache.org/viewvc?rev=719688&view=rev Log: TAP5-365: Localization support for Japanese Added: tapestry/tapestry5/branches/5.0/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/BeanEditForm_ja.properties tapestry/tapestry5/branches/5.0/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/Errors_ja.properties tapestry/tapestry5/branches/5.0/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/GridColumns_ja.properties tapestry/tapestry5/branches/5.0/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/GridPager_ja.properties tapestry/tapestry5/branches/5.0/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/Palette_ja.properties tapestry/tapestry5/branches/5.0/tapestry-core/src/main/resources/org/apache/tapestry5/internal/ValidationMessages_ja.properties Modified: tapestry/tapestry5/branches/5.0/src/site/apt/guide/conf.apt tapestry/tapestry5/branches/5.0/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java Modified: tapestry/tapestry5/branches/5.0/src/site/apt/guide/conf.apt URL: http://svn.apache.org/viewvc/tapestry/tapestry5/branches/5.0/src/site/apt/guide/conf.apt?rev=719688&r1=719687&r2=719688&view=diff ============================================================================== --- tapestry/tapestry5/branches/5.0/src/site/apt/guide/conf.apt (original) +++ tapestry/tapestry5/branches/5.0/src/site/apt/guide/conf.apt Fri Nov 21 11:46:15 2008 @@ -208,7 +208,7 @@ A comma-separated list of supported locales. Incoming requests as "narrowed" to one of these locales, based on closest match. If no match can be found, the first locale in the list is treated as the default. - The default is (currently) "en,it,es,zh_CN,pt_PT,de,ru,hr,fi_FI,sv_SE,fr_FR,da,pt_BR". + The default is (currently) "en,it,es,zh_CN,pt_PT,de,ru,hr,fi_FI,sv_SE,fr_FR,da,pt_BR,ja". As the community contributes new localizations of the necessary messages files, this list will expand. Note that the Tapestry quickstart archetype overrides the factory default, forcing the application to be localized only for "en". Modified: tapestry/tapestry5/branches/5.0/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java URL: http://svn.apache.org/viewvc/tapestry/tapestry5/branches/5.0/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java?rev=719688&r1=719687&r2=719688&view=diff ============================================================================== --- tapestry/tapestry5/branches/5.0/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java (original) +++ tapestry/tapestry5/branches/5.0/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java Fri Nov 21 11:46:15 2008 @@ -1833,7 +1833,7 @@ // This should be overridden for particular applications. configuration.add(SymbolConstants.SUPPORTED_LOCALES, - "en,it,es,zh_CN,pt_PT,de,ru,hr,fi_FI,sv_SE,fr_FR,da,pt_BR"); + "en,it,es,zh_CN,pt_PT,de,ru,hr,fi_FI,sv_SE,fr_FR,da,pt_BR,ja"); configuration.add(SymbolConstants.TAPESTRY_VERSION, VersionUtils.readVersionNumber( Added: tapestry/tapestry5/branches/5.0/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/BeanEditForm_ja.properties URL: http://svn.apache.org/viewvc/tapestry/tapestry5/branches/5.0/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/BeanEditForm_ja.properties?rev=719688&view=auto ============================================================================== --- tapestry/tapestry5/branches/5.0/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/BeanEditForm_ja.properties (added) +++ tapestry/tapestry5/branches/5.0/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/BeanEditForm_ja.properties Fri Nov 21 11:46:15 2008 @@ -0,0 +1,15 @@ +# Copyright 2008 The Apache Software Foundation +# +# 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. + +submit-label=\u4f5c\u6210/\u66f4\u65b0 Added: tapestry/tapestry5/branches/5.0/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/Errors_ja.properties URL: http://svn.apache.org/viewvc/tapestry/tapestry5/branches/5.0/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/Errors_ja.properties?rev=719688&view=auto ============================================================================== --- tapestry/tapestry5/branches/5.0/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/Errors_ja.properties (added) +++ tapestry/tapestry5/branches/5.0/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/Errors_ja.properties Fri Nov 21 11:46:15 2008 @@ -0,0 +1,15 @@ +# Copyright 2008 The Apache Software Foundation +# +# 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. + +default-banner=\u5148\u3078\u9032\u3080\u305f\u3081\u306b\u306f\u4ee5\u4e0b\u306e\u8aa4\u308a\u3092\u8a02\u6b63\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002 Added: tapestry/tapestry5/branches/5.0/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/GridColumns_ja.properties URL: http://svn.apache.org/viewvc/tapestry/tapestry5/branches/5.0/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/GridColumns_ja.properties?rev=719688&view=auto ============================================================================== --- tapestry/tapestry5/branches/5.0/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/GridColumns_ja.properties (added) +++ tapestry/tapestry5/branches/5.0/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/GridColumns_ja.properties Fri Nov 21 11:46:15 2008 @@ -0,0 +1,17 @@ +# Copyright 2008 The Apache Software Foundation +# +# 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. + +ascending=[\u6607\u9806] +descending=[\u964d\u9806] +sortable=[\u4e26\u3079\u66ff\u3048] Added: tapestry/tapestry5/branches/5.0/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/GridPager_ja.properties URL: http://svn.apache.org/viewvc/tapestry/tapestry5/branches/5.0/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/GridPager_ja.properties?rev=719688&view=auto ============================================================================== --- tapestry/tapestry5/branches/5.0/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/GridPager_ja.properties (added) +++ tapestry/tapestry5/branches/5.0/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/GridPager_ja.properties Fri Nov 21 11:46:15 2008 @@ -0,0 +1,15 @@ +# Copyright 2008 The Apache Software Foundation +# +# 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. + +goto-page=%d\u30da\u30fc\u30b8\u76ee\u3078 Added: tapestry/tapestry5/branches/5.0/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/Palette_ja.properties URL: http://svn.apache.org/viewvc/tapestry/tapestry5/branches/5.0/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/Palette_ja.properties?rev=719688&view=auto ============================================================================== --- tapestry/tapestry5/branches/5.0/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/Palette_ja.properties (added) +++ tapestry/tapestry5/branches/5.0/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/Palette_ja.properties Fri Nov 21 11:46:15 2008 @@ -0,0 +1,21 @@ +# Copyright 2008 The Apache Software Foundation +# +# 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. + +available-label=\u672a\u9078\u629e +selected-label=\u9078\u629e\u6e08 + +select-label=\u9078\u629e > +deselect-label=< \u9078\u629e\u89e3\u9664 +up-label=\u4e0a\u3078 +down-label=\u4e0b\u3078 Added: tapestry/tapestry5/branches/5.0/tapestry-core/src/main/resources/org/apache/tapestry5/internal/ValidationMessages_ja.properties URL: http://svn.apache.org/viewvc/tapestry/tapestry5/branches/5.0/tapestry-core/src/main/resources/org/apache/tapestry5/internal/ValidationMessages_ja.properties?rev=719688&view=auto ============================================================================== --- tapestry/tapestry5/branches/5.0/tapestry-core/src/main/resources/org/apache/tapestry5/internal/ValidationMessages_ja.properties (added) +++ tapestry/tapestry5/branches/5.0/tapestry-core/src/main/resources/org/apache/tapestry5/internal/ValidationMessages_ja.properties Fri Nov 21 11:46:15 2008 @@ -0,0 +1,33 @@ +# Copyright 2006, 2007, 2008 The Apache Software Foundation +# +# 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. + +# We try to keep these consistent, with the constraint value (if applicable) +# as the first parameter, and the field's label as the second parameter. Occasionally +# we must use specific indexing when that's not the best order. + +required=%s\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002 +minimum-string-length=%2$s\u306b\u306f%1$d\u6587\u5b57\u4ee5\u4e0a\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002 +maximum-string-length=%2$s\u306f%1$d\u6587\u5b57\u4ee5\u4e0b\u3067\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002 +min-integer=%2$s\u306b\u306f%1$d\u4ee5\u4e0a\u306e\u6570\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002 +max-integer=%2$s\u306b\u306f%1$d\u4ee5\u4e0b\u306e\u6570\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002 +# This is lousy as a default, since the pattern string is meaningless to the user. You should always override +# this. +regexp=%2$s\u306f\u30d1\u30bf\u30fc\u30f3 '%1$s' \u306b\u30de\u30c3\u30c1\u3057\u307e\u305b\u3093\u3002 +invalid-email='%s' \u306fE\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3068\u3057\u3066\u6b63\u3057\u304f\u3042\u308a\u307e\u305b\u3093\u3002 + +# This is where the translator messages go. + +integer-format-exception=%s\u306b\u306f\u6574\u6570\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002 +number-format-exception=%s\u306b\u306f\u6570\u5024\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002 +