phtize all the things
Summary: `pht`ize a whole bunch of strings in rP. Test Plan: Intense eyeballing. Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: hach-que, Korvin, epriestley Differential Revision: https://secure.phabricator.com/D12797
This commit is contained in:
@@ -37,11 +37,13 @@ final class PhabricatorFileDeleteController extends PhabricatorFileController {
|
||||
|
||||
$dialog = new AphrontDialogView();
|
||||
$dialog->setUser($user);
|
||||
$dialog->setTitle('Really delete file?');
|
||||
$dialog->setTitle(pht('Really delete file?'));
|
||||
$dialog->appendChild(hsprintf(
|
||||
"<p>Permanently delete '%s'? This action can not be undone.</p>",
|
||||
$file->getName()));
|
||||
$dialog->addSubmitButton('Delete');
|
||||
'<p>%s</p>',
|
||||
pht(
|
||||
"Permanently delete '%s'? This action can not be undone.",
|
||||
$file->getName())));
|
||||
$dialog->addSubmitButton(pht('Delete'));
|
||||
$dialog->addCancelButton($file->getInfoURI());
|
||||
|
||||
return id(new AphrontDialogResponse())->setDialog($dialog);
|
||||
|
||||
Reference in New Issue
Block a user