1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-21 04:50:55 +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:
Chad Little 2013-02-23 07:12:36 -08:00
parent c3243ef17c
commit 1c6655cadd
2 changed files with 5 additions and 5 deletions

View file

@ -60,7 +60,7 @@ final class PhabricatorCalendarBrowseController
return $this->buildApplicationPage( return $this->buildApplicationPage(
$nav, $nav,
array( array(
'title' => 'Calendar', 'title' => pht('Calendar'),
'device' => true, 'device' => true,
)); ));
} }

View file

@ -68,10 +68,10 @@ final class PhabricatorCalendarEditStatusController
->setDescription($description) ->setDescription($description)
->save(); ->save();
} catch (PhabricatorUserStatusInvalidEpochException $e) { } catch (PhabricatorUserStatusInvalidEpochException $e) {
$errors[] = 'Start must be before end.'; $errors[] = pht('Start must be before end.');
} catch (PhabricatorUserStatusOverlapException $e) { } catch (PhabricatorUserStatusOverlapException $e) {
$errors[] = 'There is already a status within the specified '. $errors[] = pht('There is already a status within the specified '.
'timeframe. Edit or delete this existing status.'; 'timeframe. Edit or delete this existing status.');
} }
if (!$errors) { if (!$errors) {
@ -94,7 +94,7 @@ final class PhabricatorCalendarEditStatusController
$error_view = null; $error_view = null;
if ($errors) { if ($errors) {
$error_view = id(new AphrontErrorView()) $error_view = id(new AphrontErrorView())
->setTitle('Status can not be set!') ->setTitle(pht('Status can not be set!'))
->setErrors($errors); ->setErrors($errors);
} }