UNPKG

@backstage/plugin-techdocs

Version:

The Backstage plugin that renders technical documentation for your components

103 lines (100 loc) 3.03 kB
import { createTranslationRef } from '@backstage/core-plugin-api/alpha'; const techdocsTranslationRef = createTranslationRef({ id: "techdocs", messages: { aboutCard: { viewTechdocs: "View TechDocs" }, notFound: { title: "Documentation not found", builderNote: "Note that techdocs.builder is not set to 'local' in your config, which means this Backstage app will not generate docs if they are not found. Make sure the project's docs are generated and published by some external process (e.g. CI/CD pipeline). Or change techdocs.builder to 'local' to generate docs from this Backstage instance." }, buildLogs: { title: "Build Details", closeDrawer: "Close the drawer", showBuildLogs: "Show Build Logs", waitingForLogs: "Waiting for logs..." }, stateIndicator: { initialBuild: { message: "Documentation is accessed for the first time and is being prepared. The subsequent loads are much faster." }, contentStaleRefreshing: { message: "A newer version of this documentation is being prepared and will be available shortly." }, contentStaleReady: { message: "A newer version of this documentation is now available, please refresh to view.", refreshButton: "Refresh" }, contentStaleError: { message: "Building a newer version of this documentation failed." } }, redirectNotification: { redirectNow: "Redirect now" }, search: { noResults: "No results found", placeholder: "Search {{entityTitle}} docs" }, readerPageHeader: { owner: "Owner", lifecycle: "Lifecycle", source: "Source" }, home: { supportButton: "Discover documentation in your ecosystem." }, pageWrapper: { title: "Documentation", subtitle: "Documentation available in {{orgName}}" }, table: { columns: { document: "Document", owner: "Owner", kind: "Kind", type: "Type" }, header: { actions: "Actions" }, toolbar: { searchPlaceholder: "Filter" }, pagination: { labelRowsSelect: "rows" }, body: { emptyDataSourceMessage: "No records to display" }, actions: { copyDocsUrl: "Click to copy documentation link to clipboard", addToFavorites: "Add to favorites", removeFromFavorites: "Remove from favorites" }, emptyState: { title: "No documents to show", description: "Create your own document. Check out our Getting Started Information", docsButton: "DOCS" }, title: { all: "All" } }, error: { couldNotLoad: "Could not load available documentation." }, nav: { title: "Docs" }, entityContent: { title: "TechDocs" }, reader: { settings: "Settings" } } }); export { techdocsTranslationRef }; //# sourceMappingURL=translation.esm.js.map