mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-16 20:05:14 +02:00
initial spanish translation
This commit is contained in:
parent
0afef6b17e
commit
54368e3a0d
3 changed files with 3221 additions and 2 deletions
|
@ -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);
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue