mirror of
https://github.com/vrana/adminer.git
synced 2025-08-11 09:04:02 +02:00
Fix heading of inherited tables
This commit is contained in:
@@ -195,6 +195,7 @@ Lang::$translations = array(
|
|||||||
'Partition name' => 'Název oddílu',
|
'Partition name' => 'Název oddílu',
|
||||||
'Values' => 'Hodnoty',
|
'Values' => 'Hodnoty',
|
||||||
'Inherits from' => 'Zděděná z',
|
'Inherits from' => 'Zděděná z',
|
||||||
|
'Inherited by' => 'Zděděné',
|
||||||
|
|
||||||
'View' => 'Pohled',
|
'View' => 'Pohled',
|
||||||
'Materialized view' => 'Materializovaný pohled',
|
'Materialized view' => 'Materializovaný pohled',
|
||||||
|
@@ -197,6 +197,7 @@ Lang::$translations = array(
|
|||||||
'Partition name' => 'Xx',
|
'Partition name' => 'Xx',
|
||||||
'Values' => 'Xx',
|
'Values' => 'Xx',
|
||||||
'Inherits from' => 'Xx',
|
'Inherits from' => 'Xx',
|
||||||
|
'Inherited by' => 'Xx',
|
||||||
|
|
||||||
'View' => 'Xx',
|
'View' => 'Xx',
|
||||||
'Materialized view' => 'Xx',
|
'Materialized view' => 'Xx',
|
||||||
|
@@ -112,7 +112,7 @@ if (support(is_view($table_status) ? "view_trigger" : "trigger")) {
|
|||||||
|
|
||||||
$inherited = driver()->inheritedTables($TABLE);
|
$inherited = driver()->inheritedTables($TABLE);
|
||||||
if ($inherited) {
|
if ($inherited) {
|
||||||
echo "<h3 id='partitions'>" . lang('Partitions') . "</h3>\n";
|
echo "<h3 id='partitions'>" . lang('Inherited by') . "</h3>\n";
|
||||||
$partition = driver()->partitionsInfo($TABLE);
|
$partition = driver()->partitionsInfo($TABLE);
|
||||||
if ($partition) {
|
if ($partition) {
|
||||||
echo "<p><code class='jush-" . JUSH . "'>BY " . h("$partition[partition_by]($partition[partition])") . "</code>\n";
|
echo "<p><code class='jush-" . JUSH . "'>BY " . h("$partition[partition_by]($partition[partition])") . "</code>\n";
|
||||||
|
Reference in New Issue
Block a user