[jboss-cvs] JBossAS SVN: r97709 - projects/docs/enterprise/5.0/Hibernate/Hibernate_Core/zh-CN.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Dec 10 20:17:06 EST 2009


Author: xhuang at jboss.com
Date: 2009-12-10 20:17:05 -0500 (Thu, 10 Dec 2009)
New Revision: 97709

Modified:
   projects/docs/enterprise/5.0/Hibernate/Hibernate_Core/zh-CN/tutorial.po
Log:
update

Modified: projects/docs/enterprise/5.0/Hibernate/Hibernate_Core/zh-CN/tutorial.po
===================================================================
--- projects/docs/enterprise/5.0/Hibernate/Hibernate_Core/zh-CN/tutorial.po	2009-12-11 00:50:05 UTC (rev 97708)
+++ projects/docs/enterprise/5.0/Hibernate/Hibernate_Core/zh-CN/tutorial.po	2009-12-11 01:17:05 UTC (rev 97709)
@@ -7,7 +7,7 @@
 "Project-Id-Version: tutorial\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
 "POT-Creation-Date: 2009-12-03T00:15:27\n"
-"PO-Revision-Date: 2009-12-11 10:12+1000\n"
+"PO-Revision-Date: 2009-12-11 11:16+1000\n"
 "Last-Translator: Xi HUANG <xhuang at redhat.com>\n"
 "Language-Team:  <en at li.org>\n"
 "MIME-Version: 1.0\n"
@@ -178,7 +178,7 @@
 #. Tag: para
 #, no-c-format
 msgid "Hibernate makes this mapping type determination using reflection when the mapping files are processed. This can take time and resources, so if startup performance is important you should consider explicitly defining the type to use."
-msgstr ""
+msgstr "当处理映射文件时,Hibernate 用反射(reflection)来决定这个映射类型。这需要时间和资源,所以如果你注重启动性能,你应该考虑显性地定义所用的类型。"
 
 #. Tag: para
 #, no-c-format
@@ -193,12 +193,12 @@
 #. Tag: para
 #, no-c-format
 msgid "At this point, you should have the persistent class and its mapping file in place. It is now time to configure Hibernate. First let's set up HSQLDB to run in \"server mode\""
-msgstr ""
+msgstr "此时,你应该有了持久化类和它的映射文件。现在是配置 Hibernate 的时候了。首先让我们设立 HSQLDB 使其运行在“服务器模式”。"
 
 #. Tag: para
 #, no-c-format
 msgid "We do this do that the data remains between runs."
-msgstr ""
+msgstr "数据在程序运行期间需要保持有效。"
 
 #. Tag: para
 #, no-c-format
@@ -208,7 +208,7 @@
 #. Tag: para
 #, no-c-format
 msgid "Hibernate will be connecting to the database on behalf of your application, so it needs to know how to obtain connections. For this tutorial we will be using a standalone connection pool (as opposed to a <interfacename>javax.sql.DataSource</interfacename>). Hibernate comes with support for two third-party open source JDBC connection pools: <ulink url=\"https://sourceforge.net/projects/c3p0\">c3p0</ulink> and <ulink url=\"http://proxool.sourceforge.net/\">proxool</ulink>. However, we will be using the Hibernate built-in connection pool for this tutorial."
-msgstr ""
+msgstr "Hibernate 将为你的应用程序连接到数据库,所以它需要知道如何获取连接。在这个教程里,我们使用一个独立连接池(和 <interfacename>javax.sql.DataSource</interfacename> 相反)。Hibernate 支持两个第三方的开源 JDBC 连接池:<ulink url=\"https://sourceforge.net/projects/c3p0\">c3p0</ulink> 和 <ulink url=\"http://proxool.sourceforge.net/\">proxool</ulink>。然而,在本教程里我们将使用 Hibernate 内置的连接池。"
 
 #. Tag: para
 #, no-c-format
@@ -223,7 +223,7 @@
 #. Tag: para
 #, no-c-format
 msgid "Notice that this configuration file specifies a different DTD"
-msgstr ""
+msgstr "请注意,这个配置文件指定了一个不同的 DTD。"
 
 #. Tag: para
 #, no-c-format
@@ -233,12 +233,12 @@
 #. Tag: para
 #, no-c-format
 msgid "The first four <literal>property</literal> elements contain the necessary configuration for the JDBC connection. The dialect <literal>property</literal> element specifies the particular SQL variant Hibernate generates."
-msgstr ""
+msgstr "签名 4 个 <literal>property</literal> 元素包含了 JDBC 连接所必需的配置。方言 <literal>property</literal> 元素指定了 Hibernate 生成的特定 SQL 语句。"
 
 #. Tag: para
 #, no-c-format
 msgid "Hibernate is able to correctly determine which dialect to use in most cases. See <xref linkend=\"portability-dialectresolver\" /> for more information."
-msgstr ""
+msgstr "在大多数情况下,Hibernate 都能够正确地决定所使用的方言。更多信息请参考 <xref linkend=\"portability-dialectresolver\" />。"
 
 #. Tag: para
 #, no-c-format
@@ -248,7 +248,7 @@
 #. Tag: para
 #, no-c-format
 msgid "Save this file as <filename>hibernate.cfg.xml</filename> into the <filename>src/main/resources</filename> directory."
-msgstr ""
+msgstr "把这个文件保存为 <filename>src/main/resources</filename> 目录下的 <filename>hibernate.cfg.xml</filename>。"
 
 #. Tag: title
 #, no-c-format
@@ -258,7 +258,7 @@
 #. Tag: para
 #, no-c-format
 msgid "We will now build the tutorial with Maven. You will need to have Maven installed; it is available from the <ulink url=\"http://maven.apache.org/download.html\">Maven download page</ulink>. Maven will read the <filename>/pom.xml</filename> file we created earlier and know how to perform some basic project tasks. First, lets run the <literal>compile</literal> goal to make sure we can compile everything so far:"
-msgstr ""
+msgstr "我们将用 Maven 构建这个教程。你将需要安装 Maven;你可以从 <ulink url=\"http://maven.apache.org/download.html\">Maven 下载页面</ulink>获得 Maven。Maen 将读取我们先前创建的 <filename>/pom.xml</filename> 并知道执行基本的项目任务。首先,让我们运行 <literal>compile</literal> 目标来确保我们可以编译到目前为止的所有程序:"
 
 #. Tag: title
 #, no-c-format
@@ -278,7 +278,7 @@
 #. Tag: para
 #, no-c-format
 msgid "Save this code as <filename>src/main/java/org/hibernate/tutorial/util/HibernateUtil.java</filename>"
-msgstr ""
+msgstr "把这段代码保存为 <filename>src/main/java/org/hibernate/tutorial/util/HibernateUtil.java</filename>。"
 
 #. Tag: para
 #, no-c-format




More information about the jboss-cvs-commits mailing list