Add a tool tip explaining the Lock symbol while page lock | Feat Req 1607

Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
This commit is contained in:
Deven Bansod 2015-02-25 00:18:06 +05:30 committed by Deven Bansod
parent 127ba15547
commit 4e8743ae80
2 changed files with 7 additions and 1 deletions

View File

@ -165,7 +165,7 @@ var AJAX = {
// Show lock icon if locked targets is not empty.
// otherwise remove lock icon
if (!jQuery.isEmptyObject(AJAX.lockedTargets)) {
$('#lock_page_icon').html(PMA_getImage('s_lock.png').toString());
$('#lock_page_icon').html(PMA_getImage('s_lock.png',PMA_messages.strLockToolTip).toString());
} else {
$('#lock_page_icon').html('');
}

View File

@ -398,6 +398,12 @@ $js_messages['strYes'] = __('Yes');
$js_messages['strCopyEncryptionKey'] = __('Do you want to copy encryption key?');
$js_messages['strEncryptionKey'] = __('Encryption key');
/* For Lock symbol Tooltip */
$js_messages['strLockToolTip'] = __(
'Indicates that you have made changes to this page;'
. ' you will be prompted for confirmation before abandoning changes'
);
/* Designer (js/pmd/move.js) */
$js_messages['strSelectReferencedKey'] = __('Select referenced key');
$js_messages['strSelectForeignKey'] = __('Select Foreign Key');