summaryrefslogtreecommitdiffstats
path: root/doc/src
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2010-02-08 19:22:44 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2010-02-08 19:22:44 (GMT)
commit4027c52d9fb6ea1bca13e1f3a2bc5ac5032387e0 (patch)
tree6a2a744e57989728c67c49afb9e2f07ec35e6d2a /doc/src
parentdeb0f3c17bcbdf4565eb7652ca4ed086f0938bfe (diff)
downloadQt-4027c52d9fb6ea1bca13e1f3a2bc5ac5032387e0.zip
Qt-4027c52d9fb6ea1bca13e1f3a2bc5ac5032387e0.tar.gz
Qt-4027c52d9fb6ea1bca13e1f3a2bc5ac5032387e0.tar.bz2
Doc/qdoc: Use Chinese titles; canonicalize titles with non-ASCII chars.
The documentation root in the qdocconf file now refers to the Chinese title for the Tutorials page. Modified qdoc's function to canonicalize titles so that it preserves characters that outside the range of ASCII letters and numbers. Reviewed-by: Trust Me
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/zh_CN/getting-started/how-to-learn-qt.qdoc2
-rw-r--r--doc/src/zh_CN/getting-started/tutorials.qdoc7
-rw-r--r--doc/src/zh_CN/tutorials/addressbook.qdoc4
-rw-r--r--doc/src/zh_CN/tutorials/widgets-tutorial.qdoc4
4 files changed, 7 insertions, 10 deletions
diff --git a/doc/src/zh_CN/getting-started/how-to-learn-qt.qdoc b/doc/src/zh_CN/getting-started/how-to-learn-qt.qdoc
index 5f95dde..1c2f56b 100644
--- a/doc/src/zh_CN/getting-started/how-to-learn-qt.qdoc
+++ b/doc/src/zh_CN/getting-started/how-to-learn-qt.qdoc
@@ -43,7 +43,7 @@
\page how-to-learn-qt.html
\title 如何学习 Qt
\brief Links to guides and resources for learning Qt.
- \nextpage Tutorials
+ \nextpage 教程
\section1 Getting Started
diff --git a/doc/src/zh_CN/getting-started/tutorials.qdoc b/doc/src/zh_CN/getting-started/tutorials.qdoc
index 56d147e..dc371d8 100644
--- a/doc/src/zh_CN/getting-started/tutorials.qdoc
+++ b/doc/src/zh_CN/getting-started/tutorials.qdoc
@@ -41,15 +41,12 @@
/*!
\page tutorials.html
- \title Tutorials
+ \title 教程
- \contentspage How to Learn Qt
- \nextpage Qt Examples
+ \contentspage 如何学习 Qt
\brief Tutorials, guides and overviews to help you learn Qt.
- \nextpage Qt Examples
-
A collection of tutorials and "walkthrough" guides are provided with Qt to
help new users get started with Qt development. These documents cover a
range of topics, from basic use of widgets to step-by-step tutorials that
diff --git a/doc/src/zh_CN/tutorials/addressbook.qdoc b/doc/src/zh_CN/tutorials/addressbook.qdoc
index 5bd0d35..72349af 100644
--- a/doc/src/zh_CN/tutorials/addressbook.qdoc
+++ b/doc/src/zh_CN/tutorials/addressbook.qdoc
@@ -43,7 +43,7 @@
\page tutorials-addressbook.html
\startpage {index.html}{Qt Reference Documentation}
- \contentspage Tutorials
+ \contentspage 教程
\nextpage {tutorials/addressbook/part1}{第一章}
\title 地址簿教程
@@ -176,7 +176,7 @@
/*!
\page tutorials-addressbook-part2.html
- \previouspage 地址簿 1 — 设计用户接口
+ \previouspage 地址簿 1 — 设计用户界面
\contentspage {地址簿教程}{目录}
\nextpage {tutorials/addressbook/part3}{第三章}
\example tutorials/addressbook/part2
diff --git a/doc/src/zh_CN/tutorials/widgets-tutorial.qdoc b/doc/src/zh_CN/tutorials/widgets-tutorial.qdoc
index 0e90210..90ef4f3 100644
--- a/doc/src/zh_CN/tutorials/widgets-tutorial.qdoc
+++ b/doc/src/zh_CN/tutorials/widgets-tutorial.qdoc
@@ -46,7 +46,7 @@
they are used to build GUI applications.
\startpage {index.html}{Qt Reference Documentation}
- \contentspage Tutorials
+ \contentspage 教程
\nextpage {Widgets 教程 — 创建窗口}
@@ -197,7 +197,7 @@
\contentspage {Widgets 教程}{目录}
\previouspage {Widgets 教程 — 使用布局}
\example tutorials/widgets/nestedlayouts
- \title Widgets 教程 - Nested Layouts
+ \title Widgets 教程 — Nested Layouts
由于 widget 可包含其他 widget,布局可用来提供按不同层次分组的 widget。这里,我们要在显示查询结果的表视图上方、窗口顶部的行编辑框旁,显示一个标签。