summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-14 04:04:30 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-14 04:04:30 +0000
commit9513dd016fff172ddb584fbf75eae0018c0412e1 (patch)
tree1d39c04a79564a25c8ff28daf50b9a63ce5b34ec
parent40638ae8df4625e39b2943b778fd693d1bd67bd9 (diff)
downloadbrdo-9513dd016fff172ddb584fbf75eae0018c0412e1.tar.gz
brdo-9513dd016fff172ddb584fbf75eae0018c0412e1.tar.bz2
#677534 by jhodgdon, andrewmacpherson, Bojhan, yoroy, et al: Fixed Customize still being used in place of Edit.
-rw-r--r--modules/dashboard/dashboard.js2
-rw-r--r--modules/dashboard/dashboard.module6
-rw-r--r--modules/shortcut/shortcut.admin.inc4
-rw-r--r--modules/shortcut/shortcut.module4
-rw-r--r--modules/user/user.admin.inc16
5 files changed, 16 insertions, 16 deletions
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('<div class="customize"><ul class="action-links"><a href="#">' + Drupal.t('Customize') + '</a></ul><div class="canvas"></div></div>');
+ $('#dashboard').prepend('<div class="customize"><ul class="action-links"><a href="#">' + Drupal.t('Customize dashboard') + '</a></ul><div class="canvas"></div></div>');
$('#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 .= '<h3>' . t('About') . '</h3>';
- $output .= '<p>' . t('The Dashboard module provides a <a href="@dashboard">Dashboard page</a> 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 <em>Customize</em> link. For more information, see the online handbook entry for <a href="@handbook">Dashboard module</a>.', array('@handbook' => 'http://drupal.org/handbook/modules/dashboard', '@dashboard' => url('admin/dashboard'))) . '</p>';
+ $output .= '<p>' . t('The Dashboard module provides a <a href="@dashboard">Dashboard page</a> 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 <em>Customize dashboard</em> link. For more information, see the online handbook entry for <a href="@handbook">Dashboard module</a>.', array('@handbook' => 'http://drupal.org/handbook/modules/dashboard', '@dashboard' => url('admin/dashboard'))) . '</p>';
$output .= '<h3>' . t('Uses') . '</h3>';
$output .= '<dl>';
$output .= '<dt>' . t('Tracking user activity') . '</dt>';
@@ -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 <em>Customize</em> to add blocks to it.'),
+ 'emptyRegionTextInactive' => t('This dashboard region is empty. Click <em>Customize dashboard</em> 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 <a href="@blocks">Blocks administration page</a>, 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 <a href="@switch-url">switch back to a different one.</a>', $replacements));
+ drupal_set_message(t('You are now using the new %set_name shortcut set. You can edit it from this page or <a href="@switch-url">switch back to a different one.</a>', $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(