diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-04-23 07:54:44 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-04-23 07:54:44 +0000 |
commit | afcde4bde40a5e1bf650b6bcfa5183be62e53b8e (patch) | |
tree | 167f068f0a0b4e5ba28f084df7f0c2be269c6283 /modules | |
parent | b1026a1a21f689cafedc0408a3174edb61f85ee2 (diff) | |
download | brdo-afcde4bde40a5e1bf650b6bcfa5183be62e53b8e.tar.gz brdo-afcde4bde40a5e1bf650b6bcfa5183be62e53b8e.tar.bz2 |
#779496 by andypost: Fix minor formatting issues with t().
Diffstat (limited to 'modules')
-rw-r--r-- | modules/image/image.module | 4 | ||||
-rw-r--r-- | modules/taxonomy/taxonomy.module | 2 |
2 files changed, 3 insertions, 3 deletions
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 .= '<ul><li>' . t('Based on where it will be used: eg. <em>profile-picture</em>') . '</li>'; $output .= '<li>' . t('Describing its appearance: eg. <em>square-85x85</em>') . '</li></ul>'; $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.') . '<dd>'; - $output .= '<dt>' . t ('Attaching images to content as fields') . '</dt>'; - $output .= '<dd>' . t ("Image module also allows you to attach images to content as fields. To add an image field to a <a href='@content-type'>content type</a>, go to the content type's <em>manage fields</em> page, and add a new field of type <em>Image</em>. 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'))) . '</dd>'; + $output .= '<dt>' . t('Attaching images to content as fields') . '</dt>'; + $output .= '<dd>' . t("Image module also allows you to attach images to content as fields. To add an image field to a <a href='@content-type'>content type</a>, go to the content type's <em>manage fields</em> page, and add a new field of type <em>Image</em>. 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'))) . '</dd>'; $output .= '</dl>'; 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 .= '<dl>'; $output .= '<dt>' . t('Creating vocabularies') . '</dt>'; $output .= '<dd>' . t('Users with sufficient <a href="@perm">permissions</a> can create <em>vocabularies</em> and <em>terms</em> through the <a href="@taxo">Taxonomy page</a>. 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 <em>controlled vocabulary</em> 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 .= '<ul><li>' . t ('<em>vocabulary</em>: Music') . '</li>'; + $output .= '<ul><li>' . t('<em>vocabulary</em>: Music') . '</li>'; $output .= '<ul><li>' . t('<em>term</em>: Jazz') . '</li>'; $output .= '<ul><li>' . t('<em>sub-term</em>: Swing') . '</li>'; $output .= '<li>' . t('<em>sub-term</em>: Fusion') . '</li></ul></ul>'; |