Issue #1838006 by Bojhan: Re-phrase 'Are you sure you want to break this lock?'.

8.0.x
webchick 2012-11-26 10:44:28 -08:00
parent e8a8853054
commit 739a4656ac
1 changed files with 2 additions and 2 deletions

View File

@ -295,10 +295,10 @@ function views_ui_break_lock_confirm($form, &$form_state, ViewUI $view) {
$account = user_load($view->locked->owner);
$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'))),
$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('Cancel'));
$form['actions']['submit']['#submit'][] = array($view, 'submitBreakLock');