aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/translations/en.php
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2012-01-14 17:46:24 +0100
committerKevin Chabowski <kevin@kch42.de>2012-01-14 17:46:24 +0100
commite6ae75f3f8ee1b3e4ace4e2884ef0f8093ffd6ba (patch)
tree8456430636846b77d8fc6abf65dba52d98430b8e /ratatoeskr/translations/en.php
parent9eafbb375316e9bef272258176be1a660978d4ba (diff)
downloadratatoeskr-cms-e6ae75f3f8ee1b3e4ace4e2884ef0f8093ffd6ba.tar.gz
ratatoeskr-cms-e6ae75f3f8ee1b3e4ace4e2884ef0f8093ffd6ba.tar.bz2
ratatoeskr-cms-e6ae75f3f8ee1b3e4ace4e2884ef0f8093ffd6ba.zip
Internationalized Content::Write cheat sheet.
Diffstat (limited to 'ratatoeskr/translations/en.php')
-rw-r--r--ratatoeskr/translations/en.php84
1 files changed, 83 insertions, 1 deletions
diff --git a/ratatoeskr/translations/en.php b/ratatoeskr/translations/en.php
index 26c6488..7a4b14c 100644
--- a/ratatoeskr/translations/en.php
+++ b/ratatoeskr/translations/en.php
@@ -244,7 +244,89 @@ $translation = array(
"search_in_all_repos" => "all repositories",
"repo" => "Repository",
"install" => "Install",
- "package_or_repo_not_found" => "Package or repository not found."
+ "package_or_repo_not_found" => "Package or repository not found.",
+ /* Very long texts here */
+ "content_write_cheatsheet" => <<<CHEATSHEET
+<h2>Linking back</h2>
+<p>The text <code>%root%</code> will be replaced with a path, that points to the root of your Ratatöskr page.</p>
+
+<h2>Markdown Cheat Sheet</h2>
+
+<h3>Emphasis / Strong</h3>
+<p>
+ <code>*<em>emphasis</em>*</code><br />
+ <code>_<em>emphasis</em>_</code><br />
+ <code>**<strong>strong</strong>**</code><br />
+ <code>__<strong>strong</strong>__</code>
+</p>
+
+<h3>Paragraphs and manual line breaks.</h3>
+<p>
+ <code>First Paragraph<br />
+<br />
+Second Paragraph with<br />
+long<br />
+text<br />
+<br />
+To enforce a line break&nbsp;&nbsp;<br />
+end a line with two whitespaces.</code>
+</p>
+
+<h3>Headers</h3>
+<p>
+ <code>Header 1<br />
+========<br />
+<br />
+Header 2<br />
+--------<br />
+<br />
+# Header 1<br />
+<br />
+## Header 2<br />
+<br />
+...<br />
+<br />
+###### Header 6<br /></code>
+</p>
+
+<h3>Linking</h3>
+<p>
+ <code>[Linktext](http://url/to/resource "Optional title")</code>
+</p>
+<p>
+ <code>[Linktext][id]. Somewhere else:<br />
+&nbsp;<br />
+[id]: http://url/to/resource "Optional title"</code>
+</p>
+
+<h3>Images</h3>
+<p>
+ <code>![alt text](/path/to/image "Optional title")</code>
+</p>
+
+<h3>Ordered / Unordered Lists</h3>
+<p>
+ <code>* Item A<br />
+* Item B<br />
+&nbsp;&nbsp;<br />
+&nbsp;&nbsp;With a second paragraph.<br />
+&nbsp;<br />
+* Item C<br />
+&nbsp;&nbsp;* Item C1<br />
+&nbsp;&nbsp;* Item C2<br /></code>
+</p>
+<p>
+ <code>1. First element<br />
+2. Second Element
+</code>
+</p>
+
+<h3>Learn More</h3>
+<p>
+ <a href="http://daringfireball.net/projects/markdown/syntax">Complete Syntax</a><br />
+ <a href="http://daringfireball.net/projects/markdown/dingus">Test Markdown</a>
+</p>
+CHEATSHEET
);
?>