Skip to content

Commit c19c05d

Browse files
authored
fix(container): fix untranslated tab label (#1164)
1 parent 86bb64e commit c19c05d

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
99

1010
- Fix application of the read-only option on RichText fields.
1111
- Fix loading of default value for RichText fields.
12+
- Fix container tab label translation
1213

1314
## [1.21.28] - 2026-02-16
1415

inc/container.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1195,7 +1195,7 @@ public function getTabNameForItem(CommonGLPI $item, $withtemplate = 0)
11951195
if (!$item->isEntityAssign() || in_array($item->fields['entities_id'], $entities)) {
11961196
$display_condition = new PluginFieldsContainerDisplayCondition();
11971197
if ($display_condition->computeDisplayContainer($item, $data['id'])) {
1198-
$tabs_entries[$tab_name] = $data['label'];
1198+
$tabs_entries[$tab_name] = $tab_label;
11991199
}
12001200
}
12011201
}

0 commit comments

Comments
 (0)