]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/applicationlist.php
* i18n/L10n fixes.
[quix0rs-gnu-social.git] / lib / applicationlist.php
index 6801fb6cf1e428eaf90b72ed17e16392b650ec02..ff9ac5a20a75e30a19c01296e379830c3e1c9431 100644 (file)
@@ -142,10 +142,8 @@ class ApplicationList extends Widget
     {
         return;
     }
-
 }
 
-
 /**
  * Widget to show a list of connected OAuth clients
  *
@@ -279,7 +277,9 @@ class ConnectedAppsList extends Widget
         $this->out->element(
             'p', array(
             'class' => 'access_token'),
-            _('Access token starting with: ') . substr($this->connection->token, 0, 7)
+            // TRANS: Access token in the application list.
+            // TRANS: %s are the first 7 characters of the access token.
+            sprintf(_('Access token starting with: %s'), substr($this->connection->token, 0, 7))
         );
 
         $this->out->elementStart(
@@ -295,11 +295,10 @@ class ConnectedAppsList extends Widget
         $this->out->hidden('oauth_token', $this->connection->token);
         $this->out->hidden('token', common_session_token());
         // TRANS: Button label
-        $this->out->submit('revoke', _('Revoke'));
+        $this->out->submit('revoke', _m('BUTTON','Revoke'));
         $this->out->elementEnd('fieldset');
         $this->out->elementEnd('form');
 
         $this->out->elementEnd('li');
-
     }
 }