Skip to content

Commit

Permalink
[frontend] Fix translation (#4230)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gwendoline-FAVRE-FELIX committed Sep 27, 2024
1 parent e7fd737 commit 258638a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion opencti-platform/opencti-front/lang/front/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -1425,7 +1425,7 @@
"Kill": "Matar",
"Kill all": "Matar a todos",
"Kill chain": "«Kill chain»",
"Kill chain :": "Cadena de muerte :",
"Kill chain :": "«Kill chain» :",
"Kill chain name": "Nombre de la «kill chain»",
"Kill chain phase": "Fase de la «kill chain»",
"Kill chain phases": "Fases de la «kill chain»",
Expand Down
2 changes: 1 addition & 1 deletion opencti-platform/opencti-front/lang/front/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -1425,7 +1425,7 @@
"Kill": "Tuer",
"Kill all": "Tuer tout",
"Kill chain": "Kill chain",
"Kill chain :": "Chaîne de mise à mort :",
"Kill chain :": "Kill chain :",
"Kill chain name": "Nom de la kill chain",
"Kill chain phase": "Phase de kill chain",
"Kill chain phases": "Phases de kill chain",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,7 @@ const StixDomainObjectAttackPatternsKillChain: FunctionComponent<StixDomainObjec
storageKey={storageKey}
entityId={stixDomainObjectId}
currentView={currentView}
paginationOptions={paginationOptions}
/>
)}
{currentView === 'courses-of-action' && (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,15 @@ interface StixDomainObjectAttackPatternsKillChainMatrixProps {
storageKey: string;
entityId: string;
currentView?: string;
paginationOptions: StixDomainObjectAttackPatternsKillChainQuery$variables;
}

const StixDomainObjectAttackPatternsKillChainMatrixInline: FunctionComponent<StixDomainObjectAttackPatternsKillChainMatrixProps> = (
{
storageKey,
entityId,
currentView,
paginationOptions,
},
) => {
const { t_i18n } = useFormatter();
Expand All @@ -61,7 +63,7 @@ const StixDomainObjectAttackPatternsKillChainMatrixInline: FunctionComponent<Sti
view: 'matrix-in-line',
};

const { viewStorage, helpers: storageHelpers, paginationOptions } = usePaginationLocalStorage<StixDomainObjectAttackPatternsKillChainQuery$variables>(
const { viewStorage, helpers: storageHelpers } = usePaginationLocalStorage<StixDomainObjectAttackPatternsKillChainQuery$variables>(
storageKey,
initialValues,
);
Expand Down

0 comments on commit 258638a

Please sign in to comment.