From 63b4183d9a43567b25536953f88f1ddc6b236935 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Tue, 9 Jul 2013 18:16:44 -0700 Subject: [PATCH] Initialize used variable Blame Rev: rP5ad52694 Auditor: stephenyeargin --- .../controller/PhabricatorOAuthServerAuthController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/applications/oauthserver/controller/PhabricatorOAuthServerAuthController.php b/src/applications/oauthserver/controller/PhabricatorOAuthServerAuthController.php index 294c284a02..284dad2804 100644 --- a/src/applications/oauthserver/controller/PhabricatorOAuthServerAuthController.php +++ b/src/applications/oauthserver/controller/PhabricatorOAuthServerAuthController.php @@ -136,7 +136,8 @@ extends PhabricatorAuthController { // display time -- make a nice form for the user to grant the client // access to the granularity specified by $scope - $title = 'Authorize '.$client->getName().'?'; + $name = $client->getName(); + $title = pht('Authorize %s?', $name); $panel = new AphrontPanelView(); $panel->setWidth(AphrontPanelView::WIDTH_FORM); $panel->setHeader($title);