Use format strings.
This commit is contained in:
@@ -86,9 +86,9 @@ if(isset($_GET['sql_query'])) {
|
|||||||
if($export_type == 'server') {
|
if($export_type == 'server') {
|
||||||
echo __('Exporting databases in the current server');
|
echo __('Exporting databases in the current server');
|
||||||
} elseif($export_type == 'database') {
|
} elseif($export_type == 'database') {
|
||||||
echo __('Exporting tables in the database "' . $db . '"');
|
printf(__('Exporting tables in the database "%s"'), htmlspecialchars($db));
|
||||||
} else {
|
} else {
|
||||||
echo __('Exporting rows in the table "' . $table . '"');
|
printf(__('Exporting rows in the table "%s"'), htmlspecialchars($table));
|
||||||
}?>
|
}?>
|
||||||
</h2>
|
</h2>
|
||||||
</div>
|
</div>
|
||||||
|
@@ -128,9 +128,9 @@ if ($_SESSION[$SESSION_KEY]["handler"]!="noplugin") {
|
|||||||
if($import_type == 'server') {
|
if($import_type == 'server') {
|
||||||
echo __('Importing into the current server');
|
echo __('Importing into the current server');
|
||||||
} elseif($import_type == 'database') {
|
} elseif($import_type == 'database') {
|
||||||
echo __('Importing into the database "' . $db . '"');
|
printf(__('Importing into the database "%s"'), htmlspecialchars($db));
|
||||||
} else {
|
} else {
|
||||||
echo __('Importing into the table "' . $table . '"');
|
printf(__('Importing into the table "%s"'), htmlspecialchars($table));
|
||||||
}?>
|
}?>
|
||||||
</h2>
|
</h2>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user