Remove product literal strings in "pht()", part 6
[phabricator.git] / src / applications / phurl / controller / PhabricatorPhurlShortURLDefaultController.php
blob8934d4b628d01473f5a58fc76844426eb69f92a3
1 <?php
3 final class PhabricatorPhurlShortURLDefaultController
4 extends PhabricatorPhurlController {
6 public function shouldRequireLogin() {
7 return false;
10 public function handleRequest(AphrontRequest $request) {
11 $dialog = $this->newDialog()
12 ->setTitle(pht('Invalid URL'))
13 ->appendParagraph(
14 pht('This domain can only be used to open URLs'.
15 ' shortened using the Phurl application. The'.
16 ' URL you are trying to access does not have'.
17 ' a Phurl URL associated with it.'));
19 return id(new AphrontDialogResponse())
20 ->setDialog($dialog)
21 ->setHTTPResponseCode(404);