[jboss-cvs] JBossAS SVN: r77833 - projects/docs/enterprise/4.3/Cache/Cache_Tree_Cache_Guide/zh-CN.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Sep 3 02:20:39 EDT 2008
Author: xhuang at jboss.com
Date: 2008-09-03 02:20:38 -0400 (Wed, 03 Sep 2008)
New Revision: 77833
Modified:
projects/docs/enterprise/4.3/Cache/Cache_Tree_Cache_Guide/zh-CN/Compatibility.po
projects/docs/enterprise/4.3/Cache/Cache_Tree_Cache_Guide/zh-CN/Configuration.po
projects/docs/enterprise/4.3/Cache/Cache_Tree_Cache_Guide/zh-CN/Jboss_integration.po
Log:
update
Modified: projects/docs/enterprise/4.3/Cache/Cache_Tree_Cache_Guide/zh-CN/Compatibility.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tree_Cache_Guide/zh-CN/Compatibility.po 2008-09-03 06:03:13 UTC (rev 77832)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tree_Cache_Guide/zh-CN/Compatibility.po 2008-09-03 06:20:38 UTC (rev 77833)
@@ -1,24 +1,27 @@
+# translation of Compatibility.po to
# Language /tmp/mike/JBEAP420/Cache translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2008 Free Software Foundation, Inc.
+#
# Automatically generated, 2007.
-#
+# Xi HUANG <xhuang at redhat.com>, 2008.
msgid ""
msgstr ""
-"Project-Id-Version: JBEAP 420\n"
+"Project-Id-Version: Compatibility\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2008-05-30 04:03+0000\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2008-09-03 15:07+1000\n"
+"Last-Translator: Xi HUANG <xhuang at redhat.com>\n"
+"Language-Team: <en at li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
#. Tag: title
#: Compatibility.xml:10
#, no-c-format
msgid "Version Compatibility and Interoperability"
-msgstr ""
+msgstr "各版本的兼容性和互用性"
#. Tag: para
#: Compatibility.xml:11
@@ -33,7 +36,7 @@
"state transfer messages. Note however that interoperability requires use of "
"the same JGroups version in all nodes in the cluster. In most cases, the "
"version of JGroups used by a version of JBoss Cache can be upgraded."
-msgstr ""
+msgstr "虽然不能绝对保证,但通常来说,在主要的 JBoss Cache 发行版本是兼容和可互用的。兼容性是指应用程序的升级只需要简单地替换 jar 文件就够了。而互用性则意味着两个不同版本的 JBoss Cache 可用在同一群集里,它们应该能够交换复制和状态转移信息。要注意的是,互用性要求在群集中的所有节点里使用相同的 JGroups 版本。在多数情况下,某个 JBoss Cache 版本所使用的 JGroups 能够进行升级。"
#. Tag: para
#: Compatibility.xml:14
@@ -47,7 +50,7 @@
"releases. If you have built applications on top of 1.2.4 or 1.2.4.SP1, "
"please recompile before upgrading to 1.2.4.SP2 in order to be sure you have "
"no issues."
-msgstr ""
+msgstr "在 1.2.4 和 1.2.4.SP1 版本里,和以前版本的 API 的兼容性和互用性不再存在。1.2.4.SP2 版本的主要目的是恢复 API 的兼容性和互用性。请注意,恢复和以前版本的 API 的兼容性和互用性意味着 1.2.4.SP2 并不完全兼容其他两个 1.2.4 版本。如果你的应用程序构建于 1.2.4 或 1.2.4.SP1 之上,那么请在升级到 1.2.4.SP2 之前进行重新编译来确保不出现任何问题。"
#. Tag: para
#: Compatibility.xml:17
@@ -62,7 +65,7 @@
"understood by the indicated release. This mechanism allows us to improve "
"JBoss Cache by using more efficient wire formats while still providing a "
"means to preserve interoperability."
-msgstr ""
+msgstr "从 1.2.4.SP2 开始,我们添加了新的配置属性 <literal>ReplicationVersion</literal>。你需要设置这个属性来允许和前面版本的互用性。它的值应该设置为需要互用的版本号,如 \"1.2.3\"。如果设置了这个属性,复制和状态转移消息的有线格式(wire format)将遵循所指定的版本能够识别的格式。这个机制允许我们在使用高效的有线格式的同时,又能够提供互用性,从而改进了 JBoss Cache。"
#. Tag: para
#: Compatibility.xml:20
@@ -78,3 +81,6 @@
"caches, a workaround is to set system property <literal>jboss.cache."
"fqn.123compatible</literal> to <literal>true</literal>."
msgstr ""
+"在很少的情况中,多个不同的 JBoss Cache 实例会运行在群集里的每一个节点上,但并非每个实例都需要互用 1.2.3 版本的缓存,因此一些缓存将不会把 <literal>ReplicationVersion</literal> 设置为 1.2.3。这会导致全限定对象的序列化出现问题。如果你在使用这种配置且遇到了问题,也不想把所有缓存的 <literal>ReplicationVersion</literal> 都设置为 <literal>1.2.3</literal>,你可以把 <literal>jboss.cache."
+"fqn.123compatible</literal> 属性设置为 <literal>true</literal> 来绕开这个问题。"
+
Modified: projects/docs/enterprise/4.3/Cache/Cache_Tree_Cache_Guide/zh-CN/Configuration.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tree_Cache_Guide/zh-CN/Configuration.po 2008-09-03 06:03:13 UTC (rev 77832)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tree_Cache_Guide/zh-CN/Configuration.po 2008-09-03 06:20:38 UTC (rev 77833)
@@ -1,20 +1,21 @@
+# translation of Configuration.po to
# Language /tmp/mike/JBEAP420/Cache translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2008 Free Software Foundation, Inc.
#
# Automatically generated, 2007.
# Xi HUANG <xhuang at redhat.com>, 2008.
msgid ""
msgstr ""
-"Project-Id-Version: JBEAP 420\n"
+"Project-Id-Version: Configuration\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2008-05-30 04:03+0000\n"
-"PO-Revision-Date: 2008-09-02 16:19+1000\n"
+"PO-Revision-Date: 2008-09-03 16:20+1000\n"
"Last-Translator: Xi HUANG <xhuang at redhat.com>\n"
-"Language-Team: Chinese Simplified <kde-i18n-doc at lists.kde.org>\n"
+"Language-Team: <en at li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Generator: KAider 0.1\n"
+"X-Generator: KBabel 1.11.4\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
#. Tag: title
@@ -558,50 +559,50 @@
#. Tag: para
#: Configuration.xml:20
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"The PropertyConfigurator.configure() method needs to have as argument a "
"filename which is located on the classpath; it will use be used to configure "
"JBoss Cache from the properties defined in it. Note that this configuration "
"file is used to configure JBoss Cache both as a standalone cache, and as an "
"MBean if run inside the JBoss container."
-msgstr "PropertyConfigurator.configure() 方法需要一个参数"
+msgstr "PropertyConfigurator.configure() 方法需要一个位于 classpath 里的文件的名称参数,它定义的属性被用来配置 Boss Cache。请注意这个配置文件既把 JBoss Cache 配置为独立缓存,也将其配置为在 JBoss 容器里运行的 MBean。"
#. Tag: para
#: Configuration.xml:21
#, no-c-format
msgid "We will switch to using an XMBean in a future release."
-msgstr ""
+msgstr "在以后的版本里,我们将转换到 XMBean。"
#. Tag: title
#: Configuration.xml:29
#, no-c-format
msgid "Definition of XML attributes"
-msgstr ""
+msgstr "XML 属性的定义"
#. Tag: para
#: Configuration.xml:30
#, no-c-format
msgid "A list of definitions of each of the XML attributes used above:"
-msgstr ""
+msgstr "上面使用的 XML 属性定义的列表:"
#. Tag: para
#: Configuration.xml:37
#, no-c-format
msgid "Name"
-msgstr ""
+msgstr "名称"
#. Tag: para
#: Configuration.xml:42
#, no-c-format
msgid "Description"
-msgstr ""
+msgstr "描述"
#. Tag: para
#: Configuration.xml:49
#, no-c-format
msgid "BuddyReplicationConfig"
-msgstr ""
+msgstr "BuddyReplicationConfig"
#. Tag: para
#: Configuration.xml:54
@@ -609,13 +610,13 @@
msgid ""
"An XML element that contains detailed buddy replication configuration. See "
"section above on Buddy Replication."
-msgstr ""
+msgstr "包含详细的 buddy replication 配置的 XML 元素。请参考上面的 Buddy Replication 章节。"
#. Tag: para
#: Configuration.xml:61
#, no-c-format
msgid "CacheLoaderConfiguration"
-msgstr ""
+msgstr "CacheLoaderConfiguration"
#. Tag: para
#: Configuration.xml:66
@@ -623,25 +624,25 @@
msgid ""
"An XML element that contains detailed cache loader configuration. See "
"section above on Cache Loaders."
-msgstr ""
+msgstr "包含详细的类加载器配置的 XML 元素。请参考上面的 Cache Loaders 章节。"
#. Tag: para
#: Configuration.xml:73
#, no-c-format
msgid "CacheMode"
-msgstr ""
+msgstr "CacheMode"
#. Tag: para
#: Configuration.xml:78
#, no-c-format
msgid "LOCAL, REPL_SYNC, REPL_ASYNC, INVALIDATION_SYNC or INVALIDATION_ASYNC"
-msgstr ""
+msgstr "LOCAL, REPL_SYNC, REPL_ASYNC, INVALIDATION_SYNC or INVALIDATION_ASYNC"
#. Tag: para
#: Configuration.xml:85
#, no-c-format
msgid "ClusterConfig"
-msgstr ""
+msgstr "ClusterConfig"
#. Tag: para
#: Configuration.xml:90
@@ -655,12 +656,15 @@
"<ulink url=\"http://wiki.jboss.org/wiki/Wiki.jsp?page=JGroups\">JGroups wiki "
"page</ulink> for more information."
msgstr ""
+"底层的 JGroups 栈的配置。如果使用了 <literal>MultiplexerService</literal> 和 <literal>MultiplexerStack</"
+"literal>,它将被忽略。请参考 <literal>etc/META-INF</literal> 文件夹里的不同的 *-service.xml 示例文件。更多信息请参考 <ulink url=\"http://www.jgroups.org\">JGroups 文档</ulink> 或 <ulink url=\"http://wiki.jboss.org/wiki/Wiki.jsp?page=JGroups\">JGroups wiki "
+"页面</ulink>。"
#. Tag: para
#: Configuration.xml:97
#, no-c-format
msgid "ClusterName"
-msgstr ""
+msgstr "ClusterName"
#. Tag: para
#: Configuration.xml:102
@@ -668,13 +672,13 @@
msgid ""
"Name of cluster. Needs to be the same for all nodes in a cluster in order "
"for them to communicate with each other."
-msgstr ""
+msgstr "群集名称。群集里的节点都需要设置相同的群集名称来彼此通信。"
#. Tag: para
#: Configuration.xml:109
#, no-c-format
msgid "EvictionPolicyClass"
-msgstr ""
+msgstr "EvictionPolicyClass"
#. Tag: para
#: Configuration.xml:114
@@ -683,13 +687,13 @@
"The name of a class implementing EvictionPolicy. Deprecated; it is "
"preferable to configure the eviction policy class as part of the "
"<literal>EvictionPolicyConfig</literal>."
-msgstr ""
+msgstr "实现 EvictionPolicy 的类的名称。它已被取消。我们更倾向于把 eviction 策略类配置为 <literal>EvictionPolicyConfig</literal> 的一部分。"
#. Tag: para
#: Configuration.xml:121
#, no-c-format
msgid "EvictionPolicyConfig"
-msgstr ""
+msgstr "EvictionPolicyConfig"
#. Tag: para
#: Configuration.xml:126
@@ -697,13 +701,13 @@
msgid ""
"Configuration parameter for the specified eviction policy. Note that the "
"content is provider specific."
-msgstr ""
+msgstr "指定的 eviction 策略的参数配置。请注意,它的内容是提供商所专有的。"
#. Tag: para
#: Configuration.xml:133
#, no-c-format
msgid "FetchInMemoryState (renamed from FetchStateOnStartup)"
-msgstr ""
+msgstr "FetchInMemoryState(原名 FetchStateOnStartup)"
#. Tag: para
#: Configuration.xml:138
@@ -712,13 +716,13 @@
"Whether or not to acquire the initial in-memory state from existing members. "
"Allows for hot/cold caches (true/false). Also see the fetchPersistentState "
"element in CacheLoaderConfiguration."
-msgstr ""
+msgstr "是否从现有的成员获取初始的内存状态。允许 hot/cold 缓存(true/false)。也请参考 CacheLoaderConfiguration 里的 fetchPersistentState 元素。"
#. Tag: para
#: Configuration.xml:145
#, no-c-format
msgid "InactiveOnStartup"
-msgstr ""
+msgstr "InactiveOnStartup"
#. Tag: para
#: Configuration.xml:150
@@ -730,13 +734,13 @@
"<literal>FetchInMemoryState</literal> is ignored. This property should only "
"be set to true if <literal>UseRegionBasedMarshalling</literal> is also "
"<literal>true</literal>."
-msgstr ""
+msgstr "整个树是否在启动时处于不激活状态,在调用 <literal>activateRegion()</literal> 激活树的一个或多个部分时只响应复制消息。如果为 true,将忽略 <literal>FetchInMemoryState</literal> 属性。这个属性应该只在 <literal>UseRegionBasedMarshalling</literal> 也为 <literal>true</literal> 才设置为 true。"
#. Tag: para
#: Configuration.xml:157
#, no-c-format
msgid "InitialStateRetrievalTimeout"
-msgstr ""
+msgstr "InitialStateRetrievalTimeout"
#. Tag: para
#: Configuration.xml:162
@@ -873,8 +877,7 @@
#. Tag: para
#: Configuration.xml:258
#, no-c-format
-msgid ""
-"Max number of elements in the replication queue until replication kicks in."
+msgid "Max number of elements in the replication queue until replication kicks in."
msgstr ""
#. Tag: para
Modified: projects/docs/enterprise/4.3/Cache/Cache_Tree_Cache_Guide/zh-CN/Jboss_integration.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tree_Cache_Guide/zh-CN/Jboss_integration.po 2008-09-03 06:03:13 UTC (rev 77832)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tree_Cache_Guide/zh-CN/Jboss_integration.po 2008-09-03 06:20:38 UTC (rev 77833)
@@ -1,24 +1,27 @@
+# translation of Jboss_integration.po to
# Language /tmp/mike/JBEAP420/Cache translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2008 Free Software Foundation, Inc.
+#
# Automatically generated, 2007.
-#
+# Xi HUANG <xhuang at redhat.com>, 2008.
msgid ""
msgstr ""
-"Project-Id-Version: JBEAP 420\n"
+"Project-Id-Version: Jboss_integration\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2008-05-30 04:03+0000\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2008-09-03 15:28+1000\n"
+"Last-Translator: Xi HUANG <xhuang at redhat.com>\n"
+"Language-Team: <en at li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
#. Tag: title
#: Jboss_integration.xml:10
#, no-c-format
msgid "Running JBoss Cache within JBoss Application Server"
-msgstr ""
+msgstr "在 JBoss 应用服务器里运行 JBoss Cache"
#. Tag: para
#: Jboss_integration.xml:11
@@ -31,6 +34,9 @@
"course, JBoss Cache can also be deployed as a SAR, or even as part of a WAR, "
"EJB or EAR."
msgstr ""
+"如果 JBoss Cache 运行在 JBoss AS 里,那么 JBoss Cache 可以部署为一个 MBean。下面的步骤演示了实现的步骤。我们不把 JBoss "
+"Cache 部署为 Service Archive (SAR),而是使用 JAR(lib 目录下的 <literal>jboss-cache.jar</"
+"literal>)和一个定义 MBean 的 XML 文件。当然,JBoss Cache 也可以部署为 SAR,或者甚至是 WAR/EJB/EAR 的一部分。"
#. Tag: para
#: Jboss_integration.xml:14
@@ -40,7 +46,7 @@
"lib directory and JBoss AS has to be restarted. Then a regular JBoss Cache "
"configuration file in XML format has to be copied to the /deploy directory. "
"The XML file format is the same as discussed in the Configuration chapter."
-msgstr ""
+msgstr "首先,<literal>jboss-cache.jar</literal> 文件必须复制到 lib 目录下,你也必须启动 JBoss AS。然后,XML 格式的 JBoss Cache 常规配置文件必须复制到 deploy 目录里。XML 文件的格式和我们在“配置”章节所讨论的相同。"
#. Tag: para
#: Jboss_integration.xml:17
@@ -48,7 +54,7 @@
msgid ""
"In order to be used from a client such as a servlet in the Tomcat web "
"container inside the same JBoss container, JMX can be used:"
-msgstr ""
+msgstr "为了"
#. Tag: programlisting
#: Jboss_integration.xml:20
@@ -85,7 +91,7 @@
"If JBoss Cache is run inside of JBoss AS (as an MBean), we can bind it into "
"JNDI using JrmpProxyFactory, just like any other MBean. Below is an example "
"of how to do this:"
-msgstr ""
+msgstr "如果 JBoss Cache 运行在 JBoss AS 里(作为 MBean),我们可以用 JrmpProxyFactory 把它绑定到 JNDI,就像其他 MBean 一样。下面是一个使用示例:"
#. Tag: programlisting
#: Jboss_integration.xml:27
@@ -117,6 +123,31 @@
" <depends>jboss.cache:service=TreeCache</depends>\n"
" </mbean>"
msgstr ""
+"<mbean\n"
+" code=\"org.jboss.invocation.jrmp.server.JRMPProxyFactory\"\n"
+" name=\"mydomain:service=proxyFactory,type=jrmp,target=factory\">\n"
+" <attribute\n"
+" name=\"InvokerName\">jboss:service=invoker,type=jrmp</"
+"attribute>\n"
+" <attribute\n"
+" name=\"TargetName\">jboss.cache:service=TreeCache</"
+"attribute>\n"
+" <attribute name=\"JndiName\">MyCache</attribute> <"
+"attribute\n"
+" name=\"InvokeTargetMethod\">true</attribute> <attribute\n"
+" name=\"ExportedInterface\">org.jboss.cache.TreeCacheMBean</"
+"attribute>\n"
+" <attribute name=\"ClientInterceptors\"> <iterceptors>\n"
+" <interceptor>org.jboss.proxy.ClientMethodInterceptor</"
+"interceptor>\n"
+" <interceptor>org.jboss.proxy.SecurityInterceptor</"
+"interceptor>\n"
+" <interceptor>org.jboss.invocation.InvokerInterceptor</"
+"interceptor>\n"
+" </iterceptors> </attribute>\n"
+" <depends>jboss:service=invoker,type=jrmp</depends>\n"
+" <depends>jboss.cache:service=TreeCache</depends>\n"
+" </mbean>"
#. Tag: para
#: Jboss_integration.xml:29
@@ -128,3 +159,7 @@
"under which the MBean will be bound, and <literal>ExportedInterface</"
"literal> is the interface name of the MBean."
msgstr ""
+"<literal>InvokerName</literal> 属性必须指向有效的 JBoss "
+"invoker MBean。<literal>TargetName</literal> 是要绑定到 JNDI 里的 MBean 的 JMX 名称。<literal>JndiName</literal> 是该 MBean 绑定的名称,而 <literal>ExportedInterface</"
+"literal> 是 MBean 的接口名称。"
+
More information about the jboss-cvs-commits
mailing list