mirror of
https://github.com/friendica/friendica
synced 2025-04-27 01:50:11 +00:00
Translatable "Welcome to" in home
This commit is contained in:
parent
fa756ffcb9
commit
dd83923057
2 changed files with 3 additions and 2 deletions
|
@ -19,7 +19,7 @@ function home_content(&$a) {
|
|||
* $a->page['footer'] = '';
|
||||
* $a->page['footer'] .= "<div class=\"powered\" >Powered by <a href=\"http://friendika.com\" title=\"friendika\" >friendika</a></div>";
|
||||
*/
|
||||
$o .= '<h1>Welcome' . ((x($a->config,'sitename')) ? " to {$a->config['sitename']}" : "" ) . '</h1>';
|
||||
$o .= '<h1>' . ((x($a->config,'sitename')) ? t("Welcome to ").$a->config['sitename'] : "" ) . '</h1>';
|
||||
if(file_exists('home.html'))
|
||||
$o .= file_get_contents('home.html');
|
||||
|
||||
|
@ -27,4 +27,4 @@ function home_content(&$a) {
|
|||
return $o;
|
||||
|
||||
|
||||
}}
|
||||
}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue