mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-01 18:30:59 +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:
parent
d5e4d96086
commit
7f67bd8aff
2 changed files with 13 additions and 13 deletions
|
@ -81,14 +81,14 @@ final class PhabricatorCalendarEventCancelController
|
||||||
if ($is_cancelled) {
|
if ($is_cancelled) {
|
||||||
if ($sequence || $is_parent_cancelled) {
|
if ($sequence || $is_parent_cancelled) {
|
||||||
$title = pht('Cannot Reinstate Instance');
|
$title = pht('Cannot Reinstate Instance');
|
||||||
$paragraph = pht('Cannot reinstate an instance of a
|
$paragraph = pht('Cannot reinstate an instance of a ' .
|
||||||
cancelled recurring event.');
|
'cancelled recurring event.');
|
||||||
$cancel = pht('Cancel');
|
$cancel = pht('Cancel');
|
||||||
$submit = null;
|
$submit = null;
|
||||||
} else if ($is_parent) {
|
} else if ($is_parent) {
|
||||||
$title = pht('Reinstate Recurrence');
|
$title = pht('Reinstate Recurrence');
|
||||||
$paragraph = pht('Reinstate the entire series
|
$paragraph = pht('Reinstate the entire series ' .
|
||||||
of recurring events?');
|
'of recurring events?');
|
||||||
$cancel = pht('Don\'t Reinstate Recurrence');
|
$cancel = pht('Don\'t Reinstate Recurrence');
|
||||||
$submit = pht('Reinstate Recurrence');
|
$submit = pht('Reinstate Recurrence');
|
||||||
} else {
|
} else {
|
||||||
|
@ -100,20 +100,20 @@ final class PhabricatorCalendarEventCancelController
|
||||||
} else {
|
} else {
|
||||||
if ($sequence) {
|
if ($sequence) {
|
||||||
$title = pht('Cancel Instance');
|
$title = pht('Cancel Instance');
|
||||||
$paragraph = pht('Cancel just this instance
|
$paragraph = pht('Cancel just this instance ' .
|
||||||
of a recurring event.');
|
'of a recurring event.');
|
||||||
$cancel = pht('Don\'t Cancel Instance');
|
$cancel = pht('Don\'t Cancel Instance');
|
||||||
$submit = pht('Cancel Instance');
|
$submit = pht('Cancel Instance');
|
||||||
} else if ($is_parent) {
|
} else if ($is_parent) {
|
||||||
$title = pht('Cancel Recurrence');
|
$title = pht('Cancel Recurrence');
|
||||||
$paragraph = pht('Cancel the entire series
|
$paragraph = pht('Cancel the entire series ' .
|
||||||
of recurring events?');
|
'of recurring events?');
|
||||||
$cancel = pht('Don\'t Cancel Recurrence');
|
$cancel = pht('Don\'t Cancel Recurrence');
|
||||||
$submit = pht('Cancel Recurrence');
|
$submit = pht('Cancel Recurrence');
|
||||||
} else {
|
} else {
|
||||||
$title = pht('Cancel Event');
|
$title = pht('Cancel Event');
|
||||||
$paragraph = pht('You can always reinstate
|
$paragraph = pht('You can always reinstate ' .
|
||||||
the event later.');
|
'the event later.');
|
||||||
$cancel = pht('Don\'t Cancel Event');
|
$cancel = pht('Don\'t Cancel Event');
|
||||||
$submit = pht('Cancel Event');
|
$submit = pht('Cancel Event');
|
||||||
}
|
}
|
||||||
|
|
|
@ -238,7 +238,7 @@ final class PhabricatorCalendarEventTransaction
|
||||||
} else if ($count_added > 0 && $count_uninvited > 0) {
|
} else if ($count_added > 0 && $count_uninvited > 0) {
|
||||||
$added_text = $this->renderHandleList($added);
|
$added_text = $this->renderHandleList($added);
|
||||||
$uninvited_text = $this->renderHandleList($uninvited);
|
$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),
|
$this->renderHandleLink($author_phid),
|
||||||
$added_text,
|
$added_text,
|
||||||
$uninvited_text);
|
$uninvited_text);
|
||||||
|
@ -303,7 +303,7 @@ final class PhabricatorCalendarEventTransaction
|
||||||
case self::TYPE_NAME:
|
case self::TYPE_NAME:
|
||||||
if ($old === null) {
|
if ($old === null) {
|
||||||
return pht(
|
return pht(
|
||||||
'%s created %s',
|
'%s created %s.',
|
||||||
$this->renderHandleLink($author_phid),
|
$this->renderHandleLink($author_phid),
|
||||||
$this->renderHandleLink($object_phid));
|
$this->renderHandleLink($object_phid));
|
||||||
} else {
|
} else {
|
||||||
|
@ -445,7 +445,7 @@ final class PhabricatorCalendarEventTransaction
|
||||||
} else if ($count_added > 0 && $count_uninvited > 0) {
|
} else if ($count_added > 0 && $count_uninvited > 0) {
|
||||||
$added_text = $this->renderHandleList($added);
|
$added_text = $this->renderHandleList($added);
|
||||||
$uninvited_text = $this->renderHandleList($uninvited);
|
$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),
|
$this->renderHandleLink($author_phid),
|
||||||
$added_text,
|
$added_text,
|
||||||
$uninvited_text,
|
$uninvited_text,
|
||||||
|
|
Loading…
Reference in a new issue