[jboss-cvs] JBossAS SVN: r70461 - projects/docs/trunk/AS_4/Server_Configuration_Guide/zh-CN.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Mar 6 01:12:07 EST 2008
Author: xhuang at jboss.com
Date: 2008-03-06 01:12:07 -0500 (Thu, 06 Mar 2008)
New Revision: 70461
Modified:
projects/docs/trunk/AS_4/Server_Configuration_Guide/zh-CN/J2EE_Messaging_On_JBOSS.po
projects/docs/trunk/AS_4/Server_Configuration_Guide/zh-CN/J2EE_Security_On_JBOSS.po
Log:
update
Modified: projects/docs/trunk/AS_4/Server_Configuration_Guide/zh-CN/J2EE_Messaging_On_JBOSS.po
===================================================================
--- projects/docs/trunk/AS_4/Server_Configuration_Guide/zh-CN/J2EE_Messaging_On_JBOSS.po 2008-03-06 05:57:24 UTC (rev 70460)
+++ projects/docs/trunk/AS_4/Server_Configuration_Guide/zh-CN/J2EE_Messaging_On_JBOSS.po 2008-03-06 06:12:07 UTC (rev 70461)
@@ -1,3 +1,4 @@
+# translation of J2EE_Messaging_On_JBOSS.po to Simplified Chinese
# translation of J2EE_Messaging_On_JBOSS.po to
# Language /tmp/mike/JBEAP420/JBAS translations for JBEAP package.
# Copyright (C) 2007, 2008 Free Software Foundation, Inc.
@@ -9,9 +10,9 @@
"Project-Id-Version: J2EE_Messaging_On_JBOSS\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2007-11-05 06:03+0000\n"
-"PO-Revision-Date: 2008-03-05 21:29+1000\n"
+"PO-Revision-Date: 2008-03-06 16:07+1000\n"
"Last-Translator: Xi HUANG <xhuang at redhat.com>\n"
-"Language-Team: <zh at li.org>\n"
+"Language-Team: Simplified Chinese <en at li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
@@ -4392,25 +4393,23 @@
"<literal>SecurityManager</literal> to authorize client operations against "
"the destination. The content model is the same as that for the "
"<literal>SecurityManager</literal><literal>SecurityConf</literal> attribute."
-msgstr ""
+msgstr "<emphasis role=\"bold\">SecurityConf</emphasis>:这个元素指定描述 <literal>SecurityManager</literal> 用于对客户操作授权的访问控制列表的 XML 片段。其内容和 <literal>SecurityManager</literal> 的 <literal>SecurityConf</literal> 属性相同。"
#. Tag: para
#: J2EE_Messaging_On_JBOSS.xml:1006
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<emphasis role=\"bold\">JNDIName</emphasis>: The location in JNDI to which "
"the topic object will be bound. If this is not set it will be bound under "
"the <literal>topic</literal> context using the name of the queue. For the "
"<literal>testTopic</literal> shown above, the JNDI name would be "
"<literal>topic/testTopic</literal>."
-msgstr ""
-"<emphasis role=\"bold\">name</emphasis>:这是虚拟主机的 DNS 名。至少一个 "
-"<literal>Host</literal> 元素必须用对应于所包含的 <literal>Engine</literal> "
-"的 <literal>defaultHost</literal> 值的名字来配置。"
+msgstr "<emphasis role=\"bold\">JNDIName</emphasis>:主题对象将被绑定的 JNDI 位置。如果没有设置则绑定在使用队列名的 <literal>topic</literal> 上下文。例如上面的 <literal>testTopic</literal>,其 JNDI 名将是 <literal>topic/testTopic</literal>。"
#. Tag: para
#: J2EE_Messaging_On_JBOSS.xml:1011
#, no-c-format
+#, fuzzy
msgid ""
"<emphasis role=\"bold\">MaxDepth</emphasis>: The <literal>MaxDepth</literal> "
"is an upper limit to the backlog of messages that can exist for a "
@@ -4424,6 +4423,8 @@
"transaction to fail during the commit phase when the message is physically "
"added to the topic."
msgstr ""
+"<emphasis role=\"bold\">MaxDepth</emphasis>:<literal>MaxDepth</literal> 是存在于目的地里的积压消息的上限,如果超过这个值,试图添加新消息将导致 <literal>org.jboss.mq.DestinationFullException</literal> 异常。在某些情况下仍然可以超过<literal>MaxDepth</literal>。例如,当消息被回放至队列里时。 "
+"这是因为在消息从物理上被添加到队列里时,我们不希望这个事务在提交阶段失败。"
#. Tag: para
#: J2EE_Messaging_On_JBOSS.xml:1016
@@ -4433,7 +4434,7 @@
"destination message counter history day limit with a value < 0 indicating "
"unlimited history, a 0 value disabling history, and a value > 0 giving "
"the history days count."
-msgstr ""
+msgstr "<emphasis role=\"bold\">MessageCounterHistoryDayLimit</emphasis>:设置目的地消息的历史天数限制计数,如果小于 0 表示不限制,0 表示禁止历史数据,而大于 0 则设置天数限制。"
#. Tag: para
#: J2EE_Messaging_On_JBOSS.xml:1026
@@ -4499,7 +4500,7 @@
"<literal>DestinationManager</literal>, but only for this one topic. Message "
"counters are only maintained for each active subscription, durable or "
"otherwise."
-msgstr ""
+msgstr "<emphasis role=\"bold\">listMessageCounter()</emphasis>:这个操作生成一个包含和 <literal>DestinationManager</literal> 的 <literal>listMessageCounter</literal> 操作相同的 HTML 表格。消息计数仅针对每个活动的订阅、持久性订阅进行维护。"
#. Tag: para
#: J2EE_Messaging_On_JBOSS.xml:1076
@@ -4508,7 +4509,7 @@
"<emphasis role=\"bold\">listMessageCounterHistory()</emphasis>: This "
"operation display an HTML table showing the hourly message counts per hour "
"for each day of history."
-msgstr ""
+msgstr "<emphasis role=\"bold\">listMessageCounterHistory()</emphasis>:这个操作显示一个 HTML 表格,其内容是历史数据里的每天的每小时消息计数。"
#. Tag: title
#: J2EE_Messaging_On_JBOSS.xml:1093
@@ -4532,6 +4533,8 @@
"well as JBoss server components. The JBoss server MDB container utilizes the "
"JMS service's ASF to concurrently process messages sent to MDBs."
msgstr ""
+"到此为止,我们已经讨论了标准的 JMS 客户/服务器架构。JMS 规格定义一套高级接口,允许对目的地消息的并行处理,这些功能一起被称为 Application Server Facilities(ASF)。应用服务器必须提供两个支持并行消息处理的接口:<literal>javax.jms.ServerSessionPool</literal> 和 "
+"<literal>javax.jms.ServerSession</literal>。因此,组成 JBossMQ ASF 的组件涉及 JBossMQ 组件以及 JBoss 服务器组件。JBoss 服务器 MDB 容器利用 JMS 服务的 ASF 来对发送到 MDB 的消息进行并行处理。"
#. Tag: para
#: J2EE_Messaging_On_JBOSS.xml:1097
@@ -4543,7 +4546,7 @@
"used by the JBoss MDB layer are integrated using MBeans that allow either "
"the application server interfaces, or the JMS provider interfaces to be "
"replaced with alternate implementations."
-msgstr ""
+msgstr "JMS 规格详细定义了 ASF 域的职责,在这里我们不会讨论 ASF 组件的实现。但我们将讨论 JBoss MDB 层使用的 ASF 组件是如何用 MBean 进行集成的,这些 MBean 允许用其他的实现来替代应用服务器或 JMS 提供者接口。"
#. Tag: para
#: J2EE_Messaging_On_JBOSS.xml:1100
Modified: projects/docs/trunk/AS_4/Server_Configuration_Guide/zh-CN/J2EE_Security_On_JBOSS.po
===================================================================
--- projects/docs/trunk/AS_4/Server_Configuration_Guide/zh-CN/J2EE_Security_On_JBOSS.po 2008-03-06 05:57:24 UTC (rev 70460)
+++ projects/docs/trunk/AS_4/Server_Configuration_Guide/zh-CN/J2EE_Security_On_JBOSS.po 2008-03-06 06:12:07 UTC (rev 70461)
@@ -1,3 +1,4 @@
+# translation of J2EE_Security_On_JBOSS.po to Simplified Chinese
# translation of J2EE_Security_On_JBOSS.po to
# Language /tmp/mike/JBEAP420/JBAS translations for JBEAP package.
# Copyright (C) 2007, 2008 Free Software Foundation, Inc.
@@ -9,9 +10,9 @@
"Project-Id-Version: J2EE_Security_On_JBOSS\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2007-11-05 06:04+0000\n"
-"PO-Revision-Date: 2008-03-05 21:33+1000\n"
+"PO-Revision-Date: 2008-03-06 15:40+1000\n"
"Last-Translator: Xi HUANG <xhuang at redhat.com>\n"
-"Language-Team: <zh at li.org>\n"
+"Language-Team: Simplified Chinese <en at li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
@@ -654,11 +655,10 @@
#. Tag: para
#: J2EE_Security_On_JBOSS.xml:143
#, no-c-format
-#, fuzzy
msgid ""
"If there are multiple methods with the same overloaded name, this style "
"refers to all of the overloaded methods."
-msgstr "如果有多个具有相同重载名的方法,这种风格就引用所有"
+msgstr "如果有多个具有相同重载名的方法,这种风格就引用所有被重载的方法。"
#. Tag: para
#: J2EE_Security_On_JBOSS.xml:146
@@ -666,7 +666,7 @@
msgid ""
"The third style is used to refer to a specified method within a set of "
"methods with an overloaded name:"
-msgstr ""
+msgstr "第三种风格被用来引用具有重载名称的一系列方法里的某个指定的方法:"
#. Tag: programlisting
#: J2EE_Security_On_JBOSS.xml:149
@@ -682,6 +682,15 @@
" </method-params>\n"
"</method>"
msgstr ""
+"<method>\n"
+" <ejb-name>EJBNAME</ejb-name>\n"
+" <method-name>METHOD</method-name>\n"
+" <method-params>\n"
+" <method-param>PARAMETER_1</method-param>\n"
+" <!-- ... -->\n"
+" <method-param>PARAMETER_N</method-param>\n"
+" </method-params>\n"
+"</method>"
#. Tag: para
#: J2EE_Security_On_JBOSS.xml:150
@@ -692,7 +701,7 @@
"name of the corresponding method parameter type. If there are multiple "
"methods with the same overloaded signature, the permission applies to all of "
"the matching overloaded methods."
-msgstr ""
+msgstr "这个方法必须在指定的 Enterprise Bean 的 Home 或 Remote 接口里定义。method-param 元素的值是对应的方法参数类型的权限定名。如果多个重载方法具有相同的参数,权限将应用于所有匹配的重载方法。"
#. Tag: para
#: J2EE_Security_On_JBOSS.xml:153
@@ -701,7 +710,7 @@
"The optional <literal>method-intf</literal> element can be used to "
"differentiate methods with the same name and signature that are defined in "
"both the home and remote interfaces of an enterprise bean."
-msgstr ""
+msgstr "可选的 <literal>method-intf</literal> 元素可以被用来区别既在 Home 也在 Remote 接口里定义的具有相同名字和参数的方法。"
#. Tag: para
#: J2EE_Security_On_JBOSS.xml:156
@@ -709,7 +718,7 @@
msgid ""
"provides complete examples of the <literal>method-permission</literal> "
"element usage."
-msgstr ""
+msgstr "提供了完整的使用 <literal>method-permission</literal> 元素的例子。"
#. Tag: title
#: J2EE_Security_On_JBOSS.xml:159
@@ -717,7 +726,7 @@
msgid ""
"An ejb-jar.xml descriptor fragment that illustrates the method-permission "
"element usage."
-msgstr ""
+msgstr "解释 method-permission 元素的用法的 ejb-jar.xml 描述符片段。"
#. Tag: programlisting
#: J2EE_Security_On_JBOSS.xml:160
@@ -791,12 +800,79 @@
" </assembly-descriptor>\n"
"</ejb-jar>"
msgstr ""
+"<ejb-jar>\n"
+" <assembly-descriptor>\n"
+" <method-permission>\n"
+" <description>The employee and temp-employee roles may "
+"access any\n"
+" method of the EmployeeService bean </description>\n"
+" <role-name>employee</role-name>\n"
+" <role-name>temp-employee</role-name>\n"
+" <method>\n"
+" <ejb-name>EmployeeService</ejb-name>\n"
+" <method-name>*</method-name>\n"
+" </method>\n"
+" </method-permission>\n"
+" <method-permission>\n"
+" <description>The employee role may access the "
+"findByPrimaryKey,\n"
+" getEmployeeInfo, and the updateEmployeeInfo(String) method "
+"of\n"
+" the AardvarkPayroll bean </description>\n"
+" <role-name>employee</role-name>\n"
+" <method>\n"
+" <ejb-name>AardvarkPayroll</ejb-name>\n"
+" <method-name>findByPrimaryKey</method-name>\n"
+" </method>\n"
+" <method>\n"
+" <ejb-name>AardvarkPayroll</ejb-name>\n"
+" <method-name>getEmployeeInfo</method-name>\n"
+" </method>\n"
+" <method>\n"
+" <ejb-name>AardvarkPayroll</ejb-name>\n"
+" <method-name>updateEmployeeInfo</method-name>\n"
+" <method-params>\n"
+" <method-param>java.lang.String</method-"
+"param>\n"
+" </method-params>\n"
+" </method>\n"
+" </method-permission>\n"
+" <method-permission>\n"
+" <description>The admin role may access any method of the\n"
+" EmployeeServiceAdmin bean </description>\n"
+" <role-name>admin</role-name>\n"
+" <method>\n"
+" <ejb-name>EmployeeServiceAdmin</ejb-name>\n"
+" <method-name>*</method-name>\n"
+" </method>\n"
+" </method-permission>\n"
+" <method-permission>\n"
+" <description>Any authenticated user may access any method "
+"of the\n"
+" EmployeeServiceHelp bean</description>\n"
+" <unchecked/>\n"
+" <method>\n"
+" <ejb-name>EmployeeServiceHelp</ejb-name>\n"
+" <method-name>*</method-name>\n"
+" </method>\n"
+" </method-permission>\n"
+" <exclude-list>\n"
+" <description>No fireTheCTO methods of the EmployeeFiring "
+"bean may be\n"
+" used in this deployment</description>\n"
+" <method>\n"
+" <ejb-name>EmployeeFiring</ejb-name>\n"
+" <method-name>fireTheCTO</method-name>\n"
+" </method>\n"
+" </exclude-list>\n"
+" </assembly-descriptor>\n"
+"</ejb-jar>"
#. Tag: title
#: J2EE_Security_On_JBOSS.xml:165
#, no-c-format
msgid "Web Content Security Constraints"
-msgstr ""
+msgstr "Web 内容的安全约束"
#. Tag: para
#: J2EE_Security_On_JBOSS.xml:166
@@ -807,12 +883,14 @@
"This set of information is declared by using the <literal>web.xml</"
"literal><literal>security-constraint</literal> element."
msgstr ""
+"在 web 应用程序里,安全性是由角色(Roles)来定义的,标识被保护内容的 URL 模式控制可以访问这些内容的角色。这些信息通过 <literal>web.xml</"
+"literal> 里的 <literal>security-constraint</literal> 元素来声明。"
#. Tag: title
#: J2EE_Security_On_JBOSS.xml:170
-#, fuzzy, no-c-format
+#, no-c-format
msgid "The security-constraint element"
-msgstr "Connector 元素"
+msgstr "security-constraint 元素"
#. Tag: para
#: J2EE_Security_On_JBOSS.xml:177
@@ -828,6 +906,11 @@
"<literal>http-method</literal> element value specifies a type of HTTP "
"request to allow."
msgstr ""
+"被保护的内容通过一个或多个 <literal>web-"
+"resource-collection</literal> 元素进行声明。每个 <literal>web-resource-"
+"collection</literal> 元素都包含一系列可选的 <literal>url-"
+"pattern</literal> 元素以及 <literal>http-"
+"method</literal> 元素。<literal>url-pattern</literal> 元素的值指定请求 URL 在访问相应内容时必须匹配的 URL 模式。<literal>http-method</literal> 元素值则指定允许的 HTTP 请求的类型。"
#. Tag: para
#: J2EE_Security_On_JBOSS.xml:180
@@ -860,13 +943,13 @@
"the authentication method that should be used, the realm name that should be "
"used for rhw application, and the attributes that are needed by the form "
"login mechanism."
-msgstr ""
+msgstr "可选的 <literal>login-config</literal> 元素被用来配置应该使用的验证方法,它的 realm 名应该用于 rhw 应用程序,其属性为表单登录机制所需。"
#. Tag: title
#: J2EE_Security_On_JBOSS.xml:187
-#, fuzzy, no-c-format
+#, no-c-format
msgid "The login-config element"
-msgstr "Engine 元素"
+msgstr "login-config 元素"
#. Tag: para
#: J2EE_Security_On_JBOSS.xml:194
@@ -942,9 +1025,9 @@
#. Tag: title
#: J2EE_Security_On_JBOSS.xml:206
-#, fuzzy, no-c-format
+#, no-c-format
msgid "Enabling Declarative Security in JBoss"
-msgstr "Hibernate 的声明式安全机制"
+msgstr "启用 JBos 里的声明式安全性"
#. Tag: para
#: J2EE_Security_On_JBOSS.xml:207
More information about the jboss-cvs-commits
mailing list