Skip to content

Commit a13d2d4

Browse files
committed
fix: use standard TYPO3 XLF label keys for backend modules
TYPO3's BaseModule resolves module labels by appending standard key suffixes (mlang_tabs_tab, mlang_labels_tabdescr, mlang_labels_tablabel) to the XLF path. The module XLF files used non-standard keys (title, description, short_description), causing empty labels that trigger DropDownButton validation errors (InvalidArgumentException 1667645426). Rename translation unit IDs in all 4 module XLF files to match the keys TYPO3 expects. Signed-off-by: Sebastian Mendel <info@sebastianmendel.de>
1 parent 92c946c commit a13d2d4

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

Resources/Private/Language/Modules/audit.xlf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
<file source-language="en" datatype="plaintext" original="EXT:nr_vault/Resources/Private/Language/Modules/audit.xlf" product-name="nr_vault">
44
<header/>
55
<body>
6-
<trans-unit id="title">
6+
<trans-unit id="mlang_tabs_tab">
77
<source>Audit Log</source>
88
</trans-unit>
9-
<trans-unit id="description">
9+
<trans-unit id="mlang_labels_tabdescr">
1010
<source>Tamper-evident audit log</source>
1111
</trans-unit>
12-
<trans-unit id="short_description">
12+
<trans-unit id="mlang_labels_tablabel">
1313
<source>View, filter, and export the complete audit trail with hash chain verification. All operations are logged with actor, timestamp, and cryptographic proof.</source>
1414
</trans-unit>
1515
</body>

Resources/Private/Language/Modules/migration.xlf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
<file source-language="en" datatype="plaintext" original="EXT:nr_vault/Resources/Private/Language/Modules/migration.xlf" product-name="nr_vault">
44
<header/>
55
<body>
6-
<trans-unit id="title">
6+
<trans-unit id="mlang_tabs_tab">
77
<source>Migration Wizard</source>
88
</trans-unit>
9-
<trans-unit id="description">
9+
<trans-unit id="mlang_labels_tabdescr">
1010
<source>Migrate plaintext secrets to the vault</source>
1111
</trans-unit>
12-
<trans-unit id="short_description">
12+
<trans-unit id="mlang_labels_tablabel">
1313
<source>Scan your TYPO3 installation for hardcoded credentials and migrate them securely to the vault with automatic TCA field conversion.</source>
1414
</trans-unit>
1515
</body>

Resources/Private/Language/Modules/overview.xlf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
<file source-language="en" datatype="plaintext" original="EXT:nr_vault/Resources/Private/Language/Modules/overview.xlf" product-name="nr_vault">
44
<header/>
55
<body>
6-
<trans-unit id="title">
6+
<trans-unit id="mlang_tabs_tab">
77
<source>Vault</source>
88
</trans-unit>
9-
<trans-unit id="description">
9+
<trans-unit id="mlang_labels_tabdescr">
1010
<source>Enterprise secrets management for TYPO3 - by Netresearch</source>
1111
</trans-unit>
12-
<trans-unit id="short_description">
12+
<trans-unit id="mlang_labels_tablabel">
1313
<source>Securely store and manage application secrets with AES-256-GCM envelope encryption, role-based access control, and tamper-evident audit logging. Built by Netresearch DTT GmbH.</source>
1414
</trans-unit>
1515
</body>

Resources/Private/Language/Modules/secrets.xlf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
<file source-language="en" datatype="plaintext" original="EXT:nr_vault/Resources/Private/Language/Modules/secrets.xlf" product-name="nr_vault">
44
<header/>
55
<body>
6-
<trans-unit id="title">
6+
<trans-unit id="mlang_tabs_tab">
77
<source>Secrets</source>
88
</trans-unit>
9-
<trans-unit id="description">
9+
<trans-unit id="mlang_labels_tabdescr">
1010
<source>Manage encrypted secrets</source>
1111
</trans-unit>
12-
<trans-unit id="short_description">
12+
<trans-unit id="mlang_labels_tablabel">
1313
<source>Create, view, rotate, enable/disable, and delete secrets. All data is encrypted with AES-256-GCM using envelope encryption.</source>
1414
</trans-unit>
1515
</body>

0 commit comments

Comments
 (0)