X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fapplicationlist.php;h=ca7dce83282a06136b970d42d30f83f21f7553a1;hb=3fd6b9d474bdc22a82cb5a2c0d9578632a73f988;hp=3f50f110bacaebb3a75c56a34a9776e87ef76262;hpb=93a8718f97c92b5e370335108aebf07d9004d5de;p=quix0rs-gnu-social.git diff --git a/lib/applicationlist.php b/lib/applicationlist.php index 3f50f110ba..ca7dce8328 100644 --- a/lib/applicationlist.php +++ b/lib/applicationlist.php @@ -237,13 +237,16 @@ class ConnectedAppsList extends Widget $this->out->elementEnd('a'); if ($app->name == 'anonymous') { - $this->out->element('span', 'fn', "Unknown application"); + // TRANS: Name for an anonymous application in application list. + $this->out->element('span', 'fn', _('Unknown application')); } $this->out->elementEnd('span'); if ($app->name != 'anonymous') { // @todo FIXME: i18n trouble. + // TRANS: Message has a leading space and a trailing space. Used in application list. + // TRANS: Before this message the application name is put, behind it the organisation that manages it. $this->out->raw(_(' by ')); $this->out->element( @@ -267,6 +270,7 @@ class ConnectedAppsList extends Widget // TRANS: Used in application list. %1$s is a modified date, %2$s is access type ("read-write" or "read-only") $txt = sprintf(_('Approved %1$s - "%2$s" access.'), $modifiedDate, $access); + // @todo FIXME: i18n trouble. $this->out->raw(" - $txt"); if (!empty($app->description)) { $this->out->element( @@ -294,7 +298,7 @@ class ConnectedAppsList extends Widget $this->out->elementStart('fieldset'); $this->out->hidden('oauth_token', $this->connection->token); $this->out->hidden('token', common_session_token()); - // TRANS: Button label + // TRANS: Button label in application list to revoke access to user data. $this->out->submit('revoke', _m('BUTTON','Revoke')); $this->out->elementEnd('fieldset'); $this->out->elementEnd('form');