diff --git a/libraries/Table.class.php b/libraries/Table.class.php index 2473b5c96fb6..2863dae9baa7 100644 --- a/libraries/Table.class.php +++ b/libraries/Table.class.php @@ -746,14 +746,16 @@ static public function moveCopy($source_db, $source_table, $target_db, $target_t // Ensure the target is valid if (! $GLOBALS['pma']->databases->exists($source_db, $target_db)) { if (! $GLOBALS['pma']->databases->exists($source_db)) { - $GLOBALS['message'] = PMA_Message::rawError( - 'source database `' . htmlspecialchars($source_db) . '` not found' - ); + $GLOBALS['message'] = PMA_Message::rawError(sprintf( + __('Source database `%s` was not found!'), + htmlspecialchars($source_db) + )); } if (! $GLOBALS['pma']->databases->exists($target_db)) { - $GLOBALS['message'] = PMA_Message::rawError( - 'target database `' . htmlspecialchars($target_db) . '` not found' - ); + $GLOBALS['message'] = PMA_Message::rawError(sprintf( + __('Target database `%s` was not found!'), + htmlspecialchars($target_db) + )); } return false; }