mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +01:00
pht
ize 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:
parent
130aa755bb
commit
96f6fb585e
1 changed files with 7 additions and 3 deletions
|
@ -50,19 +50,23 @@ final class PhabricatorApplicationSearchController
|
|||
|
||||
if (!$parent) {
|
||||
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();
|
||||
if (!$engine) {
|
||||
throw new Exception(
|
||||
'Call setEngine() before delegating to this controller!');
|
||||
pht(
|
||||
'Call %s before delegating to this controller!',
|
||||
'setEngine()'));
|
||||
}
|
||||
|
||||
$nav = $this->getNavigation();
|
||||
if (!$nav) {
|
||||
throw new Exception(
|
||||
'Call setNavigation() before delegating to this controller!');
|
||||
pht(
|
||||
'Call %s before delegating to this controller!',
|
||||
'setNavigation()'));
|
||||
}
|
||||
|
||||
$engine->setViewer($this->getRequest()->getUser());
|
||||
|
|
Loading…
Reference in a new issue