From c1c5aa1d7875408f5f9238a060060ed6e1e3b8e3 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 20 Apr 2011 22:25:16 -0400 Subject: - 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(-) (limited to 'profiles') diff --git a/profiles/standard/standard.install b/profiles/standard/standard.install index 75d8dbd41..70829064d 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( -- cgit v1.2.3