diff options
-rw-r--r-- | ratatoeskr/templates/src/systemtemplates/content_write.html | 80 | ||||
-rw-r--r-- | ratatoeskr/translations/de.php | 85 | ||||
-rw-r--r-- | ratatoeskr/translations/en.php | 84 |
3 files changed, 168 insertions, 81 deletions
diff --git a/ratatoeskr/templates/src/systemtemplates/content_write.html b/ratatoeskr/templates/src/systemtemplates/content_write.html index 1a74d11..f241fd7 100644 --- a/ratatoeskr/templates/src/systemtemplates/content_write.html +++ b/ratatoeskr/templates/src/systemtemplates/content_write.html @@ -21,85 +21,7 @@ <ste:default_success /> <div class="triplecolumns"> <div class="column_left"> - <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 <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 /> - <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 /> - <br /> - With a second paragraph.<br /> - <br /> -* Item C<br /> - * Item C1<br /> - * 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> + <ste:get_translation for="content_write_cheatsheet" raw="y" /> </div> <div class="column_right"> diff --git a/ratatoeskr/translations/de.php b/ratatoeskr/translations/de.php index cfd715c..a4f615a 100644 --- a/ratatoeskr/translations/de.php +++ b/ratatoeskr/translations/de.php @@ -244,7 +244,90 @@ $translation = array( "search_in_all_repos" => "allen Sammlungen", "repo" => "Sammlung", "install" => "Installieren", - "package_or_repo_not_found" => "Paket oder Sammlung nicht gefunden." + "package_or_repo_not_found" => "Paket oder Sammlung nicht gefunden.", + /* Very long texts here */ + "content_write_cheatsheet" => <<<CHEATSHEET +<h2>Verlinken auf die Seitenwurzel</h2> +<p>Der Text <code>%root%</code> wird mit einem Pfad ersetzt, der auf die Wurzel deiner Ratatöskr Seite verweist.</p> + +<h2>Markdown Spickzettel</h2> + +<h3>Betonung / Kräftig</h3> +<p> + <code>*<em>Betonung</em>*</code><br /> + <code>_<em>Betonung</em>_</code><br /> + <code>**<strong>Kräftig</strong>**</code><br /> + <code>__<strong>Kräftig</strong>__</code> +</p> + +<h3>Absätze und manuelle Zeilenumbrüche.</h3> +<p> + <code>Erster Absatz<br /> +<br /> +Zweiter Paragraph mit<br /> +langem<br /> +Text<br /> +<br /> +Um einenen Zeilenumbruch <br /> +zu erzwingen, schließe eine Zeile <br /> +mit zweil Leerzeichen ab.</code> +</p> + +<h3>Überschriften</h3> +<p> + <code>Überschrift 1<br /> +=============<br /> +<br /> +Überschrift 2<br /> +-------------<br /> +<br /> +# Überschrift 1<br /> +<br /> +## Überschrift 2<br /> +<br /> +...<br /> +<br /> +###### Überschrift 6<br /></code> +</p> + +<h3>Verlinken</h3> +<p> + <code>[Linktext](http://url/zur/resource "Optionaler Titel")</code> +</p> +<p> + <code>[Linktext][id]. Irgendwo anders:<br /> + <br /> +[id]: http://url/zur/resource "Optionaler Titel"</code> +</p> + +<h3>Bilder</h3> +<p> + <code>![alt text](/pfad/zum/bild "Optionaler Titel")</code> +</p> + +<h3>Sortierte / Unsortierte Liste</h3> +<p> + <code>* Element A<br /> +* Element B<br /> + <br /> + Mit zweitem Absatz.<br /> + <br /> +* Element C<br /> + * Element C1<br /> + * Element C2<br /></code> +</p> +<p> + <code>1. Erstes Element<br /> +2. Zweites Element +</code> +</p> + +<h3>Erfahre mehr</h3> +<p> + <a href="http://daringfireball.net/projects/markdown/syntax">Komplette Syntax</a><br /> + <a href="http://daringfireball.net/projects/markdown/dingus">Markdown testen</a> +</p> +CHEATSHEET ); ?> 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 <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 /> + <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 /> + <br /> + With a second paragraph.<br /> + <br /> +* Item C<br /> + * Item C1<br /> + * 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 ); ?> |