diff --git a/src/Form/UwContentModerationForm.php b/src/Form/UwContentModerationForm.php index 05761ccf0b0bbf97c380bbd5912d43d94ec8d474..87c42f0e87e6637325ab37b7a37d7387ae31b4f9 100644 --- a/src/Form/UwContentModerationForm.php +++ b/src/Form/UwContentModerationForm.php @@ -90,7 +90,7 @@ class UwContentModerationForm extends ConfirmFormBase { $form['description']['#markup'] = $this->t('Are you sure that you want to unpublish the live revision of this content?'); } else { - $form['description']['#markup'] = $this->t('Are you sure that you want to publish the live revision of this content?'); + $form['description']['#markup'] = $this->t('Are you sure that you want to publish the current revision of this content?'); } return $form; @@ -162,8 +162,8 @@ class UwContentModerationForm extends ConfirmFormBase { // Adding the redirect back to the node. $form_state->setRedirectUrl($url); - // If the saved status is SAVED_UPDATED (2), means that we successfully changed - // the moderation state so set the message appropriately. + // If the saved status is SAVED_UPDATED (2), means that we successfully + // changed the moderation state so set the message appropriately. if ($saved_status == SAVED_UPDATED) { if ($this->status) {