Change double quotes to single quotes.
Summary: Ran `arc lint --apply-patches --everything` over rP, mainly to change double quotes to single quotes where appropriate. These changes also validate that the `ArcanistXHPASTLinter::LINT_DOUBLE_QUOTE` rule is working as expected. Test Plan: Eyeballed it. Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley, Korvin, hach-que Differential Revision: https://secure.phabricator.com/D9431
This commit is contained in:
committed by
epriestley
parent
78f783222e
commit
0a62f13464
@@ -163,7 +163,7 @@ final class PhabricatorAuthRegisterController
|
||||
|
||||
$captcha_ok = AphrontFormRecaptchaControl::processCaptcha($request);
|
||||
if (!$captcha_ok) {
|
||||
$errors[] = pht("Captcha response is incorrect, try again.");
|
||||
$errors[] = pht('Captcha response is incorrect, try again.');
|
||||
$e_captcha = pht('Invalid');
|
||||
}
|
||||
}
|
||||
@@ -479,12 +479,12 @@ final class PhabricatorAuthRegisterController
|
||||
if (!$providers) {
|
||||
$response = $this->renderError(
|
||||
pht(
|
||||
"There are no configured default registration providers."));
|
||||
'There are no configured default registration providers.'));
|
||||
return array($account, $provider, $response);
|
||||
} else if (count($providers) > 1) {
|
||||
$response = $this->renderError(
|
||||
pht(
|
||||
"There are too many configured default registration providers."));
|
||||
'There are too many configured default registration providers.'));
|
||||
return array($account, $provider, $response);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user