@red-hat-developer-hub/backstage-plugin-global-header 1.21.3 → 1.21.4
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 +6 -0
- package/dist/alpha.d.ts +1 -1
- package/dist/components/SearchComponent/SearchBar.esm.js +4 -0
- package/dist/components/SearchComponent/SearchBar.esm.js.map +1 -1
- package/dist/components/SearchComponent/SearchOption.esm.js +3 -1
- package/dist/components/SearchComponent/SearchOption.esm.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/translations/de.esm.js +2 -0
- package/dist/translations/de.esm.js.map +1 -1
- package/dist/translations/es.esm.js +2 -0
- package/dist/translations/es.esm.js.map +1 -1
- package/dist/translations/fr.esm.js +2 -0
- package/dist/translations/fr.esm.js.map +1 -1
- package/dist/translations/it.esm.js +2 -0
- package/dist/translations/it.esm.js.map +1 -1
- package/dist/translations/ja.esm.js +2 -0
- package/dist/translations/ja.esm.js.map +1 -1
- package/dist/translations/ref.esm.js +3 -1
- package/dist/translations/ref.esm.js.map +1 -1
- package/dist/types/{index.d-CdKdPbQ2.d.ts → index.d-CkTBEJ9b.d.ts} +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @red-hat-developer-hub/backstage-plugin-global-header
|
|
2
2
|
|
|
3
|
+
## 1.21.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 7cf6d61: Add missing translations for the global header search experience: localize the autocomplete "All results" link and the clear control tooltip/accessible label (`search.allResults`, `search.clear`), with locale strings for German, Spanish, French, Italian, and Japanese.
|
|
8
|
+
|
|
3
9
|
## 1.21.3
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/alpha.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
|
|
2
2
|
import { ComponentType, ReactNode, ComponentProps } from 'react';
|
|
3
|
-
export { b as GlobalHeaderIconButton, H as HeaderIconButtonProps, a as globalHeaderTranslationRef, g as globalHeaderTranslations } from './types/index.d-
|
|
3
|
+
export { b as GlobalHeaderIconButton, H as HeaderIconButtonProps, a as globalHeaderTranslationRef, g as globalHeaderTranslations } from './types/index.d-CkTBEJ9b.js';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import Button from '@mui/material/Button';
|
|
6
6
|
|
|
@@ -57,6 +57,10 @@ const SearchBar = (props) => {
|
|
|
57
57
|
outline: "unset",
|
|
58
58
|
boxShadow: theme.palette.mode === "dark" ? `0 2px 6px 2px rgba(0, 0, 0, 0.50), 0 1px 2px 0 rgba(0, 0, 0, 0.50)` : "0 2px 6px 2px rgba(0, 0, 0, 0.15), 0 1px 2px 0 rgba(0, 0, 0, 0.30)"
|
|
59
59
|
}
|
|
60
|
+
},
|
|
61
|
+
clearIndicator: {
|
|
62
|
+
title: t("search.clear"),
|
|
63
|
+
"aria-label": t("search.clear")
|
|
60
64
|
}
|
|
61
65
|
},
|
|
62
66
|
sx: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchBar.esm.js","sources":["../../../src/components/SearchComponent/SearchBar.tsx"],"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 { useEffect, useRef, useState } from 'react';\nimport {\n SearchResultState,\n SearchResultProps,\n useSearch,\n} from '@backstage/plugin-search-react';\nimport Autocomplete from '@mui/material/Autocomplete';\nimport { createSearchLink } from '../../utils/stringUtils';\nimport { useNavigate } from 'react-router-dom';\nimport { SearchInput } from './SearchInput';\nimport { SearchOption } from './SearchOption';\nimport { useTheme } from '@mui/material/styles';\nimport { useDebouncedCallback } from '../../hooks/useDebouncedCallback';\nimport { useTranslation } from '../../hooks/useTranslation';\n\ninterface SearchBarProps {\n query: SearchResultProps['query'];\n setSearchTerm: (term: string) => void;\n}\nexport const SearchBar = (props: SearchBarProps) => {\n const { query, setSearchTerm } = props;\n const navigate = useNavigate();\n const theme = useTheme();\n const [highlightedIndex, setHighlightedIndex] = useState(-1);\n const highlightedIndexRef = useRef(highlightedIndex);\n const { setTerm } = useSearch();\n const { t } = useTranslation();\n\n const onInputChange = useDebouncedCallback((_, inputValue) => {\n setSearchTerm(inputValue);\n setTerm(inputValue);\n }, 300);\n\n useEffect(() => {\n highlightedIndexRef.current = highlightedIndex;\n }, [highlightedIndex]);\n\n return (\n <SearchResultState {...props}>\n {({ loading, error, value }) => {\n const results = query?.term ? value?.results ?? [] : [];\n let options: string[] = [];\n if (query?.term && results.length === 0) {\n options = [t('search.noResults')];\n }\n if (results.length > 0) {\n options = [\n ...results.map(result => result.document.title),\n `${query?.term}`,\n ];\n }\n const searchLink = createSearchLink(query?.term ?? '');\n\n return (\n <Autocomplete\n freeSolo\n options={options}\n loading={loading}\n value={query?.term ?? ''}\n getOptionLabel={option => option ?? ''}\n onInputChange={onInputChange}\n onHighlightChange={(_, option) =>\n setHighlightedIndex(options.indexOf(option ?? ''))\n }\n componentsProps={{\n paper: {\n sx: {\n '&:empty': { visibility: 'hidden' }, // Removes underline-like effect\n borderRadius: '4px',\n outline: 'unset',\n boxShadow:\n theme.palette.mode === 'dark'\n ? `0 2px 6px 2px rgba(0, 0, 0, 0.50), 0 1px 2px 0 rgba(0, 0, 0, 0.50)`\n : '0 2px 6px 2px rgba(0, 0, 0, 0.15), 0 1px 2px 0 rgba(0, 0, 0, 0.30)',\n },\n },\n }}\n sx={{\n width: '100%',\n '& [class*=\"MuiAutocomplete-clearIndicator\"]': {\n visibility: query?.term ? 'visible' : 'hidden',\n },\n }}\n filterOptions={x => x}\n onKeyDown={event => {\n const currentHighlight = highlightedIndexRef.current;\n if (event.key === 'Enter') {\n event.preventDefault();\n if (currentHighlight === -1 && query?.term) {\n navigate(searchLink);\n } else if (currentHighlight !== -1) {\n navigate(\n results[highlightedIndex]?.document?.location ?? searchLink,\n );\n }\n setHighlightedIndex(-1);\n }\n }}\n renderInput={params => (\n <SearchInput\n params={params}\n error={!!error}\n helperText={error ? t('search.errorFetching') : ''}\n />\n )}\n renderOption={(renderProps, option, { index }) => (\n <SearchOption\n option={option}\n index={index}\n options={options}\n query={query}\n results={results}\n renderProps={renderProps}\n searchLink={searchLink}\n />\n )}\n ListboxProps={{\n sx: { maxHeight: '60vh' },\n }}\n />\n );\n }}\n </SearchResultState>\n );\n};\n"],"names":[],"mappings":";;;;;;;;;;;;AAmCa,MAAA,SAAA,GAAY,CAAC,KAA0B,KAAA;AAClD,EAAM,MAAA,EAAE,KAAO,EAAA,aAAA,EAAkB,GAAA,KAAA;AACjC,EAAA,MAAM,WAAW,WAAY,EAAA;AAC7B,EAAA,MAAM,QAAQ,QAAS,EAAA;AACvB,EAAA,MAAM,CAAC,gBAAA,EAAkB,mBAAmB,CAAA,GAAI,SAAS,CAAE,CAAA,CAAA;AAC3D,EAAM,MAAA,mBAAA,GAAsB,OAAO,gBAAgB,CAAA;AACnD,EAAM,MAAA,EAAE,OAAQ,EAAA,GAAI,SAAU,EAAA;AAC9B,EAAM,MAAA,EAAE,CAAE,EAAA,GAAI,cAAe,EAAA;AAE7B,EAAA,MAAM,aAAgB,GAAA,oBAAA,CAAqB,CAAC,CAAA,EAAG,UAAe,KAAA;AAC5D,IAAA,aAAA,CAAc,UAAU,CAAA;AACxB,IAAA,OAAA,CAAQ,UAAU,CAAA;AAAA,KACjB,GAAG,CAAA;AAEN,EAAA,SAAA,CAAU,MAAM;AACd,IAAA,mBAAA,CAAoB,OAAU,GAAA,gBAAA;AAAA,GAChC,EAAG,CAAC,gBAAgB,CAAC,CAAA;AAErB,EACE,uBAAA,GAAA,CAAC,qBAAmB,GAAG,KAAA,EACpB,WAAC,EAAE,OAAA,EAAS,KAAO,EAAA,KAAA,EAAY,KAAA;AAC9B,IAAA,MAAM,UAAU,KAAO,EAAA,IAAA,GAAO,OAAO,OAAW,IAAA,KAAK,EAAC;AACtD,IAAA,IAAI,UAAoB,EAAC;AACzB,IAAA,IAAI,KAAO,EAAA,IAAA,IAAQ,OAAQ,CAAA,MAAA,KAAW,CAAG,EAAA;AACvC,MAAU,OAAA,GAAA,CAAC,CAAE,CAAA,kBAAkB,CAAC,CAAA;AAAA;AAElC,IAAI,IAAA,OAAA,CAAQ,SAAS,CAAG,EAAA;AACtB,MAAU,OAAA,GAAA;AAAA,QACR,GAAG,OAAQ,CAAA,GAAA,CAAI,CAAU,MAAA,KAAA,MAAA,CAAO,SAAS,KAAK,CAAA;AAAA,QAC9C,CAAA,EAAG,OAAO,IAAI,CAAA;AAAA,OAChB;AAAA;AAEF,IAAA,MAAM,UAAa,GAAA,gBAAA,CAAiB,KAAO,EAAA,IAAA,IAAQ,EAAE,CAAA;AAErD,IACE,uBAAA,GAAA;AAAA,MAAC,YAAA;AAAA,MAAA;AAAA,QACC,QAAQ,EAAA,IAAA;AAAA,QACR,OAAA;AAAA,QACA,OAAA;AAAA,QACA,KAAA,EAAO,OAAO,IAAQ,IAAA,EAAA;AAAA,QACtB,cAAA,EAAgB,YAAU,MAAU,IAAA,EAAA;AAAA,QACpC,aAAA;AAAA,QACA,iBAAA,EAAmB,CAAC,CAAG,EAAA,MAAA,KACrB,oBAAoB,OAAQ,CAAA,OAAA,CAAQ,MAAU,IAAA,EAAE,CAAC,CAAA;AAAA,QAEnD,eAAiB,EAAA;AAAA,UACf,KAAO,EAAA;AAAA,YACL,EAAI,EAAA;AAAA,cACF,SAAA,EAAW,EAAE,UAAA,EAAY,QAAS,EAAA;AAAA;AAAA,cAClC,YAAc,EAAA,KAAA;AAAA,cACd,OAAS,EAAA,OAAA;AAAA,cACT,SACE,EAAA,KAAA,CAAM,OAAQ,CAAA,IAAA,KAAS,SACnB,CACA,kEAAA,CAAA,GAAA;AAAA;AACR;
|
|
1
|
+
{"version":3,"file":"SearchBar.esm.js","sources":["../../../src/components/SearchComponent/SearchBar.tsx"],"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 { useEffect, useRef, useState } from 'react';\nimport {\n SearchResultState,\n SearchResultProps,\n useSearch,\n} from '@backstage/plugin-search-react';\nimport Autocomplete from '@mui/material/Autocomplete';\nimport { createSearchLink } from '../../utils/stringUtils';\nimport { useNavigate } from 'react-router-dom';\nimport { SearchInput } from './SearchInput';\nimport { SearchOption } from './SearchOption';\nimport { useTheme } from '@mui/material/styles';\nimport { useDebouncedCallback } from '../../hooks/useDebouncedCallback';\nimport { useTranslation } from '../../hooks/useTranslation';\n\ninterface SearchBarProps {\n query: SearchResultProps['query'];\n setSearchTerm: (term: string) => void;\n}\nexport const SearchBar = (props: SearchBarProps) => {\n const { query, setSearchTerm } = props;\n const navigate = useNavigate();\n const theme = useTheme();\n const [highlightedIndex, setHighlightedIndex] = useState(-1);\n const highlightedIndexRef = useRef(highlightedIndex);\n const { setTerm } = useSearch();\n const { t } = useTranslation();\n\n const onInputChange = useDebouncedCallback((_, inputValue) => {\n setSearchTerm(inputValue);\n setTerm(inputValue);\n }, 300);\n\n useEffect(() => {\n highlightedIndexRef.current = highlightedIndex;\n }, [highlightedIndex]);\n\n return (\n <SearchResultState {...props}>\n {({ loading, error, value }) => {\n const results = query?.term ? value?.results ?? [] : [];\n let options: string[] = [];\n if (query?.term && results.length === 0) {\n options = [t('search.noResults')];\n }\n if (results.length > 0) {\n options = [\n ...results.map(result => result.document.title),\n `${query?.term}`,\n ];\n }\n const searchLink = createSearchLink(query?.term ?? '');\n\n return (\n <Autocomplete\n freeSolo\n options={options}\n loading={loading}\n value={query?.term ?? ''}\n getOptionLabel={option => option ?? ''}\n onInputChange={onInputChange}\n onHighlightChange={(_, option) =>\n setHighlightedIndex(options.indexOf(option ?? ''))\n }\n componentsProps={{\n paper: {\n sx: {\n '&:empty': { visibility: 'hidden' }, // Removes underline-like effect\n borderRadius: '4px',\n outline: 'unset',\n boxShadow:\n theme.palette.mode === 'dark'\n ? `0 2px 6px 2px rgba(0, 0, 0, 0.50), 0 1px 2px 0 rgba(0, 0, 0, 0.50)`\n : '0 2px 6px 2px rgba(0, 0, 0, 0.15), 0 1px 2px 0 rgba(0, 0, 0, 0.30)',\n },\n },\n clearIndicator: {\n title: t('search.clear'),\n 'aria-label': t('search.clear'),\n },\n }}\n sx={{\n width: '100%',\n '& [class*=\"MuiAutocomplete-clearIndicator\"]': {\n visibility: query?.term ? 'visible' : 'hidden',\n },\n }}\n filterOptions={x => x}\n onKeyDown={event => {\n const currentHighlight = highlightedIndexRef.current;\n if (event.key === 'Enter') {\n event.preventDefault();\n if (currentHighlight === -1 && query?.term) {\n navigate(searchLink);\n } else if (currentHighlight !== -1) {\n navigate(\n results[highlightedIndex]?.document?.location ?? searchLink,\n );\n }\n setHighlightedIndex(-1);\n }\n }}\n renderInput={params => (\n <SearchInput\n params={params}\n error={!!error}\n helperText={error ? t('search.errorFetching') : ''}\n />\n )}\n renderOption={(renderProps, option, { index }) => (\n <SearchOption\n option={option}\n index={index}\n options={options}\n query={query}\n results={results}\n renderProps={renderProps}\n searchLink={searchLink}\n />\n )}\n ListboxProps={{\n sx: { maxHeight: '60vh' },\n }}\n />\n );\n }}\n </SearchResultState>\n );\n};\n"],"names":[],"mappings":";;;;;;;;;;;;AAmCa,MAAA,SAAA,GAAY,CAAC,KAA0B,KAAA;AAClD,EAAM,MAAA,EAAE,KAAO,EAAA,aAAA,EAAkB,GAAA,KAAA;AACjC,EAAA,MAAM,WAAW,WAAY,EAAA;AAC7B,EAAA,MAAM,QAAQ,QAAS,EAAA;AACvB,EAAA,MAAM,CAAC,gBAAA,EAAkB,mBAAmB,CAAA,GAAI,SAAS,CAAE,CAAA,CAAA;AAC3D,EAAM,MAAA,mBAAA,GAAsB,OAAO,gBAAgB,CAAA;AACnD,EAAM,MAAA,EAAE,OAAQ,EAAA,GAAI,SAAU,EAAA;AAC9B,EAAM,MAAA,EAAE,CAAE,EAAA,GAAI,cAAe,EAAA;AAE7B,EAAA,MAAM,aAAgB,GAAA,oBAAA,CAAqB,CAAC,CAAA,EAAG,UAAe,KAAA;AAC5D,IAAA,aAAA,CAAc,UAAU,CAAA;AACxB,IAAA,OAAA,CAAQ,UAAU,CAAA;AAAA,KACjB,GAAG,CAAA;AAEN,EAAA,SAAA,CAAU,MAAM;AACd,IAAA,mBAAA,CAAoB,OAAU,GAAA,gBAAA;AAAA,GAChC,EAAG,CAAC,gBAAgB,CAAC,CAAA;AAErB,EACE,uBAAA,GAAA,CAAC,qBAAmB,GAAG,KAAA,EACpB,WAAC,EAAE,OAAA,EAAS,KAAO,EAAA,KAAA,EAAY,KAAA;AAC9B,IAAA,MAAM,UAAU,KAAO,EAAA,IAAA,GAAO,OAAO,OAAW,IAAA,KAAK,EAAC;AACtD,IAAA,IAAI,UAAoB,EAAC;AACzB,IAAA,IAAI,KAAO,EAAA,IAAA,IAAQ,OAAQ,CAAA,MAAA,KAAW,CAAG,EAAA;AACvC,MAAU,OAAA,GAAA,CAAC,CAAE,CAAA,kBAAkB,CAAC,CAAA;AAAA;AAElC,IAAI,IAAA,OAAA,CAAQ,SAAS,CAAG,EAAA;AACtB,MAAU,OAAA,GAAA;AAAA,QACR,GAAG,OAAQ,CAAA,GAAA,CAAI,CAAU,MAAA,KAAA,MAAA,CAAO,SAAS,KAAK,CAAA;AAAA,QAC9C,CAAA,EAAG,OAAO,IAAI,CAAA;AAAA,OAChB;AAAA;AAEF,IAAA,MAAM,UAAa,GAAA,gBAAA,CAAiB,KAAO,EAAA,IAAA,IAAQ,EAAE,CAAA;AAErD,IACE,uBAAA,GAAA;AAAA,MAAC,YAAA;AAAA,MAAA;AAAA,QACC,QAAQ,EAAA,IAAA;AAAA,QACR,OAAA;AAAA,QACA,OAAA;AAAA,QACA,KAAA,EAAO,OAAO,IAAQ,IAAA,EAAA;AAAA,QACtB,cAAA,EAAgB,YAAU,MAAU,IAAA,EAAA;AAAA,QACpC,aAAA;AAAA,QACA,iBAAA,EAAmB,CAAC,CAAG,EAAA,MAAA,KACrB,oBAAoB,OAAQ,CAAA,OAAA,CAAQ,MAAU,IAAA,EAAE,CAAC,CAAA;AAAA,QAEnD,eAAiB,EAAA;AAAA,UACf,KAAO,EAAA;AAAA,YACL,EAAI,EAAA;AAAA,cACF,SAAA,EAAW,EAAE,UAAA,EAAY,QAAS,EAAA;AAAA;AAAA,cAClC,YAAc,EAAA,KAAA;AAAA,cACd,OAAS,EAAA,OAAA;AAAA,cACT,SACE,EAAA,KAAA,CAAM,OAAQ,CAAA,IAAA,KAAS,SACnB,CACA,kEAAA,CAAA,GAAA;AAAA;AACR,WACF;AAAA,UACA,cAAgB,EAAA;AAAA,YACd,KAAA,EAAO,EAAE,cAAc,CAAA;AAAA,YACvB,YAAA,EAAc,EAAE,cAAc;AAAA;AAChC,SACF;AAAA,QACA,EAAI,EAAA;AAAA,UACF,KAAO,EAAA,MAAA;AAAA,UACP,6CAA+C,EAAA;AAAA,YAC7C,UAAA,EAAY,KAAO,EAAA,IAAA,GAAO,SAAY,GAAA;AAAA;AACxC,SACF;AAAA,QACA,eAAe,CAAK,CAAA,KAAA,CAAA;AAAA,QACpB,WAAW,CAAS,KAAA,KAAA;AAClB,UAAA,MAAM,mBAAmB,mBAAoB,CAAA,OAAA;AAC7C,UAAI,IAAA,KAAA,CAAM,QAAQ,OAAS,EAAA;AACzB,YAAA,KAAA,CAAM,cAAe,EAAA;AACrB,YAAI,IAAA,gBAAA,KAAqB,CAAM,CAAA,IAAA,KAAA,EAAO,IAAM,EAAA;AAC1C,cAAA,QAAA,CAAS,UAAU,CAAA;AAAA,aACrB,MAAA,IAAW,qBAAqB,CAAI,CAAA,EAAA;AAClC,cAAA,QAAA;AAAA,gBACE,OAAQ,CAAA,gBAAgB,CAAG,EAAA,QAAA,EAAU,QAAY,IAAA;AAAA,eACnD;AAAA;AAEF,YAAA,mBAAA,CAAoB,CAAE,CAAA,CAAA;AAAA;AACxB,SACF;AAAA,QACA,aAAa,CACX,MAAA,qBAAA,GAAA;AAAA,UAAC,WAAA;AAAA,UAAA;AAAA,YACC,MAAA;AAAA,YACA,KAAA,EAAO,CAAC,CAAC,KAAA;AAAA,YACT,UAAY,EAAA,KAAA,GAAQ,CAAE,CAAA,sBAAsB,CAAI,GAAA;AAAA;AAAA,SAClD;AAAA,QAEF,cAAc,CAAC,WAAA,EAAa,MAAQ,EAAA,EAAE,OACpC,qBAAA,GAAA;AAAA,UAAC,YAAA;AAAA,UAAA;AAAA,YACC,MAAA;AAAA,YACA,KAAA;AAAA,YACA,OAAA;AAAA,YACA,KAAA;AAAA,YACA,OAAA;AAAA,YACA,WAAA;AAAA,YACA;AAAA;AAAA,SACF;AAAA,QAEF,YAAc,EAAA;AAAA,UACZ,EAAA,EAAI,EAAE,SAAA,EAAW,MAAO;AAAA;AAC1B;AAAA,KACF;AAAA,GAGN,EAAA,CAAA;AAEJ;;;;"}
|
|
@@ -6,6 +6,7 @@ import ListItem from '@mui/material/ListItem';
|
|
|
6
6
|
import Typography from '@mui/material/Typography';
|
|
7
7
|
import ArrowForwardIcon from '@mui/icons-material/ArrowForward';
|
|
8
8
|
import { SearchResultItem } from './SearchResultItem.esm.js';
|
|
9
|
+
import { useTranslation } from '../../hooks/useTranslation.esm.js';
|
|
9
10
|
|
|
10
11
|
const SearchOption = ({
|
|
11
12
|
option,
|
|
@@ -16,6 +17,7 @@ const SearchOption = ({
|
|
|
16
17
|
renderProps,
|
|
17
18
|
searchLink
|
|
18
19
|
}) => {
|
|
20
|
+
const { t } = useTranslation();
|
|
19
21
|
if (option === query?.term && index === options.length - 1) {
|
|
20
22
|
return /* @__PURE__ */ jsxs(Box, { id: "all-results", children: [
|
|
21
23
|
/* @__PURE__ */ jsx(Divider, { sx: { my: 0.5 } }),
|
|
@@ -26,7 +28,7 @@ const SearchOption = ({
|
|
|
26
28
|
sx: { my: 0 },
|
|
27
29
|
className: "allResultsOption",
|
|
28
30
|
children: /* @__PURE__ */ jsxs(Box, { sx: { display: "flex", alignItems: "center" }, children: [
|
|
29
|
-
/* @__PURE__ */ jsx(Typography, { sx: { flexGrow: 1 }, children: "
|
|
31
|
+
/* @__PURE__ */ jsx(Typography, { sx: { flexGrow: 1 }, children: t("search.allResults") }),
|
|
30
32
|
/* @__PURE__ */ jsx(ArrowForwardIcon, { fontSize: "small" })
|
|
31
33
|
] })
|
|
32
34
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchOption.esm.js","sources":["../../../src/components/SearchComponent/SearchOption.tsx"],"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 Box from '@mui/material/Box';\nimport Divider from '@mui/material/Divider';\nimport { Link } from '@backstage/core-components';\nimport ListItem from '@mui/material/ListItem';\nimport Typography from '@mui/material/Typography';\nimport ArrowForwardIcon from '@mui/icons-material/ArrowForward';\nimport { SearchResultItem } from './SearchResultItem';\nimport { Result, SearchDocument } from '@backstage/plugin-search-common';\nimport { SearchResultProps } from '@backstage/plugin-search-react';\n\ninterface SearchOptionProps {\n option: string;\n index: number;\n options: string[];\n query: SearchResultProps['query'];\n results: Result<SearchDocument>[];\n renderProps: any;\n searchLink: string;\n}\n\nexport const SearchOption = ({\n option,\n index,\n options,\n query,\n results,\n renderProps,\n searchLink,\n}: SearchOptionProps) => {\n if (option === query?.term && index === options.length - 1) {\n return (\n <Box key=\"all-results\" id=\"all-results\">\n <Divider sx={{ my: 0.5 }} />\n <Link to={searchLink} underline=\"none\">\n <ListItem\n {...renderProps}\n sx={{ my: 0 }}\n className=\"allResultsOption\"\n >\n <Box sx={{ display: 'flex', alignItems: 'center' }}>\n <Typography sx={{ flexGrow: 1 }}
|
|
1
|
+
{"version":3,"file":"SearchOption.esm.js","sources":["../../../src/components/SearchComponent/SearchOption.tsx"],"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 Box from '@mui/material/Box';\nimport Divider from '@mui/material/Divider';\nimport { Link } from '@backstage/core-components';\nimport ListItem from '@mui/material/ListItem';\nimport Typography from '@mui/material/Typography';\nimport ArrowForwardIcon from '@mui/icons-material/ArrowForward';\nimport { SearchResultItem } from './SearchResultItem';\nimport { Result, SearchDocument } from '@backstage/plugin-search-common';\nimport { SearchResultProps } from '@backstage/plugin-search-react';\nimport { useTranslation } from '../../hooks/useTranslation';\n\ninterface SearchOptionProps {\n option: string;\n index: number;\n options: string[];\n query: SearchResultProps['query'];\n results: Result<SearchDocument>[];\n renderProps: any;\n searchLink: string;\n}\n\nexport const SearchOption = ({\n option,\n index,\n options,\n query,\n results,\n renderProps,\n searchLink,\n}: SearchOptionProps) => {\n const { t } = useTranslation();\n\n if (option === query?.term && index === options.length - 1) {\n return (\n <Box key=\"all-results\" id=\"all-results\">\n <Divider sx={{ my: 0.5 }} />\n <Link to={searchLink} underline=\"none\">\n <ListItem\n {...renderProps}\n sx={{ my: 0 }}\n className=\"allResultsOption\"\n >\n <Box sx={{ display: 'flex', alignItems: 'center' }}>\n <Typography sx={{ flexGrow: 1 }}>\n {t('search.allResults')}\n </Typography>\n <ArrowForwardIcon fontSize=\"small\" />\n </Box>\n </ListItem>\n </Link>\n </Box>\n );\n }\n\n const result = results.find(r => r.document.title === option);\n return (\n <SearchResultItem\n key={index}\n option={option}\n query={query}\n result={result}\n renderProps={renderProps}\n />\n );\n};\n"],"names":[],"mappings":";;;;;;;;;;AAqCO,MAAM,eAAe,CAAC;AAAA,EAC3B,MAAA;AAAA,EACA,KAAA;AAAA,EACA,OAAA;AAAA,EACA,KAAA;AAAA,EACA,OAAA;AAAA,EACA,WAAA;AAAA,EACA;AACF,CAAyB,KAAA;AACvB,EAAM,MAAA,EAAE,CAAE,EAAA,GAAI,cAAe,EAAA;AAE7B,EAAA,IAAI,WAAW,KAAO,EAAA,IAAA,IAAQ,KAAU,KAAA,OAAA,CAAQ,SAAS,CAAG,EAAA;AAC1D,IACE,uBAAA,IAAA,CAAC,GAAsB,EAAA,EAAA,EAAA,EAAG,aACxB,EAAA,QAAA,EAAA;AAAA,sBAAA,GAAA,CAAC,OAAQ,EAAA,EAAA,EAAA,EAAI,EAAE,EAAA,EAAI,KAAO,EAAA,CAAA;AAAA,sBACzB,GAAA,CAAA,IAAA,EAAA,EAAK,EAAI,EAAA,UAAA,EAAY,WAAU,MAC9B,EAAA,QAAA,kBAAA,GAAA;AAAA,QAAC,QAAA;AAAA,QAAA;AAAA,UACE,GAAG,WAAA;AAAA,UACJ,EAAA,EAAI,EAAE,EAAA,EAAI,CAAE,EAAA;AAAA,UACZ,SAAU,EAAA,kBAAA;AAAA,UAEV,QAAA,kBAAA,IAAA,CAAC,OAAI,EAAI,EAAA,EAAE,SAAS,MAAQ,EAAA,UAAA,EAAY,UACtC,EAAA,QAAA,EAAA;AAAA,4BAAC,GAAA,CAAA,UAAA,EAAA,EAAW,IAAI,EAAE,QAAA,EAAU,GACzB,EAAA,QAAA,EAAA,CAAA,CAAE,mBAAmB,CACxB,EAAA,CAAA;AAAA,4BACA,GAAA,CAAC,gBAAiB,EAAA,EAAA,QAAA,EAAS,OAAQ,EAAA;AAAA,WACrC,EAAA;AAAA;AAAA,OAEJ,EAAA;AAAA,KAAA,EAAA,EAfO,aAgBT,CAAA;AAAA;AAIJ,EAAA,MAAM,SAAS,OAAQ,CAAA,IAAA,CAAK,OAAK,CAAE,CAAA,QAAA,CAAS,UAAU,MAAM,CAAA;AAC5D,EACE,uBAAA,GAAA;AAAA,IAAC,gBAAA;AAAA,IAAA;AAAA,MAEC,MAAA;AAAA,MACA,KAAA;AAAA,MACA,MAAA;AAAA,MACA;AAAA,KAAA;AAAA,IAJK;AAAA,GAKP;AAEJ;;;;"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentType, CSSProperties } from 'react';
|
|
2
|
-
import { H as HeaderIconButtonProps } from './types/index.d-
|
|
3
|
-
export { a as globalHeaderTranslationRef, g as globalHeaderTranslations } from './types/index.d-
|
|
2
|
+
import { H as HeaderIconButtonProps } from './types/index.d-CkTBEJ9b.js';
|
|
3
|
+
export { a as globalHeaderTranslationRef, g as globalHeaderTranslations } from './types/index.d-CkTBEJ9b.js';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
|
|
6
6
|
import { MenuItemProps } from '@mui/material/MenuItem';
|
|
@@ -16,6 +16,8 @@ const globalHeaderTranslationDe = createTranslationMessages({
|
|
|
16
16
|
"search.placeholder": "Suchen...",
|
|
17
17
|
"search.noResults": "Keine Ergebnisse gefunden",
|
|
18
18
|
"search.errorFetching": "Fehler beim Abrufen der Ergebnisse",
|
|
19
|
+
"search.allResults": "Alle Ergebnisse",
|
|
20
|
+
"search.clear": "L\xF6schen",
|
|
19
21
|
"applicationLauncher.tooltip": "Anwendungsstartprogramm",
|
|
20
22
|
"applicationLauncher.noLinksTitle": "Keine Anwendungsverkn\xFCpfungen konfiguriert",
|
|
21
23
|
"applicationLauncher.noLinksSubtitle": "Konfigurieren Sie Anwendungsverkn\xFCpfungen in der dynamischen Plugin-Konfiguration, um von hier aus schnell darauf zugreifen zu k\xF6nnen.",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"de.esm.js","sources":["../../src/translations/de.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\n/**\n * de translation for plugin.global-header.\n * @public\n */\nconst globalHeaderTranslationDe = createTranslationMessages({\n ref: globalHeaderTranslationRef,\n messages: {\n 'help.tooltip': 'Hilfe',\n 'help.noSupportLinks': 'Keine Support-Verknüpfungen',\n 'help.noSupportLinksSubtitle':\n 'Ihr Administrator muss Support-Verknüpfungen einrichten.',\n 'help.quickStart': 'Schnellstart',\n 'help.supportTitle': 'Support',\n 'profile.picture': 'Profilbild',\n 'profile.settings': 'Einstellungen',\n 'profile.myProfile': 'Mein Profil',\n 'profile.signOut': 'Abmelden',\n 'search.placeholder': 'Suchen...',\n 'search.noResults': 'Keine Ergebnisse gefunden',\n 'search.errorFetching': 'Fehler beim Abrufen der Ergebnisse',\n 'applicationLauncher.tooltip': 'Anwendungsstartprogramm',\n 'applicationLauncher.noLinksTitle':\n 'Keine Anwendungsverknüpfungen konfiguriert',\n 'applicationLauncher.noLinksSubtitle':\n 'Konfigurieren Sie Anwendungsverknüpfungen in der dynamischen Plugin-Konfiguration, um von hier aus schnell darauf zugreifen zu können.',\n 'applicationLauncher.developerHub': 'Developer Hub',\n 'applicationLauncher.rhdhLocal': 'RHDH Local',\n 'applicationLauncher.sections.documentation': 'Dokumentation',\n 'applicationLauncher.sections.developerTools': 'Entwicklertools',\n 'starred.title': 'Ihre markierten Elemente',\n 'starred.removeTooltip': 'Aus der Liste entfernen',\n 'starred.noItemsTitle': 'Noch keine markierten Elemente',\n 'starred.noItemsSubtitle':\n 'Klicken Sie auf das Sternsymbol neben dem Namen eines Elements, um es hier für den Schnellzugriff zu speichern.',\n 'notifications.title': 'Benachrichtigungen',\n 'notifications.unsupportedDismissOption':\n 'Option \"{{option}}\" zum Verwerfen nicht unterstützt; aktuell werden \"none\", \"session\" oder \"localstorage\" unterstützt.',\n 'create.title': 'Self-Service',\n 'create.registerComponent.title': 'Komponente registrieren',\n 'create.registerComponent.subtitle': 'Zum Katalog importieren',\n 'create.templates.sectionTitle': 'Vorlage verwenden',\n 'create.templates.allTemplates': 'Alle Vorlagen',\n 'create.templates.errorFetching': 'Fehler beim Abrufen der Vorlagen',\n 'create.templates.noTemplatesAvailable': 'Keine Vorlagen verfügbar',\n },\n});\n\nexport default globalHeaderTranslationDe;\n"],"names":[],"mappings":";;;AAuBA,MAAM,4BAA4B,yBAA0B,CAAA;AAAA,EAC1D,GAAK,EAAA,0BAAA;AAAA,EACL,QAAU,EAAA;AAAA,IACR,cAAgB,EAAA,OAAA;AAAA,IAChB,qBAAuB,EAAA,gCAAA;AAAA,IACvB,6BACE,EAAA,6DAAA;AAAA,IACF,iBAAmB,EAAA,cAAA;AAAA,IACnB,mBAAqB,EAAA,SAAA;AAAA,IACrB,iBAAmB,EAAA,YAAA;AAAA,IACnB,kBAAoB,EAAA,eAAA;AAAA,IACpB,mBAAqB,EAAA,aAAA;AAAA,IACrB,iBAAmB,EAAA,UAAA;AAAA,IACnB,oBAAsB,EAAA,WAAA;AAAA,IACtB,kBAAoB,EAAA,2BAAA;AAAA,IACpB,sBAAwB,EAAA,oCAAA;AAAA,IACxB,6BAA+B,EAAA,yBAAA;AAAA,IAC/B,kCACE,EAAA,+CAAA;AAAA,IACF,qCACE,EAAA,8IAAA;AAAA,IACF,kCAAoC,EAAA,eAAA;AAAA,IACpC,+BAAiC,EAAA,YAAA;AAAA,IACjC,4CAA8C,EAAA,eAAA;AAAA,IAC9C,6CAA+C,EAAA,iBAAA;AAAA,IAC/C,eAAiB,EAAA,0BAAA;AAAA,IACjB,uBAAyB,EAAA,yBAAA;AAAA,IACzB,sBAAwB,EAAA,gCAAA;AAAA,IACxB,yBACE,EAAA,oHAAA;AAAA,IACF,qBAAuB,EAAA,oBAAA;AAAA,IACvB,wCACE,EAAA,8HAAA;AAAA,IACF,cAAgB,EAAA,cAAA;AAAA,IAChB,gCAAkC,EAAA,yBAAA;AAAA,IAClC,mCAAqC,EAAA,yBAAA;AAAA,IACrC,+BAAiC,EAAA,mBAAA;AAAA,IACjC,+BAAiC,EAAA,eAAA;AAAA,IACjC,gCAAkC,EAAA,kCAAA;AAAA,IAClC,uCAAyC,EAAA;AAAA;AAE7C,CAAC;;;;"}
|
|
1
|
+
{"version":3,"file":"de.esm.js","sources":["../../src/translations/de.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\n/**\n * de translation for plugin.global-header.\n * @public\n */\nconst globalHeaderTranslationDe = createTranslationMessages({\n ref: globalHeaderTranslationRef,\n messages: {\n 'help.tooltip': 'Hilfe',\n 'help.noSupportLinks': 'Keine Support-Verknüpfungen',\n 'help.noSupportLinksSubtitle':\n 'Ihr Administrator muss Support-Verknüpfungen einrichten.',\n 'help.quickStart': 'Schnellstart',\n 'help.supportTitle': 'Support',\n 'profile.picture': 'Profilbild',\n 'profile.settings': 'Einstellungen',\n 'profile.myProfile': 'Mein Profil',\n 'profile.signOut': 'Abmelden',\n 'search.placeholder': 'Suchen...',\n 'search.noResults': 'Keine Ergebnisse gefunden',\n 'search.errorFetching': 'Fehler beim Abrufen der Ergebnisse',\n 'search.allResults': 'Alle Ergebnisse',\n 'search.clear': 'Löschen',\n 'applicationLauncher.tooltip': 'Anwendungsstartprogramm',\n 'applicationLauncher.noLinksTitle':\n 'Keine Anwendungsverknüpfungen konfiguriert',\n 'applicationLauncher.noLinksSubtitle':\n 'Konfigurieren Sie Anwendungsverknüpfungen in der dynamischen Plugin-Konfiguration, um von hier aus schnell darauf zugreifen zu können.',\n 'applicationLauncher.developerHub': 'Developer Hub',\n 'applicationLauncher.rhdhLocal': 'RHDH Local',\n 'applicationLauncher.sections.documentation': 'Dokumentation',\n 'applicationLauncher.sections.developerTools': 'Entwicklertools',\n 'starred.title': 'Ihre markierten Elemente',\n 'starred.removeTooltip': 'Aus der Liste entfernen',\n 'starred.noItemsTitle': 'Noch keine markierten Elemente',\n 'starred.noItemsSubtitle':\n 'Klicken Sie auf das Sternsymbol neben dem Namen eines Elements, um es hier für den Schnellzugriff zu speichern.',\n 'notifications.title': 'Benachrichtigungen',\n 'notifications.unsupportedDismissOption':\n 'Option \"{{option}}\" zum Verwerfen nicht unterstützt; aktuell werden \"none\", \"session\" oder \"localstorage\" unterstützt.',\n 'create.title': 'Self-Service',\n 'create.registerComponent.title': 'Komponente registrieren',\n 'create.registerComponent.subtitle': 'Zum Katalog importieren',\n 'create.templates.sectionTitle': 'Vorlage verwenden',\n 'create.templates.allTemplates': 'Alle Vorlagen',\n 'create.templates.errorFetching': 'Fehler beim Abrufen der Vorlagen',\n 'create.templates.noTemplatesAvailable': 'Keine Vorlagen verfügbar',\n },\n});\n\nexport default globalHeaderTranslationDe;\n"],"names":[],"mappings":";;;AAuBA,MAAM,4BAA4B,yBAA0B,CAAA;AAAA,EAC1D,GAAK,EAAA,0BAAA;AAAA,EACL,QAAU,EAAA;AAAA,IACR,cAAgB,EAAA,OAAA;AAAA,IAChB,qBAAuB,EAAA,gCAAA;AAAA,IACvB,6BACE,EAAA,6DAAA;AAAA,IACF,iBAAmB,EAAA,cAAA;AAAA,IACnB,mBAAqB,EAAA,SAAA;AAAA,IACrB,iBAAmB,EAAA,YAAA;AAAA,IACnB,kBAAoB,EAAA,eAAA;AAAA,IACpB,mBAAqB,EAAA,aAAA;AAAA,IACrB,iBAAmB,EAAA,UAAA;AAAA,IACnB,oBAAsB,EAAA,WAAA;AAAA,IACtB,kBAAoB,EAAA,2BAAA;AAAA,IACpB,sBAAwB,EAAA,oCAAA;AAAA,IACxB,mBAAqB,EAAA,iBAAA;AAAA,IACrB,cAAgB,EAAA,YAAA;AAAA,IAChB,6BAA+B,EAAA,yBAAA;AAAA,IAC/B,kCACE,EAAA,+CAAA;AAAA,IACF,qCACE,EAAA,8IAAA;AAAA,IACF,kCAAoC,EAAA,eAAA;AAAA,IACpC,+BAAiC,EAAA,YAAA;AAAA,IACjC,4CAA8C,EAAA,eAAA;AAAA,IAC9C,6CAA+C,EAAA,iBAAA;AAAA,IAC/C,eAAiB,EAAA,0BAAA;AAAA,IACjB,uBAAyB,EAAA,yBAAA;AAAA,IACzB,sBAAwB,EAAA,gCAAA;AAAA,IACxB,yBACE,EAAA,oHAAA;AAAA,IACF,qBAAuB,EAAA,oBAAA;AAAA,IACvB,wCACE,EAAA,8HAAA;AAAA,IACF,cAAgB,EAAA,cAAA;AAAA,IAChB,gCAAkC,EAAA,yBAAA;AAAA,IAClC,mCAAqC,EAAA,yBAAA;AAAA,IACrC,+BAAiC,EAAA,mBAAA;AAAA,IACjC,+BAAiC,EAAA,eAAA;AAAA,IACjC,gCAAkC,EAAA,kCAAA;AAAA,IAClC,uCAAyC,EAAA;AAAA;AAE7C,CAAC;;;;"}
|
|
@@ -16,6 +16,8 @@ const globalHeaderTranslationEs = createTranslationMessages({
|
|
|
16
16
|
"search.placeholder": "Buscar...",
|
|
17
17
|
"search.noResults": "No se encontraron resultados",
|
|
18
18
|
"search.errorFetching": "Error al extraer los resultados",
|
|
19
|
+
"search.allResults": "Todos los resultados",
|
|
20
|
+
"search.clear": "Limpiar",
|
|
19
21
|
"applicationLauncher.tooltip": "Iniciador de aplicaciones",
|
|
20
22
|
"applicationLauncher.noLinksTitle": "No hay enlaces de aplicaci\xF3n configurados",
|
|
21
23
|
"applicationLauncher.noLinksSubtitle": "Configure los enlaces de aplicaci\xF3n en la configuraci\xF3n del complemento din\xE1mico para obtener acceso r\xE1pido desde aqu\xED.",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"es.esm.js","sources":["../../src/translations/es.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\n/**\n * es translation for plugin.global-header.\n * @public\n */\nconst globalHeaderTranslationEs = createTranslationMessages({\n ref: globalHeaderTranslationRef,\n messages: {\n 'help.tooltip': 'Ayuda',\n 'help.noSupportLinks': 'No hay enlaces de soporte',\n 'help.noSupportLinksSubtitle':\n 'Su administrador debe configurar enlaces de soporte.',\n 'help.quickStart': 'Inicio rápido',\n 'help.supportTitle': 'Soporte',\n 'profile.picture': 'Foto de perfil',\n 'profile.settings': 'Configuración',\n 'profile.myProfile': 'Mi perfil',\n 'profile.signOut': 'Cerrar sesión',\n 'search.placeholder': 'Buscar...',\n 'search.noResults': 'No se encontraron resultados',\n 'search.errorFetching': 'Error al extraer los resultados',\n 'applicationLauncher.tooltip': 'Iniciador de aplicaciones',\n 'applicationLauncher.noLinksTitle':\n 'No hay enlaces de aplicación configurados',\n 'applicationLauncher.noLinksSubtitle':\n 'Configure los enlaces de aplicación en la configuración del complemento dinámico para obtener acceso rápido desde aquí.',\n 'applicationLauncher.developerHub': 'Developer Hub',\n 'applicationLauncher.rhdhLocal': 'RHDH Local',\n 'applicationLauncher.sections.documentation': 'Documentación',\n 'applicationLauncher.sections.developerTools':\n 'Herramientas para desarrolladores',\n 'starred.title': 'Sus artículos destacados',\n 'starred.removeTooltip': 'Eliminar de la lista',\n 'starred.noItemsTitle': 'Aún no hay elementos destacados',\n 'starred.noItemsSubtitle':\n 'Haga clic en el icono de la estrella junto al nombre de una entidad para guardarla aquí y acceder a ella rápidamente.',\n 'notifications.title': 'Notificaciones',\n 'notifications.unsupportedDismissOption':\n 'Opción para desestimar \"{{option}}\" no admitida. Opciones admitidas actualmente: \"none\", \"session\" o \"localstorage\".',\n 'create.title': 'Autoservicio',\n 'create.registerComponent.title': 'Registrar un componente',\n 'create.registerComponent.subtitle': 'Importarlo a la página de catálogo',\n 'create.templates.sectionTitle': 'Usar una plantilla',\n 'create.templates.allTemplates': 'Todas las plantillas',\n 'create.templates.errorFetching': 'Error al obtener plantillas',\n 'create.templates.noTemplatesAvailable': 'No hay plantillas disponibles',\n },\n});\n\nexport default globalHeaderTranslationEs;\n"],"names":[],"mappings":";;;AAuBA,MAAM,4BAA4B,yBAA0B,CAAA;AAAA,EAC1D,GAAK,EAAA,0BAAA;AAAA,EACL,QAAU,EAAA;AAAA,IACR,cAAgB,EAAA,OAAA;AAAA,IAChB,qBAAuB,EAAA,2BAAA;AAAA,IACvB,6BACE,EAAA,sDAAA;AAAA,IACF,iBAAmB,EAAA,kBAAA;AAAA,IACnB,mBAAqB,EAAA,SAAA;AAAA,IACrB,iBAAmB,EAAA,gBAAA;AAAA,IACnB,kBAAoB,EAAA,kBAAA;AAAA,IACpB,mBAAqB,EAAA,WAAA;AAAA,IACrB,iBAAmB,EAAA,kBAAA;AAAA,IACnB,oBAAsB,EAAA,WAAA;AAAA,IACtB,kBAAoB,EAAA,8BAAA;AAAA,IACpB,sBAAwB,EAAA,iCAAA;AAAA,IACxB,6BAA+B,EAAA,2BAAA;AAAA,IAC/B,kCACE,EAAA,8CAAA;AAAA,IACF,qCACE,EAAA,wIAAA;AAAA,IACF,kCAAoC,EAAA,kBAAA;AAAA,IACpC,+BAAiC,EAAA,YAAA;AAAA,IACjC,4CAA8C,EAAA,kBAAA;AAAA,IAC9C,6CACE,EAAA,mCAAA;AAAA,IACF,eAAiB,EAAA,6BAAA;AAAA,IACjB,uBAAyB,EAAA,sBAAA;AAAA,IACzB,sBAAwB,EAAA,oCAAA;AAAA,IACxB,yBACE,EAAA,6HAAA;AAAA,IACF,qBAAuB,EAAA,gBAAA;AAAA,IACvB,wCACE,EAAA,yHAAA;AAAA,IACF,cAAgB,EAAA,cAAA;AAAA,IAChB,gCAAkC,EAAA,yBAAA;AAAA,IAClC,mCAAqC,EAAA,0CAAA;AAAA,IACrC,+BAAiC,EAAA,oBAAA;AAAA,IACjC,+BAAiC,EAAA,sBAAA;AAAA,IACjC,gCAAkC,EAAA,6BAAA;AAAA,IAClC,uCAAyC,EAAA;AAAA;AAE7C,CAAC;;;;"}
|
|
1
|
+
{"version":3,"file":"es.esm.js","sources":["../../src/translations/es.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\n/**\n * es translation for plugin.global-header.\n * @public\n */\nconst globalHeaderTranslationEs = createTranslationMessages({\n ref: globalHeaderTranslationRef,\n messages: {\n 'help.tooltip': 'Ayuda',\n 'help.noSupportLinks': 'No hay enlaces de soporte',\n 'help.noSupportLinksSubtitle':\n 'Su administrador debe configurar enlaces de soporte.',\n 'help.quickStart': 'Inicio rápido',\n 'help.supportTitle': 'Soporte',\n 'profile.picture': 'Foto de perfil',\n 'profile.settings': 'Configuración',\n 'profile.myProfile': 'Mi perfil',\n 'profile.signOut': 'Cerrar sesión',\n 'search.placeholder': 'Buscar...',\n 'search.noResults': 'No se encontraron resultados',\n 'search.errorFetching': 'Error al extraer los resultados',\n 'search.allResults': 'Todos los resultados',\n 'search.clear': 'Limpiar',\n 'applicationLauncher.tooltip': 'Iniciador de aplicaciones',\n 'applicationLauncher.noLinksTitle':\n 'No hay enlaces de aplicación configurados',\n 'applicationLauncher.noLinksSubtitle':\n 'Configure los enlaces de aplicación en la configuración del complemento dinámico para obtener acceso rápido desde aquí.',\n 'applicationLauncher.developerHub': 'Developer Hub',\n 'applicationLauncher.rhdhLocal': 'RHDH Local',\n 'applicationLauncher.sections.documentation': 'Documentación',\n 'applicationLauncher.sections.developerTools':\n 'Herramientas para desarrolladores',\n 'starred.title': 'Sus artículos destacados',\n 'starred.removeTooltip': 'Eliminar de la lista',\n 'starred.noItemsTitle': 'Aún no hay elementos destacados',\n 'starred.noItemsSubtitle':\n 'Haga clic en el icono de la estrella junto al nombre de una entidad para guardarla aquí y acceder a ella rápidamente.',\n 'notifications.title': 'Notificaciones',\n 'notifications.unsupportedDismissOption':\n 'Opción para desestimar \"{{option}}\" no admitida. Opciones admitidas actualmente: \"none\", \"session\" o \"localstorage\".',\n 'create.title': 'Autoservicio',\n 'create.registerComponent.title': 'Registrar un componente',\n 'create.registerComponent.subtitle': 'Importarlo a la página de catálogo',\n 'create.templates.sectionTitle': 'Usar una plantilla',\n 'create.templates.allTemplates': 'Todas las plantillas',\n 'create.templates.errorFetching': 'Error al obtener plantillas',\n 'create.templates.noTemplatesAvailable': 'No hay plantillas disponibles',\n },\n});\n\nexport default globalHeaderTranslationEs;\n"],"names":[],"mappings":";;;AAuBA,MAAM,4BAA4B,yBAA0B,CAAA;AAAA,EAC1D,GAAK,EAAA,0BAAA;AAAA,EACL,QAAU,EAAA;AAAA,IACR,cAAgB,EAAA,OAAA;AAAA,IAChB,qBAAuB,EAAA,2BAAA;AAAA,IACvB,6BACE,EAAA,sDAAA;AAAA,IACF,iBAAmB,EAAA,kBAAA;AAAA,IACnB,mBAAqB,EAAA,SAAA;AAAA,IACrB,iBAAmB,EAAA,gBAAA;AAAA,IACnB,kBAAoB,EAAA,kBAAA;AAAA,IACpB,mBAAqB,EAAA,WAAA;AAAA,IACrB,iBAAmB,EAAA,kBAAA;AAAA,IACnB,oBAAsB,EAAA,WAAA;AAAA,IACtB,kBAAoB,EAAA,8BAAA;AAAA,IACpB,sBAAwB,EAAA,iCAAA;AAAA,IACxB,mBAAqB,EAAA,sBAAA;AAAA,IACrB,cAAgB,EAAA,SAAA;AAAA,IAChB,6BAA+B,EAAA,2BAAA;AAAA,IAC/B,kCACE,EAAA,8CAAA;AAAA,IACF,qCACE,EAAA,wIAAA;AAAA,IACF,kCAAoC,EAAA,kBAAA;AAAA,IACpC,+BAAiC,EAAA,YAAA;AAAA,IACjC,4CAA8C,EAAA,kBAAA;AAAA,IAC9C,6CACE,EAAA,mCAAA;AAAA,IACF,eAAiB,EAAA,6BAAA;AAAA,IACjB,uBAAyB,EAAA,sBAAA;AAAA,IACzB,sBAAwB,EAAA,oCAAA;AAAA,IACxB,yBACE,EAAA,6HAAA;AAAA,IACF,qBAAuB,EAAA,gBAAA;AAAA,IACvB,wCACE,EAAA,yHAAA;AAAA,IACF,cAAgB,EAAA,cAAA;AAAA,IAChB,gCAAkC,EAAA,yBAAA;AAAA,IAClC,mCAAqC,EAAA,0CAAA;AAAA,IACrC,+BAAiC,EAAA,oBAAA;AAAA,IACjC,+BAAiC,EAAA,sBAAA;AAAA,IACjC,gCAAkC,EAAA,6BAAA;AAAA,IAClC,uCAAyC,EAAA;AAAA;AAE7C,CAAC;;;;"}
|
|
@@ -16,6 +16,8 @@ const globalHeaderTranslationFr = createTranslationMessages({
|
|
|
16
16
|
"search.placeholder": "Recherche...",
|
|
17
17
|
"search.noResults": "Aucun r\xE9sultat trouv\xE9",
|
|
18
18
|
"search.errorFetching": "Erreur lors de la r\xE9cup\xE9ration des r\xE9sultats",
|
|
19
|
+
"search.allResults": "Tous les r\xE9sultats",
|
|
20
|
+
"search.clear": "Effacer",
|
|
19
21
|
"applicationLauncher.tooltip": "Lanceur d'applications",
|
|
20
22
|
"applicationLauncher.noLinksTitle": "Aucun lien d'application configur\xE9",
|
|
21
23
|
"applicationLauncher.noLinksSubtitle": "Configurez les liens d'application dans la configuration du plugin dynamique pour un acc\xE8s rapide \xE0 partir d'ici.",
|
|
@@ -1 +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\n/**\n * fr translation for plugin.global-header.\n * @public\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 des liens d’assistance.',\n 'help.quickStart': 'Démarrage rapide',\n 'help.supportTitle': 'Assistance',\n 'profile.picture': 'Photo de profil',\n 'profile.settings': 'Paramètres',\n 'profile.myProfile': 'Mon profil',\n 'profile.signOut': 'Déconnection',\n 'search.placeholder': 'Recherche...',\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 à partir d'ici.\",\n 'applicationLauncher.developerHub': 'Centre des développeurs',\n 'applicationLauncher.rhdhLocal': 'RHDH Local',\n 'applicationLauncher.sections.documentation': 'Documentation',\n 'applicationLauncher.sections.developerTools': 'Outils de développement',\n 'starred.title': 'Vos articles favoris',\n 'starred.removeTooltip': 'Supprimer de la liste',\n 'starred.noItemsTitle': 'Aucun élément étoilé 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 prise en charge « {{option}} », actuellement prise en charge « none », « session » ou « localstorage » !',\n 'create.title': 'Self-service',\n 'create.registerComponent.title': 'Enregistrer un composant',\n 'create.registerComponent.subtitle': 'Importez-le sur la page du 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 },\n});\n\nexport default globalHeaderTranslationFr;\n"],"names":[],"mappings":";;;AAuBA,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,mEAAA;AAAA,IACF,iBAAmB,EAAA,qBAAA;AAAA,IACnB,mBAAqB,EAAA,YAAA;AAAA,IACrB,iBAAmB,EAAA,iBAAA;AAAA,IACnB,kBAAoB,EAAA,eAAA;AAAA,IACpB,mBAAqB,EAAA,YAAA;AAAA,IACrB,iBAAmB,EAAA,iBAAA;AAAA,IACnB,oBAAsB,EAAA,cAAA;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,yHAAA;AAAA,IACF,kCAAoC,EAAA,4BAAA;AAAA,IACpC,+BAAiC,EAAA,YAAA;AAAA,IACjC,4CAA8C,EAAA,eAAA;AAAA,IAC9C,6CAA+C,EAAA,4BAAA;AAAA,IAC/C,eAAiB,EAAA,sBAAA;AAAA,IACjB,uBAAyB,EAAA,uBAAA;AAAA,IACzB,sBAAwB,EAAA,iDAAA;AAAA,IACxB,yBACE,EAAA,yHAAA;AAAA,IACF,qBAAuB,EAAA,eAAA;AAAA,IACvB,wCACE,EAAA,iLAAA;AAAA,IACF,cAAgB,EAAA,cAAA;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;AAAA;AAE7C,CAAC;;;;"}
|
|
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\n/**\n * fr translation for plugin.global-header.\n * @public\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 des liens d’assistance.',\n 'help.quickStart': 'Démarrage rapide',\n 'help.supportTitle': 'Assistance',\n 'profile.picture': 'Photo de profil',\n 'profile.settings': 'Paramètres',\n 'profile.myProfile': 'Mon profil',\n 'profile.signOut': 'Déconnection',\n 'search.placeholder': 'Recherche...',\n 'search.noResults': 'Aucun résultat trouvé',\n 'search.errorFetching': 'Erreur lors de la récupération des résultats',\n 'search.allResults': 'Tous les résultats',\n 'search.clear': 'Effacer',\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 à partir d'ici.\",\n 'applicationLauncher.developerHub': 'Centre des développeurs',\n 'applicationLauncher.rhdhLocal': 'RHDH Local',\n 'applicationLauncher.sections.documentation': 'Documentation',\n 'applicationLauncher.sections.developerTools': 'Outils de développement',\n 'starred.title': 'Vos articles favoris',\n 'starred.removeTooltip': 'Supprimer de la liste',\n 'starred.noItemsTitle': 'Aucun élément étoilé 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 prise en charge « {{option}} », actuellement prise en charge « none », « session » ou « localstorage » !',\n 'create.title': 'Self-service',\n 'create.registerComponent.title': 'Enregistrer un composant',\n 'create.registerComponent.subtitle': 'Importez-le sur la page du 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 },\n});\n\nexport default globalHeaderTranslationFr;\n"],"names":[],"mappings":";;;AAuBA,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,mEAAA;AAAA,IACF,iBAAmB,EAAA,qBAAA;AAAA,IACnB,mBAAqB,EAAA,YAAA;AAAA,IACrB,iBAAmB,EAAA,iBAAA;AAAA,IACnB,kBAAoB,EAAA,eAAA;AAAA,IACpB,mBAAqB,EAAA,YAAA;AAAA,IACrB,iBAAmB,EAAA,iBAAA;AAAA,IACnB,oBAAsB,EAAA,cAAA;AAAA,IACtB,kBAAoB,EAAA,6BAAA;AAAA,IACpB,sBAAwB,EAAA,uDAAA;AAAA,IACxB,mBAAqB,EAAA,uBAAA;AAAA,IACrB,cAAgB,EAAA,SAAA;AAAA,IAChB,6BAA+B,EAAA,wBAAA;AAAA,IAC/B,kCAAoC,EAAA,uCAAA;AAAA,IACpC,qCACE,EAAA,yHAAA;AAAA,IACF,kCAAoC,EAAA,4BAAA;AAAA,IACpC,+BAAiC,EAAA,YAAA;AAAA,IACjC,4CAA8C,EAAA,eAAA;AAAA,IAC9C,6CAA+C,EAAA,4BAAA;AAAA,IAC/C,eAAiB,EAAA,sBAAA;AAAA,IACjB,uBAAyB,EAAA,uBAAA;AAAA,IACzB,sBAAwB,EAAA,iDAAA;AAAA,IACxB,yBACE,EAAA,yHAAA;AAAA,IACF,qBAAuB,EAAA,eAAA;AAAA,IACvB,wCACE,EAAA,iLAAA;AAAA,IACF,cAAgB,EAAA,cAAA;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;AAAA;AAE7C,CAAC;;;;"}
|
|
@@ -16,6 +16,8 @@ const globalHeaderTranslationIt = createTranslationMessages({
|
|
|
16
16
|
"search.placeholder": "Cerca...",
|
|
17
17
|
"search.noResults": "Nessun risultato trovato",
|
|
18
18
|
"search.errorFetching": "Errore durante il recupero dei risultati",
|
|
19
|
+
"search.allResults": "Tutti i risultati",
|
|
20
|
+
"search.clear": "Cancella",
|
|
19
21
|
"applicationLauncher.tooltip": "Avvio applicazione",
|
|
20
22
|
"applicationLauncher.noLinksTitle": "Nessun collegamento all'applicazione configurato",
|
|
21
23
|
"applicationLauncher.noLinksSubtitle": "Configurare i collegamenti all'applicazione nella configurazione del plugin dinamico per accedere rapidamente da qui.",
|
|
@@ -1 +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\n/**\n * Italian translation for plugin.global-header.\n * @public\n */\nconst globalHeaderTranslationIt = createTranslationMessages({\n ref: globalHeaderTranslationRef,\n messages: {\n 'help.tooltip': 'Guida',\n 'help.noSupportLinks': 'Nessun link di supporto',\n 'help.noSupportLinksSubtitle':\n \"L'amministratore deve impostare 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': 'Disconnetti',\n 'search.placeholder': 'Cerca...',\n 'search.noResults': 'Nessun risultato trovato',\n 'search.errorFetching': 'Errore durante il recupero dei risultati',\n 'applicationLauncher.tooltip': 'Avvio applicazione',\n 'applicationLauncher.noLinksTitle':\n \"Nessun collegamento all'applicazione configurato\",\n 'applicationLauncher.noLinksSubtitle':\n \"Configurare i collegamenti all'applicazione nella configurazione del plugin dinamico per accedere rapidamente 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 articoli contrassegnati',\n 'starred.removeTooltip': \"Rimuovi dall'elenco\",\n 'starred.noItemsTitle': 'Non è stato ancora contrassegnato alcun articolo',\n 'starred.noItemsSubtitle':\n \"Fare clic sull'icona a forma di stella accanto al nome di un'entità per salvarla qui e accedervi rapidamente.\",\n 'notifications.title': 'Notifiche',\n 'notifications.unsupportedDismissOption':\n 'Opzione di esclusione non supportata \"{{option}}\"; attualmente sono supportate le opzioni \"none\", \"session\" o \"localstorage\"!',\n 'create.title': 'Self-service',\n 'create.registerComponent.title': 'Registrare un componente',\n 'create.registerComponent.subtitle':\n 'Importare il componente nella pagina del catalogo',\n 'create.templates.sectionTitle': 'Utilizzare un modello',\n 'create.templates.allTemplates': 'Tutti i modelli',\n 'create.templates.errorFetching': 'Errore durante il recupero dei modelli',\n 'create.templates.noTemplatesAvailable': 'Nessun modello disponibile',\n },\n});\n\nexport default globalHeaderTranslationIt;\n"],"names":[],"mappings":";;;AAuBA,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,qDAAA;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,aAAA;AAAA,IACnB,oBAAsB,EAAA,UAAA;AAAA,IACtB,kBAAoB,EAAA,0BAAA;AAAA,IACpB,sBAAwB,EAAA,0CAAA;AAAA,IACxB,6BAA+B,EAAA,oBAAA;AAAA,IAC/B,kCACE,EAAA,kDAAA;AAAA,IACF,qCACE,EAAA,uHAAA;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,gCAAA;AAAA,IACjB,uBAAyB,EAAA,qBAAA;AAAA,IACzB,sBAAwB,EAAA,qDAAA;AAAA,IACxB,yBACE,EAAA,kHAAA;AAAA,IACF,qBAAuB,EAAA,WAAA;AAAA,IACvB,wCACE,EAAA,+HAAA;AAAA,IACF,cAAgB,EAAA,cAAA;AAAA,IAChB,gCAAkC,EAAA,0BAAA;AAAA,IAClC,mCACE,EAAA,mDAAA;AAAA,IACF,+BAAiC,EAAA,uBAAA;AAAA,IACjC,+BAAiC,EAAA,iBAAA;AAAA,IACjC,gCAAkC,EAAA,wCAAA;AAAA,IAClC,uCAAyC,EAAA;AAAA;AAE7C,CAAC;;;;"}
|
|
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\n/**\n * Italian translation for plugin.global-header.\n * @public\n */\nconst globalHeaderTranslationIt = createTranslationMessages({\n ref: globalHeaderTranslationRef,\n messages: {\n 'help.tooltip': 'Guida',\n 'help.noSupportLinks': 'Nessun link di supporto',\n 'help.noSupportLinksSubtitle':\n \"L'amministratore deve impostare 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': 'Disconnetti',\n 'search.placeholder': 'Cerca...',\n 'search.noResults': 'Nessun risultato trovato',\n 'search.errorFetching': 'Errore durante il recupero dei risultati',\n 'search.allResults': 'Tutti i risultati',\n 'search.clear': 'Cancella',\n 'applicationLauncher.tooltip': 'Avvio applicazione',\n 'applicationLauncher.noLinksTitle':\n \"Nessun collegamento all'applicazione configurato\",\n 'applicationLauncher.noLinksSubtitle':\n \"Configurare i collegamenti all'applicazione nella configurazione del plugin dinamico per accedere rapidamente 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 articoli contrassegnati',\n 'starred.removeTooltip': \"Rimuovi dall'elenco\",\n 'starred.noItemsTitle': 'Non è stato ancora contrassegnato alcun articolo',\n 'starred.noItemsSubtitle':\n \"Fare clic sull'icona a forma di stella accanto al nome di un'entità per salvarla qui e accedervi rapidamente.\",\n 'notifications.title': 'Notifiche',\n 'notifications.unsupportedDismissOption':\n 'Opzione di esclusione non supportata \"{{option}}\"; attualmente sono supportate le opzioni \"none\", \"session\" o \"localstorage\"!',\n 'create.title': 'Self-service',\n 'create.registerComponent.title': 'Registrare un componente',\n 'create.registerComponent.subtitle':\n 'Importare il componente nella pagina del catalogo',\n 'create.templates.sectionTitle': 'Utilizzare un modello',\n 'create.templates.allTemplates': 'Tutti i modelli',\n 'create.templates.errorFetching': 'Errore durante il recupero dei modelli',\n 'create.templates.noTemplatesAvailable': 'Nessun modello disponibile',\n },\n});\n\nexport default globalHeaderTranslationIt;\n"],"names":[],"mappings":";;;AAuBA,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,qDAAA;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,aAAA;AAAA,IACnB,oBAAsB,EAAA,UAAA;AAAA,IACtB,kBAAoB,EAAA,0BAAA;AAAA,IACpB,sBAAwB,EAAA,0CAAA;AAAA,IACxB,mBAAqB,EAAA,mBAAA;AAAA,IACrB,cAAgB,EAAA,UAAA;AAAA,IAChB,6BAA+B,EAAA,oBAAA;AAAA,IAC/B,kCACE,EAAA,kDAAA;AAAA,IACF,qCACE,EAAA,uHAAA;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,gCAAA;AAAA,IACjB,uBAAyB,EAAA,qBAAA;AAAA,IACzB,sBAAwB,EAAA,qDAAA;AAAA,IACxB,yBACE,EAAA,kHAAA;AAAA,IACF,qBAAuB,EAAA,WAAA;AAAA,IACvB,wCACE,EAAA,+HAAA;AAAA,IACF,cAAgB,EAAA,cAAA;AAAA,IAChB,gCAAkC,EAAA,0BAAA;AAAA,IAClC,mCACE,EAAA,mDAAA;AAAA,IACF,+BAAiC,EAAA,uBAAA;AAAA,IACjC,+BAAiC,EAAA,iBAAA;AAAA,IACjC,gCAAkC,EAAA,wCAAA;AAAA,IAClC,uCAAyC,EAAA;AAAA;AAE7C,CAAC;;;;"}
|
|
@@ -16,6 +16,8 @@ const globalHeaderTranslationJa = createTranslationMessages({
|
|
|
16
16
|
"search.placeholder": "\u691C\u7D22...",
|
|
17
17
|
"search.noResults": "\u7D50\u679C\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093",
|
|
18
18
|
"search.errorFetching": "\u7D50\u679C\u306E\u53D6\u5F97\u4E2D\u306B\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F",
|
|
19
|
+
"search.allResults": "\u3059\u3079\u3066\u306E\u7D50\u679C",
|
|
20
|
+
"search.clear": "\u30AF\u30EA\u30A2",
|
|
19
21
|
"applicationLauncher.tooltip": "\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u30E9\u30F3\u30C1\u30E3\u30FC",
|
|
20
22
|
"applicationLauncher.noLinksTitle": "\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u30EA\u30F3\u30AF\u304C\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093",
|
|
21
23
|
"applicationLauncher.noLinksSubtitle": "\u3053\u3053\u304B\u3089\u3059\u3070\u3084\u304F\u30A2\u30AF\u30BB\u30B9\u3067\u304D\u308B\u3088\u3046\u306B\u3001\u52D5\u7684\u30D7\u30E9\u30B0\u30A4\u30F3\u8A2D\u5B9A\u3067\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u30EA\u30F3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ja.esm.js","sources":["../../src/translations/ja.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\n/**\n * Japanese translation for plugin.global-header.\n * @public\n */\nconst globalHeaderTranslationJa = createTranslationMessages({\n ref: globalHeaderTranslationRef,\n messages: {\n 'help.tooltip': 'ヘルプ',\n 'help.noSupportLinks': 'サポートリンクがありません',\n 'help.noSupportLinksSubtitle':\n '管理者がサポートリンクを設定する必要があります。',\n 'help.quickStart': 'クイックスタート',\n 'help.supportTitle': 'サポート',\n 'profile.picture': 'プロファイル写真',\n 'profile.settings': '設定',\n 'profile.myProfile': 'マイプロファイル',\n 'profile.signOut': 'サインアウト',\n 'search.placeholder': '検索...',\n 'search.noResults': '結果が見つかりません',\n 'search.errorFetching': '結果の取得中にエラーが発生しました',\n 'applicationLauncher.tooltip': 'アプリケーションランチャー',\n 'applicationLauncher.noLinksTitle':\n 'アプリケーションリンクが設定されていません',\n 'applicationLauncher.noLinksSubtitle':\n 'ここからすばやくアクセスできるように、動的プラグイン設定でアプリケーションリンクを設定してください。',\n 'applicationLauncher.developerHub': 'Developer Hub',\n 'applicationLauncher.rhdhLocal': 'RHDH Local',\n 'applicationLauncher.sections.documentation': 'ドキュメント',\n 'applicationLauncher.sections.developerTools': '開発者ツール',\n 'starred.title': 'スター付き項目',\n 'starred.removeTooltip': 'リストから削除',\n 'starred.noItemsTitle': 'スター付き項目はまだありません',\n 'starred.noItemsSubtitle':\n 'エンティティーの名前の横にある星のアイコンをクリックすると、すぐにアクセスできるように、ここに保存されます。',\n 'notifications.title': '通知',\n 'notifications.unsupportedDismissOption':\n '終了オプション \"{{option}}\" はサポートされていません。現在サポートされているのは、\"none\"、\"session\"、または \"localstorage\" です!',\n 'create.title': 'セルフサービス',\n 'create.registerComponent.title': 'コンポーネントの登録',\n 'create.registerComponent.subtitle': 'カタログページへのインポート',\n 'create.templates.sectionTitle': 'テンプレートの使用',\n 'create.templates.allTemplates': 'すべてのテンプレート',\n 'create.templates.errorFetching':\n 'テンプレートの取得中にエラーが発生しました',\n 'create.templates.noTemplatesAvailable':\n '利用できるテンプレートがありません',\n },\n});\n\nexport default globalHeaderTranslationJa;\n"],"names":[],"mappings":";;;AAuBA,MAAM,4BAA4B,yBAA0B,CAAA;AAAA,EAC1D,GAAK,EAAA,0BAAA;AAAA,EACL,QAAU,EAAA;AAAA,IACR,cAAgB,EAAA,oBAAA;AAAA,IAChB,qBAAuB,EAAA,gFAAA;AAAA,IACvB,6BACE,EAAA,kJAAA;AAAA,IACF,iBAAmB,EAAA,kDAAA;AAAA,IACnB,mBAAqB,EAAA,0BAAA;AAAA,IACrB,iBAAmB,EAAA,kDAAA;AAAA,IACnB,kBAAoB,EAAA,cAAA;AAAA,IACpB,mBAAqB,EAAA,kDAAA;AAAA,IACrB,iBAAmB,EAAA,sCAAA;AAAA,IACnB,oBAAsB,EAAA,iBAAA;AAAA,IACtB,kBAAoB,EAAA,8DAAA;AAAA,IACpB,sBAAwB,EAAA,wGAAA;AAAA,IACxB,6BAA+B,EAAA,gFAAA;AAAA,IAC/B,kCACE,EAAA,gIAAA;AAAA,IACF,qCACE,EAAA,8SAAA;AAAA,IACF,kCAAoC,EAAA,eAAA;AAAA,IACpC,+BAAiC,EAAA,YAAA;AAAA,IACjC,4CAA8C,EAAA,sCAAA;AAAA,IAC9C,6CAA+C,EAAA,sCAAA;AAAA,IAC/C,eAAiB,EAAA,4CAAA;AAAA,IACjB,uBAAyB,EAAA,4CAAA;AAAA,IACzB,sBAAwB,EAAA,4FAAA;AAAA,IACxB,yBACE,EAAA,sUAAA;AAAA,IACF,qBAAuB,EAAA,cAAA;AAAA,IACvB,wCACE,EAAA,sSAAA;AAAA,IACF,cAAgB,EAAA,4CAAA;AAAA,IAChB,gCAAkC,EAAA,8DAAA;AAAA,IAClC,mCAAqC,EAAA,sFAAA;AAAA,IACrC,+BAAiC,EAAA,wDAAA;AAAA,IACjC,+BAAiC,EAAA,8DAAA;AAAA,IACjC,gCACE,EAAA,gIAAA;AAAA,IACF,uCACE,EAAA;AAAA;AAEN,CAAC;;;;"}
|
|
1
|
+
{"version":3,"file":"ja.esm.js","sources":["../../src/translations/ja.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\n/**\n * Japanese translation for plugin.global-header.\n * @public\n */\nconst globalHeaderTranslationJa = createTranslationMessages({\n ref: globalHeaderTranslationRef,\n messages: {\n 'help.tooltip': 'ヘルプ',\n 'help.noSupportLinks': 'サポートリンクがありません',\n 'help.noSupportLinksSubtitle':\n '管理者がサポートリンクを設定する必要があります。',\n 'help.quickStart': 'クイックスタート',\n 'help.supportTitle': 'サポート',\n 'profile.picture': 'プロファイル写真',\n 'profile.settings': '設定',\n 'profile.myProfile': 'マイプロファイル',\n 'profile.signOut': 'サインアウト',\n 'search.placeholder': '検索...',\n 'search.noResults': '結果が見つかりません',\n 'search.errorFetching': '結果の取得中にエラーが発生しました',\n 'search.allResults': 'すべての結果',\n 'search.clear': 'クリア',\n 'applicationLauncher.tooltip': 'アプリケーションランチャー',\n 'applicationLauncher.noLinksTitle':\n 'アプリケーションリンクが設定されていません',\n 'applicationLauncher.noLinksSubtitle':\n 'ここからすばやくアクセスできるように、動的プラグイン設定でアプリケーションリンクを設定してください。',\n 'applicationLauncher.developerHub': 'Developer Hub',\n 'applicationLauncher.rhdhLocal': 'RHDH Local',\n 'applicationLauncher.sections.documentation': 'ドキュメント',\n 'applicationLauncher.sections.developerTools': '開発者ツール',\n 'starred.title': 'スター付き項目',\n 'starred.removeTooltip': 'リストから削除',\n 'starred.noItemsTitle': 'スター付き項目はまだありません',\n 'starred.noItemsSubtitle':\n 'エンティティーの名前の横にある星のアイコンをクリックすると、すぐにアクセスできるように、ここに保存されます。',\n 'notifications.title': '通知',\n 'notifications.unsupportedDismissOption':\n '終了オプション \"{{option}}\" はサポートされていません。現在サポートされているのは、\"none\"、\"session\"、または \"localstorage\" です!',\n 'create.title': 'セルフサービス',\n 'create.registerComponent.title': 'コンポーネントの登録',\n 'create.registerComponent.subtitle': 'カタログページへのインポート',\n 'create.templates.sectionTitle': 'テンプレートの使用',\n 'create.templates.allTemplates': 'すべてのテンプレート',\n 'create.templates.errorFetching':\n 'テンプレートの取得中にエラーが発生しました',\n 'create.templates.noTemplatesAvailable':\n '利用できるテンプレートがありません',\n },\n});\n\nexport default globalHeaderTranslationJa;\n"],"names":[],"mappings":";;;AAuBA,MAAM,4BAA4B,yBAA0B,CAAA;AAAA,EAC1D,GAAK,EAAA,0BAAA;AAAA,EACL,QAAU,EAAA;AAAA,IACR,cAAgB,EAAA,oBAAA;AAAA,IAChB,qBAAuB,EAAA,gFAAA;AAAA,IACvB,6BACE,EAAA,kJAAA;AAAA,IACF,iBAAmB,EAAA,kDAAA;AAAA,IACnB,mBAAqB,EAAA,0BAAA;AAAA,IACrB,iBAAmB,EAAA,kDAAA;AAAA,IACnB,kBAAoB,EAAA,cAAA;AAAA,IACpB,mBAAqB,EAAA,kDAAA;AAAA,IACrB,iBAAmB,EAAA,sCAAA;AAAA,IACnB,oBAAsB,EAAA,iBAAA;AAAA,IACtB,kBAAoB,EAAA,8DAAA;AAAA,IACpB,sBAAwB,EAAA,wGAAA;AAAA,IACxB,mBAAqB,EAAA,sCAAA;AAAA,IACrB,cAAgB,EAAA,oBAAA;AAAA,IAChB,6BAA+B,EAAA,gFAAA;AAAA,IAC/B,kCACE,EAAA,gIAAA;AAAA,IACF,qCACE,EAAA,8SAAA;AAAA,IACF,kCAAoC,EAAA,eAAA;AAAA,IACpC,+BAAiC,EAAA,YAAA;AAAA,IACjC,4CAA8C,EAAA,sCAAA;AAAA,IAC9C,6CAA+C,EAAA,sCAAA;AAAA,IAC/C,eAAiB,EAAA,4CAAA;AAAA,IACjB,uBAAyB,EAAA,4CAAA;AAAA,IACzB,sBAAwB,EAAA,4FAAA;AAAA,IACxB,yBACE,EAAA,sUAAA;AAAA,IACF,qBAAuB,EAAA,cAAA;AAAA,IACvB,wCACE,EAAA,sSAAA;AAAA,IACF,cAAgB,EAAA,4CAAA;AAAA,IAChB,gCAAkC,EAAA,8DAAA;AAAA,IAClC,mCAAqC,EAAA,sFAAA;AAAA,IACrC,+BAAiC,EAAA,wDAAA;AAAA,IACjC,+BAAiC,EAAA,8DAAA;AAAA,IACjC,gCACE,EAAA,gIAAA;AAAA,IACF,uCACE,EAAA;AAAA;AAEN,CAAC;;;;"}
|
|
@@ -17,7 +17,9 @@ const globalHeaderMessages = {
|
|
|
17
17
|
search: {
|
|
18
18
|
placeholder: "Search...",
|
|
19
19
|
noResults: "No results found",
|
|
20
|
-
errorFetching: "Error fetching results"
|
|
20
|
+
errorFetching: "Error fetching results",
|
|
21
|
+
allResults: "All results",
|
|
22
|
+
clear: "Clear"
|
|
21
23
|
},
|
|
22
24
|
applicationLauncher: {
|
|
23
25
|
tooltip: "Application launcher",
|
|
@@ -1 +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,
|
|
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 allResults: 'All results',\n clear: 'Clear',\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,wBAAA;AAAA,IACf,UAAY,EAAA,aAAA;AAAA,IACZ,KAAO,EAAA;AAAA,GACT;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;;;;"}
|
|
@@ -26,6 +26,8 @@ declare const globalHeaderTranslationRef: _backstage_frontend_plugin_api.Transla
|
|
|
26
26
|
readonly "search.placeholder": string;
|
|
27
27
|
readonly "search.noResults": string;
|
|
28
28
|
readonly "search.errorFetching": string;
|
|
29
|
+
readonly "search.allResults": string;
|
|
30
|
+
readonly "search.clear": string;
|
|
29
31
|
readonly "help.tooltip": string;
|
|
30
32
|
readonly "help.noSupportLinks": string;
|
|
31
33
|
readonly "help.noSupportLinksSubtitle": string;
|