From afcde4bde40a5e1bf650b6bcfa5183be62e53b8e Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Fri, 23 Apr 2010 07:54:44 +0000 Subject: #779496 by andypost: Fix minor formatting issues with t(). --- modules/image/image.module | 4 ++-- modules/taxonomy/taxonomy.module | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'modules') diff --git a/modules/image/image.module b/modules/image/image.module index 56d511a1f..de99369f7 100644 --- a/modules/image/image.module +++ b/modules/image/image.module @@ -50,8 +50,8 @@ function image_help($path, $arg) { $output .= ''; $output .= t('After you create an image style, you can add effects: crop, scale, resize, rotate, desaturate, and rotate (other contributed modules provide additional effects). For example, by combining effects as crop, scale, and desaturate, you can create square, grayscale thumbnails.') . '
'; - $output .= '
' . t ('Attaching images to content as fields') . '
'; - $output .= '
' . t ("Image module also allows you to attach images to content as fields. To add an image field to a content type, go to the content type's manage fields page, and add a new field of type Image. Attaching images to content this way allows image styles to be applied and maintained, and also allows you more flexibility when theming.", array('@content-type' => url('admin/structure/types'))) . '
'; + $output .= '
' . t('Attaching images to content as fields') . '
'; + $output .= '
' . t("Image module also allows you to attach images to content as fields. To add an image field to a content type, go to the content type's manage fields page, and add a new field of type Image. Attaching images to content this way allows image styles to be applied and maintained, and also allows you more flexibility when theming.", array('@content-type' => url('admin/structure/types'))) . '
'; $output .= ''; return $output; case 'admin/config/media/image-styles': diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index 00c7506af..22b7fd843 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -19,7 +19,7 @@ function taxonomy_help($path, $arg) { $output .= '
'; $output .= '
' . t('Creating vocabularies') . '
'; $output .= '
' . t('Users with sufficient permissions can create vocabularies and terms through the Taxonomy page. The page listing the terms provides a drag-and-drop interface for controlling the order of the terms and sub-terms within a vocabulary, in a hierarchical fashion. A controlled vocabulary classifying music by genre with terms and sub-terms could look as follows:', array('@taxo' => url('admin/structure/taxonomy'), '@perm' => url('admin/people/permissions', array('fragment'=>'module-taxonomy')))); - $output .= '
  • ' . t ('vocabulary: Music') . '
  • '; + $output .= '
    • ' . t('vocabulary: Music') . '
    • '; $output .= '
      • ' . t('term: Jazz') . '
      • '; $output .= '
        • ' . t('sub-term: Swing') . '
        • '; $output .= '
        • ' . t('sub-term: Fusion') . '
      '; -- cgit v1.2.3