Files
backstage/.changeset/gentle-elephants-fold.md
T
Patrik Oldsberg 28f1ab2e1a catalog: replace configure with i18n
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-09-24 18:30:24 +02:00

611 B

@backstage/plugin-catalog
@backstage/plugin-catalog
minor

The catalog plugin no longer implements the experimental reconfiguration API. The create button title can now instead be configured using the new experimental internationalization API, via the catalogTranslationRef exported at /alpha. For example:

import { catalogTranslationRef } from '@backstage/plugin-catalog/alpha';

const app = createApp({
  __experimentalTranslations: {
    resources: [
      createTranslationMessages({
        ref: catalogTranslationRef,
        catalog_page_create_button_title: 'Create Software',
      }),
    ],
  },
});