aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2012-01-13 18:20:07 +0100
committerKevin Chabowski <kevin@kch42.de>2012-01-13 18:20:07 +0100
commitc6c325b562ac030bdaadb69793781c6f6c36a73f (patch)
treea27360f301dfd21985e327e33e482427a260543d
parent1f8533ded93beac340daa2f8672b9f3d5c7e8414 (diff)
downloadratatoeskr-cms-c6c325b562ac030bdaadb69793781c6f6c36a73f.tar.gz
ratatoeskr-cms-c6c325b562ac030bdaadb69793781c6f6c36a73f.tar.bz2
ratatoeskr-cms-c6c325b562ac030bdaadb69793781c6f6c36a73f.zip
Improved documentation.
* languages.php is now documented. * Docu of textprocessors.php improved, now fits better in the NaturalDocs generated menu.
-rw-r--r--ratatoeskr/languages.php19
-rw-r--r--ratatoeskr/sys/textprocessors.php2
2 files changed, 19 insertions, 2 deletions
diff --git a/ratatoeskr/languages.php b/ratatoeskr/languages.php
index 3baa455..c6161b3 100644
--- a/ratatoeskr/languages.php
+++ b/ratatoeskr/languages.php
@@ -1,5 +1,22 @@
<?php
-/* Source: http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes */
+
+/*
+ * File: ratatoeskr/languages.php
+ */
+
+/*
+ * Array: $languages
+ * Information about a lot of languages.
+ *
+ * $languages is a global array. The array keys represent the ISO 639-1 code of the language.
+ * The values are arrays with these keys:
+ *
+ * "language" - The Name of the language in this language (UTF-8 encoded)
+ * "translation_exist" - True, if there is a translation file for this language.
+ *
+ * Source:
+ * http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
+ */
$languages = array(
"ab" => array("language" => "аҧсуа", "translation_exist" => False),
"aa" => array("language" => "Afaraf", "translation_exist" => False),
diff --git a/ratatoeskr/sys/textprocessors.php b/ratatoeskr/sys/textprocessors.php
index 08ea25c..ea6fb82 100644
--- a/ratatoeskr/sys/textprocessors.php
+++ b/ratatoeskr/sys/textprocessors.php
@@ -1,6 +1,6 @@
<?php
/*
- * File: ratatoeskr/textprocessors.php
+ * File: ratatoeskr/sys/textprocessors.php
* Manage text processors (functions that transform text to HTML) and implement some default ones.
*
* License: