mirror of
https://github.com/friendica/friendica
synced 2025-04-26 05:50:11 +00:00
More missed use
a few more missed use statements for L10n
This commit is contained in:
parent
06fc1d6588
commit
6e758d0074
2 changed files with 8 additions and 5 deletions
|
@ -1,8 +1,11 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @file mod/home.php
|
||||
*/
|
||||
use Friendica\App;
|
||||
use Friendica\Core\Addon;
|
||||
use Friendica\Core\Config;
|
||||
use Friendica\Core\L10n;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Module\Login;
|
||||
|
||||
|
@ -33,7 +36,7 @@ function home_content(App $a) {
|
|||
}
|
||||
|
||||
$customhome = false;
|
||||
$defaultheader = '<h1>'.((x($a->config,'sitename')) ? sprintf(t("Welcome to %s"), $a->config['sitename']) : "").'</h1>';
|
||||
$defaultheader = '<h1>'.((x($a->config,'sitename')) ? sprintf(L10n::t("Welcome to %s"), $a->config['sitename']) : "").'</h1>';
|
||||
|
||||
$homefilepath = $a->basepath . "/home.html";
|
||||
$cssfilepath = $a->basepath . "/home.css";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue