Browse Source

Fix heading of inherited tables

pull/1115/head
Jakub Vrana 2 months ago
parent
commit
57b6afc8cb
  1. 1
      adminer/lang/cs.inc.php
  2. 1
      adminer/lang/xx.inc.php
  3. 2
      adminer/table.inc.php

1
adminer/lang/cs.inc.php

@ -195,6 +195,7 @@ Lang::$translations = array(
'Partition name' => 'Název oddílu',
'Values' => 'Hodnoty',
'Inherits from' => 'Zděděná z',
'Inherited by' => 'Zděděné',
'View' => 'Pohled',
'Materialized view' => 'Materializovaný pohled',

1
adminer/lang/xx.inc.php

@ -197,6 +197,7 @@ Lang::$translations = array(
'Partition name' => 'Xx',
'Values' => 'Xx',
'Inherits from' => 'Xx',
'Inherited by' => 'Xx',
'View' => 'Xx',
'Materialized view' => 'Xx',

2
adminer/table.inc.php

@ -112,7 +112,7 @@ if (support(is_view($table_status) ? "view_trigger" : "trigger")) {
$inherited = driver()->inheritedTables($TABLE);
if ($inherited) {
echo "<h3 id='partitions'>" . lang('Partitions') . "</h3>\n";
echo "<h3 id='partitions'>" . lang('Inherited by') . "</h3>\n";
$partition = driver()->partitionsInfo($TABLE);
if ($partition) {
echo "<p><code class='jush-" . JUSH . "'>BY " . h("$partition[partition_by]($partition[partition])") . "</code>\n";

Loading…
Cancel
Save