From 34b639a84581c410dd73b3b94d7b9bdcf37b3cdf Mon Sep 17 00:00:00 2001 From: Dries Buytaert <dries@buytaert.net> Date: Wed, 20 Apr 2011 22:26:47 -0400 Subject: [PATCH] - Patch #1048006 by jyyna, wojtha, David_Rothstein: name of vocabulary (Tags) created during install cannot be localized. --- profiles/standard/standard.install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/profiles/standard/standard.install b/profiles/standard/standard.install index 75d8dbd414f2..70829064d1bc 100644 --- a/profiles/standard/standard.install +++ b/profiles/standard/standard.install @@ -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( -- GitLab