Commit fd96b777 authored by Eugen Mayer's avatar Eugen Mayer
Browse files

2.4 release, correcting english strings

parent 895574c0
......@@ -10,7 +10,7 @@
function content_lock_admin_settings() {
$form['content_lock_unload_js'] = array(
'#type' => 'checkbox',
'#title' => t('Us javascript to detect leaving the node form'),
'#title' => t('Use javascript to detect leaving the node form'),
'#description' => t('If you disable this, there will be no messages like "Do you really want to leave this node and lose all changes. Lock gets removed then"'),
'#default_value' => variable_get('content_lock_unload_js', true),
);
......
......@@ -537,9 +537,9 @@ function content_lock_warn_pending_locks($uid) {
}
foreach($warned_nodes[$uid] as $lock) {
$editlink = l(t('editing'),"node/{$lock->nid}/edit");
$unlocklinkhere = l(t('here'),"admin/content/{$lock->nid}/content_lock/releaseown");
_content_lock_save_lock_warning(t("You are currently preventing the node '!nodetitle' from being edited. You may want to let others edit this node by clicking !unlocklinkhere, or finish !edit the node.", array ('!nodetitle' => $lock->title, '!edit' => $editlink, '!unlocklinkhere' => $unlocklinkhere)),$lock->nid);
$nodetitle_link = l($lock->title,"node/{$lock->nid}");
$releasethelock_link = l(t('release the lock'),"admin/content/{$lock->nid}/content_lock/releaseown");
_content_lock_save_lock_warning(t("The node '!nodetitle_link' is locked by you. You may want to '!releasethelock_link' in order to allow others to edit.", array ('!nodetitle_link' => $nodetitle_link, '!releasethelock_link' => $releasethelock_link)),$lock->nid);
}
$content_lock_messages_printed = true;
}
......
......@@ -21,7 +21,7 @@ function content_lock_timeout_form_content_lock_admin_settings_alter(&$form, &$f
$form['content_lock_timeout']['content_lock_timeout_minutes'] = array(
'#type' => 'textfield',
'#title' => t('Lock timeout'),
'#description' => t('The maximum number of minutes that each lock may be kept. Set to zero to not break locks based on time.'),
'#description' => t('The maximum time in minutes that each lock may be kept. Set to zero to not break locks based on time.'),
'#default_value' => variable_get('content_lock_timeout_minutes', 120),
);
$form['content_lock_timeout']['content_lock_timeout_on_edit'] = array(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment