Update t() calls

Update all t() calls.
This commit is contained in:
Adam Magness 2018-01-22 14:03:11 -05:00
parent 3ae390c6ee
commit f8c162cbfb
77 changed files with 1043 additions and 968 deletions

View file

@ -51,6 +51,7 @@
use Friendica\Core\Config;
use Friendica\Core\Addon;
use Friendica\Core\L10n;
function blackout_install() {
Addon::registerHook('page_header', 'addon/blackout/blackout.php', 'blackout_redirect');
@ -98,7 +99,7 @@ function blackout_addon_admin(&$a, &$o) {
$t = get_markup_template( "admin.tpl", "addon/blackout/" );
$o = replace_macros($t, [
'$submit' => t('Save Settings'),
'$submit' => L10n::t('Save Settings'),
'$rurl' => ["rurl", "Redirect URL", $myurl, "all your visitors from the web will be redirected to this URL"],
'$startdate' => ["startdate", "Begin of the Blackout<br />(YYYY-MM-DD hh:mm)", $mystart, "format is <em>YYYY</em> year, <em>MM</em> month, <em>DD</em> day, <em>hh</em> hour and <em>mm</em> minute"],
'$enddate' => ["enddate", "End of the Blackout<br />(YYYY-MM-DD hh:mm)", $myend, ""],