Convert transformation descriptions to gettext.
[phpmyadmin/blinky.git] / libraries / transformations / text_plain__sql.inc.php
blob5d5bfb1e5a9a21de90241931510ad40394960f74
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * @package phpMyAdmin-Transformation
5 * @version $Id$
6 */
8 function PMA_transformation_text_plain__sql_info() {
9 return array(
10 'info' => __('Formats text as SQL query with syntax highlighting.'),
14 /**
17 function PMA_transformation_text_plain__sql($buffer, $options = array(), $meta = '') {
18 $result = PMA_SQP_formatHtml(PMA_SQP_parse($buffer));
19 // Need to clear error state not to break subsequent queries display.
20 PMA_SQP_resetError();
21 return $result;