[jboss-cvs] JBossAS SVN: r73248 - projects/docs/trunk/AS_4/Server_Configuration_Guide/zh-CN.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sun May 11 08:05:14 EDT 2008


Author: xhuang at jboss.com
Date: 2008-05-11 08:05:13 -0400 (Sun, 11 May 2008)
New Revision: 73248

Modified:
   projects/docs/trunk/AS_4/Server_Configuration_Guide/zh-CN/The_CMP_Engine.po
Log:
update

Modified: projects/docs/trunk/AS_4/Server_Configuration_Guide/zh-CN/The_CMP_Engine.po
===================================================================
--- projects/docs/trunk/AS_4/Server_Configuration_Guide/zh-CN/The_CMP_Engine.po	2008-05-11 11:51:37 UTC (rev 73247)
+++ projects/docs/trunk/AS_4/Server_Configuration_Guide/zh-CN/The_CMP_Engine.po	2008-05-11 12:05:13 UTC (rev 73248)
@@ -9,7 +9,7 @@
 "Project-Id-Version: The_CMP_Engine\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
 "POT-Creation-Date: 2007-11-05 06:04+0000\n"
-"PO-Revision-Date: 2008-05-10 23:32+1000\n"
+"PO-Revision-Date: 2008-05-11 22:04+1000\n"
 "Last-Translator: Xi HUANG <xhuang at redhat.com>\n"
 "Language-Team:  <en at li.org>\n"
 "MIME-Version: 1.0\n"
@@ -2599,40 +2599,40 @@
 #: The_CMP_Engine.xml:590
 #, no-c-format
 msgid "relationship-role-source"
-msgstr ""
+msgstr "relationship-role-source"
 
 #. Tag: para
 #: The_CMP_Engine.xml:594
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "<emphasis role=\"bold\">ejb-name</emphasis>: This required element gives the "
 "name of the entity that has the role."
-msgstr "<emphasis role=\"bold\">name</emphasis>:参数的变量名,这是必须的。"
+msgstr "<emphasis role=\"bold\">ejb-name</emphasis>:这是必需的元素,它指定具有这个角色的 entity 的名称。"
 
 #. Tag: emphasis
 #: The_CMP_Engine.xml:602
 #, no-c-format
 msgid "cmr-field"
-msgstr ""
+msgstr "cmr-field"
 
 #. Tag: para
 #: The_CMP_Engine.xml:606
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "<emphasis role=\"bold\">cmr-field-name</emphasis>: This is the name of the "
 "CMR field of the entity has one, if it has one."
-msgstr "<emphasis role=\"bold\">name</emphasis>:这个元素包含通知类的类全名。"
+msgstr "<emphasis role=\"bold\">cmr-field-name</emphasis>:如果 entity 具有 CMR 字段的话,这是该字段的名称。"
 
 #. Tag: para
 #: The_CMP_Engine.xml:611
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "<emphasis role=\"bold\">cmr-field-type</emphasis>: This is the type of the "
 "CMR field, if the field is a collection type. It must be <literal>java.util."
 "Collection</literal> or <literal>java.util.Set</literal>."
 msgstr ""
-"<emphasis role=\"bold\">prefix</emphasis>:这是每个日志文件名的前缀。它的缺省"
-"值是 <literal>access_log</literal>。"
+"<emphasis role=\"bold\">cmr-field-type</emphasis>:这个 CMR 字段的类型(如果它是集合类型)。它必须是 <literal>java.util."
+"Collection</literal> 或者 <literal>java.util.Set</literal>。"
 
 #. Tag: para
 #: The_CMP_Engine.xml:618
@@ -2641,13 +2641,13 @@
 "After adding the CMR field abstract accessors and declaring the "
 "relationship, the relationship should be functional. The next section "
 "discusses the database mapping of the relationship."
-msgstr ""
+msgstr "在添加了 CMR 字段 abstract accessor 并声明了关系后,你就可以使用关系了。下节我们将讨论关系的数据库映射。"
 
 #. Tag: title
 #: The_CMP_Engine.xml:624
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "Relationship Mapping"
-msgstr "集合类(Collections)映射"
+msgstr "关系映射"
 
 #. Tag: para
 #: The_CMP_Engine.xml:625
@@ -2665,12 +2665,16 @@
 "in <xref linkend=\"Relationship_Mapping-The_jbosscmp_jdbc."
 "xml_ejb_relation_element_content_model\"/>."
 msgstr ""
+"关系可以用外键或者独立的关系型表来映射。一对一和一对多的关系缺省使用外键的映射风格,而多对多关系则只使用关系型表风格。关系的映射在 <literal>jbosscmp-jdbc."
+"xml</literal> 描述符的 <literal>relationships</literal> 部分里通过 <literal>ejb-relation</literal> 元素进行声明。<literal>ejb-jar.xml</literal> 文件里的 <literal>ejb-relation-name</literal> 标识关系。<xref linkend=\"Relationship_Mapping-The_jbosscmp_jdbc."
+"xml_ejb_relation_element_content_model\"/> 展示了 <literal>jbosscmp-jdbc."
+"xml</literal> 里的 <literal>ejb-relation</literal> 元素的内容格式。"
 
 #. Tag: title
 #: The_CMP_Engine.xml:629
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "The jbosscmp-jdbc.xml ejb-relation element content model"
-msgstr "The descriptors element content model"
+msgstr "jbosscmp-jdbc.xml 文件的 ejb-relation 元素的内容格式"
 
 #. Tag: para
 #: The_CMP_Engine.xml:636
@@ -2678,7 +2682,7 @@
 msgid ""
 "The basic template of the relationship mapping declaration for "
 "<literal>Organization-Gangster</literal> relationship follows:"
-msgstr ""
+msgstr "<literal>Organization-Gangster</literal> 关系映射声明遵循下面的基本模板:"
 
 #. Tag: programlisting
 #: The_CMP_Engine.xml:639
@@ -2709,6 +2713,30 @@
 "    &lt;/relationships&gt;\n"
 "&lt;/jbosscmp-jdbc&gt;"
 msgstr ""
+"&lt;jbosscmp-jdbc&gt;\n"
+"    &lt;relationships&gt;\n"
+"        &lt;ejb-relation&gt;\n"
+"            &lt;ejb-relation-name&gt;Organization-Gangster&lt;/ejb-relation-"
+"name&gt;\n"
+"            &lt;foreign-key-mapping/&gt;\n"
+"            &lt;ejb-relationship-role&gt;\n"
+"                &lt;ejb-relationship-role-name&gt;org-has-gangsters&lt;/ejb-"
+"relationship-role-name&gt;\n"
+"                &lt;key-fields&gt;\n"
+"                    &lt;key-field&gt;\n"
+"                        &lt;field-name&gt;name&lt;/field-name&gt;\n"
+"                        &lt;column-name&gt;organization&lt;/column-name&gt;\n"
+"                    &lt;/key-field&gt;\n"
+"                &lt;/key-fields&gt;\n"
+"            &lt;/ejb-relationship-role&gt;\n"
+"            &lt;ejb-relationship-role&gt;\n"
+"                &lt;ejb-relationship-role-name&gt;gangster-belongs-to-"
+"org&lt;/ejb-relationship-role-name&gt;\n"
+"                &lt;key-fields/&gt;\n"
+"            &lt;/ejb-relationship-role&gt;\n"
+"        &lt;/ejb-relation&gt;\n"
+"    &lt;/relationships&gt;\n"
+"&lt;/jbosscmp-jdbc&gt;"
 
 #. Tag: para
 #: The_CMP_Engine.xml:640
@@ -2718,7 +2746,7 @@
 "mapped is declared, the relationship can be declared as read only using the "
 "<literal>read-only</literal> and <literal>read-time-out</literal> elements. "
 "They have the same semantics as their counterparts in the entity element."
-msgstr ""
+msgstr "在声明了映射的关系的 <literal>ejb-relation-name</literal> 后,关系可以用 <literal>read-only</literal> 和 <literal>read-time-out</literal> 元素声明为只读模式。它们具有和 entity 元素里对应部分相同的模式。"
 
 #. Tag: para
 #: The_CMP_Engine.xml:643




More information about the jboss-cvs-commits mailing list