Merge pull request #24837 from brunobastosg/fix-catalog-translation

plugins: export catalogTranslationRef
This commit is contained in:
Ben Lambert
2024-05-27 14:11:54 +02:00
committed by GitHub
3 changed files with 16 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog': patch
---
Export `catalogTranslationRef` under `/alpha`
+10
View File
@@ -11,6 +11,16 @@ import { ExtensionDefinition } from '@backstage/frontend-plugin-api';
import { ExternalRouteRef } from '@backstage/frontend-plugin-api';
import { PortableSchema } from '@backstage/frontend-plugin-api';
import { RouteRef } from '@backstage/frontend-plugin-api';
import { TranslationRef } from '@backstage/core-plugin-api/alpha';
// @alpha (undocumented)
export const catalogTranslationRef: TranslationRef<
'catalog',
{
readonly 'indexPage.title': '{{orgName}} Catalog';
readonly 'indexPage.createButtonTitle': 'Create';
}
>;
// @alpha (undocumented)
export function createCatalogFilterExtension<
+1
View File
@@ -16,3 +16,4 @@
export * from './alpha/index';
export { default } from './alpha/index';
export { catalogTranslationRef } from './translation';