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

8.0.x
webchick 2013-04-03 12:54:07 -07:00
parent 577a3ef841
commit 934f83fe30
2 changed files with 4 additions and 4 deletions

View File

@ -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
* )

View File

@ -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());
}
}