mirror of
https://github.com/friendica/friendica
synced 2024-12-22 17:20:16 +00:00
Translation function added
This commit is contained in:
parent
0007da8630
commit
cb830c9ad3
5 changed files with 5 additions and 5 deletions
|
@ -152,7 +152,7 @@ function lostpass_generate_password($user)
|
|||
'$newpass' => $new_password,
|
||||
]);
|
||||
|
||||
info("Your password has been reset.");
|
||||
info(DI::l10n()->t("Your password has been reset."));
|
||||
|
||||
$sitename = DI::config()->get('config', 'sitename');
|
||||
$preamble = Strings::deindent(DI::l10n()->t('
|
||||
|
|
|
@ -305,7 +305,7 @@ function network_content(App $a, $update = 0, $parent = 0)
|
|||
}
|
||||
|
||||
if ($o === '') {
|
||||
notice("No items found");
|
||||
notice(DI::l10n()->t("No items found"));
|
||||
}
|
||||
|
||||
return $o;
|
||||
|
|
|
@ -39,7 +39,7 @@ class Index extends BaseAdmin
|
|||
switch ($_GET['action']) {
|
||||
case 'reload':
|
||||
Addon::reload();
|
||||
info('Addons reloaded');
|
||||
info(DI::l10n()->t('Addons reloaded'));
|
||||
break;
|
||||
|
||||
case 'toggle' :
|
||||
|
|
|
@ -122,7 +122,7 @@ class Site extends BaseAdmin
|
|||
}
|
||||
DBA::close($usersStmt);
|
||||
|
||||
info("Relocation started. Could take a while to complete.");
|
||||
info(DI::l10n()->t("Relocation started. Could take a while to complete."));
|
||||
|
||||
DI::baseUrl()->redirect('admin/site');
|
||||
}
|
||||
|
|
|
@ -48,7 +48,7 @@ class Index extends BaseAdmin
|
|||
}
|
||||
Theme::setAllowedList($allowed_themes);
|
||||
|
||||
info('Themes reloaded');
|
||||
info(DI::l10n()->t('Themes reloaded'));
|
||||
break;
|
||||
|
||||
case 'toggle' :
|
||||
|
|
Loading…
Reference in a new issue