From 9513dd016fff172ddb584fbf75eae0018c0412e1 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Thu, 14 Jan 2010 04:04:30 +0000 Subject: #677534 by jhodgdon, andrewmacpherson, Bojhan, yoroy, et al: Fixed Customize still being used in place of Edit. --- modules/dashboard/dashboard.js | 2 +- modules/dashboard/dashboard.module | 6 +++--- modules/shortcut/shortcut.admin.inc | 4 ++-- modules/shortcut/shortcut.module | 4 ++-- modules/user/user.admin.inc | 16 ++++++++-------- 5 files changed, 16 insertions(+), 16 deletions(-) (limited to 'modules') diff --git a/modules/dashboard/dashboard.js b/modules/dashboard/dashboard.js index fab91852e..db9c695f4 100644 --- a/modules/dashboard/dashboard.js +++ b/modules/dashboard/dashboard.js @@ -6,7 +6,7 @@ */ Drupal.behaviors.dashboard = { attach: function () { - $('#dashboard').prepend('
'); + $('#dashboard').prepend('
'); $('#dashboard .customize .action-links a').click(Drupal.behaviors.dashboard.enterCustomizeMode); if ($('#dashboard .region .block').length == 0) { Drupal.settings.dashboard.launchCustomize = true; diff --git a/modules/dashboard/dashboard.module b/modules/dashboard/dashboard.module index 86f14e034..c61598cc1 100644 --- a/modules/dashboard/dashboard.module +++ b/modules/dashboard/dashboard.module @@ -9,7 +9,7 @@ function dashboard_help($path, $arg) { case 'admin/help#dashboard': $output = ''; $output .= '

' . t('About') . '

'; - $output .= '

' . t('The Dashboard module provides a Dashboard page in the administrative interface for organizing administrative tasks and navigation, and tracking information within your site. The Dashboard page contains blocks, which you can add to and arrange using the drag and drop interface that appears when you click on the Customize link. For more information, see the online handbook entry for Dashboard module.', array('@handbook' => 'http://drupal.org/handbook/modules/dashboard', '@dashboard' => url('admin/dashboard'))) . '

'; + $output .= '

' . t('The Dashboard module provides a Dashboard page in the administrative interface for organizing administrative tasks and navigation, and tracking information within your site. The Dashboard page contains blocks, which you can add to and arrange using the drag and drop interface that appears when you click on the Customize dashboard link. For more information, see the online handbook entry for Dashboard module.', array('@handbook' => 'http://drupal.org/handbook/modules/dashboard', '@dashboard' => url('admin/dashboard'))) . '

'; $output .= '

' . t('Uses') . '

'; $output .= '
'; $output .= '
' . t('Tracking user activity') . '
'; @@ -207,13 +207,13 @@ function dashboard_admin($launch_customize = FALSE) { 'launchCustomize' => $launch_customize, 'dashboard' => url('admin/dashboard'), 'emptyBlockText' => t('(empty)'), - 'emptyRegionTextInactive' => t('This dashboard region is empty. Click Customize to add blocks to it.'), + 'emptyRegionTextInactive' => t('This dashboard region is empty. Click Customize dashboard to add blocks to it.'), 'emptyRegionTextActive' => t('DRAG HERE'), ), ); $build = array( '#theme' => 'dashboard_admin', - '#message' => t('To customize the dashboard page, move blocks to the dashboard regions on !block-admin, or enable JavaScript on this page to use the drag-and-drop interface.', array('!block-admin' => l('the block administration page', 'admin/structure/block'))), + '#message' => t('To customize the dashboard page, move blocks to the dashboard regions on the Blocks administration page, or enable JavaScript on this page to use the drag-and-drop interface.', array('!blocks' => url('admin/structure/block'))), '#access' => user_access('administer blocks'), '#attached' => array( 'js' => array( diff --git a/modules/shortcut/shortcut.admin.inc b/modules/shortcut/shortcut.admin.inc index f59493c79..65add1b04 100644 --- a/modules/shortcut/shortcut.admin.inc +++ b/modules/shortcut/shortcut.admin.inc @@ -112,10 +112,10 @@ function shortcut_set_switch_submit($form, &$form_state) { if ($account->uid == $user->uid) { // Only administrators can create new shortcut sets, so we know they have // access to switch back. - drupal_set_message(t('Your are now using the new %set_name shortcut set. You can customize it from this page or switch back to a different one.', $replacements)); + drupal_set_message(t('You are now using the new %set_name shortcut set. You can edit it from this page or switch back to a different one.', $replacements)); } else { - drupal_set_message(t('%user is now using a new shortcut set called %set_name. You can customize it from this page.', $replacements)); + drupal_set_message(t('%user is now using a new shortcut set called %set_name. You can edit it from this page.', $replacements)); } $form_state['redirect'] = 'admin/config/system/shortcut/' . $set->set_name; } diff --git a/modules/shortcut/shortcut.module b/modules/shortcut/shortcut.module index ab78a459f..783f87e31 100644 --- a/modules/shortcut/shortcut.module +++ b/modules/shortcut/shortcut.module @@ -43,7 +43,7 @@ function shortcut_permission() { 'title' => t('Administer shortcuts'), ), 'customize shortcut links' => array( - 'title' => t('Customize own shortcuts'), + 'title' => t('Edit own shortcuts'), ), 'switch shortcut sets' => array( 'title' => t('Select own shortcut set'), @@ -64,7 +64,7 @@ function shortcut_menu() { 'file' => 'shortcut.admin.inc', ); $items['admin/config/system/shortcut/%shortcut_set'] = array( - 'title' => 'Customize shortcuts', + 'title' => 'Edit shortcuts', 'page callback' => 'drupal_get_form', 'page arguments' => array('shortcut_set_customize', 4), 'access callback' => 'shortcut_set_edit_access', diff --git a/modules/user/user.admin.inc b/modules/user/user.admin.inc index 762ea5448..46a5ab1fe 100644 --- a/modules/user/user.admin.inc +++ b/modules/user/user.admin.inc @@ -430,7 +430,7 @@ function user_admin_settings() { '#title' => t('Welcome (new user created by administrator)'), '#collapsible' => TRUE, '#collapsed' => (variable_get('user_register', 1) != 0), - '#description' => t('Customize welcome e-mail messages sent to new member accounts created by an administrator.') . ' ' . $email_token_help, + '#description' => t('Edit the welcome e-mail messages sent to new member accounts created by an administrator.') . ' ' . $email_token_help, '#group' => 'email', ); $form['email_admin_created']['user_mail_register_admin_created_subject'] = array( @@ -451,7 +451,7 @@ function user_admin_settings() { '#title' => t('Welcome (awaiting approval)'), '#collapsible' => TRUE, '#collapsed' => (variable_get('user_register', 1) != 2), - '#description' => t('Customize welcome e-mail messages sent to new members upon registering, when administrative approval is required.') . ' ' . $email_token_help, + '#description' => t('Edit the welcome e-mail messages sent to new members upon registering, when administrative approval is required.') . ' ' . $email_token_help, '#group' => 'email', ); $form['email_pending_approval']['user_mail_register_pending_approval_subject'] = array( @@ -472,7 +472,7 @@ function user_admin_settings() { '#title' => t('Welcome (no approval required)'), '#collapsible' => TRUE, '#collapsed' => (variable_get('user_register', 1) != 1), - '#description' => t('Customize welcome e-mail messages sent to new members upon registering, when no administrator approval is required.') . ' ' . $email_token_help, + '#description' => t('Edit the welcome e-mail messages sent to new members upon registering, when no administrator approval is required.') . ' ' . $email_token_help, '#group' => 'email', ); $form['email_no_approval_required']['user_mail_register_no_approval_required_subject'] = array( @@ -493,7 +493,7 @@ function user_admin_settings() { '#title' => t('Password recovery'), '#collapsible' => TRUE, '#collapsed' => TRUE, - '#description' => t('Customize e-mail messages sent to users who request a new password.') . ' ' . $email_token_help, + '#description' => t('Edit the e-mail messages sent to users who request a new password.') . ' ' . $email_token_help, '#group' => 'email', '#weight' => 10, ); @@ -515,7 +515,7 @@ function user_admin_settings() { '#title' => t('Account activation'), '#collapsible' => TRUE, '#collapsed' => TRUE, - '#description' => t('Enable and customize e-mail messages sent to users upon account activation (when an administrator activates an account of a user who has already registered, on a site where administrative approval is required).') . ' ' . $email_token_help, + '#description' => t('Enable and edit e-mail messages sent to users upon account activation (when an administrator activates an account of a user who has already registered, on a site where administrative approval is required).') . ' ' . $email_token_help, '#group' => 'email', ); $form['email_activated']['user_mail_status_activated_notify'] = array( @@ -550,7 +550,7 @@ function user_admin_settings() { '#title' => t('Account blocked'), '#collapsible' => TRUE, '#collapsed' => TRUE, - '#description' => t('Enable and customize e-mail messages sent to users when their accounts are blocked.') . ' ' . $email_token_help, + '#description' => t('Enable and edit e-mail messages sent to users when their accounts are blocked.') . ' ' . $email_token_help, '#group' => 'email', ); $form['email_blocked']['user_mail_status_blocked_notify'] = array( @@ -585,7 +585,7 @@ function user_admin_settings() { '#title' => t('Account cancellation confirmation'), '#collapsible' => TRUE, '#collapsed' => TRUE, - '#description' => t('Customize e-mail messages sent to users when they attempt to cancel their accounts.') . ' ' . $email_token_help, + '#description' => t('Edit the e-mail messages sent to users when they attempt to cancel their accounts.') . ' ' . $email_token_help, '#group' => 'email', ); $form['email_cancel_confirm']['user_mail_cancel_confirm_subject'] = array( @@ -606,7 +606,7 @@ function user_admin_settings() { '#title' => t('Account canceled'), '#collapsible' => TRUE, '#collapsed' => TRUE, - '#description' => t('Enable and customize e-mail messages sent to users when their accounts are canceled.') . ' ' . $email_token_help, + '#description' => t('Enable and edit e-mail messages sent to users when their accounts are canceled.') . ' ' . $email_token_help, '#group' => 'email', ); $form['email_canceled']['user_mail_status_canceled_notify'] = array( -- cgit v1.2.3