Move L10n::t() calls to DI::l10n()->t() calls
This commit is contained in:
@@ -130,7 +130,7 @@ abstract class BaseModule
|
||||
|
||||
public static function getFormSecurityStandardErrorMessage()
|
||||
{
|
||||
return L10n::t("The form security token was not correct. This probably happened because the form has been opened for too long \x28>3 hours\x29 before submitting it.") . EOL;
|
||||
return DI::l10n()->t("The form security token was not correct. This probably happened because the form has been opened for too long \x28>3 hours\x29 before submitting it.") . EOL;
|
||||
}
|
||||
|
||||
public static function checkFormSecurityTokenRedirectOnError($err_redirect, $typename = '', $formname = 'form_security_token')
|
||||
|
||||
Reference in New Issue
Block a user