phtize a few strings
Summary: Self-explanatory. Test Plan: Eyeball it. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D11909
This commit is contained in:
@@ -50,19 +50,23 @@ final class PhabricatorApplicationSearchController
|
|||||||
|
|
||||||
if (!$parent) {
|
if (!$parent) {
|
||||||
throw new Exception(
|
throw new Exception(
|
||||||
'You must delegate to this controller, not invoke it directly.');
|
pht('You must delegate to this controller, not invoke it directly.'));
|
||||||
}
|
}
|
||||||
|
|
||||||
$engine = $this->getSearchEngine();
|
$engine = $this->getSearchEngine();
|
||||||
if (!$engine) {
|
if (!$engine) {
|
||||||
throw new Exception(
|
throw new Exception(
|
||||||
'Call setEngine() before delegating to this controller!');
|
pht(
|
||||||
|
'Call %s before delegating to this controller!',
|
||||||
|
'setEngine()'));
|
||||||
}
|
}
|
||||||
|
|
||||||
$nav = $this->getNavigation();
|
$nav = $this->getNavigation();
|
||||||
if (!$nav) {
|
if (!$nav) {
|
||||||
throw new Exception(
|
throw new Exception(
|
||||||
'Call setNavigation() before delegating to this controller!');
|
pht(
|
||||||
|
'Call %s before delegating to this controller!',
|
||||||
|
'setNavigation()'));
|
||||||
}
|
}
|
||||||
|
|
||||||
$engine->setViewer($this->getRequest()->getUser());
|
$engine->setViewer($this->getRequest()->getUser());
|
||||||
|
|||||||
Reference in New Issue
Block a user