X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fopenid.php;h=2c284f76d88757848459a339cfbe98bdafcfdcb9;hb=80ac7da01d3dedf92e3673b4b97d37287bb16488;hp=613cd222f605e962301492f73f4a8d033fb9c7a7;hpb=2196a0577b29dcec1ba4d2c32be10fa5f0e91034;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 }