From 1c6655cadd50460f3b765d1609df16418eca9c37 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Sat, 23 Feb 2013 07:12:36 -0800 Subject: [PATCH] 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 --- .../controller/PhabricatorCalendarBrowseController.php | 2 +- .../PhabricatorCalendarEditStatusController.php | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) 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); }