1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-20 05:42:40 +01:00

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
This commit is contained in:
epriestley 2015-07-01 14:54:43 -07:00
parent d5e4d96086
commit 7f67bd8aff
2 changed files with 13 additions and 13 deletions

View file

@ -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');
}

View file

@ -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,