diff --git a/lang/en/dbtransfer.php b/lang/en/dbtransfer.php index ca9a20f1ee6..0bd37d5011f 100644 --- a/lang/en/dbtransfer.php +++ b/lang/en/dbtransfer.php @@ -35,4 +35,5 @@ $string['checkingsourcetables'] = 'Checking source table structure'; $string['importschemaexception'] = 'Current database structure does not match all install.xml files.
{$a}'; $string['importversionmismatchexception'] = 'Current version {$a->currentver} does not match exported version {$a->schemaver}.'; $string['malformedxmlexception'] = 'Malformed XML found, can not continue.'; +$string['tablex'] = 'Table {$a}:'; $string['unknowntableexception'] = 'Unknown table {$a} found in export file.'; diff --git a/lib/dtl/database_exporter.php b/lib/dtl/database_exporter.php index 4d9b7bb0dfb..5cdc3f28f3b 100644 --- a/lib/dtl/database_exporter.php +++ b/lib/dtl/database_exporter.php @@ -132,7 +132,7 @@ abstract class database_exporter { if ($this->check_schema and $errors = $this->manager->check_database_schema($this->schema)) { $details = ''; foreach ($errors as $table=>$items) { - $details .= '
'.get_string('table').' '.$table.':'; + $details .= '
'.get_string('tablex', 'dbtransfer', $table); $details .= '