Issue #1950700 by xjm: Rename 'Add block' to 'Place block' on the blocks admin page.
parent
577a3ef841
commit
934f83fe30
|
@ -23,14 +23,14 @@ use Drupal\Core\Annotation\Translation;
|
|||
* facets = {
|
||||
* "module" = @Translation("Modules")
|
||||
* },
|
||||
* link_title = @Translation("Configure block"),
|
||||
* link_title = @Translation("Place block"),
|
||||
* manager = "plugin.manager.block",
|
||||
* menu = TRUE,
|
||||
* path = "admin/structure/block/list",
|
||||
* suffix = "add",
|
||||
* task_suffix = "library",
|
||||
* task_title = @Translation("Library"),
|
||||
* title = @Translation("Add block"),
|
||||
* title = @Translation("Place blocks"),
|
||||
* title_attribute = "admin_label",
|
||||
* type = MENU_LOCAL_ACTION
|
||||
* )
|
||||
|
|
|
@ -70,7 +70,7 @@ class BlockLanguageCacheTest extends AggregatorTestBase {
|
|||
// Create the block cache for all languages.
|
||||
foreach ($this->langcodes as $langcode) {
|
||||
$this->drupalGet('admin/structure/block', array('language' => $langcode));
|
||||
$this->clickLink(t('Add block'));
|
||||
$this->clickLink(t('Place blocks'));
|
||||
}
|
||||
|
||||
// Create a feed in the default language.
|
||||
|
@ -80,7 +80,7 @@ class BlockLanguageCacheTest extends AggregatorTestBase {
|
|||
// Check that the block is listed for all languages.
|
||||
foreach ($this->langcodes as $langcode) {
|
||||
$this->drupalGet('admin/structure/block', array('language' => $langcode));
|
||||
$this->clickLink(t('Add block'));
|
||||
$this->clickLink(t('Place blocks'));
|
||||
$this->assertText($feed->label());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue