1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-22 13:30:55 +01:00

Minor, add some missing pht(). See D4200.

Auditors: btrahan
This commit is contained in:
epriestley 2012-12-16 16:36:22 -08:00
parent 221562b294
commit 86353462cd

View file

@ -53,7 +53,7 @@ final class PhabricatorFileUploadController extends PhabricatorFileController {
->setLabel(pht('Name'))
->setName('name')
->setValue($request->getStr('name'))
->setCaption('Optional file display name.'))
->setCaption(pht('Optional file display name.')))
->appendChild(
id(new AphrontFormSubmitControl())
->setValue(pht('Upload'))
@ -66,12 +66,14 @@ final class PhabricatorFileUploadController extends PhabricatorFileController {
->setName(pht('Upload'))
->setHref($request->getRequestURI()));
$title = pht('Upload File');
$header = id(new PhabricatorHeaderView())
->setHeader(pht('Upload File'));
->setHeader($title);
if ($errors) {
$errors = id(new AphrontErrorView())
->setTitle('Form Errors')
->setTitle(pht('Form Errors'))
->setErrors($errors);
}
@ -87,7 +89,7 @@ final class PhabricatorFileUploadController extends PhabricatorFileController {
$global_upload,
),
array(
'title' => 'Upload File',
'title' => $title,
'device' => true,
));
}