Merge pull request #1519 from devenbansod/feat-req-1607

Add a tool tip explaining the Lock symbol | Feat Req 1607
This commit is contained in:
Marc Delisle 2015-02-25 12:30:34 -05:00
commit 97634358b8
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');