Skip to content

Commit 80743db

Browse files
committed
Fix DatagridConfigurable uses translation key with wrong case
Follows #8376
1 parent fea7cb4 commit 80743db

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

packages/ra-core/src/i18n/TranslationMessages.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ export interface TranslationMessages extends StringMap {
179179
configurable?: {
180180
customize: string;
181181
configureMode: string;
182-
Datagrid: {
182+
datagrid: {
183183
unlabeled: string;
184184
};
185185
inspector: {

packages/ra-language-english/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ const englishMessages: TranslationMessages = {
180180
configurable: {
181181
customize: 'Customize',
182182
configureMode: 'Configure this page',
183-
Datagrid: {
183+
datagrid: {
184184
unlabeled: 'Unlabeled column #%{column}',
185185
},
186186
inspector: {

packages/ra-language-french/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ const frenchMessages: TranslationMessages = {
186186
configurable: {
187187
customize: 'Personnaliser',
188188
configureMode: 'Configurer cette page',
189-
Datagrid: {
189+
datagrid: {
190190
unlabeled: 'Colonne sans label #%{column}',
191191
},
192192
inspector: {

packages/ra-ui-materialui/src/list/datagrid/DatagridConfigurable.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export const DatagridConfigurable = ({
6767
child.props.source || child.props.label
6868
? child.props.label
6969
: translate(
70-
'ra.configurable.Datagrid.unlabeled',
70+
'ra.configurable.datagrid.unlabeled',
7171
{
7272
column: index,
7373
_: `Unlabeled column #%{column}`,

0 commit comments

Comments
 (0)