diff --git a/src/applications/calendar/controller/PhabricatorCalendarBrowseController.php b/src/applications/calendar/controller/PhabricatorCalendarBrowseController.php index 4393c2c19a..4cd6365b68 100644 --- a/src/applications/calendar/controller/PhabricatorCalendarBrowseController.php +++ b/src/applications/calendar/controller/PhabricatorCalendarBrowseController.php @@ -60,7 +60,7 @@ final class PhabricatorCalendarBrowseController return $this->buildApplicationPage( $nav, array( - 'title' => 'Calendar', + 'title' => pht('Calendar'), 'device' => true, )); } diff --git a/src/applications/calendar/controller/PhabricatorCalendarEditStatusController.php b/src/applications/calendar/controller/PhabricatorCalendarEditStatusController.php index 909e56f956..b31deeb0c4 100644 --- a/src/applications/calendar/controller/PhabricatorCalendarEditStatusController.php +++ b/src/applications/calendar/controller/PhabricatorCalendarEditStatusController.php @@ -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); }