Merge pull request #19981 from backstage/rugvip/const
core-plugin-api: remove the need to declare translation messages as const
This commit is contained in:
@@ -22,5 +22,5 @@ export const adrTranslationRef = createTranslationRef({
|
||||
content_header_title: 'Architecture Decision Records',
|
||||
failed_to_fetch: 'Failed to fetch ADRs',
|
||||
no_adrs: 'No ADRs found',
|
||||
} as const,
|
||||
},
|
||||
});
|
||||
|
||||
@@ -30,5 +30,5 @@ export const userSettingsTranslationRef = createTranslationRef({
|
||||
select_theme: 'Select {{theme}}',
|
||||
select_theme_auto: 'Select Auto Theme',
|
||||
select_lng: 'Select language {{language}}',
|
||||
} as const,
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user