diff --git a/CHANGELOG.md b/CHANGELOG.md index d06e8cba..e7864950 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - Fix application of the read-only option on RichText fields. - Fix loading of default value for RichText fields. +- Fix container tab label translation ## [1.21.28] - 2026-02-16 diff --git a/inc/container.class.php b/inc/container.class.php index b2c3f0cd..40156584 100644 --- a/inc/container.class.php +++ b/inc/container.class.php @@ -1195,7 +1195,7 @@ public function getTabNameForItem(CommonGLPI $item, $withtemplate = 0) if (!$item->isEntityAssign() || in_array($item->fields['entities_id'], $entities)) { $display_condition = new PluginFieldsContainerDisplayCondition(); if ($display_condition->computeDisplayContainer($item, $data['id'])) { - $tabs_entries[$tab_name] = $data['label']; + $tabs_entries[$tab_name] = $tab_label; } } }