Skip to content

Commit

Permalink
Merge pull request #295 from UN-OCHA/berliner/HPC-9973
Browse files Browse the repository at this point in the history
HPC-9973: Add missing punctuation
  • Loading branch information
berliner authored Dec 12, 2024
2 parents 47b377b + 04d4190 commit 8159e60
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 8159e60

Please sign in to comment.