if (!$aside) {
$values['$searchoption'] = [
- t("Full Text"),
- t("Tags"),
- t("Contacts")];
+ L10n::t("Full Text"),
+ L10n::t("Tags"),
+ L10n::t("Contacts")];
if (Config::get('system','poco_local_search')) {
$values['$searchoption'][] = L10n::t("Forums");
<?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;
}
$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";