# HG changeset patch # User Toshi MARUYAMA # Date 1452057283 -32400 # Wed Jan 06 14:14:43 2016 +0900 # Node ID 0f83482418a54367042ea2b4e69259670ec29138 # Parent 2dd1e3af5f328c2280b6de3cbea682f4e92d0af3 #21456 2.6-stable diff --git a/public/help/zh/wiki_syntax_detailed_textile.html b/public/help/zh/wiki_syntax_detailed_textile.html --- a/public/help/zh/wiki_syntax_detailed_textile.html +++ b/public/help/zh/wiki_syntax_detailed_textile.html @@ -33,89 +33,89 @@
-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:
+转义字符:
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 官网
-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) 查找关于使用这些特性的信息。下面将展示其中的一些常用的语法。
--* *bold* -* _italic_ -* _*bold italic*_ -* +underline+ -* -strike-through- +* *粗体* +* _斜体_ +* _*粗体 斜体*_ +* +下划线+ +* -中划线--
Display:
+显示为:
-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.
+你可以使用“#一级标题”、“#二级标题”等等来链接到这些标题
--p>. right aligned -p=. centered +p>. 向右对齐 +p=. 居中-
This is a centered paragraph.
+这是一个居中对齐的段落
-Start the paragraph with bq.
+在段落前加上 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.-
Display:
+显示为:
-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.
-{{toc}} => left aligned toc -{{>toc}} => right aligned toc +{{toc}} => 靠左对齐目录 +{{>toc}} => 靠右对齐目录-
----
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)}}
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.
@@ -307,11 +307,11 @@ It can be expanded by clicking a link.<pre><code class="ruby"> - Place your code here. + 这里写 Ruby 代码 </code></pre>-
Example:
+示例:
# The Greeter class
class Greeter
diff --git a/public/help/zh/wiki_syntax_textile.html b/public/help/zh/wiki_syntax_textile.html
--- a/public/help/zh/wiki_syntax_textile.html
+++ b/public/help/zh/wiki_syntax_textile.html
@@ -20,20 +20,20 @@ table.sample th, table.sample td { borde
-Wiki Syntax Quick Reference
+Wiki 语法快速参考
-Font Styles
-![Strong](../../images/jstoolbar/bt_strong.png)
*Strong* Strong
-![Italic](../../images/jstoolbar/bt_em.png)
_Italic_ Italic
-![Underline](../../images/jstoolbar/bt_ins.png)
+Underline+ Underline
-![Deleted](../../images/jstoolbar/bt_del.png)
-Deleted- Deleted
-??Quote?? Quote
-![Inline Code](../../images/jstoolbar/bt_code.png)
@Inline Code@ Inline Code
-![Preformatted text](../../images/jstoolbar/bt_pre.png)
<pre>
lines
of code
</pre>
+ 字体风格
+![粗体](../../images/jstoolbar/bt_strong.png)
*粗体* 粗体
+![斜体](../../images/jstoolbar/bt_em.png)
_Italic_ 斜体
+![下划线](../../images/jstoolbar/bt_ins.png)
+下划线+ 下划线
+![删除线](../../images/jstoolbar/bt_del.png)
-删除线- 删除线
+??引用?? 引用
+![内嵌程序代码](../../images/jstoolbar/bt_code.png)
@内嵌程序代码@ 内嵌程序代码
+![预先格式化的段落](../../images/jstoolbar/bt_pre.png)
<pre>
格式化
的段落
</pre>
- lines
- of code
+ 格式化
+ 的段落
@@ -41,21 +41,21 @@ table.sample th, table.sample td { borde
![Unordered list](../../images/jstoolbar/bt_ul.png)
* Item 1
** Sub
* Item 2 - Item 1
- Sub
- Item 2
![Ordered list](../../images/jstoolbar/bt_ol.png)
# Item 1
## Sub
# Item 2 - Item 1
- Sub
- Item 2
-Headings
-![Heading 1](../../images/jstoolbar/bt_h1.png)
h1. Title 1 Title 1
-![Heading 2](../../images/jstoolbar/bt_h2.png)
h2. Title 2 Title 2
-![Heading 3](../../images/jstoolbar/bt_h3.png)
h3. Title 3 Title 3
+标题
+![标题 1](../../images/jstoolbar/bt_h1.png)
h1. 标题 1 标题 1
+![标题 2](../../images/jstoolbar/bt_h2.png)
h2. 标题 2 标题 2
+![标题 3](../../images/jstoolbar/bt_h3.png)
h3. 标题 3 标题 3
-Links
+链接
http://foo.bar http://foo.bar
"Foo":http://foo.bar Foo
-Redmine links
-![Link to a Wiki page](../../images/jstoolbar/bt_link.png)
[[Wiki page]] Wiki page
-Issue #12 Issue #12
-Revision r43 Revision r43
-commit:f30e13e43 f30e13e4
-source:some/file source:some/file
+Redmine 链接
+![链接到一个Wiki 页面](../../images/jstoolbar/bt_link.png)
[[Wiki 页面]] Wiki 页面
+问题 #12 问题 #12
+修订 r43 修订 r43
+commit:f30e13e43 提交: f30e13e4
+source:some/file 代码:source:some/file
Inline images
![Image](../../images/jstoolbar/bt_img.png)
!image_url!
@@ -79,7 +79,7 @@ table.sample th, table.sample td { borde
-
+