Skip to content
Snippets Groups Projects
Commit 6cfdd7f8 authored by Liam Morland's avatar Liam Morland
Browse files

ISTWCMS-4208: Use StringTranslationTrait

Fixes issue introduced in 1a03da1e.
parent 36001057
No related branches found
No related tags found
1 merge request!37ISTWCMS-4208: Use StringTranslationTrait
......@@ -203,12 +203,12 @@ class UwContentModerationForm extends ConfirmFormBase {
if ($this->status) {
// Return the question to see if they want to publish the node.
return t('Unpublish %node_title?', ['%node_title' => $node->getTitle()]);
return $this->t('Unpublish %node_title?', ['%node_title' => $node->getTitle()]);
}
else {
// Return the question to see if they want to publish the node.
return t('Publish %node_title?', ['%node_title' => $node->getTitle()]);
return $this->t('Publish %node_title?', ['%node_title' => $node->getTitle()]);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment