phtize all the things
Summary: `pht`ize a whole bunch of strings in rP. Test Plan: Intense eyeballing. Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: hach-que, Korvin, epriestley Differential Revision: https://secure.phabricator.com/D12797
This commit is contained in:
@@ -342,7 +342,11 @@ final class DiffusionServeController extends DiffusionController {
|
||||
// resolve the binary first.
|
||||
$bin = Filesystem::resolveBinary('git-http-backend');
|
||||
if (!$bin) {
|
||||
throw new Exception('Unable to find `git-http-backend` in PATH!');
|
||||
throw new Exception(
|
||||
pht(
|
||||
'Unable to find `%s` in %s!',
|
||||
'git-http-backend',
|
||||
'$PATH'));
|
||||
}
|
||||
|
||||
$env = array(
|
||||
@@ -485,7 +489,11 @@ final class DiffusionServeController extends DiffusionController {
|
||||
|
||||
$bin = Filesystem::resolveBinary('hg');
|
||||
if (!$bin) {
|
||||
throw new Exception('Unable to find `hg` in PATH!');
|
||||
throw new Exception(
|
||||
pht(
|
||||
'Unable to find `%s` in %s!',
|
||||
'hg',
|
||||
'$PATH'));
|
||||
}
|
||||
|
||||
$env = $this->getCommonEnvironment($viewer);
|
||||
|
||||
Reference in New Issue
Block a user