From bac3c8c11df92e37ae131e6a355812ee1bae53e2 Mon Sep 17 00:00:00 2001
From: kpaxman <kpaxman@uwaterloo.ca>
Date: Mon, 25 Jan 2021 12:29:51 -0500
Subject: [PATCH] ISTWCMS-4208: coding standards

---
 src/Form/UwContentModerationForm.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/Form/UwContentModerationForm.php b/src/Form/UwContentModerationForm.php
index 05761ccf..87c42f0e 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) {
-- 
GitLab