Skip to content

Commit

Permalink
fix translations
Browse files Browse the repository at this point in the history
  • Loading branch information
olix0r committed Sep 29, 2023
1 parent 38c6df8 commit 1be9c11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/app/js/components/CallToAction.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function getSteps(numResources, resource) {
return [
{ label: <Trans id="controllerInstalledMsg" />, key: 'installedMsg' },
{ label: <Plural value={numResources} zero={resource} one={resource} other={resource} />, key: 'resourceMsg' },
{ label: <Trans id="connectResourceMsg {resource}" />, content: incompleteMeshMessage(), key: 'connectMsg' },
{ label: <Trans id="connectResourceMsg {resource}" values={{ resource }} />, content: incompleteMeshMessage(), key: 'connectMsg' },
];
}

Expand Down
2 changes: 1 addition & 1 deletion web/app/js/components/EdgesTable.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const generateEdgesTableTitle = edges => {
let identity = edges[0].direction === 'INBOUND' ? edges[0].serverId : edges[0].clientId;
if (identity) {
identity = `${identity.split('.')[0]}.${identity.split('.')[1]}`;
title = <Trans id="tableTitleEdgesWithIdentity {identity}" />;
title = <Trans id="tableTitleEdgesWithIdentity {identity}" values={{ identity }} />;
}
}
return title;
Expand Down

0 comments on commit 1be9c11

Please sign in to comment.