diff --git a/public/help/zh/wiki_syntax_detailed_textile.html b/public/help/zh/wiki_syntax_detailed_textile.html index 09f3210..59fd05e 100644 --- a/public/help/zh/wiki_syntax_detailed_textile.html +++ b/public/help/zh/wiki_syntax_detailed_textile.html @@ -33,285 +33,318 @@ -

Wiki formatting

+

Wiki 文本格式

-

Links

+

链接

-

Redmine links

+

Redmine 链接

-

Redmine allows hyperlinking between resources (issues, changesets, wiki pages...) from anywhere wiki formatting is used.

+

在任何使用文本格式的地方,Redmine都允许在资源(问题、变更、wiki页面...)间建立超链接。

-

Wiki links:

+

Wiki链接

-

You can also link to pages of an other project wiki:

+

您也可以链接到其他项目的Wiki页面(使用项目标识):

-

Wiki links are displayed in red if the page doesn't exist yet, eg: Nonexistent page.

+

当页面不存在的时候,Wiki链接会以红色来显示,例如: Nonexistent page.

-

Links to other resources:

+

链接至其他资源:

-

Escaping:

+

转义字符:

-

External links

+

外部链接

-

HTTP URLs and email addresses are automatically turned into clickable links:

+

HTTP链接和Email地址可以被自动转换成可点击的链接:

 http://www.redmine.org, someone@foo.bar
 
-

displays: http://www.redmine.org, someone@foo.bar

+

显示为: http://www.redmine.org, someone@foo.bar

-

If you want to display a specific text instead of the URL, you can use the standard textile syntax:

+

如果您想要显示指定的文本而不是链接,您可以通过下列标准的 textile 语法:

-"Redmine web site":http://www.redmine.org
+"Redmine 官网":http://www.redmine.org
 
-

displays: Redmine web site

+

显示为: Redmine 官网

-

Text formatting

+

字体格式

-

For things such as headlines, bold, tables, lists, Redmine supports Textile syntax. See http://en.wikipedia.org/wiki/Textile_(markup_language) for information on using any of these features. A few samples are included below, but the engine is capable of much more of that.

+

对于像是标题、粗体、表格、列表等文字格式, Redmine 支持使用 http://en.wikipedia.org/wiki/Textile_(markup_language) 查找关于使用这些特性的信息。下面将展示其中的一些常用的语法。

-

Font style

+

字体风格

-* *bold*
-* _italic_
-* _*bold italic*_
-* +underline+
-* -strike-through-
+* *粗体*
+* _斜体_
+* _*粗体 斜体*_
+* +下划线+
+* -中划线-
+* 文字 ^上标^
+* 文字 ~下标~
 
-

Display:

+

显示为:

-

Inline images

+

内嵌图片

-

Headings

+

标题

-h1. Heading
-h2. Subheading
-h3. Subsubheading
+h1. 一级标题
+h2. 二级标题
+h3. 三级标题
 
-

Redmine assigns an anchor to each of those headings thus you can link to them with "#Heading", "#Subheading" and so forth.

+

你可以使用“#一级标题”、“#二级标题”等等来链接到这些标题

-

Paragraphs

+

段落

-p>. right aligned
-p=. centered
+p>. 向右对齐
+p=. 居中
 
-

This is a centered paragraph.

+

这是一个居中对齐的段落

-

Blockquotes

+

引用文字

+ +

在段落前加上 bq.

+ +

+bq. Rails 是应用了 MVC 设计模式的全栈型框架,用于开发数据库支持的 Web 应用程序。
+基于 Rails 进行项目开发,需要你准备的只是一个数据库和一个 Web 服务器。
+
+ +

显示为:

+ + +
+

Rails 是应用了 MVC 设计模式的全栈型框架,用于开发数据库支持的 Web 应用程序。
基于 Rails 进行项目开发,需要你准备的只是一个数据库和一个 Web 服务器。

+
+ + +

你也可以在每一行开头加上“>”来实现引用,并且可以叠加“>”作为二级引用:

-

Start the paragraph with bq.

-bq. Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern.
-To go live, all you need to add is a database and a web server.
+>> Rails 是应用了 MVC 设计模式的全栈型框架,用于开发数据库支持的 Web 应用程序。
+>> 基于 Rails 进行项目开发,需要你准备的只是一个数据库和一个 Web 服务器。
+> 很不错!
 
-

Display:

+

显示为:

+ + +
+ +

Rails 是应用了 MVC 设计模式的全栈型框架,用于开发数据库支持的 Web 应用程序。
基于 Rails 进行项目开发,需要你准备的只是一个数据库和一个 Web 服务器。

+ + +
+ +

很不错!

-
-

Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern.
To go live, all you need to add is a database and a web server.

-
+
-

Table of content

+

目录

-{{toc}} => left aligned toc
-{{>toc}} => right aligned toc
+{{toc}} => 靠左对齐目录
+{{>toc}} => 靠右对齐目录
 
-

Horizontal Rule

+

水平线

 ---
 
-

Macros

+

-

Redmine has the following builtin macros:

+

Redmine内建了以下宏:

hello_world
-

Sample macro.

+

宏示例.

macro_list
-

Displays a list of all available macros, including description if available.

+

显示所有可用的宏列表,如果该宏有提供说明也会一并显示。

child_pages
-

Displays a list of child pages. With no argument, it displays the child pages of the current wiki page. Examples:

-
{{child_pages}} -- can be used from a wiki page only
-{{child_pages(depth=2)}} -- display 2 levels nesting only
+

显示一个子页面列表。默认显示当前Wiki页面的所有子页面。 示例:

+
{{child_pages}} -- 只能在Wiki页面调用
+{{child_pages(depth=2)}} -- 显示两级子页面
include
-

Include a wiki page. Example:

+

引用一个Wiki页面。示例:

{{include(Foo)}}
-

or to include a page of a specific project wiki:

+

或者引用一个指定项目的Wiki页面:

{{include(projectname:Foo)}}
collapse
-

Inserts of collapsed block of text. Example:

+

插入一个折叠文本块。示例:

{{collapse(View details...)
-This is a block of text that is collapsed by default.
-It can be expanded by clicking a link.
+这是一个默认折叠的文本块。
+点击链接后将会展开此文本块.
 }}
thumbnail
-

Displays a clickable thumbnail of an attached image. Examples:

+

显示一个图像附件的可点击缩略图。示例:

{{thumbnail(image.png)}}
 {{thumbnail(image.png, size=300, title=Thumbnail)}}

-

Code highlighting

+

代码高亮

-

Default code highlightment relies on CodeRay, a fast syntax highlighting library written completely in Ruby. It currently supports c, clojure, cpp (c++, cplusplus), css, delphi (pascal), diff (patch), erb (eruby, rhtml), go, groovy, haml, html (xhtml), java, javascript (ecmascript, ecma_script, java_script, js), json, lua, php, python, ruby (irb), sass, sql, taskpaper, text (plain, plaintext), xml and yaml (yml) languages, where the names inside parentheses are aliases.

+

Redmine 应用的代码高亮显示依赖于 CodeRay 。CodeRay 是完全用 Ruby 语言写的快速代码高亮库,现在支持的语言包括 C、C++、CSS、Delphi、Diff、Groovy、HTML、Java、Javascript、JSON、Nitro-XHTML、PHP、Python、RHTML、Ruby、Scheme、SQL、XML 和 YAML。

-

You can highlight code at any place that supports wiki formatting using this syntax (note that the language name or alias is case-insensitive):

+

使用下面的格式来实现代码高亮显示:

 <pre><code class="ruby">
-  Place your code here.
+  这里写 Ruby 代码
 </code></pre>
 
-

Example:

+

示例:

# The Greeter class
 class Greeter