UNPKG

@backstage-community/plugin-sonarqube

Version:
48 lines (45 loc) 1.57 kB
import { createTranslationRef } from '@backstage/frontend-plugin-api'; const sonarqubeTranslationRef = createTranslationRef({ id: "sonarqube", messages: { title: "SonarQube Dashboard", sonarQubeCard: { title: "Code Quality", deepLinkTitle: "View more", emptyState: { title: "No information to display", description: "There is no SonarQube project with key '{{ projectTitle }}'." }, noSonarQubeError: { hasAnnotation: 'Unable to access SonarQube project "{{project}}": Check project exists and permissions', noAnnotation: "{{name}} has no DX-Hub annotation for SonarQube" }, bugReportRatingCardTitle: "Bugs", vulnerabilitiesRatingCardTitle: "Vulnerabilities", codeSmellsRatingCardTitle: "Code Smells", hotspotsReviewedTitle: "Hotspots Reviewed", coverageRatingCardTitle: "Coverage", duplicationsRatingCard: "Duplications", qualityBadgeLabel: { notComputed: "Not computed", gatePassed: "Gate passed", gateFailed: "Gate failed" } }, sonarQubeTable: { entityLinkTitle: "View Component details", columnsTitle: { component: "Component", qualityGate: "Quality Gate", bugs: "Bugs", vulnerabilities: "Vulnerabilities", codeSmells: "Code Smells", hotspotsReviewed: "Hotspots Reviewed", coverage: "Coverage", duplications: "Duplications" } } } }); export { sonarqubeTranslationRef }; //# sourceMappingURL=translation.esm.js.map