mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-20 20:40:56 +01:00
Calendar minor pht.
Summary: Minor pht's missed in Calendar. Test Plan: ALLCAPS Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D5096
This commit is contained in:
parent
c3243ef17c
commit
1c6655cadd
2 changed files with 5 additions and 5 deletions
|
@ -60,7 +60,7 @@ final class PhabricatorCalendarBrowseController
|
|||
return $this->buildApplicationPage(
|
||||
$nav,
|
||||
array(
|
||||
'title' => 'Calendar',
|
||||
'title' => pht('Calendar'),
|
||||
'device' => true,
|
||||
));
|
||||
}
|
||||
|
|
|
@ -68,10 +68,10 @@ final class PhabricatorCalendarEditStatusController
|
|||
->setDescription($description)
|
||||
->save();
|
||||
} catch (PhabricatorUserStatusInvalidEpochException $e) {
|
||||
$errors[] = 'Start must be before end.';
|
||||
$errors[] = pht('Start must be before end.');
|
||||
} catch (PhabricatorUserStatusOverlapException $e) {
|
||||
$errors[] = 'There is already a status within the specified '.
|
||||
'timeframe. Edit or delete this existing status.';
|
||||
$errors[] = pht('There is already a status within the specified '.
|
||||
'timeframe. Edit or delete this existing status.');
|
||||
}
|
||||
|
||||
if (!$errors) {
|
||||
|
@ -94,7 +94,7 @@ final class PhabricatorCalendarEditStatusController
|
|||
$error_view = null;
|
||||
if ($errors) {
|
||||
$error_view = id(new AphrontErrorView())
|
||||
->setTitle('Status can not be set!')
|
||||
->setTitle(pht('Status can not be set!'))
|
||||
->setErrors($errors);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue