From 0bf873a7d540c558080af9512889f09eb9ca99cd Mon Sep 17 00:00:00 2001
From: Toshi MARUYAMA 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地址可以被自动转换成可点击的链接: 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 语法: 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) 查找关于使用这些特性的信息。下面将展示其中的一些常用的语法。 Display: 显示为: Redmine assigns an anchor to each of those headings thus you can link to them with "#Heading", "#Subheading" and so forth. 你可以使用“#一级标题”、“#二级标题”等等来链接到这些标题 This is a centered paragraph. 这是一个居中对齐的段落 Start the paragraph with bq. 在段落前加上 bq. Display: 显示为: Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern. Redmine has the following builtin macros: Redmine内建了以下宏:
Sample macro. 宏示例. Displays a list of all available macros, including description if available. 显示所有可用的宏列表,如果该宏有提供说明也会一并显示。 Displays a list of child pages. With no argument, it displays the child pages of the current wiki page. Examples: 显示一个子页面列表。默认显示当前Wiki页面的所有子页面。 示例: Include a wiki page. Example: 引用一个Wiki页面。示例: or to include a page of a specific project wiki: 或者引用一个指定项目的Wiki页面: Inserts of collapsed block of text. Example: 插入一个折叠文本块。示例: Displays a clickable thumbnail of an attached image. Examples: 显示一个图像附件的可点击缩略图。示例:Wiki formatting
+Wiki 文本格式
- Links
+ 链接
- Redmine links
+ Redmine 链接
-
-
- #124, link is striked-through if the issue is closed)#124,若该问题已结束则会用删除线来表示)
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -129,16 +129,16 @@
-
-
-
-
-
-
-
- External links
+ 外部链接
-
http://www.redmine.org, someone@foo.bar
-
-"Redmine web site":http://www.redmine.org
+"Redmine 官网":http://www.redmine.org
- Text formatting
+ 字体格式
- Font style
+ 字体风格
-* *bold*
-* _italic_
-* _*bold italic*_
-* +underline+
-* -strike-through-
+* *粗体*
+* _斜体_
+* _*粗体 斜体*_
+* +下划线+
+* -中划线-
-
-
- strike-through中划线Inline images
+ 内嵌图片
- Headings
+ 标题
-h1. Heading
-h2. Subheading
-h3. Subsubheading
+h1. 一级标题
+h2. 二级标题
+h3. 三级标题
- Paragraphs
+ 段落
-p>. right aligned
-p=. centered
+p>. 向右对齐
+p=. 居中
- Blockquotes
+ 引用文字
-
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.
-
-
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
+ 宏
-
hello_world
macro_list
child_pages
{{child_pages}} -- can be used from a wiki page only
-{{child_pages(depth=2)}} -- display 2 levels nesting only
{{child_pages}} -- 只能在Wiki页面调用
+{{child_pages(depth=2)}} -- 显示两级子页面
include
- {{include(Foo)}}
{{include(projectname:Foo)}}
collapse
{{collapse(View details...)
-This is a block of text that is collapsed by default.
-It can be expanded by clicking a link.
+这是一个默认折叠的文本块。
+点击链接后将会展开此文本块.
}}
thumbnail
{{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
index 55a900dcf..d3de76000 100644
--- 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 { border: solid 1px #bbb; padding: 4px; height:
-Wiki Syntax Quick Reference
+Wiki 语法快速参考
-Font Styles
-*Strong* Strong
-_Italic_ Italic
-+Underline+ Underline
--Deleted- Deleted
-??Quote?? Quote
-@Inline Code@ Inline Code
-<pre>
lines
of code
</pre>
+ 字体风格
+*粗体* 粗体
+_Italic_ 斜体
++下划线+ 下划线
+-删除线- 删除线
+??引用?? 引用
+@内嵌程序代码@ 内嵌程序代码
+<pre>
格式化
的段落
</pre>
- lines
- of code
+ 格式化
+ 的段落
@@ -41,21 +41,21 @@ table.sample th, table.sample td { border: solid 1px #bbb; padding: 4px; height:
* Item 1
** Sub
* Item 2 - Item 1
- Sub
- Item 2
# Item 1
## Sub
# Item 2 - Item 1
- Sub
- Item 2
-Headings
-h1. Title 1 Title 1
-h2. Title 2 Title 2
-h3. Title 3 Title 3
+标题
+h1. 标题 1 标题 1
+h2. 标题 2 标题 2
+h3. 标题 3 标题 3
-Links
+链接
http://foo.bar http://foo.bar
"Foo":http://foo.bar Foo
-Redmine links
-[[Wiki page]] Wiki page
-Issue #12 Issue #12
-Revision r43 Revision r43
-commit:f30e13e43 f30e13e4
-source:some/file source:some/file
+Redmine 链接
+[[Wiki 页面]] Wiki 页面
+问题 #12 问题 #12
+修订 r43 修订 r43
+commit:f30e13e43 提交: f30e13e4
+source:some/file 代码:source:some/file
Inline images
!image_url!
@@ -79,7 +79,7 @@ table.sample th, table.sample td { border: solid 1px #bbb; padding: 4px; height:
-
+