Commit 934f83fe authored by webchick's avatar webchick
Browse files

Issue #1950700 by xjm: Rename 'Add block' to 'Place block' on the blocks admin page.

parent 577a3ef8
......@@ -23,14 +23,14 @@
* 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 @@ public function testBlockLinks() {
// 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 @@ public function testBlockLinks() {
// 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());
}
}
......
Markdown is supported
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