diff --git a/src/applications/calendar/controller/PhabricatorCalendarEventCancelController.php b/src/applications/calendar/controller/PhabricatorCalendarEventCancelController.php --- a/src/applications/calendar/controller/PhabricatorCalendarEventCancelController.php +++ b/src/applications/calendar/controller/PhabricatorCalendarEventCancelController.php @@ -81,14 +81,14 @@ if ($is_cancelled) { if ($sequence || $is_parent_cancelled) { $title = pht('Cannot Reinstate Instance'); - $paragraph = pht('Cannot reinstate an instance of a - cancelled recurring event.'); + $paragraph = pht('Cannot reinstate an instance of a ' . + 'cancelled recurring event.'); $cancel = pht('Cancel'); $submit = null; } else if ($is_parent) { $title = pht('Reinstate Recurrence'); - $paragraph = pht('Reinstate the entire series - of recurring events?'); + $paragraph = pht('Reinstate the entire series ' . + 'of recurring events?'); $cancel = pht('Don\'t Reinstate Recurrence'); $submit = pht('Reinstate Recurrence'); } else { @@ -100,20 +100,20 @@ } else { if ($sequence) { $title = pht('Cancel Instance'); - $paragraph = pht('Cancel just this instance - of a recurring event.'); + $paragraph = pht('Cancel just this instance ' . + 'of a recurring event.'); $cancel = pht('Don\'t Cancel Instance'); $submit = pht('Cancel Instance'); } else if ($is_parent) { $title = pht('Cancel Recurrence'); - $paragraph = pht('Cancel the entire series - of recurring events?'); + $paragraph = pht('Cancel the entire series ' . + 'of recurring events?'); $cancel = pht('Don\'t Cancel Recurrence'); $submit = pht('Cancel Recurrence'); } else { $title = pht('Cancel Event'); - $paragraph = pht('You can always reinstate - the event later.'); + $paragraph = pht('You can always reinstate ' . + 'the event later.'); $cancel = pht('Don\'t Cancel Event'); $submit = pht('Cancel Event'); } diff --git a/src/applications/calendar/storage/PhabricatorCalendarEventTransaction.php b/src/applications/calendar/storage/PhabricatorCalendarEventTransaction.php --- a/src/applications/calendar/storage/PhabricatorCalendarEventTransaction.php +++ b/src/applications/calendar/storage/PhabricatorCalendarEventTransaction.php @@ -238,7 +238,7 @@ } else if ($count_added > 0 && $count_uninvited > 0) { $added_text = $this->renderHandleList($added); $uninvited_text = $this->renderHandleList($uninvited); - $text = pht('%s invited %s and uninvited: %s', + $text = pht('%s invited %s and uninvited %s.', $this->renderHandleLink($author_phid), $added_text, $uninvited_text); @@ -303,7 +303,7 @@ case self::TYPE_NAME: if ($old === null) { return pht( - '%s created %s', + '%s created %s.', $this->renderHandleLink($author_phid), $this->renderHandleLink($object_phid)); } else { @@ -445,7 +445,7 @@ } else if ($count_added > 0 && $count_uninvited > 0) { $added_text = $this->renderHandleList($added); $uninvited_text = $this->renderHandleList($uninvited); - $text = pht('%s invited %s and uninvited %s to %s', + $text = pht('%s invited %s and uninvited %s to %s.', $this->renderHandleLink($author_phid), $added_text, $uninvited_text,