Differential D15770 Diff 37997 src/applications/calendar/controller/PhabricatorCalendarEventCancelController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/calendar/controller/PhabricatorCalendarEventCancelController.php
Show First 20 Lines • Show All 76 Lines • ▼ Show 20 Lines | if ($is_cancelled) { | ||||
$title = pht('Cannot Reinstate Instance'); | $title = pht('Cannot Reinstate Instance'); | ||||
$paragraph = pht( | $paragraph = pht( | ||||
'Cannot reinstate an instance of a cancelled recurring event.'); | 'Cannot reinstate an instance of a 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( | $paragraph = pht( | ||||
'Reinstate the entire series of recurring events?'); | 'Reinstate all instances of this recurrence | ||||
that have not been individually cancelled?'); | |||||
$cancel = pht("Don't Reinstate Recurrence"); | $cancel = pht("Don't Reinstate Recurrence"); | ||||
$submit = pht('Reinstate Recurrence'); | $submit = pht('Reinstate Recurrence'); | ||||
} else { | } else { | ||||
$title = pht('Reinstate Event'); | $title = pht('Reinstate Event'); | ||||
$paragraph = pht('Reinstate this event?'); | $paragraph = pht('Reinstate this event?'); | ||||
$cancel = pht("Don't Reinstate Event"); | $cancel = pht("Don't Reinstate Event"); | ||||
$submit = pht('Reinstate Event'); | $submit = pht('Reinstate Event'); | ||||
} | } | ||||
Show All 30 Lines |