Skip to content
Snippets Groups Projects
Commit 739a4656 authored by Angie Byron's avatar Angie Byron
Browse files

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

parent e8a88530
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment