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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue