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

8.0.x
Alex Pott 2015-03-13 14:16:52 +00:00
parent 9b5042c152
commit ba3813c07d
2 changed files with 3 additions and 3 deletions

View File

@ -18,8 +18,8 @@ use Drupal\block_content\BlockContentInterface;
*
* @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",

View File

@ -107,7 +107,7 @@ class BlockContentListTest extends BlockContentTestBase {
$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.'));
}
}