Skip to content

Commit 8a9312b

Browse files
committed
Translated to Traditional Chinese (zh_TW)
1 parent 7e940b2 commit 8a9312b

File tree

20 files changed

+6391
-13
lines changed

20 files changed

+6391
-13
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@
361361
<groupId>org.apache.maven.plugins</groupId>
362362
<artifactId>maven-site-plugin</artifactId>
363363
<configuration>
364-
<locales>en,es,ja,fr,zh_CN,ko</locales>
364+
<locales>en,es,ja,fr,zh_CN,zh_TW,ko</locales>
365365
</configuration>
366366
</plugin>
367367
<plugin>

src/site/es/resources/css/site.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,5 @@ li.es {background: url('../../images/es.png') left no-repeat;padding-left: 32px;
2727
li.ja {background: url('../../images/ja.png') left no-repeat;padding-left: 32px; margin: 10px}
2828
li.fr {background: url('../../images/fr.png') left no-repeat;padding-left: 32px; margin: 10px}
2929
li.zh {background: url('../../images/zh.png') left no-repeat;padding-left: 32px; margin: 10px}
30+
li.zh-tw {background: url('../../images/zh-tw.png') left no-repeat;padding-left: 32px; margin: 10px}
3031
li.ko {background: url('../../images/ko.png') left no-repeat;padding-left: 32px; margin: 10px}

src/site/fr/resources/css/site.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,5 @@ li.es {background: url('../../images/es.png') left no-repeat;padding-left: 32px;
2727
li.ja {background: url('../../images/ja.png') left no-repeat;padding-left: 32px; margin: 10px}
2828
li.fr {background: url('../../images/fr.png') left no-repeat;padding-left: 32px; margin: 10px}
2929
li.zh {background: url('../../images/zh.png') left no-repeat;padding-left: 32px; margin: 10px}
30+
li.zh-tw {background: url('../../images/zh-tw.png') left no-repeat;padding-left: 32px; margin: 10px}
3031
li.ko {background: url('../../images/ko.png') left no-repeat;padding-left: 32px; margin: 10px}

src/site/ja/resources/css/site.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,5 @@ li.es {background: url('../../images/es.png') left no-repeat;padding-left: 32px;
2727
li.ja {background: url('../../images/ja.png') left no-repeat;padding-left: 32px; margin: 10px}
2828
li.fr {background: url('../../images/fr.png') left no-repeat;padding-left: 32px; margin: 10px}
2929
li.zh {background: url('../../images/zh.png') left no-repeat;padding-left: 32px; margin: 10px}
30+
li.zh-tw {background: url('../../images/zh-tw.png') left no-repeat;padding-left: 32px; margin: 10px}
3031
li.ko {background: url('../../images/ko.png') left no-repeat;padding-left: 32px; margin: 10px}

src/site/ko/resources/css/site.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,5 @@ li.es {background: url('../../images/es.png') left no-repeat;padding-left: 32px;
2727
li.ja {background: url('../../images/ja.png') left no-repeat;padding-left: 32px; margin: 10px}
2828
li.fr {background: url('../../images/fr.png') left no-repeat;padding-left: 32px; margin: 10px}
2929
li.zh {background: url('../../images/zh.png') left no-repeat;padding-left: 32px; margin: 10px}
30+
li.zh-tw {background: url('../../images/zh-tw.png') left no-repeat;padding-left: 32px; margin: 10px}
3031
li.ko {background: url('../../images/ko.png') left no-repeat;padding-left: 32px; margin: 10px}

src/site/resources/css/site.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ li.ja {background: url('../images/ja.png') left no-repeat;padding-left: 32px; ma
2828
li.fr {background: url('../images/fr.png') left no-repeat;padding-left: 32px; margin: 10px}
2929
li.zh {background: url('../images/zh.png') left no-repeat;padding-left: 32px; margin: 10px}
3030
li.ko {background: url('../images/ko.png') left no-repeat;padding-left: 32px; margin: 10px}
31+
li.zh-tw {background: url('../images/zh-tw.png') left no-repeat;padding-left: 32px; margin: 10px}

src/site/resources/images/zh-tw.png

409 Bytes
Loading

src/site/site_zh-tw.xml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
4+
Copyright 2009-2018 the original author or authors.
5+
6+
Licensed under the Apache License, Version 2.0 (the "License");
7+
you may not use this file except in compliance with the License.
8+
You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS,
14+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
See the License for the specific language governing permissions and
16+
limitations under the License.
17+
18+
-->
19+
<project name="${project.name}" xmlns="http://maven.apache.org/DECORATION/1.7.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20+
xsi:schemaLocation="http://maven.apache.org/DECORATION/1.7.0 http://maven.apache.org/xsd/decoration-1.7.0.xsd">
21+
22+
<body>
23+
<menu name="參考文件">
24+
<item name="簡介" href="index.html"/>
25+
<item name="入門" href="getting-started.html"/>
26+
<item name="XML 配置" href="configuration.html" collapse="true">
27+
<item href="configuration.html#properties" name="屬性" />
28+
<item href="configuration.html#settings" name="設定" />
29+
<item href="configuration.html#typeAliases" name="型別別名" />
30+
<item href="configuration.html#typeHandlers" name="型別處理器" />
31+
<item href="configuration.html#objectFactory" name="物件工廠" />
32+
<item href="configuration.html#plugins" name="外掛" />
33+
<item href="configuration.html#environments" name="環境配置" />
34+
<item href="configuration.html#databaseIdProvider" name="資料庫廠商標識" />
35+
<item href="configuration.html#mappers" name="對映器" />
36+
</item>
37+
<item name="XML 對映檔案" href="sqlmap-xml.html" collapse="true">
38+
<item href="sqlmap-xml.html#select" name="select" />
39+
<item href="sqlmap-xml.html#insert_update_and_delete" name="insert, update 和 delete" />
40+
<item href="sqlmap-xml.html#Parameters" name="參數" />
41+
<item href="sqlmap-xml.html#Result_Maps" name="結果對映" />
42+
<item href="sqlmap-xml.html#Auto-mapping" name="自動對映" />
43+
<item href="sqlmap-xml.html#cache" name="快取" />
44+
</item>
45+
<item name="動態 SQL" href="dynamic-sql.html"/>
46+
<item name="Java API" href="java-api.html" collapse="true">
47+
<item name="目錄結構" href="java-api.html#directoryStructure" />
48+
<item name="SqlSession" href="java-api.html#sqlSessions" />
49+
</item>
50+
<item name="SQL 語句產生器" href="statement-builders.html" collapse="true" />
51+
<item name="日誌" href="logging.html"/>
52+
</menu>
53+
54+
<menu ref="reports"/>
55+
</body>
56+
</project>

src/site/xdoc/index.xml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,11 @@
2828
<section name="Introduction">
2929
<subsection name="What is MyBatis?">
3030
<p>
31-
MyBatis is a first class persistence framework with support for
32-
custom SQL,
33-
stored procedures and advanced mappings. MyBatis
34-
eliminates almost
35-
all of the JDBC code and manual setting of
36-
parameters and retrieval
37-
of results. MyBatis can use simple XML or
38-
Annotations for
39-
configuration and map primitives, Map interfaces and
40-
Java POJOs
31+
MyBatis is a first class persistence framework with support for custom SQL,
32+
stored procedures and advanced mappings. MyBatis eliminates almost
33+
all of the JDBC code and manual setting of parameters and retrieval
34+
of results. MyBatis can use simple XML or Annotations for
35+
configuration and map primitives, Map interfaces and Java POJOs
4136
(Plain Old Java Objects) to database records.
4237
</p>
4338
</subsection>
@@ -54,7 +49,7 @@
5449
Fork the repository, update them and send a pull request.
5550
</p>
5651
<p>
57-
Youre the best author of this documentation, people like you have
52+
You're the best author of this documentation, people like you have
5853
to read it!
5954
</p>
6055
</subsection>
@@ -68,6 +63,7 @@
6863
<li class="ja"><a href="./ja/index.html">日本語</a></li>
6964
<li class="ko"><a href="./ko/index.html">한국어</a></li>
7065
<li class="zh"><a href="./zh/index.html">简体中文</a></li>
66+
<li class="zh-tw"><a href="./zh-tw/index.html">正體中文</a></li>
7167
</ul>
7268
<p>Do you want to read about MyBatis in your own native language? File an issue providing patches with your
7369
mother tongue documentation!</p>
@@ -76,4 +72,3 @@
7672
</body>
7773

7874
</document>
79-

src/site/zh-tw/resources/css/site.css

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
/**
2+
* Copyright 2009-2018 the original author or authors.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
/*
17+
* when new flags are needed, take them from
18+
*
19+
* http://www.printableworldflags.com/flag-icon
20+
*
21+
* that are free for any kind of usage
22+
*/
23+
24+
ul.i18n {list-style-type:none;}
25+
li.en {background: url('../../images/en.png') left no-repeat;padding-left: 32px; margin: 10px}
26+
li.es {background: url('../../images/es.png') left no-repeat;padding-left: 32px; margin: 10px}
27+
li.ja {background: url('../../images/ja.png') left no-repeat;padding-left: 32px; margin: 10px}
28+
li.fr {background: url('../../images/fr.png') left no-repeat;padding-left: 32px; margin: 10px}
29+
li.zh {background: url('../../images/zh.png') left no-repeat;padding-left: 32px; margin: 10px}
30+
li.zh-tw {background: url('../../images/zh-tw.png') left no-repeat;padding-left: 32px; margin: 10px}
31+
li.ko {background: url('../../images/ko.png') left no-repeat;padding-left: 32px; margin: 10px}

0 commit comments

Comments
 (0)