[seam-commits] Seam SVN: r9768 - trunk/doc/Seam_Reference_Guide/it-IT.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Sat Dec 13 10:31:24 EST 2008
Author: nico.ben
Date: 2008-12-13 10:31:24 -0500 (Sat, 13 Dec 2008)
New Revision: 9768
Modified:
trunk/doc/Seam_Reference_Guide/it-IT/Tutorial.po
trunk/doc/Seam_Reference_Guide/it-IT/Validation.po
Log:
JBSEAM-3767: Italian translation of Seam guide
Modified: trunk/doc/Seam_Reference_Guide/it-IT/Tutorial.po
===================================================================
--- trunk/doc/Seam_Reference_Guide/it-IT/Tutorial.po 2008-12-13 13:28:03 UTC (rev 9767)
+++ trunk/doc/Seam_Reference_Guide/it-IT/Tutorial.po 2008-12-13 15:31:24 UTC (rev 9768)
@@ -6,7 +6,7 @@
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2008-12-04 00:59+0000\n"
-"PO-Revision-Date: 2008-12-13 14:25+0100\n"
+"PO-Revision-Date: 2008-12-13 15:49+0100\n"
"Last-Translator: Nicola Benaglia <nico.benaz at gmail.com>\n"
"Language-Team: none\n"
"MIME-Version: 1.0\n"
@@ -35,7 +35,7 @@
#: Tutorial.xml:15
#, no-c-format
msgid "Each example has the same directory structure:"
-msgstr "Ciascun esempi ha la stessa struttura di directory:"
+msgstr "Ciascun esempio ha la medesima struttura di directory:"
#. Tag: para
#: Tutorial.xml:19
@@ -334,7 +334,7 @@
#: Tutorial.xml:198
#, no-c-format
msgid "An empty constructor is both required by both the EJB specification and by Seam."
-msgstr ""
+msgstr "Un costruttore vuoto è richiesto sia dalla specifica EJB sia da Seam."
#. Tag: para
#: Tutorial.xml:202
@@ -370,7 +370,7 @@
#: Tutorial.xml:226
#, no-c-format
msgid "The stateless session bean class: <literal>RegisterAction.java</literal>"
-msgstr ""
+msgstr "Classe del bean di sessione stateless: <literal>RegisterAction.java</literal>"
#. Tag: para
#: Tutorial.xml:228
@@ -1895,7 +1895,7 @@
#: Tutorial.xml:799
#, no-c-format
msgid "The JSP itself is trivial:"
-msgstr ""
+msgstr "Lo stesso JSP è banale:"
#. Tag: title
#: Tutorial.xml:802
@@ -1949,7 +1949,7 @@
#: Tutorial.xml:807
#, no-c-format
msgid "The second JavaBean is responsible for starting business process instances, and ending tasks."
-msgstr ""
+msgstr "Il secondo JavaBean è responsabile per l'avvio delle istanze del processo di business e della fine dei task."
#. Tag: title
#: Tutorial.xml:811
@@ -2804,7 +2804,7 @@
#: Tutorial.xml:1030
#, no-c-format
msgid "Finally, we'll look at the actual application code:"
-msgstr ""
+msgstr "Infine diamo un'occhiata al codice dell'applicazione:"
#. Tag: title
#: Tutorial.xml:1033
@@ -4817,7 +4817,7 @@
#: Tutorial.xml:1816
#, no-c-format
msgid "Then the form would have looked like this:"
-msgstr ""
+msgstr "Quindi la form avrebbe dovuto essere così:"
#. Tag: programlisting
#: Tutorial.xml:1818
Modified: trunk/doc/Seam_Reference_Guide/it-IT/Validation.po
===================================================================
--- trunk/doc/Seam_Reference_Guide/it-IT/Validation.po 2008-12-13 13:28:03 UTC (rev 9767)
+++ trunk/doc/Seam_Reference_Guide/it-IT/Validation.po 2008-12-13 15:31:24 UTC (rev 9768)
@@ -6,8 +6,8 @@
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2008-10-14 11:39+0000\n"
-"PO-Revision-Date: 2008-04-04 01:24+0000\n"
-"Last-Translator: Automatically generated\n"
+"PO-Revision-Date: 2008-12-13 16:30+0100\n"
+"Last-Translator: Nicola Benaglia <nico.benaz at gmail.com>\n"
"Language-Team: none\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -17,13 +17,13 @@
#: Validation.xml:2
#, no-c-format
msgid "JSF form validation in Seam"
-msgstr ""
+msgstr "Validazione delle form JSF in Seam"
#. Tag: para
#: Validation.xml:3
#, no-c-format
msgid "In plain JSF, validation is defined in the view:"
-msgstr ""
+msgstr "Nel puro JSF la validazione è definita nella vista:"
#. Tag: programlisting
#: Validation.xml:7
@@ -49,24 +49,39 @@
" <h:commandButton/>\n"
"</h:form>]]>"
msgstr ""
+"<![CDATA[<h:form>\n"
+" <h:messages/>\n"
+"\n"
+" <div>\n"
+" Country:\n"
+" <h:inputText value=\"#{location.country}\" required=\"true\">\n"
+" <my:validateCountry/>\n"
+" </h:inputText>\n"
+" </div>\n"
+" \n"
+" <div>\n"
+" Zip code:\n"
+" <h:inputText value=\"#{location.zip}\" required=\"true\">\n"
+" <my:validateZip/>\n"
+" </h:inputText>\n"
+" </div>\n"
+"\n"
+" <h:commandButton/>\n"
+"</h:form>]]>"
+# DRY = Don't Repeat Yourself ??? Intende questo?
+# Controllare "..and exist all the way down to the database schema definition."
#. Tag: para
#: Validation.xml:9
#, no-c-format
-msgid ""
-"In practice, this approach usually violates DRY, since most \"validation\" "
-"actually enforces constraints that are part of the data model, and exist all "
-"the way down to the database schema definition. Seam provides support for "
-"model-based constraints defined using Hibernate Validator."
-msgstr ""
+msgid "In practice, this approach usually violates DRY, since most \"validation\" actually enforces constraints that are part of the data model, and exist all the way down to the database schema definition. Seam provides support for model-based constraints defined using Hibernate Validator."
+msgstr "In pratica quest'approccio di norma viola il principio DRY (Don't Repeat Yourself = Non ripeterti), poiché la maggior parte della \"validazione\" forza i vincoli che sono parte del modello di dati, e che esistono lungo tutta la definizione dello schema di database. Seam fornisce supporto ai vincoli del modello definiti, utilizzando Hibernate Validator."
#. Tag: para
#: Validation.xml:17
#, no-c-format
-msgid ""
-"Let's start by defining our constraints, on our <literal>Location</literal> "
-"class:"
-msgstr ""
+msgid "Let's start by defining our constraints, on our <literal>Location</literal> class:"
+msgstr "Iniziamo definendo i vincoli sulla classe <literal>Location</literal>: "
#. Tag: programlisting
#: Validation.xml:22
@@ -88,13 +103,26 @@
" public void setZip(String z) { zip = z; }\n"
"}]]>"
msgstr ""
+"<![CDATA[public class Location {\n"
+" private String country;\n"
+" private String zip;\n"
+" \n"
+" @NotNull\n"
+" @Length(max=30)\n"
+" public String getCountry() { return country; }\n"
+" public void setCountry(String c) { country = c; }\n"
+"\n"
+" @NotNull\n"
+" @Length(max=6)\n"
+" @Pattern(\"^\\d*$\")\n"
+" public String getZip() { return zip; }\n"
+" public void setZip(String z) { zip = z; }\n"
+"}]]>"
#. Tag: para
#: Validation.xml:24
#, no-c-format
-msgid ""
-"Well, that's a decent first cut, but in practice it might be more elegant to "
-"use custom constraints instead of the ones built into Hibernate Validator:"
+msgid "Well, that's a decent first cut, but in practice it might be more elegant to use custom constraints instead of the ones built into Hibernate Validator:"
msgstr ""
#. Tag: programlisting
@@ -116,14 +144,25 @@
" public void setZip(String z) { zip = z; }\n"
"}]]>"
msgstr ""
+"<![CDATA[public class Location {\n"
+" private String country;\n"
+" private String zip;\n"
+" \n"
+" @NotNull\n"
+" @Country\n"
+" public String getCountry() { return country; }\n"
+" public void setCountry(String c) { country = c; }\n"
+"\n"
+" @NotNull\n"
+" @ZipCode\n"
+" public String getZip() { return zip; }\n"
+" public void setZip(String z) { zip = z; }\n"
+"}]]>"
#. Tag: para
#: Validation.xml:32
#, no-c-format
-msgid ""
-"Whichever route we take, we no longer need to specify the type of validation "
-"to be used in the JSF page. Instead, we can use <literal><s:validate></"
-"literal> to validate against the constraint defined on the model object."
+msgid "Whichever route we take, we no longer need to specify the type of validation to be used in the JSF page. Instead, we can use <literal><s:validate></literal> to validate against the constraint defined on the model object."
msgstr ""
#. Tag: programlisting
@@ -151,33 +190,44 @@
"\n"
"</h:form>]]>"
msgstr ""
+"<![CDATA[<h:form>\n"
+" <h:messages/>\n"
+"\n"
+" <div>\n"
+" Country:\n"
+" <h:inputText value=\"#{location.country}\" required=\"true\">\n"
+" <s:validate/>\n"
+" </h:inputText>\n"
+" </div>\n"
+" \n"
+" <div>\n"
+" Zip code:\n"
+" <h:inputText value=\"#{location.zip}\" required=\"true\">\n"
+" <s:validate/>\n"
+" </h:inputText>\n"
+" </div>\n"
+" \n"
+" <h:commandButton/>\n"
+"\n"
+"</h:form>]]>"
#. Tag: para
#: Validation.xml:41
#, no-c-format
-msgid ""
-"<emphasis>Note:</emphasis> specifying <literal>@NotNull</literal> on the "
-"model does <emphasis>not</emphasis> eliminate the requirement for "
-"<literal>required=\"true\"</literal> to appear on the control! This is due "
-"to a limitation of the JSF validation architecture."
+msgid "<emphasis>Note:</emphasis> specifying <literal>@NotNull</literal> on the model does <emphasis>not</emphasis> eliminate the requirement for <literal>required=\"true\"</literal> to appear on the control! This is due to a limitation of the JSF validation architecture."
msgstr ""
#. Tag: para
#: Validation.xml:48
#, no-c-format
-msgid ""
-"This approach <emphasis>defines</emphasis> constraints on the model, and "
-"<emphasis>presents</emphasis> constraint violations in the view—a "
-"significantly better design."
+msgid "This approach <emphasis>defines</emphasis> constraints on the model, and <emphasis>presents</emphasis> constraint violations in the view—a significantly better design."
msgstr ""
#. Tag: para
#: Validation.xml:54
#, no-c-format
-msgid ""
-"However, it is not much less verbose than what we started with, so let's try "
-"<literal><s:validateAll></literal>:"
-msgstr ""
+msgid "However, it is not much less verbose than what we started with, so let's try <literal><s:validateAll></literal>:"
+msgstr "Comunque non è molto meno corto di quanto lo era all'inizio, quindi proviamo <literal><s:validateAll></literal>:"
#. Tag: programlisting
#: Validation.xml:59
@@ -205,72 +255,74 @@
"\n"
"</h:form>]]>"
msgstr ""
+"<![CDATA[<h:form>\n"
+" \n"
+" <h:messages/>\n"
+"\n"
+" <s:validateAll>\n"
+"\n"
+" <div>\n"
+" Country:\n"
+" <h:inputText value=\"#{location.country}\" required=\"true\"/>\n"
+" </div>\n"
+"\n"
+" <div>\n"
+" Zip code:\n"
+" <h:inputText value=\"#{location.zip}\" required=\"true\"/>\n"
+" </div>\n"
+"\n"
+" <h:commandButton/>\n"
+"\n"
+" </s:validateAll>\n"
+"\n"
+"</h:form>]]>"
#. Tag: para
#: Validation.xml:61
#, no-c-format
-msgid ""
-"This tag simply adds an <literal><s:validate></literal> to every input "
-"in the form. For a large form, it can save a lot of typing!"
-msgstr ""
+msgid "This tag simply adds an <literal><s:validate></literal> to every input in the form. For a large form, it can save a lot of typing!"
+msgstr "Questo tag semplicemente aggiunge un <literal><s:validate></literal> ad ogni input nella form. Per form grandi questo fa risparmiare molto!"
#. Tag: para
#: Validation.xml:67
#, no-c-format
-msgid ""
-"Now we need to do something about displaying feedback to the user when "
-"validation fails. Currently we are displaying all messages at the top of the "
-"form. In order for the user to correlate the message with an input, you need "
-"to define a label using the standard <literal>label</literal> attribute on "
-"the input component."
+msgid "Now we need to do something about displaying feedback to the user when validation fails. Currently we are displaying all messages at the top of the form. In order for the user to correlate the message with an input, you need to define a label using the standard <literal>label</literal> attribute on the input component."
msgstr ""
#. Tag: programlisting
#: Validation.xml:73
#, no-c-format
msgid ""
-"<![CDATA[<h:inputText value=\"#{location.zip}\" required=\"true\" label="
-"\"Zip:\">\n"
+"<![CDATA[<h:inputText value=\"#{location.zip}\" required=\"true\" label=\"Zip:\">\n"
" <s:validate/>\n"
"</h:inputText>]]>"
msgstr ""
+"<![CDATA[<h:inputText value=\"#{location.zip}\" required=\"true\" label=\"Zip:\">\n"
+" <s:validate/>\n"
+"</h:inputText>]]>"
#. Tag: para
#: Validation.xml:75
#, no-c-format
-msgid ""
-"You can then inject this value into the message string using the placeholder "
-"{0} (the first and only parameter passed to a JSF message for a Hiberate "
-"Validator restriction). See the internationalization section for more "
-"information regarding where to define these messages."
+msgid "You can then inject this value into the message string using the placeholder {0} (the first and only parameter passed to a JSF message for a Hiberate Validator restriction). See the internationalization section for more information regarding where to define these messages."
msgstr ""
#. Tag: programlisting
#: Validation.xml:83
#, no-c-format
msgid "validator.length={0} length must be between {min} and {max}"
-msgstr ""
+msgstr "validator.length={0} la lunghezza deve essere tra {min} e {max}"
#. Tag: para
#: Validation.xml:85
#, no-c-format
-msgid ""
-"What we would really like to do, though, is display the message next to the "
-"field with the error (this is possible in plain JSF), highlight the field "
-"and label (this is not possible) and, for good measure, display some image "
-"next to the field (also not possible). We also want to display a little "
-"colored asterisk next to the label for each required form field. Using this "
-"approach, the identifying label is not necessary."
+msgid "What we would really like to do, though, is display the message next to the field with the error (this is possible in plain JSF), highlight the field and label (this is not possible) and, for good measure, display some image next to the field (also not possible). We also want to display a little colored asterisk next to the label for each required form field. Using this approach, the identifying label is not necessary."
msgstr ""
#. Tag: para
#: Validation.xml:95
#, no-c-format
-msgid ""
-"That's quite a lot of functionality we need for each field of our form. We "
-"wouldn't want to have to specify higlighting and the layout of the image, "
-"message and input field for every field on the form. So, instead, we'll "
-"specify the common layout in a facelets template:"
+msgid "That's quite a lot of functionality we need for each field of our form. We wouldn't want to have to specify higlighting and the layout of the image, message and input field for every field on the form. So, instead, we'll specify the common layout in a facelets template:"
msgstr ""
#. Tag: programlisting
@@ -287,13 +339,11 @@
" \n"
" <s:label styleClass=\"#{invalid?'error':''}\">\n"
" <ui:insert name=\"label\"/>\n"
-" <s:span styleClass=\"required\" rendered=\"#{required}\">*</s:"
-"span>\n"
+" <s:span styleClass=\"required\" rendered=\"#{required}\">*</s:span>\n"
" </s:label>\n"
" \n"
" <span class=\"#{invalid?'error':''}\">\n"
-" <h:graphicImage value=\"/img/error.gif\" rendered=\"#{invalid}\"/"
-">\n"
+" <h:graphicImage value=\"/img/error.gif\" rendered=\"#{invalid}\"/>\n"
" <s:validateAll>\n"
" <ui:insert/>\n"
" </s:validateAll>\n"
@@ -305,13 +355,36 @@
" \n"
"</ui:composition>]]>"
msgstr ""
+"<![CDATA[<ui:composition xmlns=\"http://www.w3.org/1999/xhtml\"\n"
+" xmlns:ui=\"http://java.sun.com/jsf/facelets\"\n"
+" xmlns:h=\"http://java.sun.com/jsf/html\"\n"
+" xmlns:f=\"http://java.sun.com/jsf/core\"\n"
+" xmlns:s=\"http://jboss.com/products/seam/taglib\">\n"
+" \n"
+" <div>\n"
+" \n"
+" <s:label styleClass=\"#{invalid?'error':''}\">\n"
+" <ui:insert name=\"label\"/>\n"
+" <s:span styleClass=\"required\" rendered=\"#{required}\">*</s:span>\n"
+" </s:label>\n"
+" \n"
+" <span class=\"#{invalid?'error':''}\">\n"
+" <h:graphicImage value=\"/img/error.gif\" rendered=\"#{invalid}\"/>\n"
+" <s:validateAll>\n"
+" <ui:insert/>\n"
+" </s:validateAll>\n"
+" </span>\n"
+" \n"
+" <s:message styleClass=\"error\"/>\n"
+" \n"
+" </div>\n"
+" \n"
+"</ui:composition>]]>"
#. Tag: para
#: Validation.xml:105
#, no-c-format
-msgid ""
-"We can include this template for each of our form fields using <literal><"
-"s:decorate></literal>."
+msgid "We can include this template for each of our form fields using <literal><s:decorate></literal>."
msgstr ""
#. Tag: programlisting
@@ -336,14 +409,29 @@
"\n"
"</h:form>]]>"
msgstr ""
+"<![CDATA[<h:form>\n"
+"\n"
+" <h:messages globalOnly=\"true\"/>\n"
+"\n"
+" <s:decorate template=\"edit.xhtml\">\n"
+" <ui:define name=\"label\">Country:</ui:define>\n"
+" <h:inputText value=\"#{location.country}\" required=\"true\"/>\n"
+" </s:decorate>\n"
+" \n"
+" <s:decorate template=\"edit.xhtml\">\n"
+" <ui:define name=\"label\">Zip code:</ui:define>\n"
+" <h:inputText value=\"#{location.zip}\" required=\"true\"/>\n"
+" </s:decorate>\n"
+"\n"
+" <h:commandButton/>\n"
+"\n"
+"</h:form>]]>"
#. Tag: para
#: Validation.xml:112
#, no-c-format
-msgid ""
-"Finally, we can use RichFaces Ajax to display validation messages as the "
-"user is navigating around the form:"
-msgstr ""
+msgid "Finally, we can use RichFaces Ajax to display validation messages as the user is navigating around the form:"
+msgstr "Infine è possibile utilizzare RichFaces Ajax per mostrare i messaggi di validazione mentre l'utente naviga nella form:"
#. Tag: programlisting
#: Validation.xml:117
@@ -356,16 +444,14 @@
" <s:decorate id=\"countryDecoration\" template=\"edit.xhtml\">\n"
" <ui:define name=\"label\">Country:</ui:define>\n"
" <h:inputText value=\"#{location.country}\" required=\"true\">\n"
-" <a:support event=\"onblur\" reRender=\"countryDecoration\" "
-"bypassUpdates=\"true\"/>\n"
+" <a:support event=\"onblur\" reRender=\"countryDecoration\" bypassUpdates=\"true\"/>\n"
" </h:inputText>\n"
" </s:decorate>\n"
" \n"
" <s:decorate id=\"zipDecoration\" template=\"edit.xhtml\">\n"
" <ui:define name=\"label\">Zip code:</ui:define>\n"
" <h:inputText value=\"#{location.zip}\" required=\"true\">\n"
-" <a:support event=\"onblur\" reRender=\"zipDecoration\" "
-"bypassUpdates=\"true\"/>\n"
+" <a:support event=\"onblur\" reRender=\"zipDecoration\" bypassUpdates=\"true\"/>\n"
" </h:inputText>\n"
" </s:decorate>\n"
"\n"
@@ -373,16 +459,32 @@
"\n"
"</h:form>]]>"
msgstr ""
+"<![CDATA[<h:form>\n"
+"\n"
+" <h:messages globalOnly=\"true\"/>\n"
+"\n"
+" <s:decorate id=\"countryDecoration\" template=\"edit.xhtml\">\n"
+" <ui:define name=\"label\">Country:</ui:define>\n"
+" <h:inputText value=\"#{location.country}\" required=\"true\">\n"
+" <a:support event=\"onblur\" reRender=\"countryDecoration\" bypassUpdates=\"true\"/>\n"
+" </h:inputText>\n"
+" </s:decorate>\n"
+" \n"
+" <s:decorate id=\"zipDecoration\" template=\"edit.xhtml\">\n"
+" <ui:define name=\"label\">Zip code:</ui:define>\n"
+" <h:inputText value=\"#{location.zip}\" required=\"true\">\n"
+" <a:support event=\"onblur\" reRender=\"zipDecoration\" bypassUpdates=\"true\"/>\n"
+" </h:inputText>\n"
+" </s:decorate>\n"
+"\n"
+" <h:commandButton/>\n"
+"\n"
+"</h:form>]]>"
#. Tag: para
#: Validation.xml:119
#, no-c-format
-msgid ""
-"It's better style to define explicit ids for important controls on the page, "
-"especially if you want to do automated testing for the UI, using some "
-"toolkit like Selenium. If you don't provide explicit ids, JSF will generate "
-"them, but the generated values will change if you change anything on the "
-"page."
+msgid "It's better style to define explicit ids for important controls on the page, especially if you want to do automated testing for the UI, using some toolkit like Selenium. If you don't provide explicit ids, JSF will generate them, but the generated values will change if you change anything on the page."
msgstr ""
#. Tag: programlisting
@@ -395,19 +497,15 @@
"\n"
" <s:decorate id=\"countryDecoration\" template=\"edit.xhtml\">\n"
" <ui:define name=\"label\">Country:</ui:define>\n"
-" <h:inputText id=\"country\" value=\"#{location.country}\" required="
-"\"true\">\n"
-" <a:support event=\"onblur\" reRender=\"countryDecoration\" "
-"bypassUpdates=\"true\"/>\n"
+" <h:inputText id=\"country\" value=\"#{location.country}\" required=\"true\">\n"
+" <a:support event=\"onblur\" reRender=\"countryDecoration\" bypassUpdates=\"true\"/>\n"
" </h:inputText>\n"
" </s:decorate>\n"
" \n"
" <s:decorate id=\"zipDecoration\" template=\"edit.xhtml\">\n"
" <ui:define name=\"label\">Zip code:</ui:define>\n"
-" <h:inputText id=\"zip\" value=\"#{location.zip}\" required=\"true"
-"\">\n"
-" <a:support event=\"onblur\" reRender=\"zipDecoration\" "
-"bypassUpdates=\"true\"/>\n"
+" <h:inputText id=\"zip\" value=\"#{location.zip}\" required=\"true\">\n"
+" <a:support event=\"onblur\" reRender=\"zipDecoration\" bypassUpdates=\"true\"/>\n"
" </h:inputText>\n"
" </s:decorate>\n"
"\n"
@@ -415,15 +513,32 @@
"\n"
"</h:form>]]>"
msgstr ""
+"<![CDATA[<h:form id=\"form\">\n"
+"\n"
+" <h:messages globalOnly=\"true\"/>\n"
+"\n"
+" <s:decorate id=\"countryDecoration\" template=\"edit.xhtml\">\n"
+" <ui:define name=\"label\">Country:</ui:define>\n"
+" <h:inputText id=\"country\" value=\"#{location.country}\" required=\"true\">\n"
+" <a:support event=\"onblur\" reRender=\"countryDecoration\" bypassUpdates=\"true\"/>\n"
+" </h:inputText>\n"
+" </s:decorate>\n"
+" \n"
+" <s:decorate id=\"zipDecoration\" template=\"edit.xhtml\">\n"
+" <ui:define name=\"label\">Zip code:</ui:define>\n"
+" <h:inputText id=\"zip\" value=\"#{location.zip}\" required=\"true\">\n"
+" <a:support event=\"onblur\" reRender=\"zipDecoration\" bypassUpdates=\"true\"/>\n"
+" </h:inputText>\n"
+" </s:decorate>\n"
+"\n"
+" <h:commandButton/>\n"
+"\n"
+"</h:form>]]>"
#. Tag: para
#: Validation.xml:130
#, no-c-format
-msgid ""
-"And what if you want to specify a different message to be displayed when "
-"validation fails? You can use the Seam message bundle (and all it's goodies "
-"like el expressions inside the message, and per-view message bundles) with "
-"the Hibernate Validator:"
+msgid "And what if you want to specify a different message to be displayed when validation fails? You can use the Seam message bundle (and all it's goodies like el expressions inside the message, and per-view message bundles) with the Hibernate Validator:"
msgstr ""
#. Tag: programlisting
@@ -443,10 +558,22 @@
" public void setZip(String z) { zip = z; }\n"
"}]]>"
msgstr ""
+"<![CDATA[public class Location {\n"
+" private String name;\n"
+" private String zip;\n"
+" \n"
+" // Getters and setters for name\n"
+"\n"
+" @NotNull\n"
+" @Length(max=6)\n"
+" @ZipCode(message=\"#{messages['location.zipCode.invalid']}\")\n"
+" public String getZip() { return zip; }\n"
+" public void setZip(String z) { zip = z; }\n"
+"}]]>"
#. Tag: programlisting
#: Validation.xml:139
#, no-c-format
-msgid ""
-"location.zipCode.invalid = The zip code is not valid for #{location.name}"
-msgstr ""
+msgid "location.zipCode.invalid = The zip code is not valid for #{location.name}"
+msgstr "location.zipCode.invalid = Codice ZIP non valido per #{location.name}"
+
More information about the seam-commits
mailing list