Page MenuHomePhabricator

D11909.diff
No OneTemporary

D11909.diff

diff --git a/src/applications/search/controller/PhabricatorApplicationSearchController.php b/src/applications/search/controller/PhabricatorApplicationSearchController.php
--- a/src/applications/search/controller/PhabricatorApplicationSearchController.php
+++ b/src/applications/search/controller/PhabricatorApplicationSearchController.php
@@ -50,19 +50,23 @@
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());

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 12, 1:02 PM (1 w, 4 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6713512
Default Alt Text
D11909.diff (1 KB)

Event Timeline