Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14040752
D11909.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D11909.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D11909: `pht`ize a few strings
Attached
Detach File
Event Timeline
Log In to Comment