Commit ba3813c0 authored by alexpott's avatar alexpott
Browse files

Issue #2447819 by pameeela: 'Custom Block' labels should use sentence case, not title case

parent 9b5042c1
......@@ -18,8 +18,8 @@
*
* @ContentEntityType(
* id = "block_content",
* label = @Translation("Custom Block"),
* bundle_label = @Translation("Custom Block type"),
* label = @Translation("Custom block"),
* bundle_label = @Translation("Custom block type"),
* handlers = {
* "storage" = "Drupal\Core\Entity\Sql\SqlContentEntityStorage",
* "storage_schema" = "Drupal\block_content\BlockContentStorageSchema",
......
......@@ -107,7 +107,7 @@ public function testListing() {
$this->assertNoFieldByXpath('//td', $new_label, 'No label found for deleted custom block.');
// Confirm that the empty text is displayed.
$this->assertText(t('There is no Custom Block yet.'));
$this->assertText(t('There is no Custom block yet.'));
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment