initial spanish translation

This commit is contained in:
Friendika 2011-04-14 02:34:43 -07:00
parent 0afef6b17e
commit 54368e3a0d
3 changed files with 3221 additions and 2 deletions

View file

@ -22,12 +22,16 @@ function help_content(&$a) {
$text = '';
if($a->argc > 1)
if($a->argc > 1) {
$text = load_doc_file('doc/' . $a->argv[1] . '.md');
$a->page['title'] = t('Help:') . ' ' . str_replace('-',' ',notags($a->argv[1]));
}
if(! $text) {
$text = load_doc_file('doc/Home.md');
$a->page['title'] = t('Help');
}
return Markdown($text);
}