X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fopenid.php;h=2c284f76d88757848459a339cfbe98bdafcfdcb9;hb=b07dfbb03f06f72d8776da317361fa5bcad098e2;hp=613cd222f605e962301492f73f4a8d033fb9c7a7;hpb=e8bac997283634bc4b9ec78a5b09277c9dfc6131;p=friendica.git diff --git a/mod/openid.php b/mod/openid.php index 613cd222f6..2c284f76d8 100644 --- a/mod/openid.php +++ b/mod/openid.php @@ -1,12 +1,14 @@ get_hostname()); if($openid->validate()) { $authid = $_REQUEST['openid_identity']; if(! strlen($authid)) { - logger( t('OpenID protocol error. No ID returned.') . EOL); + logger(L10n::t('OpenID protocol error. No ID returned.') . EOL); goaway(System::baseUrl()); } @@ -61,7 +63,7 @@ function openid_content(App $a) { // New registration? if ($a->config['register_policy'] == REGISTER_CLOSED) { - notice( t('Account not found and OpenID registration is not permitted on this site.') . EOL); + notice(L10n::t('Account not found and OpenID registration is not permitted on this site.') . EOL); goaway(System::baseUrl()); } @@ -111,7 +113,7 @@ function openid_content(App $a) { // NOTREACHED } } - notice( t('Login failed.') . EOL); + notice(L10n::t('Login failed.') . EOL); goaway(System::baseUrl()); // NOTREACHED }