Commit 34b639a8 authored by Dries's avatar Dries

- Patch #1048006 by jyyna, wojtha, David_Rothstein: name of vocabulary (Tags)...

- Patch #1048006 by jyyna, wojtha, David_Rothstein: name of vocabulary (Tags) created during install cannot be localized.
parent e1b223b1
......@@ -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(
......
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