From 7f67bd8aff022c6e3dc52555409510281eeef688 Mon Sep 17 00:00:00 2001 From: epriestley Date: Wed, 1 Jul 2015 14:54:43 -0700 Subject: [PATCH] Fix some pht-strings Summary: This correct some bad strings for translations Test Plan: merge similar stings removes some word wraps Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: Korvin, epriestley Maniphest Tasks: T8700 Differential Revision: https://secure.phabricator.com/D13464 --- ...abricatorCalendarEventCancelController.php | 20 +++++++++---------- .../PhabricatorCalendarEventTransaction.php | 6 +++--- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/applications/calendar/controller/PhabricatorCalendarEventCancelController.php b/src/applications/calendar/controller/PhabricatorCalendarEventCancelController.php index c29541bcfd..cb87cd7373 100644 --- a/src/applications/calendar/controller/PhabricatorCalendarEventCancelController.php +++ b/src/applications/calendar/controller/PhabricatorCalendarEventCancelController.php @@ -81,14 +81,14 @@ final class PhabricatorCalendarEventCancelController 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 @@ final class PhabricatorCalendarEventCancelController } 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 index 65ef68e573..c6ee1c4c37 100644 --- a/src/applications/calendar/storage/PhabricatorCalendarEventTransaction.php +++ b/src/applications/calendar/storage/PhabricatorCalendarEventTransaction.php @@ -238,7 +238,7 @@ final class PhabricatorCalendarEventTransaction } 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 @@ final class PhabricatorCalendarEventTransaction 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 @@ final class PhabricatorCalendarEventTransaction } 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,