Skip to content

Commit 9e7c71c

Browse files
committed
Minor changes for index and configuration
1 parent 6c51182 commit 9e7c71c

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

src/site/zh/xdoc/configuration.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
</properties>
2828

2929
<body>
30-
<section name="XML 映射配置文件">
31-
<p>MyBatis 的配置文件包含了会深深影响 MyBatis 行为的设置(settings)和属性(properties)信息。配置文档的顶层结构如下:</p>
30+
<section name="配置">
31+
<p>MyBatis 的配置文件包含了会深深影响 MyBatis 行为的设置和属性信息。配置文档的顶层结构如下:</p>
3232

3333
<ul>
3434
<li>
@@ -513,7 +513,7 @@ SqlSessionFactory factory = new SqlSessionFactoryBuilder().build(reader, environ
513513
</td>
514514
<td>
515515
允许使用方法签名中的名称作为语句参数名称。
516-
为了使用该特性,你的工程必须采用 Java 8 编译,并且加上 <code>-parameters</code> 选项。(新增于 3.4.1)
516+
为了使用该特性,你的项目必须采用 Java 8 编译,并且加上 <code>-parameters</code> 选项。(新增于 3.4.1)
517517
</td>
518518
<td>
519519
true | false

src/site/zh/xdoc/index.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
4-
Copyright 2009-2017 the original author or authors.
4+
Copyright 2009-2018 the original author or authors.
55
66
Licensed under the Apache License, Version 2.0 (the "License");
77
you may not use this file except in compliance with the License.
@@ -28,19 +28,19 @@
2828

2929
<body>
3030
<section name="简介">
31-
<subsection name="什么是 MyBatis ">
32-
<p>MyBatis 是一款优秀的持久层框架,它支持定制化 SQL、存储过程以及高级映射。MyBatis 避免了几乎所有的 JDBC 代码和手动设置参数以及获取结果集。MyBatis 可以使用简单的 XML 或注解来配置和映射原生信息,将接口和 Java 的 POJOs(Plain Old Java Objects,普通的 Java对象)映射成数据库中的记录。</p>
31+
<subsection name="什么是 MyBatis?">
32+
<p>MyBatis 是一款优秀的持久层框架,它支持定制化 SQL、存储过程以及高级映射。MyBatis 避免了几乎所有的 JDBC 代码和手动设置参数以及获取结果集。MyBatis 可以使用简单的 XML 或注解来配置和映射原生类型、接口和 Java 的 POJO(Plain Old Java Objects,普通老式 Java 对象)为数据库中的记录。</p>
3333
</subsection>
3434

3535
<subsection name="帮助改进文档...">
36-
<p>不管你以何种方式发现了文档的不足,或是丢失对某一特性的描述,那么你能做的最好的事情莫过于去研究它并把文档写出来。</p>
37-
<p>该文档 xdoc 格式的源码文件可通过<a href="https://github.com/mybatis/mybatis-3/tree/master/src/site">项目的 Git 代码库</a>来获取。Fork 该源码库,做出更新,然后提交一个 pull request 吧。</p>
38-
<p>你将成为本文档的最佳作者,MyBatis 的用户定会过来查阅的
36+
<p>如果你发现文档有任何的缺失,或者缺少某一个功能点的说明,最好的解决办法是先自己学习,并且为缺失的部份补上相应的文档。</p>
37+
<p>该文档 xdoc 格式的源码文件可通过<a href="https://github.com/mybatis/mybatis-3/tree/master/src/site">项目的 Git 代码库</a>来获取。Fork 该源码库,作出更新,并提交 Pull Request 吧。</p>
38+
<p>还有其他像你一样的人都需要阅读这份文档,而你,就是这份文档最好的作者
3939
</p>
4040
</subsection>
4141

42-
<subsection name="当前的国际化版本">
43-
<p>MyBatis 的其他语言版本:</p>
42+
<subsection name="文档的翻译版本">
43+
<p>您可以阅读 MyBatis 文档的其他语言版本:</p>
4444
<ul class="i18n">
4545
<li class="en"><a href="../index.html">English</a></li>
4646
<li class="es"><a href="../es/index.html">Español</a></li>
@@ -49,7 +49,7 @@
4949
<li class="ko"><a href="../ko/index.html">한국어</a></li>
5050
<li class="zh"><a href="./getting-started.html">简体中文</a></li>
5151
</ul>
52-
<p>你想使用本地语言来了解MyBatis吗?那就将它翻译成你的母语并提供给我们吧!</p>
52+
<p>想用你的母语来了解 MyBatis 吗?那就将文档翻译成你的母语并提供给我们吧!</p>
5353
</subsection>
5454
</section>
5555
</body>

0 commit comments

Comments
 (0)