-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat/key management service (#11443)
ref: MANAGER-13791 Signed-off-by: Vincent BONMARCHAND <vincent.bonmarchand.ext@corp.ovh.com> Co-authored-by: Alex Boungnaseng <alex.boungnaseng.ext@corp.ovh.com> Co-authored-by: David Arsène <david.arsene.ext@ovhcloud.com> Co-authored-by: Romain Jamet <romain.jamet.ext@corp.ovh.com> Co-authored-by: Lionel Bueno <lionel.bueno.ext@ovhcloud.com> Co-authored-by: Romain Jamet <romain.jamet.ext@corp.ovh.com> Co-authored-by: CDS Translator Agent <opensource@ovh.net>
- Loading branch information
1 parent
c38a63a
commit f3a8243
Showing
199 changed files
with
3,609 additions
and
479 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
packages/manager-components/src/components/datagrid/clipboard-cell.component.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import React from 'react'; | ||
import { OsdsClipboard, OsdsText } from '@ovhcloud/ods-components/react'; | ||
import { ODS_THEME_COLOR_INTENT } from '@ovhcloud/ods-common-theming'; | ||
import { useTranslation } from 'react-i18next'; | ||
|
||
type DataGridClipboardCellProps = { | ||
text: string; | ||
}; | ||
|
||
/** Simple datagrid cell clipboard text formatter applying ODS style */ | ||
export function DataGridClipboardCell({ | ||
text, | ||
}: Readonly<DataGridClipboardCellProps>) { | ||
const { t } = useTranslation('datagrid'); | ||
return ( | ||
<OsdsClipboard value={text}> | ||
<span slot="success-message"> | ||
<OsdsText color={ODS_THEME_COLOR_INTENT.success}> | ||
{t('common_clipboard_success_label')} | ||
</OsdsText> | ||
</span> | ||
<span slot="error-message"> | ||
<OsdsText color={ODS_THEME_COLOR_INTENT.error}> | ||
{t('common_clipboard_error_label')} | ||
</OsdsText> | ||
</span> | ||
</OsdsClipboard> | ||
); | ||
} | ||
|
||
export default DataGridClipboardCell; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
packages/manager-components/src/components/datagrid/translations/Messages_de_DE.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
{ | ||
"common_pagination_of": "von", | ||
"common_pagination_results": "Ergebnissen", | ||
"common_pagination_no_results": "Keine Ergebnisse" | ||
"common_pagination_no_results": "Keine Ergebnisse", | ||
"common_clipboard_success_label": "Kopiert!", | ||
"common_clipboard_error_label": "Fehler beim Kopieren." | ||
} |
4 changes: 3 additions & 1 deletion
4
packages/manager-components/src/components/datagrid/translations/Messages_en_GB.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
{ | ||
"common_pagination_of": "of", | ||
"common_pagination_results": "results", | ||
"common_pagination_no_results": "No result" | ||
"common_pagination_no_results": "No result", | ||
"common_clipboard_success_label": "Copied!", | ||
"common_clipboard_error_label": "Copy error." | ||
} |
4 changes: 3 additions & 1 deletion
4
packages/manager-components/src/components/datagrid/translations/Messages_es_ES.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
{ | ||
"common_pagination_of": "de", | ||
"common_pagination_results": "resultados", | ||
"common_pagination_no_results": "No hay resultados" | ||
"common_pagination_no_results": "No hay resultados.", | ||
"common_clipboard_success_label": "¡Copiado!", | ||
"common_clipboard_error_label": "Error de copia." | ||
} |
4 changes: 3 additions & 1 deletion
4
packages/manager-components/src/components/datagrid/translations/Messages_fr_CA.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
{ | ||
"common_pagination_of": "sur", | ||
"common_pagination_results": "résultats", | ||
"common_pagination_no_results": "Aucun résultat" | ||
"common_pagination_no_results": "Aucun résultat", | ||
"common_clipboard_success_label": "Copié !", | ||
"common_clipboard_error_label": "Erreur de copie." | ||
} |
4 changes: 3 additions & 1 deletion
4
packages/manager-components/src/components/datagrid/translations/Messages_fr_FR.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
{ | ||
"common_pagination_of": "sur", | ||
"common_pagination_results": "résultats", | ||
"common_pagination_no_results": "Aucun résultat" | ||
"common_pagination_no_results": "Aucun résultat", | ||
"common_clipboard_success_label": "Copié !", | ||
"common_clipboard_error_label": "Erreur de copie." | ||
} |
4 changes: 3 additions & 1 deletion
4
packages/manager-components/src/components/datagrid/translations/Messages_it_IT.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
{ | ||
"common_pagination_of": "su", | ||
"common_pagination_results": "risultati", | ||
"common_pagination_no_results": "Nessun risultato" | ||
"common_pagination_no_results": "Nessun risultato", | ||
"common_clipboard_success_label": "Copiato!", | ||
"common_clipboard_error_label": "Errore di copia." | ||
} |
4 changes: 3 additions & 1 deletion
4
packages/manager-components/src/components/datagrid/translations/Messages_pl_PL.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
{ | ||
"common_pagination_of": "z", | ||
"common_pagination_results": "wyniki", | ||
"common_pagination_no_results": "Brak wyników" | ||
"common_pagination_no_results": "Brak wyników wyszukiwania", | ||
"common_clipboard_success_label": "Skopiowano!", | ||
"common_clipboard_error_label": "Błąd kopiowania." | ||
} |
4 changes: 3 additions & 1 deletion
4
packages/manager-components/src/components/datagrid/translations/Messages_pt_PT.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
{ | ||
"common_pagination_of": "em", | ||
"common_pagination_results": "resultados", | ||
"common_pagination_no_results": "Nenhum resultado encontrado" | ||
"common_pagination_no_results": "Nenhum resultado", | ||
"common_clipboard_success_label": "Copiado!", | ||
"common_clipboard_error_label": "Erro de cópia." | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.