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 @@ ...@@ -23,14 +23,14 @@
* facets = { * facets = {
* "module" = @Translation("Modules") * "module" = @Translation("Modules")
* }, * },
* link_title = @Translation("Configure block"), * link_title = @Translation("Place block"),
* manager = "plugin.manager.block", * manager = "plugin.manager.block",
* menu = TRUE, * menu = TRUE,
* path = "admin/structure/block/list", * path = "admin/structure/block/list",
* suffix = "add", * suffix = "add",
* task_suffix = "library", * task_suffix = "library",
* task_title = @Translation("Library"), * task_title = @Translation("Library"),
* title = @Translation("Add block"), * title = @Translation("Place blocks"),
* title_attribute = "admin_label", * title_attribute = "admin_label",
* type = MENU_LOCAL_ACTION * type = MENU_LOCAL_ACTION
* ) * )
......
...@@ -70,7 +70,7 @@ public function testBlockLinks() { ...@@ -70,7 +70,7 @@ public function testBlockLinks() {
// Create the block cache for all languages. // Create the block cache for all languages.
foreach ($this->langcodes as $langcode) { foreach ($this->langcodes as $langcode) {
$this->drupalGet('admin/structure/block', array('language' => $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. // Create a feed in the default language.
...@@ -80,7 +80,7 @@ public function testBlockLinks() { ...@@ -80,7 +80,7 @@ public function testBlockLinks() {
// Check that the block is listed for all languages. // Check that the block is listed for all languages.
foreach ($this->langcodes as $langcode) { foreach ($this->langcodes as $langcode) {
$this->drupalGet('admin/structure/block', array('language' => $langcode)); $this->drupalGet('admin/structure/block', array('language' => $langcode));
$this->clickLink(t('Add block')); $this->clickLink(t('Place blocks'));
$this->assertText($feed->label()); $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