Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translated to Traditional Chinese #2586

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -361,7 +361,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<configuration>
<locales>en,es,ja,fr,zh_CN,ko</locales>
<locales>en,es,ja,fr,zh_CN,zh_TW,ko</locales>
</configuration>
</plugin>
<plugin>
Expand Down
1 change: 1 addition & 0 deletions src/site/es/resources/css/site.css
Expand Up @@ -27,4 +27,5 @@ li.es {background: url('../../images/es.png') left no-repeat;padding-left: 32px;
li.ja {background: url('../../images/ja.png') left no-repeat;padding-left: 32px; margin: 10px}
li.fr {background: url('../../images/fr.png') left no-repeat;padding-left: 32px; margin: 10px}
li.zh {background: url('../../images/zh.png') left no-repeat;padding-left: 32px; margin: 10px}
li.zh-tw {background: url('../../images/zh-tw.png') left no-repeat;padding-left: 32px; margin: 10px}
li.ko {background: url('../../images/ko.png') left no-repeat;padding-left: 32px; margin: 10px}
1 change: 1 addition & 0 deletions src/site/fr/resources/css/site.css
Expand Up @@ -27,4 +27,5 @@ li.es {background: url('../../images/es.png') left no-repeat;padding-left: 32px;
li.ja {background: url('../../images/ja.png') left no-repeat;padding-left: 32px; margin: 10px}
li.fr {background: url('../../images/fr.png') left no-repeat;padding-left: 32px; margin: 10px}
li.zh {background: url('../../images/zh.png') left no-repeat;padding-left: 32px; margin: 10px}
li.zh-tw {background: url('../../images/zh-tw.png') left no-repeat;padding-left: 32px; margin: 10px}
li.ko {background: url('../../images/ko.png') left no-repeat;padding-left: 32px; margin: 10px}
1 change: 1 addition & 0 deletions src/site/ja/resources/css/site.css
Expand Up @@ -27,4 +27,5 @@ li.es {background: url('../../images/es.png') left no-repeat;padding-left: 32px;
li.ja {background: url('../../images/ja.png') left no-repeat;padding-left: 32px; margin: 10px}
li.fr {background: url('../../images/fr.png') left no-repeat;padding-left: 32px; margin: 10px}
li.zh {background: url('../../images/zh.png') left no-repeat;padding-left: 32px; margin: 10px}
li.zh-tw {background: url('../../images/zh-tw.png') left no-repeat;padding-left: 32px; margin: 10px}
li.ko {background: url('../../images/ko.png') left no-repeat;padding-left: 32px; margin: 10px}
1 change: 1 addition & 0 deletions src/site/ko/resources/css/site.css
Expand Up @@ -27,4 +27,5 @@ li.es {background: url('../../images/es.png') left no-repeat;padding-left: 32px;
li.ja {background: url('../../images/ja.png') left no-repeat;padding-left: 32px; margin: 10px}
li.fr {background: url('../../images/fr.png') left no-repeat;padding-left: 32px; margin: 10px}
li.zh {background: url('../../images/zh.png') left no-repeat;padding-left: 32px; margin: 10px}
li.zh-tw {background: url('../../images/zh-tw.png') left no-repeat;padding-left: 32px; margin: 10px}
li.ko {background: url('../../images/ko.png') left no-repeat;padding-left: 32px; margin: 10px}
1 change: 1 addition & 0 deletions src/site/resources/css/site.css
Expand Up @@ -28,3 +28,4 @@ li.ja {background: url('../images/ja.png') left no-repeat;padding-left: 32px; ma
li.fr {background: url('../images/fr.png') left no-repeat;padding-left: 32px; margin: 10px}
li.zh {background: url('../images/zh.png') left no-repeat;padding-left: 32px; margin: 10px}
li.ko {background: url('../images/ko.png') left no-repeat;padding-left: 32px; margin: 10px}
li.zh-tw {background: url('../images/zh-tw.png') left no-repeat;padding-left: 32px; margin: 10px}
Binary file added src/site/resources/images/zh-tw.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
56 changes: 56 additions & 0 deletions src/site/site_zh-tw.xml
@@ -0,0 +1,56 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2009-2018 the original author or authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<project name="${project.name}" xmlns="http://maven.apache.org/DECORATION/1.7.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/DECORATION/1.7.0 http://maven.apache.org/xsd/decoration-1.7.0.xsd">

<body>
<menu name="參考文件">
<item name="簡介" href="index.html"/>
<item name="入門" href="getting-started.html"/>
<item name="XML 配置" href="configuration.html" collapse="true">
<item href="configuration.html#properties" name="屬性" />
<item href="configuration.html#settings" name="設定" />
<item href="configuration.html#typeAliases" name="型別別名" />
<item href="configuration.html#typeHandlers" name="型別處理器" />
<item href="configuration.html#objectFactory" name="物件工廠" />
<item href="configuration.html#plugins" name="外掛" />
<item href="configuration.html#environments" name="環境配置" />
<item href="configuration.html#databaseIdProvider" name="資料庫廠商標識" />
<item href="configuration.html#mappers" name="對映器" />
</item>
<item name="XML 對映檔案" href="sqlmap-xml.html" collapse="true">
<item href="sqlmap-xml.html#select" name="select" />
<item href="sqlmap-xml.html#insert_update_and_delete" name="insert, update 和 delete" />
<item href="sqlmap-xml.html#Parameters" name="參數" />
<item href="sqlmap-xml.html#Result_Maps" name="結果對映" />
<item href="sqlmap-xml.html#Auto-mapping" name="自動對映" />
<item href="sqlmap-xml.html#cache" name="快取" />
</item>
<item name="動態 SQL" href="dynamic-sql.html"/>
<item name="Java API" href="java-api.html" collapse="true">
<item name="目錄結構" href="java-api.html#directoryStructure" />
<item name="SqlSession" href="java-api.html#sqlSessions" />
</item>
<item name="SQL 語句產生器" href="statement-builders.html" collapse="true" />
<item name="日誌" href="logging.html"/>
</menu>

<menu ref="reports"/>
</body>
</project>
19 changes: 7 additions & 12 deletions src/site/xdoc/index.xml
Expand Up @@ -28,16 +28,11 @@
<section name="Introduction">
<subsection name="What is MyBatis?">
<p>
MyBatis is a first class persistence framework with support for
custom SQL,
stored procedures and advanced mappings. MyBatis
eliminates almost
all of the JDBC code and manual setting of
parameters and retrieval
of results. MyBatis can use simple XML or
Annotations for
configuration and map primitives, Map interfaces and
Java POJOs
MyBatis is a first class persistence framework with support for custom SQL,
stored procedures and advanced mappings. MyBatis eliminates almost
all of the JDBC code and manual setting of parameters and retrieval
of results. MyBatis can use simple XML or Annotations for
configuration and map primitives, Map interfaces and Java POJOs
(Plain Old Java Objects) to database records.
</p>
</subsection>
Expand All @@ -54,7 +49,7 @@
Fork the repository, update them and send a pull request.
</p>
<p>
Youre the best author of this documentation, people like you have
You're the best author of this documentation, people like you have
to read it!
</p>
</subsection>
Expand All @@ -68,6 +63,7 @@
<li class="ja"><a href="./ja/index.html">日本語</a></li>
<li class="ko"><a href="./ko/index.html">한국어</a></li>
<li class="zh"><a href="./zh/index.html">简体中文</a></li>
<li class="zh-tw"><a href="./zh-tw/index.html">正體中文</a></li>
</ul>
<p>Do you want to read about MyBatis in your own native language? File an issue providing patches with your
mother tongue documentation!</p>
Expand All @@ -76,4 +72,3 @@
</body>

</document>

31 changes: 31 additions & 0 deletions src/site/zh-tw/resources/css/site.css
@@ -0,0 +1,31 @@
/**
* Copyright 2009-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*
* when new flags are needed, take them from
*
* http://www.printableworldflags.com/flag-icon
*
* that are free for any kind of usage
*/

ul.i18n {list-style-type:none;}
li.en {background: url('../../images/en.png') left no-repeat;padding-left: 32px; margin: 10px}
li.es {background: url('../../images/es.png') left no-repeat;padding-left: 32px; margin: 10px}
li.ja {background: url('../../images/ja.png') left no-repeat;padding-left: 32px; margin: 10px}
li.fr {background: url('../../images/fr.png') left no-repeat;padding-left: 32px; margin: 10px}
li.zh {background: url('../../images/zh.png') left no-repeat;padding-left: 32px; margin: 10px}
li.zh-tw {background: url('../../images/zh-tw.png') left no-repeat;padding-left: 32px; margin: 10px}
li.ko {background: url('../../images/ko.png') left no-repeat;padding-left: 32px; margin: 10px}