3 final class PhamePostEditEngineLock
4 extends PhabricatorEditEngineLock
{
6 public function willPromptUserForLockOverrideWithDialog(
7 AphrontDialogView
$dialog) {
10 ->setTitle(pht('Edit Locked Post'))
12 pht('Comments are disabled for this post. Edit it anyway?'))
13 ->addSubmitButton(pht('Edit Post'));
16 public function willBlockUserInteractionWithDialog(
17 AphrontDialogView
$dialog) {
20 ->setTitle(pht('Post Locked'))
22 pht('You can not interact with this post because it is locked.'));
25 public function getLockedObjectDisplayText() {
26 return pht('Comments have been disabled for this post.');