Skip to content

Commit

Permalink
HPC-9973: Add missing punctuation
Browse files Browse the repository at this point in the history
  • Loading branch information
berliner committed Dec 12, 2024
1 parent 47b377b commit 04d4190
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file added content-bulk-export-09_12_2024-21_16.zip
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ public function getQuestion() {
$node_type = $this->entityTypeManager->getStorage('node_type')->load($bundle) ?? $this->t('entity');
$node_type_label = strtolower($node_type->label());
if (in_array($node_type_label[0], ['a', 'e', 'i', 'o', 'u'])) {
return $this->t('An @type cannot be published without any tags associated with it. Please add at least one tag and try again, or save the @type as a draft instead', [
return $this->t('An @type cannot be published without any tags associated with it. Please add at least one tag and try again, or save the @type as a draft instead.', [
'@type' => $node_type_label,
]);
}
else {
return $this->t('A @type cannot be published without any tags associated with it. Please add at least one tag and try again, or save the @type as a draft instead', [
return $this->t('A @type cannot be published without any tags associated with it. Please add at least one tag and try again, or save the @type as a draft instead.', [
'@type' => $node_type_label,
]);
}
Expand Down

0 comments on commit 04d4190

Please sign in to comment.