You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by hl...@apache.org on 2012/04/16 19:58:22 UTC
svn commit: r1326703 [1/2] - in /tapestry/tapestry5/trunk/tapestry-core: ./
src/main/java/org/apache/tapestry5/corelib/components/
src/main/java/org/apache/tapestry5/services/
src/main/resources/org/apache/tapestry5/
src/main/resources/org/apache/tapes...
Author: hlship
Date: Mon Apr 16 17:58:21 2012
New Revision: 1326703
URL: http://svn.apache.org/viewvc?rev=1326703&view=rev
Log:
Consolodate ValidationMessages and component messages catalogs into a single core message bundle
Added:
tapestry/tapestry5/trunk/tapestry-core/mergeprops.groovy (with props)
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core.properties
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_bg.properties
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_da.properties
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_de.properties
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_el.properties
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_es.properties
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_fi_FI.properties
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_fr_FR.properties
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_hr.properties
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_it.properties
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_ja.properties
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_mk_MK.properties
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_nl.properties
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_no_NB.properties
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_pt_BR.properties
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_ru.properties
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_sr_RS.properties
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_sv_SE.properties
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_zh_CN.properties
Modified:
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Alerts.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/BeanEditForm.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/DateField.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Errors.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Form.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/GridColumns.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/GridPager.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Palette.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/ProgressiveDisplay.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/PropertyEditor.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/BeanEditForm.tml
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/Palette.tml
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/ProgressiveDisplay.tml
tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/corelib/components/PropertyEditorTest.java
tapestry/tapestry5/trunk/tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/pages/OverrideDateFieldMessageCatalogDemo.properties
Added: tapestry/tapestry5/trunk/tapestry-core/mergeprops.groovy
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/mergeprops.groovy?rev=1326703&view=auto
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/mergeprops.groovy (added)
+++ tapestry/tapestry5/trunk/tapestry-core/mergeprops.groovy Mon Apr 16 17:58:21 2012
@@ -0,0 +1,118 @@
+import groovy.io.FileType
+
+import java.util.regex.Pattern
+
+// TODO: Before final release ... delete the individual files merged together by this script, then delete this script.
+
+// Script should be executed from the tapestry-core folder, i.e.
+// groovy mergeprops.groovy
+
+locales = ["bg", "da", "de", "el", "es", "fi_FI", "fr_FR", "hr", "it", "ja", "mk_MK", "nl", "no_NB", "pt_BR", "ru", "sr_RS", "sv_SE", "zh_CN"]
+root = "src/main/resources/org/apache/tapestry5"
+
+// Replacement property keys:
+subs = [
+ "default-banner": "core-default-error-banner",
+ "nesting-not-allowed": "core-form-nesting-not-allowed",
+ "invalid-request": "core-invalid-form-request",
+ "available-label": "core-palette-available-label",
+ "selected-label": "core-palette-selected-label",
+ "select-label": "core-palette-select-label",
+ "deselect-label": "core-palette-deselect-label",
+ "up-label": "core-palette-up-label",
+ "down-label": "core-palette-down-label"
+]
+
+// For each locale, we're going to merge in the contents of several files.
+// $root/internal/ValidationMessages[suffix].properties
+// Then from $root/corelib/components/*[suffix].properties
+// Sometimes files don't exist
+// Output to $root/core[suffix].properties
+
+componentsDir = new File("${root}/corelib/components")
+
+def readProps(file) {
+
+ println "Reading properties from $file"
+
+ Properties props = new Properties()
+
+ if (file.exists()) {
+ file.withInputStream { is -> props.load(is) }
+ }
+
+ result = [:]
+
+ props.keys().each { key ->
+ result[key] = props.get(key)
+ }
+
+ println "Read ${result.size()} properties"
+
+ return result;
+}
+
+def mergeSuffix(suffix) {
+
+ def props = readProps new File("${root}/internal/ValidationMessages${suffix}.properties")
+
+ // Now find the other files. When matching no suffix, exclude any localization. This check would
+ // be more complicated if we support, for example, both fr and fr_BE (where one localization was
+ // a prefix of another).
+
+ componentsDir.eachFileMatch FileType.FILES, Pattern.compile(".*${suffix}\\.properties\$"), { File file ->
+
+ //
+ if (suffix == "" && file.name.contains("_")) { return; }
+
+ def fileProps = readProps file
+
+ fileProps.each { key, value ->
+
+ def newKey = subs.get(key, "core-$key")
+
+ props[newKey] = value
+ }
+ }
+
+ def output = new File("$root/core${suffix}.properties")
+
+ println "Writing ${props.size()} properties to $output"
+
+ output.withWriter "utf-8", { writer ->
+
+ writer.println '''\
+# Copyright 2012 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 the validation messages 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.
+'''
+
+ props.sort().each { key, value ->
+ writer.println "${key}=${value}"
+ }
+ }
+}
+
+// Now the real work.
+
+// First, no localization suffix
+
+mergeSuffix ""
+
+// Then each locale
+locales.each { mergeSuffix("_" + it) }
Propchange: tapestry/tapestry5/trunk/tapestry-core/mergeprops.groovy
------------------------------------------------------------------------------
svn:executable = *
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Alerts.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Alerts.java?rev=1326703&r1=1326702&r2=1326703&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Alerts.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Alerts.java Mon Apr 16 17:58:21 2012
@@ -40,7 +40,7 @@ import org.apache.tapestry5.services.jav
public class Alerts implements ClientElement
{
- @Parameter(value="message:dismiss-label", defaultPrefix=BindingConstants.LITERAL)
+ @Parameter(value="message:core-dismiss-label", defaultPrefix=BindingConstants.LITERAL)
private String dismissText;
@Inject
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/BeanEditForm.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/BeanEditForm.java?rev=1326703&r1=1326702&r2=1326703&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/BeanEditForm.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/BeanEditForm.java Mon Apr 16 17:58:21 2012
@@ -1,4 +1,4 @@
-// Copyright 2007, 2008, 2009, 2010, 2011 The Apache Software Foundation
+// Copyright 2007, 2008, 2009, 2010, 2011, 2012 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.
@@ -54,7 +54,7 @@ public class BeanEditForm implements Cli
/**
* The text label for the submit button of the form, by default "Create/Update".
*/
- @Parameter(value = "message:submit-label", defaultPrefix = BindingConstants.LITERAL)
+ @Parameter(value = "message:core-submit-label", defaultPrefix = BindingConstants.LITERAL)
@Property
private String submitLabel;
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/DateField.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/DateField.java?rev=1326703&r1=1326702&r2=1326703&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/DateField.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/DateField.java Mon Apr 16 17:58:21 2012
@@ -1,4 +1,4 @@
-// Copyright 2007, 2008, 2009, 2010, 2011 The Apache Software Foundation
+// Copyright 2007, 2008, 2009, 2010, 2011, 2012 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.
@@ -87,6 +87,7 @@ public class DateField extends AbstractF
* Used to override the component's message catalog.
*
* @since 5.2.0.0
+ * @deprecated Since 5.4; override the global message key "core-date-value-not-parsable" instead (see {@link org.apache.tapestry5.services.messages.ComponentMessagesSource})
*/
@Parameter("componentResources.messages")
private Messages messages;
@@ -277,7 +278,7 @@ public class DateField extends AbstractF
parsedValue = format.parse(value);
} catch (ParseException ex)
{
- tracker.recordError(this, messages.format("date-value-not-parseable", value));
+ tracker.recordError(this, messages.format("core-date-value-not-parseable", value));
return;
}
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Errors.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Errors.java?rev=1326703&r1=1326702&r2=1326703&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Errors.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Errors.java Mon Apr 16 17:58:21 2012
@@ -1,4 +1,4 @@
-// Copyright 2006, 2007, 2008, 2011 The Apache Software Foundation
+// Copyright 2006, 2007, 2008, 2011, 2012 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.
@@ -39,7 +39,7 @@ public class Errors
* following errors before
* you may continue.".
*/
- @Parameter("message:default-banner")
+ @Parameter("message:core-default-error-banner")
private String banner;
/**
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Form.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Form.java?rev=1326703&r1=1326702&r2=1326703&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Form.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Form.java Mon Apr 16 17:58:21 2012
@@ -1,4 +1,4 @@
-// Copyright 2006, 2007, 2008, 2009, 2010, 2011 The Apache Software Foundation
+// Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012 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.
@@ -296,7 +296,7 @@ public class Form implements ClientEleme
FormSupport existing = environment.peek(FormSupport.class);
if (existing != null)
- throw new TapestryException(messages.get("nesting-not-allowed"), existing, null);
+ throw new TapestryException(messages.get("core-form-nesting-not-allowed"), existing, null);
}
void beginRender(MarkupWriter writer)
@@ -616,7 +616,7 @@ public class Form implements ClientEleme
String[] values = request.getParameters(FORM_DATA);
if (!request.getMethod().equals("POST") || values == null)
- throw new RuntimeException(messages.format("invalid-request", FORM_DATA));
+ throw new RuntimeException(messages.format("core-invalid-form-request", FORM_DATA));
// Due to Ajax (FormInjector) there may be multiple values here, so
// handle each one individually.
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/GridColumns.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/GridColumns.java?rev=1326703&r1=1326702&r2=1326703&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/GridColumns.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/GridColumns.java Mon Apr 16 17:58:21 2012
@@ -1,4 +1,4 @@
-// Copyright 2007, 2008, 2009, 2011 The Apache Software Foundation
+// Copyright 2007, 2008, 2009, 2011, 2012 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.
@@ -213,11 +213,11 @@ public class GridColumns
switch (getSortForColumn())
{
case ASCENDING:
- return messages.get("ascending");
+ return messages.get("core-ascending");
case DESCENDING:
- return messages.get("descending");
+ return messages.get("core-descending");
default:
- return messages.get("sortable");
+ return messages.get("core-sortable");
}
}
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/GridPager.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/GridPager.java?rev=1326703&r1=1326702&r2=1326703&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/GridPager.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/GridPager.java Mon Apr 16 17:58:21 2012
@@ -1,4 +1,4 @@
-// Copyright 2007, 2008, 2009, 2010, 2011 The Apache Software Foundation
+// Copyright 2007, 2008, 2009, 2010, 2011, 2012 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.
@@ -149,7 +149,7 @@ public class GridPager
Element element = writer.element("a",
"href", zone == null ? link : "#",
- "title", messages.format("goto-page", pageIndex));
+ "title", messages.format("core-goto-page", pageIndex));
writer.write(Integer.toString(pageIndex));
writer.end();
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Palette.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Palette.java?rev=1326703&r1=1326702&r2=1326703&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Palette.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Palette.java Mon Apr 16 17:58:21 2012
@@ -1,4 +1,4 @@
-// Copyright 2007, 2008, 2009, 2010, 2011 The Apache Software Foundation
+// Copyright 2007, 2008, 2009, 2010, 2011, 2012 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.
@@ -201,7 +201,7 @@ public class Palette extends AbstractFie
* conditionals and components. The default is the text "Available".
*/
@Property(write = false)
- @Parameter(required = true, allowNull = false, value = "message:available-label", defaultPrefix = BindingConstants.LITERAL)
+ @Parameter(required = true, allowNull = false, value = "message:core-palette-available-label", defaultPrefix = BindingConstants.LITERAL)
private Block availableLabel;
/**
@@ -209,7 +209,7 @@ public class Palette extends AbstractFie
* conditionals and components. The default is the text "Available".
*/
@Property(write = false)
- @Parameter(required = true, allowNull = false, value = "message:selected-label", defaultPrefix = BindingConstants.LITERAL)
+ @Parameter(required = true, allowNull = false, value = "message:core-palette-selected-label", defaultPrefix = BindingConstants.LITERAL)
private Block selectedLabel;
/**
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/ProgressiveDisplay.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/ProgressiveDisplay.java?rev=1326703&r1=1326702&r2=1326703&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/ProgressiveDisplay.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/ProgressiveDisplay.java Mon Apr 16 17:58:21 2012
@@ -1,4 +1,4 @@
-// Copyright 2009, 2010, 2011 The Apache Software Foundation
+// Copyright 2009, 2010, 2011, 2012 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.
@@ -14,28 +14,16 @@
package org.apache.tapestry5.corelib.components;
-import java.io.IOException;
-
-import org.apache.tapestry5.BindingConstants;
-import org.apache.tapestry5.Block;
-import org.apache.tapestry5.ComponentResources;
-import org.apache.tapestry5.EventConstants;
-import org.apache.tapestry5.EventContext;
-import org.apache.tapestry5.Link;
-import org.apache.tapestry5.MarkupWriter;
-import org.apache.tapestry5.TrackableComponentEventCallback;
-import org.apache.tapestry5.ajax.MultiZoneUpdate;
-import org.apache.tapestry5.annotations.Environmental;
-import org.apache.tapestry5.annotations.Events;
-import org.apache.tapestry5.annotations.Import;
-import org.apache.tapestry5.annotations.Parameter;
-import org.apache.tapestry5.annotations.SupportsInformalParameters;
+import org.apache.tapestry5.*;
+import org.apache.tapestry5.annotations.*;
import org.apache.tapestry5.dom.Element;
import org.apache.tapestry5.ioc.annotations.Inject;
import org.apache.tapestry5.ioc.internal.util.InternalUtils;
import org.apache.tapestry5.json.JSONObject;
import org.apache.tapestry5.services.javascript.JavaScriptSupport;
+import java.io.IOException;
+
/**
* A component used to implement the <a
* href="http://en.wikipedia.org/wiki/Progressive_enhancement">progressive
@@ -49,9 +37,9 @@ import org.apache.tapestry5.services.jav
* {@link org.apache.tapestry5.EventConstants#PROGRESSIVE_DISPLAY} event to inform the container about the (optional)
* event context. The event handler method may return a renderable object; if not then the component's body is rendered
* as the partial markup response.
- *
- * @since 5.1.0.1
+ *
* @tapestrydoc
+ * @since 5.1.0.1
*/
@SupportsInformalParameters
@Import(library = "ProgressiveDisplay.js")
@@ -141,11 +129,12 @@ public class ProgressiveDisplay
/**
* Returns the body of the ProgressiveDisplay, which is sometimes (in the
- * context of a {@linkplain MultiZoneUpdate multi-zone update})
+ * context of a
+ * {@linkplain org.apache.tapestry5.services.ajax.AjaxResponseRenderer#addRender(org.apache.tapestry5.ClientBodyElement)} partial page render})
* the content to be included.
- *
- * @since 5.2.0
+ *
* @return body of component
+ * @since 5.2.0
*/
public Block getBody()
{
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/PropertyEditor.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/PropertyEditor.java?rev=1326703&r1=1326702&r2=1326703&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/PropertyEditor.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/PropertyEditor.java Mon Apr 16 17:58:21 2012
@@ -1,4 +1,4 @@
-// Copyright 2007, 2008, 2009, 2011 The Apache Software Foundation
+// Copyright 2007, 2008, 2009, 2011, 2012 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.
@@ -278,7 +278,7 @@ public class PropertyEditor
}
catch (RuntimeException ex)
{
- String message = messages.format("block-error", propertyModel.getPropertyName(), dataType, object, ex);
+ String message = messages.format("core-block-error", propertyModel.getPropertyName(), dataType, object, ex);
throw new TapestryException(message, resources.getLocation(), ex);
}
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java?rev=1326703&r1=1326702&r2=1326703&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java Mon Apr 16 17:58:21 2012
@@ -2729,8 +2729,8 @@ public final class TapestryModule
* <dl>
* <dt>AppCatalog</dt>
* <dd>The Resource defined by {@link SymbolConstants#APPLICATION_CATALOG}</dd>
- * <dt>ValidationMessages</dt>
- * <dd>Messages used by validators (before:AppCatalog)</dd>
+ * <dt>Core</dt>
+ * <dd>Built in messages used by Tapestry's default validators and components (before:AppCatalog)</dd>
* <dt>
*
* @since 5.2.0
@@ -2739,8 +2739,8 @@ public final class TapestryModule
@Symbol(SymbolConstants.APPLICATION_CATALOG)
Resource applicationCatalog, OrderedConfiguration<Resource> configuration)
{
- configuration.add("ValidationMessages",
- assetSource.resourceForPath("org/apache/tapestry5/internal/ValidationMessages.properties"),
+ configuration.add("Core",
+ assetSource.resourceForPath("org/apache/tapestry5/core.properties"),
"before:AppCatalog");
configuration.add("AppCatalog", applicationCatalog);
}
Added: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core.properties
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core.properties?rev=1326703&view=auto
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core.properties (added)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core.properties Mon Apr 16 17:58:21 2012
@@ -0,0 +1,48 @@
+# Copyright 2012 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 the validation messages 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.
+
+core-ascending=[Asc]
+core-block-error=Unable to locate a block to edit property '%s' (with data type '%s') of object %s: %s
+core-cancel-label=Cancel
+core-date-value-not-parseable=Date value '%s' is not parseable.
+core-default-error-banner=You must correct the following errors before continuing.
+core-descending=[Desc]
+core-dismiss-label=Dismiss all
+core-form-nesting-not-allowed=Form components may not be placed inside other Form components.
+core-goto-page=Go to page %d
+core-invalid-form-request=Forms require that the request method be POST and that the %s query parameter have values.
+core-no-grid-data-to-display=There is no data to display.
+core-palette-available-label=Available
+core-palette-deselect-label=< Deselect
+core-palette-down-label=Move Down
+core-palette-select-label=Select >
+core-palette-selected-label=Selected
+core-palette-up-label=Move Up
+core-progressive-display-loading=Loading ...
+core-sortable=[Sortable]
+core-submit-label=Create/Update
+integer-format-exception=You must provide an integer value for %s.
+invalid-email='%s' is not a valid email address.
+max-integer=%2$s requires a value no larger than %1$d.
+maximum-string-length=You may provide at most %d characters for %s.
+min-integer=%2$s requires a value of at least %1$d.
+minimum-string-length=You must provide at least %d characters for %s.
+number-format-exception=You must provide a numeric value for %s.
+regexp=%2$s does not match pattern '%1$s'.
+required=You must provide a value for %s.
Added: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_bg.properties
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_bg.properties?rev=1326703&view=auto
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_bg.properties (added)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_bg.properties Mon Apr 16 17:58:21 2012
@@ -0,0 +1,40 @@
+# Copyright 2012 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 the validation messages 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.
+
+core-ascending=[ÃÂðÃÂðÃÂÃÂòðÃÂ]
+core-default-error-banner=âÃÂÃÂñòð ôð ÿþÿÃÂðòøÃÂõ ÃÂûõôýøÃÂõ óÃÂõÃÂúø ÿÃÂõôø ôð ÿÃÂþôÃÂûöøÃÂõ.
+core-descending=[ÃÂðüðûÃÂòðÃÂ]
+core-goto-page=ÃÂÃÂü ÃÂÃÂÃÂðýøÃÂð %d
+core-palette-available-label=ÃÂðûøÃÂýø
+core-palette-deselect-label=< ÃÂðÃÂ
ýø
+core-palette-down-label=ÃÂðôþûÃÂ
+core-palette-select-label=ÃÂ÷ñõÃÂø >
+core-palette-selected-label=ÃÂ֖ÃÂðýø
+core-palette-up-label=ÃÂðóþÃÂõ
+core-sortable=[ÃÂþôÃÂõôøü]
+core-submit-label=áÃÂ÷ôðù/ÃÂÃÂþüõýø
+integer-format-exception=âÃÂÃÂñòð ôð ÿþÿÃÂûýøÃÂõ ÃÂÃÂûþ ÃÂøÃÂûþ ÷ð %s.
+invalid-email='%s' õ ýõòðûøôõý øüõùû ðôÃÂõÃÂ.
+max-integer=%2$s ýõ üþöõ ôð õ ÿþòõÃÂõ þà%1$d.
+maximum-string-length=ÃÂþöõÃÂõ ôð ÿþÿÃÂûýøÃÂõ ýðù-üýþóþ %d ÃÂøüòþûð ÷ð %s.
+min-integer=%2$s ýõ üþöõ ôð õ ÿþ-üðûúþ þà%1$d.
+minimum-string-length=âÃÂÃÂñòð ôð ÿþÿÃÂûýøÃÂõ ÿþýõ %d ÃÂøüòþûð ÷ð %s.
+number-format-exception=âÃÂÃÂñòð ôð ÿþÿÃÂûýøÃÂõ ÃÂøÃÂûþ ÷ð %s.
+regexp=%2$s ýõ ÿðÃÂòð ýð ýÃÂöýøàÃÂþÃÂüðà'%1$s'.
+required=âÃÂÃÂñòð ôð ÿþÿÃÂûýøÃÂõ ÃÂÃÂþùýþÃÂà÷ð %s.
Added: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_da.properties
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_da.properties?rev=1326703&view=auto
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_da.properties (added)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_da.properties Mon Apr 16 17:58:21 2012
@@ -0,0 +1,44 @@
+# Copyright 2012 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 the validation messages 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.
+
+core-ascending=[Stigende]
+core-cancel-label=Annuller
+core-date-value-not-parseable='%s' er ikke en gyldig dato.
+core-default-error-banner=Du skal rette følgende fejl før du kan fortsætte:
+core-descending=[Faldende]
+core-goto-page=GÃÂ¥ til side %d
+core-palette-available-label=Tilgængelige
+core-palette-deselect-label=< Fravælg
+core-palette-down-label=Flyt Ned
+core-palette-select-label=Vælg >
+core-palette-selected-label=Valgte
+core-palette-up-label=Flyt Op
+core-sortable=[Sortérbar]
+core-submit-label=Opret/Opdater
+core-#=Copyright 2006 The Apache Software Foundation
+integer-format-exception=%s skal være et heltal.
+invalid-email='%s' er ikke en gyldig e-mail-adresse.
+max-integer=%2$s mÃÂ¥ højst være %1$d.
+maximum-string-length=%2$s mÃÂ¥ højst være pÃÂ¥ %1$d tegn.
+min-integer=%2$s skal være mindst %1$d.
+minimum-string-length=%2$s skal mindst være pÃÂ¥ %1$d tegn.
+number-format-exception=%s skal være et tal.
+regexp=%2$s opfylder ikke mønstret '%1$s'.
+required=%s skal udfyldes.
+#=Copyright 2006, 2007 The Apache Software Foundation
Added: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_de.properties
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_de.properties?rev=1326703&view=auto
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_de.properties (added)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_de.properties Mon Apr 16 17:58:21 2012
@@ -0,0 +1,42 @@
+# Copyright 2012 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 the validation messages 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.
+
+core-ascending=[aufw.]
+core-cancel-label=Abbrechen
+core-date-value-not-parseable=Datumswert '%s' kann nicht geparst werden.
+core-default-error-banner=Sie müssen folgende Fehler beheben, bevor Sie fortfahren können.
+core-descending=[abw.]
+core-goto-page=Gehe zu Seite %d
+core-palette-available-label=Verfügbar
+core-palette-deselect-label=< Abwählen
+core-palette-down-label=Abwärts
+core-palette-select-label=Auswählen >
+core-palette-selected-label=Ausgewählt
+core-palette-up-label=Aufwärts
+core-sortable=[sortierbar]
+core-submit-label=Anlegen/ÃÂndern
+integer-format-exception=Sie müssen für %s einen ganzzahligen Wert angeben.
+invalid-email='%1$s' ist keine gültige E-Mail Adresse.
+max-integer=Der Wert von %2$s darf höchstens %1$d betragen.
+maximum-string-length=%2$s darf höchstens %1$d Zeichen lang sein.
+min-integer=Der Wert von %2$s muss mindestens %1$d betragen.
+minimum-string-length=%2$s muss mindestens %1$d Zeichen lang sein.
+number-format-exception=Sie müssen für %s einen numerischen Wert angeben.
+regexp=%2$s stimmt nicht mit dem Muster '%1$s' überein.
+required=Sie müssen einen Wert für %s angeben.
Added: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_el.properties
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_el.properties?rev=1326703&view=auto
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_el.properties (added)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_el.properties Mon Apr 16 17:58:21 2012
@@ -0,0 +1,42 @@
+# Copyright 2012 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 the validation messages 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.
+
+core-ascending=[ÎÏ
ξ]
+core-cancel-label=ÎκÏÏÏÏη
+core-date-value-not-parseable=Î Ïιμή '%s' δεν είναι ημεÏομηνία.
+core-default-error-banner=Î ÏÎÏει να διοÏθÏÏεÏε Ïα ακÏλοÏ
θα ÏÏάλμαÏα.
+core-descending=[Φθην]
+core-goto-page=Σελίδα %d
+core-palette-available-label=ÎιαθÎÏιμα
+core-palette-deselect-label=< ÎÏοεÏιλογή
+core-palette-down-label=ÎάÏÏ
+core-palette-select-label=ÎÏιλογή >
+core-palette-selected-label=ÎÏιλεγμÎνα
+core-palette-up-label=ΠάνÏ
+core-sortable=[ΤαξινÏμηÏη]
+core-submit-label=ÎημιοÏ
Ïγία/ÎνημÎÏÏÏη
+integer-format-exception=Î ÏÎÏει να δÏÏεÏε ακÎÏαια Ïιμή για Ïο Ïεδίο %s.
+invalid-email=Το '%s' δεν είναι ÏÏÏÏή διεÏθÏ
νÏη email.
+max-integer=Το Ïεδίο %2$s αÏαιÏεί Ïιμή Ïο ÏÎ¿Î»Ï %1$d.
+maximum-string-length=ÎÏοÏείÏε να ÏÏ
μÏληÏÏÏεÏε Ïο ÏÎ¿Î»Ï %d ÏαÏακÏήÏÎµÏ Î³Î¹Î± Ïο Ïεδίο %s.
+min-integer=Το Ïεδίο %2$s αÏαιÏεί Ïιμή ÏοÏ
λάÏιÏÏον %1$d.
+minimum-string-length=Î ÏÎÏει να ÏÏ
μÏληÏÏÏεÏε ÏοÏ
λάÏιÏÏον %d ÏαÏακÏήÏÎµÏ Î³Î¹Î± Ïο Ïεδίο %s.
+number-format-exception=Î ÏÎÏει να δÏÏεÏε αÏιθμηÏική Ïιμή για Ïο Ïεδίο %s.
+regexp=Το %2$s δεν ÏαιÏιάζει ÏÏο ÏÏÏÏÏ
Ïο '%1$s'.
+required=Î ÏÎÏει να ÏÏ
μÏληÏÏÏεÏε Ïο Ïεδίο %s.
Added: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_es.properties
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_es.properties?rev=1326703&view=auto
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_es.properties (added)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_es.properties Mon Apr 16 17:58:21 2012
@@ -0,0 +1,40 @@
+# Copyright 2012 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 the validation messages 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.
+
+core-ascending=[Asc]
+core-default-error-banner=Debe corregir los siguientes errores antes de que pueda continuar.
+core-descending=[Desc]
+core-goto-page=Ir a la página %d
+core-palette-available-label=Disponible
+core-palette-deselect-label=< Deseleccionar
+core-palette-down-label=Mover abajo
+core-palette-select-label=Seleccionar >
+core-palette-selected-label=Seleccionado
+core-palette-up-label=Mover arriba
+core-sortable=[Ordenable]
+core-submit-label=Crear/Actualizar
+integer-format-exception='%s' tiene que ser un valor entero.
+invalid-email='%s' no es una dirección de email válida.
+max-integer=%2$s no puede ser mayor que %1$d.
+maximum-string-length=Tiene que ingresar como mucho %d caracteres para %s.
+min-integer=%2$s no puede ser menor que %1$d.
+minimum-string-length=Tiene que ingresar al menos %d caracteres para %s.
+number-format-exception='%s' tiene que ser un valor numérico.
+regexp=%2$s no coincide con el patrón '%1$s'.
+required=Tiene que ingresar un valor para %s.
Added: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_fi_FI.properties
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_fi_FI.properties?rev=1326703&view=auto
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_fi_FI.properties (added)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_fi_FI.properties Mon Apr 16 17:58:21 2012
@@ -0,0 +1,40 @@
+# Copyright 2012 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 the validation messages 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.
+
+core-ascending=[Nouseva]
+core-default-error-banner=Korjaa seuraavat virheet ja yritä uudelleen.
+core-descending=[Laskeva]
+core-goto-page=Siirry sivulle %d
+core-palette-available-label=Vaihtoehdot
+core-palette-deselect-label=< Peruuta valinta
+core-palette-down-label=Siirrä alas
+core-palette-select-label=Valitse >
+core-palette-selected-label=Valitut
+core-palette-up-label=Siirrä ylös
+core-sortable=[Järjestettävä]
+core-submit-label=Tallenna
+integer-format-exception="%s" -kentÂn syÂtteen pitÂÂ olla kokonaisluku.
+invalid-email='%s' ei ole sähköpostiosoite.
+max-integer="%2$s" -kentän arvo saa olla enintään %1$d.
+maximum-string-length=Voit syöttää enintään %d merkkiä "%s" -kenttään.
+min-integer="%2$s" -kentän arvo pitää olla vähintään %1$d.
+minimum-string-length=Syötä vähintään %d merkkiä "%s" -kenttään.
+number-format-exception="%s" -kentÂn syÂtteen pitÂÂ olla numero.
+regexp=%2$s ei vastaa merkkijonoa '%1$s'.
+required="%s" -kentästä puuttu syöte.
Added: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_fr_FR.properties
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_fr_FR.properties?rev=1326703&view=auto
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_fr_FR.properties (added)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_fr_FR.properties Mon Apr 16 17:58:21 2012
@@ -0,0 +1,42 @@
+# Copyright 2012 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 the validation messages 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.
+
+core-ascending=[Asc]
+core-cancel-label=Annuler
+core-date-value-not-parseable=La date '%s' ne peut pas ÃÂtre analysÃÂe.
+core-default-error-banner=Vous devez corriger ces erreurs avant de poursuivre.
+core-descending=[Desc]
+core-goto-page=Aller page %d
+core-palette-available-label=Disponible
+core-palette-deselect-label=< Déselectionner
+core-palette-down-label=Descendre
+core-palette-select-label=Sélectionner >
+core-palette-selected-label=Sélectionné
+core-palette-up-label=Monter
+core-sortable=[Triable]
+core-submit-label=Créer/Mettre àjour
+integer-format-exception=Vous devez saisir un nombre entier pour %s.
+invalid-email='%s' n'est pas une adresse courriel valide.
+max-integer=%2$s ne doit pas avoir une valeur supérieure à%1$d.
+maximum-string-length=Vous ne pouvez donner que %d caractères maximum pour %s.
+min-integer=%2$s doit avoir la valeur minimale de %1$d.
+minimum-string-length=Vous devez donner au moins %d caractères pour %s.
+number-format-exception=Vous devez saisir un nombre pour %s.
+regexp=%2$s ne correspond pas a l'expression '%1$s'.
+required=Vous devez fournir une valeur pour %s.
Added: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_hr.properties
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_hr.properties?rev=1326703&view=auto
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_hr.properties (added)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_hr.properties Mon Apr 16 17:58:21 2012
@@ -0,0 +1,38 @@
+# Copyright 2012 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 the validation messages 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.
+
+core-ascending=[Uzlazno]
+core-default-error-banner=Morate ispraviti slijdeæe greÂke prije nastavka.
+core-descending=[Silazno]
+core-goto-page=Prijeði na stranicu %d
+core-palette-available-label=Dostupno
+core-palette-deselect-label=< Vrati
+core-palette-down-label=Pomjeri dolje
+core-palette-select-label=Odaberi >
+core-palette-selected-label=Odabrano
+core-palette-up-label=Pomjeri gore
+core-sortable=[Rasporedivo]
+core-submit-label=Spremi
+invalid-email='%s' nije valjana e-mail addresa.
+max-integer=Vrijednost %2$s ne mije biti veÃÂa od %1$d.
+maximum-string-length=MoÃ
¾ete upisati najviÃ
¡e %d znakova za %s.
+min-integer=Vrijednost %2$s ne smije biti manja od %1$d.
+minimum-string-length=Morate upisati barem %d znakova za %s.
+regexp=%2$s je potrebno upisati u sljedeÃÂem obliku: '%1$s'.
+required=Morate upisati %s.
Added: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_it.properties
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_it.properties?rev=1326703&view=auto
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_it.properties (added)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_it.properties Mon Apr 16 17:58:21 2012
@@ -0,0 +1,42 @@
+# Copyright 2012 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 the validation messages 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.
+
+core-ascending=[Asc]
+core-cancel-label=Annulla
+core-date-value-not-parseable=Il valore '%s' non è una data accettabile.
+core-default-error-banner=Per poter proseguire è necessario correggere gli errori seguenti.
+core-descending=[Disc]
+core-goto-page=Vai alla pagina %d
+core-palette-available-label=Disponibili
+core-palette-deselect-label=< Deseleziona
+core-palette-down-label=Sposta in giù
+core-palette-select-label=Seleziona >
+core-palette-selected-label=Selezionati
+core-palette-up-label=Sposta in su
+core-sortable=[Ordinabile]
+core-submit-label=Crea/Aggiorna
+integer-format-exception=Il campo %s richiede un numero intero.
+invalid-email='%s' non è un indirizzo email valido.
+max-integer=Il campo %2$s deve essere minore di %1$d.
+maximum-string-length=Il campo %2$s può contenere al massimo %1$d caratteri.
+min-integer=Il campo %2$s deve essere maggiore di %1$d.
+minimum-string-length=Il campo %2$s deve contenere almeno %1$d caratteri.
+number-format-exception=Il campo %s richiede un valore numerico.
+regexp=%2$s non soddisfa la regola '%1$s'.
+required=Il campo %s deve essere valorizzato.
Added: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_ja.properties
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_ja.properties?rev=1326703&view=auto
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_ja.properties (added)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_ja.properties Mon Apr 16 17:58:21 2012
@@ -0,0 +1,40 @@
+# Copyright 2012 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 the validation messages 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.
+
+core-ascending=[æé ]
+core-default-error-banner=å
ã¸é²ãããã«ã¯ä»¥ä¸ã®èª¤ããè¨æ£ããå¿
è¦ãããã¾ãã
+core-descending=[éé ]
+core-goto-page=%dãã¼ã¸ç®ã¸
+core-palette-available-label=æªé¸æ
+core-palette-deselect-label=< é¸æ解é¤
+core-palette-down-label=ä¸ã¸
+core-palette-select-label=é¸æ >
+core-palette-selected-label=é¸ææ¸
+core-palette-up-label=ä¸ã¸
+core-sortable=[並ã¹æ¿ã]
+core-submit-label=ä½æ/æ´æ°
+integer-format-exception=%sã«ã¯æ´æ°ãå
¥åãã¦ãã ããã
+invalid-email='%s' ã¯Eã¡ã¼ã«ã¢ãã¬ã¹ã¨ãã¦æ£ããããã¾ããã
+max-integer=%2$sã«ã¯%1$d以ä¸ã®æ°ãå
¥åãã¦ãã ããã
+maximum-string-length=%2$sã¯%1$dæå以ä¸ã§å
¥åãã¦ãã ããã
+min-integer=%2$sã«ã¯%1$d以ä¸ã®æ°ãå
¥åãã¦ãã ããã
+minimum-string-length=%2$sã«ã¯%1$dæå以ä¸å
¥åãã¦ãã ããã
+number-format-exception=%sã«ã¯æ°å¤ãå
¥åãã¦ãã ããã
+regexp=%2$sã¯ãã¿ã¼ã³ '%1$s' ã«ããããã¾ããã
+required=%sãå
¥åãã¦ãã ããã
Added: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_mk_MK.properties
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_mk_MK.properties?rev=1326703&view=auto
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_mk_MK.properties (added)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_mk_MK.properties Mon Apr 16 17:58:21 2012
@@ -0,0 +1,42 @@
+# Copyright 2012 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 the validation messages 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.
+
+core-ascending=[àðÃÂÃÂõÃÂúø]
+core-cancel-label=ÃÂÃÂúðöø
+core-date-value-not-parseable=ÃÂýõÃÂõýøþàôðÃÂÃÂü '%s' ýõ õ òðûøôõý.
+core-default-error-banner=ÃÂþÃÂÃÂõñýþ õ ôð óø ÿþÿÃÂðòøÃÂõ ÃÂûõôýøÃÂõ óÃÂõÃÂúø ÿÃÂõô ôð ÿÃÂþôþûöøÃÂõ.
+core-descending=[ÃÂÿðÃÂðÃÂúø]
+core-goto-page=ÃÂÃÂõüøýø ýð ÃÂÃÂÃÂðýøÃÂð %d
+core-palette-available-label=ÃÂþÃÂÃÂðÿýø
+core-palette-deselect-label=< ÃÂþýøÃÂÃÂø ø÷ñþÃÂ
+core-palette-down-label=ÃÂþüõÃÂÃÂø ýðôþûÃÂ
+core-palette-select-label=ÃÂ÷ñõÃÂø >
+core-palette-selected-label=ÃÂ֖ÃÂðýø
+core-palette-up-label=ÃÂþüõÃÂÃÂø ýðóþÃÂõ
+core-sortable=[ÃÂþôÃÂõôûøòþ]
+core-submit-label=ÃÂÃÂõøÃÂðÃÂ/ÃÂöÃÂÃÂøÃÂðÃÂ
+integer-format-exception=ÃÂþÃÂÃÂõñýþ õ ôð òýõÃÂõÃÂõ ÃÂõûþñÃÂþÃÂýð òÃÂõôýþÃÂàòþ ÿþûõÃÂþ '%s'.
+invalid-email=ÃÂþÃÂÃÂõñýð õ òðûøôýð e-mail ðôÃÂõÃÂð ÷ð ÿþûõÃÂþ '%s'.
+max-integer=ÃÂõ üþöõ ôð òýõÃÂõÃÂõ ÿþóþûõüð òÃÂõôýþÃÂàþô %1$d òþ ÿþûõÃÂþ '%2$s'.
+maximum-string-length=ÃÂþöõ ôð òýõÃÂõÃÂõ ýðÃÂüýþóà%d úðÃÂðúÃÂõÃÂø òþ ÿþûõÃÂþ '%s'.
+min-integer=ÃÂõ üþöõ ôð òýõÃÂõÃÂõ ÿþüðûð òÃÂõôýþÃÂàþô %1$d òþ ÿþûõÃÂþ '%2$s'.
+minimum-string-length=ÃÂþÃÂa ôð òýõÃÂõÃÂõ ñðÃÂõü %d úðÃÂðúÃÂõÃÂø òþ ÿþûõÃÂþ '%s'.
+number-format-exception=ÃÂþÃÂÃÂõñýþ õ ôð òýõÃÂõÃÂõ ýÃÂüõÃÂøÃÂúð òÃÂõôýþÃÂàòþ ÿþûõÃÂþ '%s'.
+regexp=ÃÂþ ÿþûõÃÂþ '%2$s' õ ÿþÃÂÃÂõñýþ ôð ÃÂõ òýõÃÂõ òÃÂõôýþÃÂàÃÂÃÂþ õ òþ þñûøúþà'%1$s'.
+required='%s' õ ÷ðôþûöøÃÂõûýþ ÿþûõ.
Added: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_nl.properties
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_nl.properties?rev=1326703&view=auto
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_nl.properties (added)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_nl.properties Mon Apr 16 17:58:21 2012
@@ -0,0 +1,42 @@
+# Copyright 2012 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 the validation messages 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.
+
+core-ascending=[Oplopend]
+core-cancel-label=Annuleren
+core-date-value-not-parseable=De datum '%s' is niet herkend.
+core-default-error-banner=Verhelp de volgende foutmeldingen om door te kunnen gaan.
+core-descending=[Aflopend]
+core-goto-page=Ga naar pagina %d
+core-palette-available-label=Beschikbaar
+core-palette-deselect-label=< Deselecteer
+core-palette-down-label=Omlaag
+core-palette-select-label=Selecteer >
+core-palette-selected-label=Geselecteerd
+core-palette-up-label=Omhoog
+core-sortable=[Sorteerbaar]
+core-submit-label=Opslaan
+integer-format-exception=%s moet een geheel getal zijn.
+invalid-email='%s' is geen juist e-mailadres.
+max-integer=%2$s mag maximaal %1$d zijn.
+maximum-string-length=%2$s mag maximaal %1$d karakters bevatten.
+min-integer=%2$s moet minimaal %1$d zijn.
+minimum-string-length=%2$s moet ten minste %1$d karakters bevatten.
+number-format-exception=%s moet een getal zijn.
+regexp=%2$s komt niet overeen met '%1$s'.
+required=%s is een verplicht veld.
Added: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_no_NB.properties
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_no_NB.properties?rev=1326703&view=auto
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_no_NB.properties (added)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_no_NB.properties Mon Apr 16 17:58:21 2012
@@ -0,0 +1,45 @@
+# Copyright 2012 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 the validation messages 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.
+
+core-ascending=[ÃÂkende]
+core-cancel-label=Avbryt
+core-date-value-not-parseable=Klarte ikke ÃÂ¥ konvertere '%s' til en gyldig dato.
+core-default-error-banner=Du mÃÂ¥ rette de følgende feilene før du kan fortsette
+core-descending=[Synkende]
+core-dismiss-label=Steng alle
+core-goto-page=GÃÂ¥ til side %d
+core-no-grid-data-to-display=Ingen data.
+core-palette-available-label=Tilgjengelige
+core-palette-deselect-label=< Fjern valg
+core-palette-down-label=Flytt ned
+core-palette-select-label=Velg >
+core-palette-selected-label=Valgte
+core-palette-up-label=Flytt opp
+core-progressive-display-loading=Laster ...
+core-sortable=[Sorterbar]
+core-submit-label=Opprett/Oppdater
+integer-format-exception=Du mÃÂ¥ fylle inn et heltall i %s.
+invalid-email='%s' er ikke en gyldig epost adresse.
+max-integer=%2$s mÃÂ¥ ikke være større enn %1$d.
+maximum-string-length=Du kan ikke bruke mer enn %d tegn i %s.
+min-integer=%2$s mÃÂ¥ være minst %1$d.
+minimum-string-length=Du mÃÂ¥ bruke minst %d tegn i %s.
+number-format-exception=Du mÃÂ¥ sette inn et tall i %s.
+regexp=%2$s passer ikke til mønsteret '%1$s'.
+required=Du mÃÂ¥ skrive noe i %s.
Added: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_pt_BR.properties
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_pt_BR.properties?rev=1326703&view=auto
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_pt_BR.properties (added)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_pt_BR.properties Mon Apr 16 17:58:21 2012
@@ -0,0 +1,40 @@
+# Copyright 2012 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 the validation messages 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.
+
+core-ascending=[Ascendente]
+core-default-error-banner=Você deve corrigir os seguintes erros antes de continuar.
+core-descending=[Descendente]
+core-goto-page=Ir para a página %d
+core-palette-available-label=DisponÃÂveis
+core-palette-deselect-label=< Remover
+core-palette-down-label=Para baixo
+core-palette-select-label=Selecionar >
+core-palette-selected-label=Selecionados
+core-palette-up-label=Para cima
+core-sortable=[Ordenável]
+core-submit-label=Criar/Atualizar
+integer-format-exception=Você deve fornecer um número inteiro para %s.
+invalid-email='%s' não é um e-mail válido.
+max-integer=%2$s deve ser menor ou igual a %1$d.
+maximum-string-length=Você deve fornecer até %d caracteres para %s.
+min-integer=%2$s deve ser igual ou maior que %1$d.
+minimum-string-length=Você deve fornecer ao menos %d caracteres para %s.
+number-format-exception=Você deve fornecer um número para %s.
+regexp=%2$s não atende ao padrão '%1$s'.
+required=Você deve fornecer um valor para %s.
Added: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_ru.properties
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_ru.properties?rev=1326703&view=auto
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_ru.properties (added)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_ru.properties Mon Apr 16 17:58:21 2012
@@ -0,0 +1,42 @@
+# Copyright 2012 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 the validation messages 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.
+
+core-ascending=[ÃÂþ òþ÷ÃÂðÃÂÃÂðýøÃÂ]
+core-cancel-label=ÃÂÃÂüõýøÃÂÃÂ
+core-date-value-not-parseable='%s' ýõôõùÃÂÃÂòøÃÂõûÃÂýðàôðÃÂð.
+core-default-error-banner=ÃÂàôþûöýàøÃÂÿÃÂðòøÃÂàÃÂûõôÃÂÃÂÃÂøõ þÃÂøñúø ÿÃÂõöôõ, ÃÂõü ÿÃÂþôþûöøÃÂÃÂ.
+core-descending=[ÃÂþ ÃÂñÃÂòðýøÃÂ]
+core-goto-page=ÃÂð ÃÂÃÂÃÂðýøÃÂà%d
+core-palette-available-label=áÃÂÃÂõÃÂÃÂòÃÂÃÂÃÂøõ
+core-palette-deselect-label=< ãôðûøÃÂÃÂ
+core-palette-down-label=ÃÂýø÷
+core-palette-select-label=ÃÂÃÂñÃÂðÃÂà>
+core-palette-selected-label=ÃÂÃÂñÃÂðýýÃÂõ
+core-palette-up-label=ÃÂòõÃÂÃÂ
+core-sortable=[ãÿþÃÂÃÂôþÃÂøÃÂÃÂ]
+core-submit-label=áþ÷ôðÃÂÃÂ/ÃÂ÷üõýøÃÂÃÂ
+integer-format-exception=ÃÂýðÃÂõýøõ ôûà%s ýõ ÃÂòûÃÂõÃÂÃÂàÃÂõûÃÂü ÃÂøÃÂûþü.
+invalid-email='%s' ýõôõùÃÂÃÂòøÃÂõûÃÂýÃÂù ðôÃÂõàÃÂûõúÃÂÃÂþýýþù ÿþÃÂÃÂÃÂ.
+max-integer=%2$s ýõ ôþûöýþ ñÃÂÃÂàñþûÃÂÃÂõ ÃÂõü %1$d.
+maximum-string-length=ÃÂàüþöõÃÂõ òòõÃÂÃÂø ýõ ñþûõõ %d ÃÂøüòþûþò ôûà%s.
+min-integer=%2$s ýõ ôþûöýþ ñÃÂÃÂàüõýÃÂÃÂõ ÃÂõü %1$d.
+minimum-string-length=ÃÂàôþûöýàòòõÃÂÃÂø ýõ üõýõõ %d ÃÂøüòþûþò ôûà%s.
+number-format-exception=ÃÂýðÃÂõýøõ ôûà%s ýõ ÃÂòûÃÂõÃÂÃÂàÃÂøÃÂûþü.
+regexp=%2$s ýõ ÃÂþþÃÂòõÃÂÃÂÃÂòÃÂõàÃÂÃÂõñÃÂõüþüàÃÂðñûþýà'%1$s'.
+required=ÃÂàôþûöýàÃÂúð÷ðÃÂà÷ýðÃÂõýøõ ôûà%s.
Added: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_sr_RS.properties
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_sr_RS.properties?rev=1326703&view=auto
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_sr_RS.properties (added)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_sr_RS.properties Mon Apr 16 17:58:21 2012
@@ -0,0 +1,42 @@
+# Copyright 2012 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 the validation messages 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.
+
+core-ascending=[RastuÃÂe]
+core-cancel-label=Odustani
+core-date-value-not-parseable=Datum '%s' se ne moÃ
¾e parsirati.
+core-default-error-banner=Morate ispraviti sledeÃÂe greÃ
¡ke pre nego Ã
¡to nastavite.
+core-descending=[OpadajuÃÂe]
+core-goto-page=Idi na stranu %d
+core-palette-available-label=Dostupno
+core-palette-deselect-label=< PoniÃ
¡ti
+core-palette-down-label=Pomeri dole
+core-palette-select-label=Izaberi >
+core-palette-selected-label=Izabrano
+core-palette-up-label=Pomeri gore
+core-sortable=[Sortabilno]
+core-submit-label=Kreiraj/AÃ
¾uriraj
+integer-format-exception=Morate uneti celobrojnu vrednost za %s.
+invalid-email='%s' nije validna email adresa.
+max-integer=%2$s ne moÃ
¾e imati vrednost veÃÂu od %1$d.
+maximum-string-length=MoÃ
¾ete uneti najviÃ
¡e %d karaktera za %s.
+min-integer=%2$s moÃ
¾e imati najmanje vrednost %1$d.
+minimum-string-length=Morate uneti bar %d karaktera za %s.
+number-format-exception=Morate uneti brojnu vrednost za %s.
+regexp=%2$s se ne poklapa sa paternom '%1$s'.
+required=Morate uneti vrednost za %s.
Added: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_sv_SE.properties
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_sv_SE.properties?rev=1326703&view=auto
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_sv_SE.properties (added)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_sv_SE.properties Mon Apr 16 17:58:21 2012
@@ -0,0 +1,38 @@
+# Copyright 2012 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 the validation messages 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.
+
+core-ascending=Stigande ordning
+core-default-error-banner=Du måste rätta följande fel innan du kan fortsätta.
+core-descending=Fallande ordning
+core-goto-page=Navigera till sida %d
+core-palette-available-label=Tillgängliga
+core-palette-deselect-label=< Välj bort
+core-palette-down-label=Flytta ner
+core-palette-select-label=Välj >
+core-palette-selected-label=Valda
+core-palette-up-label=Flytta upp
+core-sortable=Sorterbar
+core-submit-label=Skapa/Uppdatera
+invalid-email='%s' är inte en korrekt formad email-adress.
+max-integer=%2$s får inte vara större än %1$d.
+maximum-string-length=Du får max ange %d tecken för %s.
+min-integer=%2$s måste vara större eller lika med %1$d.
+minimum-string-length=Du måste ange minst %d tecken för %s.
+regexp=%2$s matchar inte mönstret '%1$s'.
+required=Du måste ange ett värde för %s.
Added: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_zh_CN.properties
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_zh_CN.properties?rev=1326703&view=auto
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_zh_CN.properties (added)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/core_zh_CN.properties Mon Apr 16 17:58:21 2012
@@ -0,0 +1,46 @@
+# Copyright 2012 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 the validation messages 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.
+
+core-ascending=[ååº]
+core-block-error=æ¾ä¸å°ç¼è¾å±æ§ '%s'(æ°æ®ç±»å为'%s') ç Blockï¼è¯¥ å±æ§å±äºå¯¹è±¡ %s: %s .
+core-date-value-not-parseable=æ¥æ '%s' ä¸å¯è§£æ.
+core-default-error-banner=å¨ä½ 继ç»ä¹åï¼å¿
é¡»çº æ£å¦ä¸é误.
+core-descending=[éåº]
+core-form-nesting-not-allowed=Form ç»ä»¶ä¸è½æ¾å¨å
¶å® Form ç»ä»¶å
é¨.
+core-goto-page=è·³å°é¡µé¢ %d
+core-invalid-form-request=Form éè¦è¯·æ±æ¹æ³ä¸º POST 并ä¸åæ° %s å¿
é¡»æå¼.
+core-no-grid-data-to-display=没æå¯æ¾ç¤ºçæ°æ®.
+core-palette-available-label=å¯éæ©
+core-palette-deselect-label=< å é¤
+core-palette-down-label=ä¸ç§»
+core-palette-select-label=éæ© >
+core-palette-selected-label=å·²éæ©
+core-palette-up-label=ä¸ç§»
+core-progressive-display-loading=å è½½ ...
+core-sortable=[å¯æåº]
+core-submit-label=å建/æ´æ°
+integer-format-exception=æ¨å¿
须为 %s è¾å
¥æ´æ°ã
+invalid-email='%s' ä¸æ¯æ£ç¡®çé®ä»¶æ ¼å¼ã
+max-integer=%2$s éè¦å°äº %1$d çå¼ã
+maximum-string-length=æ¨æå¤è½ä¸º %s æä¾è³å° %d å符ã
+min-integer=%2$s éè¦å¤§äº %1$d çå¼ã
+minimum-string-length=æ¨å¿
须为 %s æä¾è³å° %d å符ã
+number-format-exception=æ¨å¿
须为 %s æä¾æ°åã
+regexp=%2$s æªè½å¹é
æ¨¡å¼ '%1$s'ã
+required=æ¨å¿
须填å %s çå¼ã
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/BeanEditForm.tml
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/BeanEditForm.tml?rev=1326703&r1=1326702&r2=1326703&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/BeanEditForm.tml (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/BeanEditForm.tml Mon Apr 16 17:58:21 2012
@@ -9,7 +9,7 @@
<div class="t-beaneditor-row">
<input type="submit" class="t-beaneditor-submit" value="${submitLabel}"/>
<t:if test="cancel">
- <t:submit t:id="cancel" mode="cancel" value="message:cancel-label"/>
+ <t:submit t:id="cancel" mode="cancel" value="message:core-cancel-label"/>
</t:if>
</div>
</div>