From 7c46fe1e4bd627cb7f7988f18affebd6835c0e50 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Fri, 14 Aug 2015 02:36:09 +0000 Subject: [#20288] Update the i18n'ed core doc to match CodeRay 1.1.0 capabilities. This commit includes:
1. an update of the list of languages supported by CodeRay:

  * added:
    + clojure [added in CodeRay 1.0.x]
    + diff (patch) [added in CodeRay 0.8.x]
    + go [added in CodeRay 1.1.x]
    + haml [added in CodeRay 1.0.x]
    + lua [added in CodeRay 1.1.x]
    + sass [added in CodeRay 1.1.x]
    + taskpaper [added in CodeRay 1.1.x]
    + text (plain, plaintext) [never been documented in Redmine]
  * removed:
    - scheme [removed from CodeRay 1.0.x]
  * renamed:
    ~ erb (eruby, rhtml) [renamed from rhtml in CodeRay 1.0.x]

2. the inclusion of additional, comma-separated language mappings
   (aliases) inside parentheses:

  * cpp (c++, cplusplus)
  * delphi (pascal)
  * diff (patch)
  * erb (eruby, rhtml)
  * html (xhtml)
  * javascript (ecmascript, ecma_script, java_script, js)
  * ruby (irb)
  * text (plain, plaintext)
  * yaml (yml)
Regarding the i18n: I used English as the base language. The changed sentence was the same in 94 out of 98 language files, public\help\xx[-xx]\wiki_syntax_detailed_[markdown||textile].html. The only four exceptions were: * cs; public\help\cs\wiki_syntax_detailed_textile.html * fr; public\help\fr\wiki_syntax_detailed_textile.html * ja; public\help\ja\wiki_syntax_detailed_textile.html * zh-tw; public\help\zh-tw\wiki_syntax_detailed_textile.html In the above given files, the sentence containing the supported languages is translated (and/or stylized). I have chosen to replace the whole translated sentence with the new English base sentence, as such leaving decisions about stylizing language names to translators and the people that actually use the respective languages. In general (and for English, as it's the base language) I think we can better stick to non-capitalized language names to prevent any formatting confusion. Contributed by Mischa The Evil. git-svn-id: http://svn.redmine.org/redmine/trunk@14489 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- public/help/sl/wiki_syntax_detailed_textile.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public/help/sl/wiki_syntax_detailed_textile.html') diff --git a/public/help/sl/wiki_syntax_detailed_textile.html b/public/help/sl/wiki_syntax_detailed_textile.html index 02f707e68..5791e47cb 100644 --- a/public/help/sl/wiki_syntax_detailed_textile.html +++ b/public/help/sl/wiki_syntax_detailed_textile.html @@ -306,7 +306,7 @@ It can be expanded by clicking a link.

Code highlighting

-

Default code highlightment relies on CodeRay, a fast syntax highlighting library written completely in Ruby. It currently supports c, cpp, css, delphi, groovy, html, java, javascript, json, php, python, rhtml, ruby, scheme, sql, xml and yaml languages.

+

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.

You can highlight code in your wiki page using this syntax:

-- cgit v1.2.3