From e6ae75f3f8ee1b3e4ace4e2884ef0f8093ffd6ba Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Sat, 14 Jan 2012 17:46:24 +0100 Subject: Internationalized Content::Write cheat sheet. --- .../src/systemtemplates/content_write.html | 80 +------------------- ratatoeskr/translations/de.php | 85 +++++++++++++++++++++- ratatoeskr/translations/en.php | 84 ++++++++++++++++++++- 3 files changed, 168 insertions(+), 81 deletions(-) (limited to 'ratatoeskr') 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 @@
-

Linking back

-

The text %root% will be replaced with a path, that points to the root of your Ratatöskr page.

- -

Markdown Cheat Sheet

- -

Emphasis / Strong

-

- *emphasis*
- _emphasis_
- **strong**
- __strong__ -

- -

Paragraphs and manual line breaks.

-

- First Paragraph
-
-Second Paragraph with
-long
-text
-
-To enforce a line break  
-end a line with two whitespaces.
-

- -

Headers

-

- Header 1
-========
-
-Header 2
---------
-
-# Header 1
-
-## Header 2
-
-...
-
-###### Header 6
-

- -

Linking

-

- [Linktext](http://url/to/resource "Optional title") -

-

- [Linktext][id]. Somewhere else:

- [id]: http://url/to/resource "Optional title"
-

- -

Images

-

- ![alt text](/path/to/image "Optional title") -

- -

Ordered / Unordered Lists

-

- * Item A
-* Item B
-  
-  With a second paragraph.

-* Item C
-  * Item C1
-  * Item C2
-

-

- 1. First element
-2. Second Element -
-

- -

Learn More

-

- Complete Syntax
- Test Markdown -

+
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" => <<Verlinken auf die Seitenwurzel +

Der Text %root% wird mit einem Pfad ersetzt, der auf die Wurzel deiner Ratatöskr Seite verweist.

+ +

Markdown Spickzettel

+ +

Betonung / Kräftig

+

+ *Betonung*
+ _Betonung_
+ **Kräftig**
+ __Kräftig__ +

+ +

Absätze und manuelle Zeilenumbrüche.

+

+ Erster Absatz
+
+Zweiter Paragraph mit
+langem
+Text
+
+Um einenen Zeilenumbruch  
+zu erzwingen, schließe eine Zeile  
+mit zweil Leerzeichen ab.
+

+ +

Überschriften

+

+ Überschrift 1
+=============
+
+Überschrift 2
+-------------
+
+# Überschrift 1
+
+## Überschrift 2
+
+...
+
+###### Überschrift 6
+

+ +

Verlinken

+

+ [Linktext](http://url/zur/resource "Optionaler Titel") +

+

+ [Linktext][id]. Irgendwo anders:

+[id]: http://url/zur/resource "Optionaler Titel"
+

+ +

Bilder

+

+ ![alt text](/pfad/zum/bild "Optionaler Titel") +

+ +

Sortierte / Unsortierte Liste

+

+ * Element A
+* Element B
+  
+  Mit zweitem Absatz.

+* Element C
+  * Element C1
+  * Element C2
+

+

+ 1. Erstes Element
+2. Zweites Element +
+

+ +

Erfahre mehr

+

+ Komplette Syntax
+ Markdown testen +

+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" => <<Linking back +

The text %root% will be replaced with a path, that points to the root of your Ratatöskr page.

+ +

Markdown Cheat Sheet

+ +

Emphasis / Strong

+

+ *emphasis*
+ _emphasis_
+ **strong**
+ __strong__ +

+ +

Paragraphs and manual line breaks.

+

+ First Paragraph
+
+Second Paragraph with
+long
+text
+
+To enforce a line break  
+end a line with two whitespaces.
+

+ +

Headers

+

+ Header 1
+========
+
+Header 2
+--------
+
+# Header 1
+
+## Header 2
+
+...
+
+###### Header 6
+

+ +

Linking

+

+ [Linktext](http://url/to/resource "Optional title") +

+

+ [Linktext][id]. Somewhere else:

+[id]: http://url/to/resource "Optional title"
+

+ +

Images

+

+ ![alt text](/path/to/image "Optional title") +

+ +

Ordered / Unordered Lists

+

+ * Item A
+* Item B
+  
+  With a second paragraph.

+* Item C
+  * Item C1
+  * Item C2
+

+

+ 1. First element
+2. Second Element +
+

+ +

Learn More

+

+ Complete Syntax
+ Test Markdown +

+CHEATSHEET ); ?> -- cgit v1.2.3-70-g09d2