- Patch #1048006 by jyyna, wojtha, David_Rothstein: name of vocabulary (Tags) created during install cannot be localized.

8.0.x
Dries Buytaert 2011-04-20 22:26:47 -04:00
parent e1b223b1ce
commit 34b639a845
1 changed files with 2 additions and 2 deletions

View File

@ -271,7 +271,7 @@ function standard_install() {
$description = st('Use tags to group articles on similar topics into categories.');
$help = st('Enter a comma-separated list of words to describe your content.');
$vocabulary = (object) array(
'name' => 'Tags',
'name' => st('Tags'),
'description' => $description,
'machine_name' => 'tags',
'help' => $help,
@ -298,7 +298,7 @@ function standard_install() {
$instance = array(
'field_name' => 'field_' . $vocabulary->machine_name,
'entity_type' => 'node',
'label' => $vocabulary->name,
'label' => 'Tags',
'bundle' => 'article',
'description' => $vocabulary->help,
'widget' => array(