Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ test.describe.serial("Orchestrator Entity-Workflow RBAC", () => {
await uiHelper.selectMuiBox("Kind", "Template");

// Find the "Greeting Test Picker" template (greeting_w_component.yaml)
await page
.getByRole("textbox", { name: "Search" })
.fill("Greeting Test Picker");
const templateLink = page.getByRole("link", {
name: /Greeting Test Picker/i,
});
Expand Down Expand Up @@ -327,6 +330,9 @@ test.describe.serial("Orchestrator Entity-Workflow RBAC", () => {
await uiHelper.selectMuiBox("Kind", "Template");

// Find the "Greeting Test Picker" template (greeting_w_component.yaml)
await page
.getByRole("textbox", { name: "Search" })
.fill("Greeting Test Picker");
const templateLink = page.getByRole("link", {
name: /Greeting Test Picker/i,
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ import { catalogImportTranslationRef } from '@backstage/plugin-catalog-import/al
export const catalogImportTranslations = createTranslationResource({
ref: catalogImportTranslationRef,
translations: {
de: () => import('./de'),
en: () => import('./catalog-import-en'),
es: () => import('./es'),
fr: () => import('./fr'),
it: () => import('./it'),
ja: () => import('./ja'),
Expand Down
29 changes: 29 additions & 0 deletions packages/app/src/translations/catalog-import/de.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/*
* Copyright Red Hat, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

import { createTranslationMessages } from '@backstage/core-plugin-api/alpha';
import { catalogImportTranslationRef } from '@backstage/plugin-catalog-import/alpha';

const de = createTranslationMessages({
ref: catalogImportTranslationRef,
full: false,
messages: {
'defaultImportPage.headerTitle': 'Vorhandenes Git-Repository importieren',
'importInfoCard.title': 'Vorhandenes Git-Repository importieren',
},
});

export default de;
29 changes: 29 additions & 0 deletions packages/app/src/translations/catalog-import/es.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/*
* Copyright Red Hat, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

import { createTranslationMessages } from '@backstage/core-plugin-api/alpha';
import { catalogImportTranslationRef } from '@backstage/plugin-catalog-import/alpha';

const es = createTranslationMessages({
ref: catalogImportTranslationRef,
full: false,
messages: {
'defaultImportPage.headerTitle': 'Importar un repositorio Git existente',
'importInfoCard.title': 'Importar un repositorio Git existente',
},
});

export default es;
Comment thread
lokanandaprabhu marked this conversation as resolved.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ import { catalogTranslationRef } from '@backstage/plugin-catalog/alpha';
export const catalogTranslations = createTranslationResource({
ref: catalogTranslationRef,
translations: {
de: () => import('./de'),
en: () => import('./catalog-en'),
es: () => import('./es'),
Comment thread
lokanandaprabhu marked this conversation as resolved.
fr: () => import('./fr'),
it: () => import('./it'),
ja: () => import('./ja'),
Expand Down
26 changes: 26 additions & 0 deletions packages/app/src/translations/catalog/de.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/*
* Copyright Red Hat, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

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

export default createTranslationMessages({
ref: catalogTranslationRef,
full: false,
messages: {
'indexPage.createButtonTitle': 'Self-Service',
Comment thread
lokanandaprabhu marked this conversation as resolved.
},
});
26 changes: 26 additions & 0 deletions packages/app/src/translations/catalog/es.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/*
* Copyright Red Hat, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

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

export default createTranslationMessages({
ref: catalogTranslationRef,
full: false,
messages: {
'indexPage.createButtonTitle': 'Autoservicio',
},
});
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ import { createTranslationResource } from '@backstage/core-plugin-api/alpha';
export const coreComponentsTranslations = createTranslationResource({
ref: coreComponentsTranslationRef,
translations: {
de: () => import('./de'),
en: () => import('./core-components-en'),
es: () => import('./es'),
fr: () => import('./fr'),
it: () => import('./it'),
ja: () => import('./ja'),
Expand Down
42 changes: 42 additions & 0 deletions packages/app/src/translations/core-components/de.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
/*
* Copyright Red Hat, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

import { coreComponentsTranslationRef } from '@backstage/core-components/alpha';
import { createTranslationMessages } from '@backstage/core-plugin-api/alpha';

const de = createTranslationMessages({
ref: coreComponentsTranslationRef,
full: false,
messages: {
'table.filter.placeholder': 'Alle Ergebnisse',
'table.body.emptyDataSourceMessage':
'Keine Datensätze zum Anzeigen vorhanden',
'table.pagination.firstTooltip': 'Erste Seite',
'table.pagination.labelDisplayedRows': '{von}-{bis} von {Anzahl}',

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check once if this works as expected?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This key is used in backstage and in catalog we are not using pagination, I added 22 components and checked

screencapture-localhost-3000-catalog-2026-03-04-20_46_28 screencapture-localhost-3000-catalog-2026-03-04-20_47_40

'table.pagination.labelRowsSelect': 'Zeilen',
'table.pagination.lastTooltip': 'Letzte Seite',
'table.pagination.nextTooltip': 'Nächste Seite',
'table.pagination.previousTooltip': 'Vorherige Seite',
'table.toolbar.search': 'Filter',
'alertDisplay.message_one': '({{ count }} neuere Nachricht)',
'alertDisplay.message_other': '({{ count }} neuere Nachrichten)',
'table.header.actions': 'Aktionen',
'oauthRequestDialog.message':
'Melden Sie sich an, um {{appTitle}} Zugriff auf die APIs und Identitäten von {{provider}} zu erlauben.',
},
});

export default de;
41 changes: 41 additions & 0 deletions packages/app/src/translations/core-components/es.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
/*
* Copyright Red Hat, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

import { coreComponentsTranslationRef } from '@backstage/core-components/alpha';
import { createTranslationMessages } from '@backstage/core-plugin-api/alpha';

const es = createTranslationMessages({
ref: coreComponentsTranslationRef,
full: false,
messages: {
'table.filter.placeholder': 'Todos los resultados',
'table.body.emptyDataSourceMessage': 'No hay registros para mostrar',
'table.pagination.firstTooltip': 'Primera página',
'table.pagination.labelDisplayedRows': '{from}-{to} de {count}',
'table.pagination.labelRowsSelect': 'filas',
'table.pagination.lastTooltip': 'Última página',
'table.pagination.nextTooltip': 'Página siguiente',
'table.pagination.previousTooltip': 'Página anterior',
'table.toolbar.search': 'Filtrar',
'alertDisplay.message_one': '({{ count }} mensaje nuevo)',
'alertDisplay.message_other': '({{ count }} mensajes nuevos)',
'table.header.actions': 'Acciones',
'oauthRequestDialog.message':
'Inicie sesión para permitir que {{appTitle}} acceda a las API e identidades de {{provider}}.',
},
});

export default es;
69 changes: 30 additions & 39 deletions packages/app/src/translations/rhdh/de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,9 @@ import { createTranslationMessages } from '@backstage/core-plugin-api/alpha';

import { rhdhTranslationRef } from './ref';

export default createTranslationMessages({
const rhdhTranslationDe = createTranslationMessages({
ref: rhdhTranslationRef,
full: true, // False means that this is a partial translation
messages: {
// Default main menu items from consts.ts
'menuItem.home': 'Startseite',
'menuItem.myGroup_one': 'Meine Gruppe',
'menuItem.myGroup_other': 'Meine Gruppen',
Expand All @@ -33,40 +31,18 @@ export default createTranslationMessages({
'menuItem.userSettings': 'Benutzereinstellungen',
'menuItem.administration': 'Administration',
'menuItem.extensions': 'Erweiterungen',

// dynamic-plugins.default.main-menu-items
'menuItem.clusters': 'Cluster',
'menuItem.rbac': 'RBAC',
'menuItem.bulkImport': 'Massenimport',
'menuItem.docs': 'Dokumentation',
'menuItem.docs': 'Dokumente',
'menuItem.lighthouse': 'Lighthouse',
'menuItem.techRadar': 'Tech-Radar',
'menuItem.techRadar': 'Tech Radar',
'menuItem.orchestrator': 'Orchestrator',
'menuItem.adoptionInsights': 'Einführungseinblicke',

'catalog.entityPage.overview.title': 'Übersicht',
'catalog.entityPage.topology.title': 'Topologie',
'catalog.entityPage.issues.title': 'Issues',
'catalog.entityPage.pullRequests.title': 'Pull/Merge Requests',
'catalog.entityPage.ci.title': 'CI',
'catalog.entityPage.cd.title': 'CD',
'catalog.entityPage.kubernetes.title': 'Kubernetes',
'catalog.entityPage.imageRegistry.title': 'Image Registry',
'catalog.entityPage.monitoring.title': 'Überwachung',
'catalog.entityPage.lighthouse.title': 'Lighthouse',
'catalog.entityPage.api.title': 'API',
'catalog.entityPage.dependencies.title': 'Abhängigkeiten',
'catalog.entityPage.docs.title': 'Dokumentation',
'catalog.entityPage.definition.title': 'Definition',
'catalog.entityPage.diagram.title': 'Systemdiagramm',
'catalog.entityPage.workflows.title': 'Workflows',

'menuItem.adoptionInsights': 'Adoption Insights',
'sidebar.menu': 'Menü',
'sidebar.home': 'Startseite',
'sidebar.homeLogo': 'Startseite-Logo',

// SignIn page translations
'signIn.page.title': 'Anmeldeverfahren auswählen',
'sidebar.homeLogo': 'Startseitenlogo',
'signIn.page.title': 'Wählen Sie eine Anmeldemethode aus',
'signIn.providers.auth0.title': 'Auth0',
'signIn.providers.auth0.message': 'Mit Auth0 anmelden',
'signIn.providers.atlassian.title': 'Atlassian',
Expand All @@ -91,17 +67,31 @@ export default createTranslationMessages({
'signIn.providers.onelogin.message': 'Mit OneLogin anmelden',
'signIn.providers.saml.title': 'SAML',
'signIn.providers.saml.message': 'Mit SAML anmelden',

// App translations
'catalog.entityPage.overview.title': 'Übersicht',
'catalog.entityPage.topology.title': 'Topologie',
'catalog.entityPage.issues.title': 'Probleme',
'catalog.entityPage.pullRequests.title': 'Pull-/Merge-Anforderungen',
'catalog.entityPage.ci.title': 'CI',
'catalog.entityPage.cd.title': 'CD',
'catalog.entityPage.kubernetes.title': 'Kubernetes',
'catalog.entityPage.imageRegistry.title': 'Image-Registry',
'catalog.entityPage.monitoring.title': 'Monitoring',
'catalog.entityPage.lighthouse.title': 'Lighthouse',
'catalog.entityPage.api.title': 'API',
'catalog.entityPage.dependencies.title': 'Abhängigkeiten',
'catalog.entityPage.docs.title': 'Dokumente',
'catalog.entityPage.definition.title': 'Definition',
'catalog.entityPage.diagram.title': 'Systemdiagramm',
'catalog.entityPage.workflows.title': 'Workflows',
'app.search.title': 'Suchen',
'app.search.resultType': 'Ergebnistyp',
'app.search.softwareCatalog': 'Software-Katalog',
'app.search.softwareCatalog': 'Softwarekatalog',
'app.search.filters.kind': 'Art',
'app.search.filters.lifecycle': 'Lebenszyklus',
'app.search.filters.lifecycle': 'Lifecycle',
'app.search.filters.component': 'Komponente',
'app.search.filters.template': 'Vorlage',
'app.search.filters.experimental': 'experimentell',
'app.search.filters.production': 'produktionsreif',
'app.search.filters.template': 'Template',
'app.search.filters.experimental': 'Experimentell',
'app.search.filters.production': 'Produktion',
'app.learningPaths.title': 'Lernpfade',
'app.learningPaths.error.title': 'Daten konnten nicht abgerufen werden.',
'app.learningPaths.error.unknownError': 'Unbekannter Fehler',
Expand All @@ -114,9 +104,10 @@ export default createTranslationMessages({
'app.userSettings.infoCard.showMore': 'Mehr anzeigen',
'app.errors.contactSupport': 'Support kontaktieren',
'app.errors.goBack': 'Zurück',
'app.errors.notFound.message': 'Diese Seite konnten wir nicht finden',
'app.errors.notFound.message': 'Wir konnten diese Seite nicht finden.',
'app.errors.notFound.additionalInfo':
'Die gesuchte Seite wurde möglicherweise entfernt, umbenannt oder ist vorübergehend nicht verfügbar.',
'app.table.createdAt': 'Erstellt am',
},
});

export default rhdhTranslationDe;
Loading
Loading