Issue #1838006 by Bojhan: Re-phrase 'Are you sure you want to break this lock?'.
parent
e8a8853054
commit
739a4656ac
|
@ -295,10 +295,10 @@ function views_ui_break_lock_confirm($form, &$form_state, ViewUI $view) {
|
||||||
|
|
||||||
$account = user_load($view->locked->owner);
|
$account = user_load($view->locked->owner);
|
||||||
$form = confirm_form($form,
|
$form = confirm_form($form,
|
||||||
t('Are you sure you want to break the lock on view %name?',
|
t('Do you want to break the lock on view %name?',
|
||||||
array('%name' => $view->get('name'))),
|
array('%name' => $view->get('name'))),
|
||||||
$cancel,
|
$cancel,
|
||||||
t('By breaking this lock, any unsaved changes made by !user will be lost!', array('!user' => theme('username', array('account' => $account)))),
|
t('By breaking this lock, any unsaved changes made by !user will be lost.', array('!user' => theme('username', array('account' => $account)))),
|
||||||
t('Break lock'),
|
t('Break lock'),
|
||||||
t('Cancel'));
|
t('Cancel'));
|
||||||
$form['actions']['submit']['#submit'][] = array($view, 'submitBreakLock');
|
$form['actions']['submit']['#submit'][] = array($view, 'submitBreakLock');
|
||||||
|
|
Loading…
Reference in New Issue