Commit Graph

7 Commits

Author SHA1 Message Date
Toshi MARUYAMA
763d5dddde [#20288] Update the CodeRay Ruby syntax highlight example.
This commit changes the following:

* Remove line numbering from syntax highlight example.
* Add span with 'CodeRay' class around the syntax highlight example.
* Fix span classes in the syntax highlight example:
** Ruby scanner changed from ':reserved' to ':keyword' with CodeRay 1.0.0.
* Remove obsolete line numbering styles.
* Fix internal stylesheet to match CodeRay 1.1.0 (preserving r10132's changes).
* Sort internal styles and remove superfluous newlines between styles.

Contributed by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@14492 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-08-14 02:47:54 +00:00
Toshi MARUYAMA
0554143d7e [#20288] Make clear that syntax highlighting cannot only be used in wiki pages.
Regarding the i18n: I used English as the base language. The
changed sentence was the same in 93 out of 98 language files,
public\help\xx[-xx]\wiki_syntax_detailed_[markdown||textile].html.

The only five 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
* ru; public\help\ru\qiki_syntax_detailed_textile.html
* zh-tw; public\help\zh-tw\wiki_syntax_detailed_textile.html

In the above given files, the changed sentence is translated. I
have replaced the whole translated sentence with the new English
base sentence, as such leaving new translations up to translators.

Contributed by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@14491 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-08-14 02:38:25 +00:00
Toshi MARUYAMA
ca4b437d45 [#20288] Add a note about case-insensitivity of CodeRay language names/aliases.
Regarding the i18n: I used English as the base language. The
changed sentence was the same in 93 out of 98 language files,
public\help\xx[-xx]\wiki_syntax_detailed_[markdown||textile].html.

The only five 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
* ru; public\help\ru\qiki_syntax_detailed_textile.html
* zh-tw; public\help\zh-tw\wiki_syntax_detailed_textile.html

In the above given files, the changed sentence is translated. I
have replaced the whole translated sentence with the new English
base sentence, as such leaving new translations up to translators.

Contributed by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@14490 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-08-14 02:37:17 +00:00
Toshi MARUYAMA
7c46fe1e4b [#20288] Update the i18n'ed core doc to match CodeRay 1.1.0 capabilities.
This commit includes:

<pre>
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)
</pre>

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
2015-08-14 02:36:09 +00:00
Jean-Philippe Lang
24e84166b4 Removes textile references in markdown help (#16373).
Patch by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@14446 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-07-24 04:03:41 +00:00
Toshi MARUYAMA
224be84fb7 fix indent of wiki_syntax_detailed_markdown.html
git-svn-id: http://svn.redmine.org/redmine/trunk@14192 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-04-20 14:09:51 +00:00
Toshi MARUYAMA
47a6a54e87 copy English markdown wiki syntax help to other languages (#16373)
git-svn-id: http://svn.redmine.org/redmine/trunk@14190 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-04-20 12:00:17 +00:00