From 760e4955546901298559ccadae8224e6ac992176 Mon Sep 17 00:00:00 2001 From: Neil Drumm Date: Sun, 26 Nov 2006 23:10:29 +0000 Subject: [PATCH] #97824 by webchick. Move enclosing elements out of t(). --- modules/comment/comment.module | 6 +++--- modules/system/system.module | 14 +++++++------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 411b7196df3..ac3007a4cc9 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -76,11 +76,11 @@ function comment_help($section) { return $output; case 'admin/content/comment': case 'admin/content/comment/new': - return t("

Below is a list of the latest comments posted to your site. Click on a subject to see the comment, the author's name to edit the author's user information , 'edit' to modify the text, and 'delete' to remove their submission.

"); + return '

'. t("Below is a list of the latest comments posted to your site. Click on a subject to see the comment, the author's name to edit the author's user information , 'edit' to modify the text, and 'delete' to remove their submission.") .'

'; case 'admin/content/comment/approval': - return t("

Below is a list of the comments posted to your site that need approval. To approve a comment, click on 'edit' and then change its 'moderation status' to Approved. Click on a subject to see the comment, the author's name to edit the author's user information, 'edit' to modify the text, and 'delete' to remove their submission.

"); + return '

'. t("Below is a list of the comments posted to your site that need approval. To approve a comment, click on 'edit' and then change its 'moderation status' to Approved. Click on a subject to see the comment, the author's name to edit the author's user information, 'edit' to modify the text, and 'delete' to remove their submission.") .'

'; case 'admin/content/comment/settings': - return t("

Comments can be attached to any node, and their settings are below. The display comes in two types: a 'flat list' where everything is flush to the left side, and comments come in chronological order, and a 'threaded list' where replies to other comments are placed immediately below and slightly indented, forming an outline. They also come in two styles: 'expanded', where you see both the title and the contents, and 'collapsed' where you only see the title. Preview comment forces a user to look at their comment by clicking on a 'Preview' button before they can actually add the comment.

"); + return '

'. t("Comments can be attached to any node, and their settings are below. The display comes in two types: a 'flat list' where everything is flush to the left side, and comments come in chronological order, and a 'threaded list' where replies to other comments are placed immediately below and slightly indented, forming an outline. They also come in two styles: 'expanded', where you see both the title and the contents, and 'collapsed' where you only see the title. Preview comment forces a user to look at their comment by clicking on a 'Preview' button before they can actually add the comment.") .'

'; } } diff --git a/modules/system/system.module b/modules/system/system.module index ab334ee9dc4..2381029246d 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -22,26 +22,26 @@ function system_help($section) { $output .= '

'. t('For more information please read the configuration and customization handbook System page.', array('@system' => 'http://drupal.org/handbook/modules/system/')) .'

'; return $output; case 'admin': - return t('

Welcome to the administration section. Here you may control how your site functions.

'); + return '

'. t('Welcome to the administration section. Here you may control how your site functions.') .'

'; case 'admin/by-module': - return t('

This page shows you all available administration tasks for each module.

'); + return '

'. t('This page shows you all available administration tasks for each module.') .'

'; case 'admin/settings/page-caching': return t('Enabling the cache will offer a sufficient performance boost. Drupal can store and send compressed cached pages requested by "anonymous" users. By caching a web page, Drupal does not have to create the page each time someone wants to view it.'); case 'admin/build/themes': - return t('

Select which themes are available to your users and specify the default theme. To configure site-wide display settings, click the "configure" task above. Alternately, to override these settings in a specific theme, click the "configure" link for the corresponding theme. Note that different themes may have different regions available for rendering content like blocks. If you want consistency in what your users see, you may wish to enable only one theme.

'); + return '

'. t('Select which themes are available to your users and specify the default theme. To configure site-wide display settings, click the "configure" task above. Alternately, to override these settings in a specific theme, click the "configure" link for the corresponding theme. Note that different themes may have different regions available for rendering content like blocks. If you want consistency in what your users see, you may wish to enable only one theme.') .'

'; case 'admin/build/themes/settings': - return t('

These options control the default display settings for your entire site, across all themes. Unless they have been overridden by a specific theme, these settings will be used.

'); + return '

'. t('These options control the default display settings for your entire site, across all themes. Unless they have been overridden by a specific theme, these settings will be used.') .'

'; case 'admin/build/themes/settings/'. arg(3): $reference = explode('.', arg(3), 2); $theme = array_pop($reference); - return t('

These options control the display settings for the %template theme. When your site is displayed using this theme, these settings will be used. By clicking "Reset to defaults," you can choose to use the global settings for this theme.

', array('%template' => $theme, '@global' => url('admin/build/themes/settings'))); + return '

'. t('These options control the display settings for the %template theme. When your site is displayed using this theme, these settings will be used. By clicking "Reset to defaults," you can choose to use the global settings for this theme.', array('%template' => $theme, '@global' => url('admin/build/themes/settings'))) .'

'; case 'admin/build/modules': return t('

Modules are plugins for Drupal that extend its core functionality. Here you can select which modules are enabled. Click on the name of the module in the navigation menu for their individual configuration pages. Once a module is enabled, new permissions might be made available. Modules can automatically be temporarily disabled to reduce server load when your site becomes extremely busy by enabling the throttle.module and checking throttle. The auto-throttle functionality must be enabled on the throttle configuration page after having enabled the throttle module.

It is important that update.php is run every time a module is updated to a newer version.

You can find all administration tasks belonging to a particular module on the administration by module page.

', array('@permissions' => url('admin/user/access'), '@throttle' => url('admin/settings/throttle'), '@update-php' => $base_url .'/update.php', '@by-module' => url('admin/by-module'))); case 'admin/build/modules/uninstall': - return (t('

The uninstall process removes all data related to a module. To uninstall a module, you must first disable it. Not all modules support this feature.

')); + return '

'. t('The uninstall process removes all data related to a module. To uninstall a module, you must first disable it. Not all modules support this feature.') .'

'; case 'admin/logs/status': - return t("

Here you can find a short overview of your Drupal site's parameters as well as any problems detected with your installation. It is useful to copy/paste this information when you need support.

"); + return '

'. t("Here you can find a short overview of your Drupal site's parameters as well as any problems detected with your installation. It is useful to copy/paste this information when you need support.") .'

'; } }