Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13972188
D11909.id28695.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.id28695.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
Oct 18 2024, 5:36 PM (4 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6713512
Default Alt Text
D11909.id28695.diff (1 KB)
Attached To
Mode
D11909: `pht`ize a few strings
Attached
Detach File
Event Timeline
Log In to Comment