@red-hat-developer-hub/backstage-plugin-global-header 1.15.0 → 1.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/dist/components/HeaderDropdownComponent/ApplicationLauncherDropdown.esm.js +7 -3
- package/dist/components/HeaderDropdownComponent/ApplicationLauncherDropdown.esm.js.map +1 -1
- package/dist/components/HeaderDropdownComponent/CreateDropdown.esm.js +6 -1
- package/dist/components/HeaderDropdownComponent/CreateDropdown.esm.js.map +1 -1
- package/dist/components/HeaderDropdownComponent/DropdownEmptyState.esm.js +34 -25
- package/dist/components/HeaderDropdownComponent/DropdownEmptyState.esm.js.map +1 -1
- package/dist/components/HeaderDropdownComponent/HelpDropdown.esm.js +75 -17
- package/dist/components/HeaderDropdownComponent/HelpDropdown.esm.js.map +1 -1
- package/dist/components/HeaderDropdownComponent/MenuSection.esm.js +4 -1
- package/dist/components/HeaderDropdownComponent/MenuSection.esm.js.map +1 -1
- package/dist/components/HeaderDropdownComponent/ProfileDropdown.esm.js +8 -4
- package/dist/components/HeaderDropdownComponent/ProfileDropdown.esm.js.map +1 -1
- package/dist/components/HeaderDropdownComponent/RegisterAComponentSection.esm.js +4 -2
- package/dist/components/HeaderDropdownComponent/RegisterAComponentSection.esm.js.map +1 -1
- package/dist/components/HeaderDropdownComponent/SoftwareTemplatesSection.esm.js +6 -4
- package/dist/components/HeaderDropdownComponent/SoftwareTemplatesSection.esm.js.map +1 -1
- package/dist/components/HeaderDropdownComponent/StarredDropdown.esm.js +10 -5
- package/dist/components/HeaderDropdownComponent/StarredDropdown.esm.js.map +1 -1
- package/dist/components/LogoutButton/LogoutButton.esm.js +19 -9
- package/dist/components/LogoutButton/LogoutButton.esm.js.map +1 -1
- package/dist/components/MenuItemLink/MenuItemLink.esm.js +5 -2
- package/dist/components/MenuItemLink/MenuItemLink.esm.js.map +1 -1
- package/dist/components/NotificationBanner.esm.js +6 -2
- package/dist/components/NotificationBanner.esm.js.map +1 -1
- package/dist/components/NotificationButton/NotificationButton.esm.js +6 -3
- package/dist/components/NotificationButton/NotificationButton.esm.js.map +1 -1
- package/dist/components/SearchComponent/SearchBar.esm.js +4 -2
- package/dist/components/SearchComponent/SearchBar.esm.js.map +1 -1
- package/dist/components/SearchComponent/SearchInput.esm.js +23 -19
- package/dist/components/SearchComponent/SearchInput.esm.js.map +1 -1
- package/dist/components/SupportButton/SupportButton.esm.js +5 -2
- package/dist/components/SupportButton/SupportButton.esm.js.map +1 -1
- package/dist/defaultMountPoints/defaultMountPoints.esm.js +7 -7
- package/dist/defaultMountPoints/defaultMountPoints.esm.js.map +1 -1
- package/dist/hooks/useTranslation.esm.js +8 -0
- package/dist/hooks/useTranslation.esm.js.map +1 -0
- package/dist/hooks/useValidComponentTracker.esm.js +39 -0
- package/dist/hooks/useValidComponentTracker.esm.js.map +1 -0
- package/dist/index.d.ts +49 -2
- package/dist/index.esm.js +2 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/plugin.esm.js +4 -1
- package/dist/plugin.esm.js.map +1 -1
- package/dist/translations/de.esm.js +43 -0
- package/dist/translations/de.esm.js.map +1 -0
- package/dist/translations/es.esm.js +43 -0
- package/dist/translations/es.esm.js.map +1 -0
- package/dist/translations/fr.esm.js +43 -0
- package/dist/translations/fr.esm.js.map +1 -0
- package/dist/translations/index.esm.js +15 -0
- package/dist/translations/index.esm.js.map +1 -0
- package/dist/translations/it.esm.js +43 -0
- package/dist/translations/it.esm.js.map +1 -0
- package/dist/translations/ref.esm.js +63 -0
- package/dist/translations/ref.esm.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { createTranslationMessages } from '@backstage/core-plugin-api/alpha';
|
|
2
|
+
import { globalHeaderTranslationRef } from './ref.esm.js';
|
|
3
|
+
|
|
4
|
+
const globalHeaderTranslationFr = createTranslationMessages({
|
|
5
|
+
ref: globalHeaderTranslationRef,
|
|
6
|
+
messages: {
|
|
7
|
+
"help.tooltip": "Aide",
|
|
8
|
+
"help.noSupportLinks": "Aucun lien de support",
|
|
9
|
+
"help.noSupportLinksSubtitle": "Votre administrateur doit configurer les liens de support.",
|
|
10
|
+
"help.quickStart": "D\xE9marrage rapide",
|
|
11
|
+
"help.supportTitle": "Support",
|
|
12
|
+
"profile.picture": "Photo de profil",
|
|
13
|
+
"profile.signOut": "Se d\xE9connecter",
|
|
14
|
+
"search.placeholder": "Rechercher...",
|
|
15
|
+
"search.noResults": "Aucun r\xE9sultat trouv\xE9",
|
|
16
|
+
"search.errorFetching": "Erreur lors de la r\xE9cup\xE9ration des r\xE9sultats",
|
|
17
|
+
"applicationLauncher.tooltip": "Lanceur d'applications",
|
|
18
|
+
"applicationLauncher.noLinksTitle": "Aucun lien d'application configur\xE9",
|
|
19
|
+
"applicationLauncher.noLinksSubtitle": "Configurez les liens d'application dans la configuration du plugin dynamique pour un acc\xE8s rapide depuis ici.",
|
|
20
|
+
"starred.title": "Vos \xE9l\xE9ments favoris",
|
|
21
|
+
"starred.removeTooltip": "Supprimer de la liste",
|
|
22
|
+
"starred.noItemsTitle": "Aucun \xE9l\xE9ment favori pour le moment",
|
|
23
|
+
"starred.noItemsSubtitle": "Cliquez sur l'ic\xF4ne \xE9toile \xE0 c\xF4t\xE9 du nom d'une entit\xE9 pour l'enregistrer ici pour un acc\xE8s rapide.",
|
|
24
|
+
"notifications.title": "Notifications",
|
|
25
|
+
"notifications.unsupportedDismissOption": 'Option de rejet non support\xE9e "{{option}}", actuellement support\xE9 "none", "session" ou "localstorage" !',
|
|
26
|
+
"create.title": "Libre-service",
|
|
27
|
+
"create.registerComponent.title": "Enregistrer un composant",
|
|
28
|
+
"create.registerComponent.subtitle": "L'importer dans la page de catalogue",
|
|
29
|
+
"create.templates.sectionTitle": "Utiliser un mod\xE8le",
|
|
30
|
+
"create.templates.allTemplates": "Tous les mod\xE8les",
|
|
31
|
+
"create.templates.errorFetching": "Erreur lors de la r\xE9cup\xE9ration des mod\xE8les",
|
|
32
|
+
"create.templates.noTemplatesAvailable": "Aucun mod\xE8le disponible",
|
|
33
|
+
"profile.settings": "Param\xE8tres",
|
|
34
|
+
"profile.myProfile": "Mon profil",
|
|
35
|
+
"applicationLauncher.developerHub": "Developer Hub",
|
|
36
|
+
"applicationLauncher.rhdhLocal": "RHDH Local",
|
|
37
|
+
"applicationLauncher.sections.documentation": "Documentation",
|
|
38
|
+
"applicationLauncher.sections.developerTools": "Outils de d\xE9veloppement"
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
export { globalHeaderTranslationFr as default };
|
|
43
|
+
//# sourceMappingURL=fr.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fr.esm.js","sources":["../../src/translations/fr.ts"],"sourcesContent":["/*\n * Copyright Red Hat, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { createTranslationMessages } from '@backstage/core-plugin-api/alpha';\nimport { globalHeaderTranslationRef } from './ref';\n\nconst globalHeaderTranslationFr = createTranslationMessages({\n ref: globalHeaderTranslationRef,\n messages: {\n 'help.tooltip': 'Aide',\n 'help.noSupportLinks': 'Aucun lien de support',\n 'help.noSupportLinksSubtitle':\n 'Votre administrateur doit configurer les liens de support.',\n 'help.quickStart': 'Démarrage rapide',\n 'help.supportTitle': 'Support',\n 'profile.picture': 'Photo de profil',\n 'profile.signOut': 'Se déconnecter',\n 'search.placeholder': 'Rechercher...',\n 'search.noResults': 'Aucun résultat trouvé',\n 'search.errorFetching': 'Erreur lors de la récupération des résultats',\n 'applicationLauncher.tooltip': \"Lanceur d'applications\",\n 'applicationLauncher.noLinksTitle': \"Aucun lien d'application configuré\",\n 'applicationLauncher.noLinksSubtitle':\n \"Configurez les liens d'application dans la configuration du plugin dynamique pour un accès rapide depuis ici.\",\n 'starred.title': 'Vos éléments favoris',\n 'starred.removeTooltip': 'Supprimer de la liste',\n 'starred.noItemsTitle': 'Aucun élément favori pour le moment',\n 'starred.noItemsSubtitle':\n \"Cliquez sur l'icône étoile à côté du nom d'une entité pour l'enregistrer ici pour un accès rapide.\",\n 'notifications.title': 'Notifications',\n 'notifications.unsupportedDismissOption':\n 'Option de rejet non supportée \"{{option}}\", actuellement supporté \"none\", \"session\" ou \"localstorage\" !',\n 'create.title': 'Libre-service',\n 'create.registerComponent.title': 'Enregistrer un composant',\n 'create.registerComponent.subtitle': \"L'importer dans la page de catalogue\",\n 'create.templates.sectionTitle': 'Utiliser un modèle',\n 'create.templates.allTemplates': 'Tous les modèles',\n 'create.templates.errorFetching':\n 'Erreur lors de la récupération des modèles',\n 'create.templates.noTemplatesAvailable': 'Aucun modèle disponible',\n 'profile.settings': 'Paramètres',\n 'profile.myProfile': 'Mon profil',\n 'applicationLauncher.developerHub': 'Developer Hub',\n 'applicationLauncher.rhdhLocal': 'RHDH Local',\n 'applicationLauncher.sections.documentation': 'Documentation',\n 'applicationLauncher.sections.developerTools': 'Outils de développement',\n },\n});\n\nexport default globalHeaderTranslationFr;\n"],"names":[],"mappings":";;;AAmBA,MAAM,4BAA4B,yBAA0B,CAAA;AAAA,EAC1D,GAAK,EAAA,0BAAA;AAAA,EACL,QAAU,EAAA;AAAA,IACR,cAAgB,EAAA,MAAA;AAAA,IAChB,qBAAuB,EAAA,uBAAA;AAAA,IACvB,6BACE,EAAA,4DAAA;AAAA,IACF,iBAAmB,EAAA,qBAAA;AAAA,IACnB,mBAAqB,EAAA,SAAA;AAAA,IACrB,iBAAmB,EAAA,iBAAA;AAAA,IACnB,iBAAmB,EAAA,mBAAA;AAAA,IACnB,oBAAsB,EAAA,eAAA;AAAA,IACtB,kBAAoB,EAAA,6BAAA;AAAA,IACpB,sBAAwB,EAAA,uDAAA;AAAA,IACxB,6BAA+B,EAAA,wBAAA;AAAA,IAC/B,kCAAoC,EAAA,uCAAA;AAAA,IACpC,qCACE,EAAA,kHAAA;AAAA,IACF,eAAiB,EAAA,4BAAA;AAAA,IACjB,uBAAyB,EAAA,uBAAA;AAAA,IACzB,sBAAwB,EAAA,2CAAA;AAAA,IACxB,yBACE,EAAA,yHAAA;AAAA,IACF,qBAAuB,EAAA,eAAA;AAAA,IACvB,wCACE,EAAA,+GAAA;AAAA,IACF,cAAgB,EAAA,eAAA;AAAA,IAChB,gCAAkC,EAAA,0BAAA;AAAA,IAClC,mCAAqC,EAAA,sCAAA;AAAA,IACrC,+BAAiC,EAAA,uBAAA;AAAA,IACjC,+BAAiC,EAAA,qBAAA;AAAA,IACjC,gCACE,EAAA,qDAAA;AAAA,IACF,uCAAyC,EAAA,4BAAA;AAAA,IACzC,kBAAoB,EAAA,eAAA;AAAA,IACpB,mBAAqB,EAAA,YAAA;AAAA,IACrB,kCAAoC,EAAA,eAAA;AAAA,IACpC,+BAAiC,EAAA,YAAA;AAAA,IACjC,4CAA8C,EAAA,eAAA;AAAA,IAC9C,6CAA+C,EAAA;AAAA;AAEnD,CAAC;;;;"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { createTranslationResource } from '@backstage/core-plugin-api/alpha';
|
|
2
|
+
import { globalHeaderTranslationRef } from './ref.esm.js';
|
|
3
|
+
|
|
4
|
+
const globalHeaderTranslations = createTranslationResource({
|
|
5
|
+
ref: globalHeaderTranslationRef,
|
|
6
|
+
translations: {
|
|
7
|
+
de: () => import('./de.esm.js'),
|
|
8
|
+
es: () => import('./es.esm.js'),
|
|
9
|
+
fr: () => import('./fr.esm.js'),
|
|
10
|
+
it: () => import('./it.esm.js')
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
export { globalHeaderTranslationRef, globalHeaderTranslations };
|
|
15
|
+
//# sourceMappingURL=index.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.esm.js","sources":["../../src/translations/index.ts"],"sourcesContent":["/*\n * Copyright Red Hat, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { createTranslationResource } from '@backstage/core-plugin-api/alpha';\nimport { globalHeaderTranslationRef } from './ref';\n\n/**\n * Translation resource for the global header plugin, providing support for multiple languages.\n *\n * @public\n */\nexport const globalHeaderTranslations = createTranslationResource({\n ref: globalHeaderTranslationRef,\n translations: {\n de: () => import('./de'),\n es: () => import('./es'),\n fr: () => import('./fr'),\n it: () => import('./it'),\n },\n});\n\nexport { globalHeaderTranslationRef };\n"],"names":[],"mappings":";;;AAwBO,MAAM,2BAA2B,yBAA0B,CAAA;AAAA,EAChE,GAAK,EAAA,0BAAA;AAAA,EACL,YAAc,EAAA;AAAA,IACZ,EAAA,EAAI,MAAM,OAAO,aAAM,CAAA;AAAA,IACvB,EAAA,EAAI,MAAM,OAAO,aAAM,CAAA;AAAA,IACvB,EAAA,EAAI,MAAM,OAAO,aAAM,CAAA;AAAA,IACvB,EAAA,EAAI,MAAM,OAAO,aAAM;AAAA;AAE3B,CAAC;;;;"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { createTranslationMessages } from '@backstage/core-plugin-api/alpha';
|
|
2
|
+
import { globalHeaderTranslationRef } from './ref.esm.js';
|
|
3
|
+
|
|
4
|
+
const globalHeaderTranslationIt = createTranslationMessages({
|
|
5
|
+
ref: globalHeaderTranslationRef,
|
|
6
|
+
messages: {
|
|
7
|
+
"help.tooltip": "Aiuto",
|
|
8
|
+
"help.noSupportLinks": "Nessun link di supporto",
|
|
9
|
+
"help.noSupportLinksSubtitle": "Il tuo amministratore deve configurare i link di supporto.",
|
|
10
|
+
"help.quickStart": "Avvio rapido",
|
|
11
|
+
"help.supportTitle": "Supporto",
|
|
12
|
+
"profile.picture": "Immagine del profilo",
|
|
13
|
+
"profile.settings": "Impostazioni",
|
|
14
|
+
"profile.myProfile": "Il mio profilo",
|
|
15
|
+
"profile.signOut": "Esci",
|
|
16
|
+
"search.placeholder": "Cerca...",
|
|
17
|
+
"search.noResults": "Nessun risultato trovato",
|
|
18
|
+
"search.errorFetching": "Errore nel recupero dei risultati",
|
|
19
|
+
"applicationLauncher.tooltip": "Launcher applicazioni",
|
|
20
|
+
"applicationLauncher.noLinksTitle": "Nessun link applicazione configurato",
|
|
21
|
+
"applicationLauncher.noLinksSubtitle": "Configura i link delle applicazioni nella configurazione del plugin dinamico per un accesso rapido da qui.",
|
|
22
|
+
"applicationLauncher.developerHub": "Developer Hub",
|
|
23
|
+
"applicationLauncher.rhdhLocal": "RHDH Local",
|
|
24
|
+
"applicationLauncher.sections.documentation": "Documentazione",
|
|
25
|
+
"applicationLauncher.sections.developerTools": "Strumenti per sviluppatori",
|
|
26
|
+
"starred.title": "I tuoi elementi preferiti",
|
|
27
|
+
"starred.removeTooltip": "Rimuovi dalla lista",
|
|
28
|
+
"starred.noItemsTitle": "Nessun elemento preferito ancora",
|
|
29
|
+
"starred.noItemsSubtitle": "Clicca sull'icona stella accanto al nome di un'entit\xE0 per salvarla qui per un accesso rapido.",
|
|
30
|
+
"notifications.title": "Notifiche",
|
|
31
|
+
"notifications.unsupportedDismissOption": 'Opzione di chiusura non supportata "{{option}}", attualmente supportate "none", "session" o "localstorage"!',
|
|
32
|
+
"create.title": "Autoservizio",
|
|
33
|
+
"create.registerComponent.title": "Registra un componente",
|
|
34
|
+
"create.registerComponent.subtitle": "Importalo nella pagina del catalogo",
|
|
35
|
+
"create.templates.sectionTitle": "Usa un modello",
|
|
36
|
+
"create.templates.allTemplates": "Tutti i modelli",
|
|
37
|
+
"create.templates.errorFetching": "Errore nel recupero dei modelli",
|
|
38
|
+
"create.templates.noTemplatesAvailable": "Nessun modello disponibile"
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
export { globalHeaderTranslationIt as default };
|
|
43
|
+
//# sourceMappingURL=it.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"it.esm.js","sources":["../../src/translations/it.ts"],"sourcesContent":["/*\n * Copyright Red Hat, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { createTranslationMessages } from '@backstage/core-plugin-api/alpha';\nimport { globalHeaderTranslationRef } from './ref';\n\nconst globalHeaderTranslationIt = createTranslationMessages({\n ref: globalHeaderTranslationRef,\n messages: {\n 'help.tooltip': 'Aiuto',\n 'help.noSupportLinks': 'Nessun link di supporto',\n 'help.noSupportLinksSubtitle':\n 'Il tuo amministratore deve configurare i link di supporto.',\n 'help.quickStart': 'Avvio rapido',\n 'help.supportTitle': 'Supporto',\n 'profile.picture': 'Immagine del profilo',\n 'profile.settings': 'Impostazioni',\n 'profile.myProfile': 'Il mio profilo',\n 'profile.signOut': 'Esci',\n 'search.placeholder': 'Cerca...',\n 'search.noResults': 'Nessun risultato trovato',\n 'search.errorFetching': 'Errore nel recupero dei risultati',\n 'applicationLauncher.tooltip': 'Launcher applicazioni',\n 'applicationLauncher.noLinksTitle': 'Nessun link applicazione configurato',\n 'applicationLauncher.noLinksSubtitle':\n 'Configura i link delle applicazioni nella configurazione del plugin dinamico per un accesso rapido da qui.',\n 'applicationLauncher.developerHub': 'Developer Hub',\n 'applicationLauncher.rhdhLocal': 'RHDH Local',\n 'applicationLauncher.sections.documentation': 'Documentazione',\n 'applicationLauncher.sections.developerTools': 'Strumenti per sviluppatori',\n 'starred.title': 'I tuoi elementi preferiti',\n 'starred.removeTooltip': 'Rimuovi dalla lista',\n 'starred.noItemsTitle': 'Nessun elemento preferito ancora',\n 'starred.noItemsSubtitle':\n \"Clicca sull'icona stella accanto al nome di un'entità per salvarla qui per un accesso rapido.\",\n 'notifications.title': 'Notifiche',\n 'notifications.unsupportedDismissOption':\n 'Opzione di chiusura non supportata \"{{option}}\", attualmente supportate \"none\", \"session\" o \"localstorage\"!',\n 'create.title': 'Autoservizio',\n 'create.registerComponent.title': 'Registra un componente',\n 'create.registerComponent.subtitle': 'Importalo nella pagina del catalogo',\n 'create.templates.sectionTitle': 'Usa un modello',\n 'create.templates.allTemplates': 'Tutti i modelli',\n 'create.templates.errorFetching': 'Errore nel recupero dei modelli',\n 'create.templates.noTemplatesAvailable': 'Nessun modello disponibile',\n },\n});\n\nexport default globalHeaderTranslationIt;\n"],"names":[],"mappings":";;;AAmBA,MAAM,4BAA4B,yBAA0B,CAAA;AAAA,EAC1D,GAAK,EAAA,0BAAA;AAAA,EACL,QAAU,EAAA;AAAA,IACR,cAAgB,EAAA,OAAA;AAAA,IAChB,qBAAuB,EAAA,yBAAA;AAAA,IACvB,6BACE,EAAA,4DAAA;AAAA,IACF,iBAAmB,EAAA,cAAA;AAAA,IACnB,mBAAqB,EAAA,UAAA;AAAA,IACrB,iBAAmB,EAAA,sBAAA;AAAA,IACnB,kBAAoB,EAAA,cAAA;AAAA,IACpB,mBAAqB,EAAA,gBAAA;AAAA,IACrB,iBAAmB,EAAA,MAAA;AAAA,IACnB,oBAAsB,EAAA,UAAA;AAAA,IACtB,kBAAoB,EAAA,0BAAA;AAAA,IACpB,sBAAwB,EAAA,mCAAA;AAAA,IACxB,6BAA+B,EAAA,uBAAA;AAAA,IAC/B,kCAAoC,EAAA,sCAAA;AAAA,IACpC,qCACE,EAAA,4GAAA;AAAA,IACF,kCAAoC,EAAA,eAAA;AAAA,IACpC,+BAAiC,EAAA,YAAA;AAAA,IACjC,4CAA8C,EAAA,gBAAA;AAAA,IAC9C,6CAA+C,EAAA,4BAAA;AAAA,IAC/C,eAAiB,EAAA,2BAAA;AAAA,IACjB,uBAAyB,EAAA,qBAAA;AAAA,IACzB,sBAAwB,EAAA,kCAAA;AAAA,IACxB,yBACE,EAAA,kGAAA;AAAA,IACF,qBAAuB,EAAA,WAAA;AAAA,IACvB,wCACE,EAAA,6GAAA;AAAA,IACF,cAAgB,EAAA,cAAA;AAAA,IAChB,gCAAkC,EAAA,wBAAA;AAAA,IAClC,mCAAqC,EAAA,qCAAA;AAAA,IACrC,+BAAiC,EAAA,gBAAA;AAAA,IACjC,+BAAiC,EAAA,iBAAA;AAAA,IACjC,gCAAkC,EAAA,iCAAA;AAAA,IAClC,uCAAyC,EAAA;AAAA;AAE7C,CAAC;;;;"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { createTranslationRef } from '@backstage/core-plugin-api/alpha';
|
|
2
|
+
|
|
3
|
+
const globalHeaderMessages = {
|
|
4
|
+
help: {
|
|
5
|
+
tooltip: "Help",
|
|
6
|
+
noSupportLinks: "No support links",
|
|
7
|
+
noSupportLinksSubtitle: "Your administrator needs to set up support links.",
|
|
8
|
+
quickStart: "Quick start",
|
|
9
|
+
supportTitle: "Support"
|
|
10
|
+
},
|
|
11
|
+
profile: {
|
|
12
|
+
picture: "Profile picture",
|
|
13
|
+
settings: "Settings",
|
|
14
|
+
myProfile: "My profile",
|
|
15
|
+
signOut: "Sign out"
|
|
16
|
+
},
|
|
17
|
+
search: {
|
|
18
|
+
placeholder: "Search...",
|
|
19
|
+
noResults: "No results found",
|
|
20
|
+
errorFetching: "Error fetching results"
|
|
21
|
+
},
|
|
22
|
+
applicationLauncher: {
|
|
23
|
+
tooltip: "Application launcher",
|
|
24
|
+
noLinksTitle: "No application links configured",
|
|
25
|
+
noLinksSubtitle: "Configure application links in dynamic plugin config for quick access from here.",
|
|
26
|
+
developerHub: "Developer Hub",
|
|
27
|
+
rhdhLocal: "RHDH Local",
|
|
28
|
+
sections: {
|
|
29
|
+
documentation: "Documentation",
|
|
30
|
+
developerTools: "Developer Tools"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
starred: {
|
|
34
|
+
title: "Your starred items",
|
|
35
|
+
removeTooltip: "Remove from list",
|
|
36
|
+
noItemsTitle: "No starred items yet",
|
|
37
|
+
noItemsSubtitle: "Click the star icon next to an entity's name to save it here for quick access."
|
|
38
|
+
},
|
|
39
|
+
notifications: {
|
|
40
|
+
title: "Notifications",
|
|
41
|
+
unsupportedDismissOption: 'Unsupported dismiss option "{{option}}", currently supported "none", "session" or "localstorage"!'
|
|
42
|
+
},
|
|
43
|
+
create: {
|
|
44
|
+
title: "Self-service",
|
|
45
|
+
registerComponent: {
|
|
46
|
+
title: "Register a component",
|
|
47
|
+
subtitle: "Import it to the catalog page"
|
|
48
|
+
},
|
|
49
|
+
templates: {
|
|
50
|
+
sectionTitle: "Use a template",
|
|
51
|
+
allTemplates: "All templates",
|
|
52
|
+
errorFetching: "Error fetching templates",
|
|
53
|
+
noTemplatesAvailable: "No templates available"
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
const globalHeaderTranslationRef = createTranslationRef({
|
|
58
|
+
id: "plugin.global-header",
|
|
59
|
+
messages: globalHeaderMessages
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
export { globalHeaderMessages, globalHeaderTranslationRef };
|
|
63
|
+
//# sourceMappingURL=ref.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ref.esm.js","sources":["../../src/translations/ref.ts"],"sourcesContent":["/*\n * Copyright Red Hat, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { createTranslationRef } from '@backstage/core-plugin-api/alpha';\n\n// Export messages separately for testing\nexport const globalHeaderMessages = {\n help: {\n tooltip: 'Help',\n noSupportLinks: 'No support links',\n noSupportLinksSubtitle: 'Your administrator needs to set up support links.',\n quickStart: 'Quick start',\n supportTitle: 'Support',\n },\n profile: {\n picture: 'Profile picture',\n settings: 'Settings',\n myProfile: 'My profile',\n signOut: 'Sign out',\n },\n search: {\n placeholder: 'Search...',\n noResults: 'No results found',\n errorFetching: 'Error fetching results',\n },\n applicationLauncher: {\n tooltip: 'Application launcher',\n noLinksTitle: 'No application links configured',\n noLinksSubtitle:\n 'Configure application links in dynamic plugin config for quick access from here.',\n developerHub: 'Developer Hub',\n rhdhLocal: 'RHDH Local',\n sections: {\n documentation: 'Documentation',\n developerTools: 'Developer Tools',\n },\n },\n starred: {\n title: 'Your starred items',\n removeTooltip: 'Remove from list',\n noItemsTitle: 'No starred items yet',\n noItemsSubtitle:\n \"Click the star icon next to an entity's name to save it here for quick access.\",\n },\n notifications: {\n title: 'Notifications',\n unsupportedDismissOption:\n 'Unsupported dismiss option \"{{option}}\", currently supported \"none\", \"session\" or \"localstorage\"!',\n },\n create: {\n title: 'Self-service',\n registerComponent: {\n title: 'Register a component',\n subtitle: 'Import it to the catalog page',\n },\n templates: {\n sectionTitle: 'Use a template',\n allTemplates: 'All templates',\n errorFetching: 'Error fetching templates',\n noTemplatesAvailable: 'No templates available',\n },\n },\n};\n\n/**\n * Translation reference for the global header plugin.\n *\n * @public\n */\nexport const globalHeaderTranslationRef = createTranslationRef({\n id: 'plugin.global-header',\n messages: globalHeaderMessages,\n});\n"],"names":[],"mappings":";;AAmBO,MAAM,oBAAuB,GAAA;AAAA,EAClC,IAAM,EAAA;AAAA,IACJ,OAAS,EAAA,MAAA;AAAA,IACT,cAAgB,EAAA,kBAAA;AAAA,IAChB,sBAAwB,EAAA,mDAAA;AAAA,IACxB,UAAY,EAAA,aAAA;AAAA,IACZ,YAAc,EAAA;AAAA,GAChB;AAAA,EACA,OAAS,EAAA;AAAA,IACP,OAAS,EAAA,iBAAA;AAAA,IACT,QAAU,EAAA,UAAA;AAAA,IACV,SAAW,EAAA,YAAA;AAAA,IACX,OAAS,EAAA;AAAA,GACX;AAAA,EACA,MAAQ,EAAA;AAAA,IACN,WAAa,EAAA,WAAA;AAAA,IACb,SAAW,EAAA,kBAAA;AAAA,IACX,aAAe,EAAA;AAAA,GACjB;AAAA,EACA,mBAAqB,EAAA;AAAA,IACnB,OAAS,EAAA,sBAAA;AAAA,IACT,YAAc,EAAA,iCAAA;AAAA,IACd,eACE,EAAA,kFAAA;AAAA,IACF,YAAc,EAAA,eAAA;AAAA,IACd,SAAW,EAAA,YAAA;AAAA,IACX,QAAU,EAAA;AAAA,MACR,aAAe,EAAA,eAAA;AAAA,MACf,cAAgB,EAAA;AAAA;AAClB,GACF;AAAA,EACA,OAAS,EAAA;AAAA,IACP,KAAO,EAAA,oBAAA;AAAA,IACP,aAAe,EAAA,kBAAA;AAAA,IACf,YAAc,EAAA,sBAAA;AAAA,IACd,eACE,EAAA;AAAA,GACJ;AAAA,EACA,aAAe,EAAA;AAAA,IACb,KAAO,EAAA,eAAA;AAAA,IACP,wBACE,EAAA;AAAA,GACJ;AAAA,EACA,MAAQ,EAAA;AAAA,IACN,KAAO,EAAA,cAAA;AAAA,IACP,iBAAmB,EAAA;AAAA,MACjB,KAAO,EAAA,sBAAA;AAAA,MACP,QAAU,EAAA;AAAA,KACZ;AAAA,IACA,SAAW,EAAA;AAAA,MACT,YAAc,EAAA,gBAAA;AAAA,MACd,YAAc,EAAA,eAAA;AAAA,MACd,aAAe,EAAA,0BAAA;AAAA,MACf,oBAAsB,EAAA;AAAA;AACxB;AAEJ;AAOO,MAAM,6BAA6B,oBAAqB,CAAA;AAAA,EAC7D,EAAI,EAAA,sBAAA;AAAA,EACJ,QAAU,EAAA;AACZ,CAAC;;;;"}
|