diff --git a/js/messages.php b/js/messages.php index c034d74c9..761f810dc 100644 --- a/js/messages.php +++ b/js/messages.php @@ -94,6 +94,9 @@ $js_messages['strSelectForeignKey'] = __('Select Foreign Key'); $js_messages['strPleaseSelectPrimaryOrUniqueKey'] = __('Please select the primary key or a unique key'); $js_messages['strChangeDisplay'] = __('Choose column to display'); +/* Visual query builder (pmd/scripts/move.js) */ +$js_messages['strAddOption'] = __('Add an option for column '); + /* password generation */ $js_messages['strGeneratePassword'] = __('Generate password'); $js_messages['strGenerate'] = __('Generate'); diff --git a/pmd/scripts/move.js b/pmd/scripts/move.js index a6eb35321..b2f99ee43 100644 --- a/pmd/scripts/move.js +++ b/pmd/scripts/move.js @@ -972,7 +972,7 @@ function Click_option(id_this,column_name,table_name) // var top = Glob_Y - document.getElementById(id_this).offsetHeight - 10; document.getElementById(id_this).style.top = (screen.height / 4) + 'px'; document.getElementById(id_this).style.visibility = "visible"; - document.getElementById('option_col_name').innerHTML = 'Options For "' +column_name+ '" column'; + document.getElementById('option_col_name').innerHTML = '' + PMA_messages['strAddOption'] +'"' +column_name+ '"'; col_name = column_name; tab_name = table_name; }