[jboss-cvs] JBossAS SVN: r81157 - projects/docs/enterprise/4.3.2.1/Seam/Seam_Reference_Guide/ja-JP.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Nov 17 01:25:36 EST 2008


Author: noriko
Date: 2008-11-17 01:25:35 -0500 (Mon, 17 Nov 2008)
New Revision: 81157

Modified:
   projects/docs/enterprise/4.3.2.1/Seam/Seam_Reference_Guide/ja-JP/Validation.po
Log:
translation competed 100%

Modified: projects/docs/enterprise/4.3.2.1/Seam/Seam_Reference_Guide/ja-JP/Validation.po
===================================================================
--- projects/docs/enterprise/4.3.2.1/Seam/Seam_Reference_Guide/ja-JP/Validation.po	2008-11-17 06:22:12 UTC (rev 81156)
+++ projects/docs/enterprise/4.3.2.1/Seam/Seam_Reference_Guide/ja-JP/Validation.po	2008-11-17 06:25:35 UTC (rev 81157)
@@ -1,11 +1,11 @@
-# translation of Tools.po to Japanese
-# Noriko Mizumoto <noriko at redhat.com>, 2007.
+# translation of Validation.po to Japanese
+# Noriko Mizumoto <noriko at redhat.com>, 2007, 2008.
 msgid ""
 msgstr ""
-"Project-Id-Version: Tools\n"
+"Project-Id-Version: Validation\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
 "POT-Creation-Date: 2008-09-30 00:14+0000\n"
-"PO-Revision-Date: 2007-10-31 13:33+1000\n"
+"PO-Revision-Date: 2008-11-17 16:24+1000\n"
 "Last-Translator: Noriko Mizumoto <noriko at redhat.com>\n"
 "Language-Team: Japanese <fedora-trans-ja at redhat.com>\n"
 "MIME-Version: 1.0\n"
@@ -27,7 +27,7 @@
 
 #. Tag: programlisting
 #: Validation.xml:7
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "<![CDATA[<h:form>\n"
 "    <h:messages/>\n"
@@ -49,25 +49,25 @@
 "    <h:commandButton/>\n"
 "</h:form>]]>"
 msgstr ""
-"&lt;h:form&gt;\n"
-"    &lt;h:messages/&gt;\n"
+"<![CDATA[<h:form>\n"
+"    <h:messages/>\n"
 "\n"
-"    &lt;div&gt;\n"
+"    <div>\n"
 "        Country:\n"
-"        &lt;h:inputText value=\"#{location.country}\" required=\"true\"&gt;\n"
-"            &lt;my:validateCountry/&gt;\n"
-"        &lt;/h:inputText&gt;\n"
-"    &lt;/div&gt;\n"
+"        <h:inputText value=\"#{location.country}\" required=\"true\">\n"
+"            <my:validateCountry/>\n"
+"        </h:inputText>\n"
+"    </div>\n"
 "    \n"
-"    &lt;div&gt;\n"
+"    <div>\n"
 "        Zip code:\n"
-"        &lt;h:inputText value=\"#{location.zip}\" required=\"true\"&gt;\n"
-"            &lt;my:validateZip/&gt;\n"
-"        &lt;/h:inputText&gt;\n"
-"    &lt;/div&gt;\n"
+"        <h:inputText value=\"#{location.zip}\" required=\"true\">\n"
+"            <my:validateZip/>\n"
+"        </h:inputText>\n"
+"    </div>\n"
 "\n"
-"    &lt;h:commandButton/&gt;\n"
-"&lt;/h:form&gt;"
+"    <h:commandButton/>\n"
+"</h:form>]]>"
 
 #. Tag: para
 #: Validation.xml:9
@@ -85,16 +85,15 @@
 
 #. Tag: para
 #: Validation.xml:17
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "Let's start by defining our constraints, on our <literal>Location</literal> "
 "class:"
-msgstr ""
-"<literal>Location</literal> クラスで制約を定義するところから始めてみます。"
+msgstr "<literal>Location</literal> クラスで制約を定義するところから始めてみます。"
 
 #. Tag: programlisting
 #: Validation.xml:22
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "<![CDATA[public class Location {\n"
 "    private String country;\n"
@@ -112,7 +111,7 @@
 "    public void setZip(String z) { zip = z; }\n"
 "}]]>"
 msgstr ""
-"public class Location {\n"
+"<![CDATA[public class Location {\n"
 "    private String country;\n"
 "    private String zip;\n"
 "    \n"
@@ -126,21 +125,21 @@
 "    @Pattern(\"^\\d*$\")\n"
 "    public String getZip() { return zip; }\n"
 "    public void setZip(String z) { zip = z; }\n"
-"}"
+"}]]>"
 
 #. Tag: para
 #: Validation.xml:24
-#, fuzzy, no-c-format
+#, 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:"
 msgstr ""
-"スタートとしてはまあまあですが、 実際には Hibernate Validator にビルトされた"
-"ものを使うよりもカスタムな制約を使う方がスマートかもしれません。"
+"たしかに上記が正当ですが、 実際には Hibernate Validator にビルトインのものを"
+"使わずにカスタムな制約を使う方がスマートかもしれません。"
 
 #. Tag: programlisting
 #: Validation.xml:30
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "<![CDATA[public class Location {\n"
 "    private String country;\n"
@@ -157,7 +156,7 @@
 "    public void setZip(String z) { zip = z; }\n"
 "}]]>"
 msgstr ""
-"public class Location {\n"
+"<![CDATA[public class Location {\n"
 "    private String country;\n"
 "    private String zip;\n"
 "    \n"
@@ -170,7 +169,7 @@
 "    @ZipCode\n"
 "    public String getZip() { return zip; }\n"
 "    public void setZip(String z) { zip = z; }\n"
-"}"
+"}]]>"
 
 #. Tag: para
 #: Validation.xml:32
@@ -186,7 +185,7 @@
 
 #. Tag: programlisting
 #: Validation.xml:39
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "<![CDATA[<h:form>\n"
 "    <h:messages/>\n"
@@ -209,26 +208,26 @@
 "\n"
 "</h:form>]]>"
 msgstr ""
-"&lt;h:form&gt;\n"
-"    &lt;h:messages/&gt;\n"
+"<![CDATA[<h:form>\n"
+"    <h:messages/>\n"
 "\n"
-"    &lt;div&gt;\n"
+"    <div>\n"
 "        Country:\n"
-"        &lt;h:inputText value=\"#{location.country}\" required=\"true\"&gt;\n"
-"            &lt;s:validate/&gt;\n"
-"        &lt;/h:inputText&gt;\n"
-"    &lt;/div&gt;\n"
+"        <h:inputText value=\"#{location.country}\" required=\"true\">\n"
+"            <s:validate/>\n"
+"        </h:inputText>\n"
+"    </div>\n"
 "    \n"
-"    &lt;div&gt;\n"
+"    <div>\n"
 "        Zip code:\n"
-"        &lt;h:inputText value=\"#{location.zip}\" required=\"true\"&gt;\n"
-"            &lt;s:validate/&gt;\n"
-"        &lt;/h:inputText&gt;\n"
-"    &lt;/div&gt;\n"
+"        <h:inputText value=\"#{location.zip}\" required=\"true\">\n"
+"            <s:validate/>\n"
+"        </h:inputText>\n"
+"    </div>\n"
 "    \n"
-"    &lt;h:commandButton/&gt;\n"
+"    <h:commandButton/>\n"
 "\n"
-"&lt;/h:form&gt;"
+"</h:form>]]>"
 
 #. Tag: para
 #: Validation.xml:41
@@ -244,21 +243,20 @@
 "なくなるというわけではありません。これは JSF 検証アーキテクチャの限界によるも"
 "のです。"
 
-# <emphasis>presents</emphasis>#: en.xml:115 (para)
 #. Tag: para
 #: Validation.xml:48
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "This approach <emphasis>defines</emphasis> constraints on the model, and "
 "<emphasis>presents</emphasis> constraint violations in the view&#8212;a "
 "significantly better design."
 msgstr ""
 "この方法はモデル上の制約を<emphasis>定義</emphasis>し、 ビューで制約違反を "
-"<emphasis>表示</emphasis> します &mdash; デザイン性に優れている。。"
+"<emphasis>表示</emphasis> します &mdash; デザイン性に優れている。"
 
 #. Tag: para
 #: Validation.xml:54
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "However, it is not much less verbose than what we started with, so let's try "
 "<literal>&lt;s:validateAll&gt;</literal>:"
@@ -268,7 +266,7 @@
 
 #. Tag: programlisting
 #: Validation.xml:59
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "<![CDATA[<h:form>\n"
 "    \n"
@@ -292,29 +290,27 @@
 "\n"
 "</h:form>]]>"
 msgstr ""
-"&lt;h:form&gt;\n"
+"<![CDATA[<h:form>\n"
 "    \n"
-"    &lt;h:messages/&gt;\n"
+"    <h:messages/>\n"
 "\n"
-"    &lt;s:validateAll&gt;\n"
+"    <s:validateAll>\n"
 "\n"
-"        &lt;div&gt;\n"
+"        <div>\n"
 "            Country:\n"
-"            &lt;h:inputText value=\"#{location.country}\" required=\"true\"/"
-"&gt;\n"
-"        &lt;/div&gt;\n"
+"            <h:inputText value=\"#{location.country}\" required=\"true\"/>\n"
+"        </div>\n"
 "\n"
-"        &lt;div&gt;\n"
+"        <div>\n"
 "            Zip code:\n"
-"            &lt;h:inputText value=\"#{location.zip}\" required=\"true\"/"
-"&gt;\n"
-"        &lt;/div&gt;\n"
+"            <h:inputText value=\"#{location.zip}\" required=\"true\"/>\n"
+"        </div>\n"
 "\n"
-"        &lt;h:commandButton/&gt;\n"
+"        <h:commandButton/>\n"
 "\n"
-"    &lt;/s:validateAll&gt;\n"
+"    </s:validateAll>\n"
 "\n"
-"&lt;/h:form&gt;"
+"</h:form>]]>"
 
 #. Tag: para
 #: Validation.xml:61
@@ -329,7 +325,7 @@
 
 #. Tag: para
 #: Validation.xml:67
-#, fuzzy, no-c-format
+#, 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 "
@@ -338,18 +334,11 @@
 "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."
-msgstr ""
-"ここで、 検証が失敗した場合にユーザーに対してフィードバックを表示させるために"
-"何らか手を打たなければなりません。 現在、 すべてのメッセージはフォームの冒頭"
-"で表示しています。 実際に行いたいのは、 エラーを付けてフィールドのとなりに"
-"メッセージを表示 (プレーン JSF で可能)、 フィールドとラベルをハイライトさせ"
-"て (これは不可能)、 ついでにフィールドのとなりに何かイメージを表示させる (こ"
-"れも不可能) ことです。 また、 必須事項の各フィールドにはラベルのとなりに色の"
-"付いたアスタリスクを表示させたいとします。"
+msgstr "ここで、 検証が失敗した場合にユーザーに対してフィードバックを表示させるために何らか手を打たなければなりません。 現在、 すべてのメッセージはフォームの冒頭で表示しています。 実際には、 エラーを付けてフィールドのとなりにメッセージを表示 (プレーン JSF で可能)、 フィールドとラベルをハイライトさせて (これは不可能)、 ついでにフィールドのとなりに何かイメージを表示させる (これも不可能) ことが目標となります。 また、 必須事項の各フィールドにはラベルのとなりに色の付いたアスタリスクを表示させたいとします。 これを行うのにラベルを識別する必要はありません。"
 
 #. Tag: para
 #: Validation.xml:80
-#, fuzzy, no-c-format
+#, 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, "
@@ -359,11 +348,11 @@
 "フォームの各フィールドに対してかなり多くの機能を必要としています。 フォームに"
 "あるすべてのフィールドそれぞれに対してイメージ、メッセージ、入力フィールドの"
 "レイアウトやハイライトを指定したいとは思わないでしょうから、 代わりに "
-"facelets テンプレートで一般的なレイアウトを指定します。"
+"facelets テンプレートで共通のレイアウトを指定します。"
 
 #. Tag: programlisting
 #: Validation.xml:88
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "<![CDATA[<ui:composition xmlns=\"http://www.w3.org/1999/xhtml\"\n"
 "                xmlns:ui=\"http://java.sun.com/jsf/facelets\"\n"
@@ -393,34 +382,33 @@
 "    \n"
 "</ui:composition>]]>"
 msgstr ""
-"&lt;ui:composition xmlns=\"http://www.w3.org/1999/xhtml\"\n"
+"<![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\"&gt;\n"
+"                xmlns:s=\"http://jboss.com/products/seam/taglib\">\n"
 "                 \n"
-"    &lt;div&gt;\n"
+"    <div>\n"
 "    \n"
-"        &lt;s:label styleClass=\"#{invalid?&#39;error&#39;:&#39;&#39;}"
-"\"&gt;\n"
-"            &lt;ui:insert name=\"label\"/&gt;\n"
-"            &lt;s:span styleClass=\"required\" rendered=\"#{required}\"&gt;"
-"*&lt;/s:span&gt;\n"
-"        &lt;/s:label&gt;\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"
-"        &lt;span class=\"#{invalid?&#39;error&#39;:&#39;&#39;}\"&gt;\n"
-"            &lt;h:graphicImage src=\"img/error.gif\" rendered=\"#{invalid}\"/"
-"&gt;\n"
-"            &lt;s:validateAll&gt;\n"
-"                &lt;ui:insert/&gt;\n"
-"            &lt;/s:validateAll&gt;\n"
-"        &lt;/span&gt;\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"
-"        &lt;s:message styleClass=\"error\"/&gt;\n"
+"        <s:message styleClass=\"error\"/>\n"
 "        \n"
-"    &lt;/div&gt;\n"
+"    </div>\n"
 "    \n"
-"&lt;/ui:composition&gt;"
+"</ui:composition>]]>"
 
 #. Tag: para
 #: Validation.xml:90
@@ -434,7 +422,7 @@
 
 #. Tag: programlisting
 #: Validation.xml:95
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "<![CDATA[<h:form>\n"
 "\n"
@@ -454,38 +442,37 @@
 "\n"
 "</h:form>]]>"
 msgstr ""
-"&lt;h:form&gt;\n"
+"<![CDATA[<h:form>\n"
 "\n"
-"    &lt;h:messages globalOnly=\"true\"/&gt;\n"
+"    <h:messages globalOnly=\"true\"/>\n"
 "\n"
-"    &lt;s:decorate template=\"edit.xhtml\"&gt;\n"
-"        &lt;ui:define name=\"label\"&gt;Country:&lt;/ui:define&gt;\n"
-"        &lt;h:inputText value=\"#{location.country}\" required=\"true\"/"
-"&gt;\n"
-"    &lt;/s:decorate&gt;\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"
-"    &lt;s:decorate template=\"edit.xhtml\"&gt;\n"
-"        &lt;ui:define name=\"label\"&gt;Zip code:&lt;/ui:define&gt;\n"
-"        &lt;h:inputText value=\"#{location.zip}\" required=\"true\"/&gt;\n"
-"    &lt;/s:decorate&gt;\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"
-"    &lt;h:commandButton/&gt;\n"
+"    <h:commandButton/>\n"
 "\n"
-"&lt;/h:form&gt;"
+"</h:form>]]>"
 
 #. Tag: para
 #: Validation.xml:97
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "Finally, we can use RichFaces Ajax to display validation messages as the "
 "user is navigating around the form:"
 msgstr ""
-"最後に、 ユーザーがフォーム内を行ったり来たりするのに応じて Ajax4JSF を使って"
-"検証メッセージを表示させることができます。"
+"最後に、 ユーザーがフォーム内を行ったり来たりするのに応じて RichFaces Ajax を"
+"使って検証メッセージを表示させることができます。"
 
 #. Tag: programlisting
 #: Validation.xml:102
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "<![CDATA[<h:form>\n"
 "\n"
@@ -511,32 +498,33 @@
 "\n"
 "</h:form>]]>"
 msgstr ""
-"&lt;h:form&gt;\n"
+"<![CDATA[<h:form>\n"
 "\n"
-"    &lt;h:messages globalOnly=\"true\"/&gt;\n"
+"    <h:messages globalOnly=\"true\"/>\n"
 "\n"
-"    &lt;s:decorate id=\"countryDecoration\" template=\"edit.xhtml\"&gt;\n"
-"        &lt;ui:define name=\"label\"&gt;Country:&lt;/ui:define&gt;\n"
-"        &lt;h:inputText value=\"#{location.country}\" required=\"true\"&gt;\n"
-"            &lt;a:support event=\"onblur\" reRender=\"countryDecoration\"/"
-"&gt;\n"
-"        &lt;/h:inputText&gt;\n"
-"    &lt;/s:decorate&gt;\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"
-"    &lt;s:decorate id=\"zipDecoration\" template=\"edit.xhtml\"&gt;\n"
-"        &lt;ui:define name=\"label\"&gt;Zip code:&lt;/ui:define&gt;\n"
-"        &lt;h:inputText value=\"#{location.zip}\" required=\"true\"&gt;\n"
-"            &lt;a:support event=\"onblur\" reRender=\"zipDecoration\"/&gt;\n"
-"        &lt;/h:inputText&gt;\n"
-"    &lt;/s:decorate&gt;\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"
-"    &lt;h:commandButton/&gt;\n"
+"    <h:commandButton/>\n"
 "\n"
-"&lt;/h:form&gt;"
+"</h:form>]]>"
 
 #. Tag: para
 #: Validation.xml:104
-#, fuzzy, no-c-format
+#, 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 "
@@ -544,14 +532,12 @@
 "them, but the generated values will change if you change anything on the "
 "page."
 msgstr ""
-"ページ上の重要なコントロールに対して、 特に Selenium のようなツールキットを"
-"使って UI の自動化テストを行いたい場合などは、 明示的な ID を定義するスタイル"
-"の方がよいでしょう。 明示的な ID を与えないと JSF によって ID が生成されます"
-"が、 ページに何らかの変更を加えるとこの生成された値も変更されます。"
+"ページ上の重要なコントロールに明示的な ID を定義することは好ましいスタイルで"
+"す。 特に UI 用の自動テストを Selenium などのツールキットを使用して行いたい場合に適しています。 明示的な ID を与えないと、 JSF はそれらを生成しますがページ上で変更があると生成された値が変化します。"
 
 #. Tag: programlisting
 #: Validation.xml:113
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "<![CDATA[<h:form id=\"form\">\n"
 "\n"
@@ -579,30 +565,31 @@
 "\n"
 "</h:form>]]>"
 msgstr ""
-"&lt;h:form id=\"form\"&gt;\n"
+"<![CDATA[<h:form id=\"form\">\n"
 "\n"
-"    &lt;h:messages globalOnly=\"true\"/&gt;\n"
+"    <h:messages globalOnly=\"true\"/>\n"
 "\n"
-"    &lt;s:decorate id=\"countryDecoration\" template=\"edit.xhtml\"&gt;\n"
-"        &lt;ui:define name=\"label\"&gt;Country:&lt;/ui:define&gt;\n"
-"        &lt;h:inputText id=\"country\" value=\"#{location.country}\" "
-"required=\"true\"&gt;\n"
-"            &lt;a:support event=\"onblur\" reRender=\"countryDecoration\"/"
-"&gt;\n"
-"        &lt;/h:inputText&gt;\n"
-"    &lt;/s:decorate&gt;\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"
-"    &lt;s:decorate id=\"zipDecoration\" template=\"edit.xhtml\"&gt;\n"
-"        &lt;ui:define name=\"label\"&gt;Zip code:&lt;/ui:define&gt;\n"
-"        &lt;h:inputText id=\"zip\" value=\"#{location.zip}\" required=\"true"
-"\"&gt;\n"
-"            &lt;a:support event=\"onblur\" reRender=\"zipDecoration\"/&gt;\n"
-"        &lt;/h:inputText&gt;\n"
-"    &lt;/s:decorate&gt;\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"
-"    &lt;h:commandButton/&gt;\n"
+"    <h:commandButton/>\n"
 "\n"
-"&lt;/h:form&gt;"
+"</h:form>]]>"
 
 #. Tag: para
 #: Validation.xml:115
@@ -612,11 +599,11 @@
 "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 ""
+msgstr "バリデーションが失敗したときに表示させる別のメッセージを指定したい場合はどうでしょう。 Seam メッセージバンドル (およびメッセージ中の EL 式やビューごとのメッセージバンドルなど優れたものすべて) を Hibernate Validator で使用することができます。"
 
 #. Tag: programlisting
 #: Validation.xml:122
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "<![CDATA[public class Location {\n"
 "    private String name;\n"
@@ -631,25 +618,24 @@
 "    public void setZip(String z) { zip = z; }\n"
 "}]]>"
 msgstr ""
-"public class Location {\n"
-"    private String country;\n"
+"<![CDATA[public class Location {\n"
+"    private String name;\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"
+"    // Getters and setters for name\n"
 "\n"
 "    @NotNull\n"
 "    @Length(max=6)\n"
-"    @Pattern(\"^\\d*$\")\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:124
 #, no-c-format
-msgid ""
-"location.zipCode.invalid = The zip code is not valid for #{location.name}"
+msgid "location.zipCode.invalid = The zip code is not valid for #{location.name}"
 msgstr ""
+"location.zipCode.invalid = #{location.name} に対する有効な郵便番号ではありま"
+"せん"
+




More information about the jboss-cvs-commits mailing list