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:
Patrik Oldsberg
2023-09-19 00:52:44 +02:00
committed by GitHub
9 changed files with 45 additions and 29 deletions
+1 -1
View File
@@ -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,
},
});
+1 -1
View File
@@ -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,
},
});