Skip to content

Commit

Permalink
Updated components and strings in getString branch
Browse files Browse the repository at this point in the history
Signed-off-by: sagnik3788 <[email protected]>
  • Loading branch information
sagnik3788 committed Oct 5, 2024
1 parent 101557c commit e36d909
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion chaoscenter/web/src/components/SideNav/SideNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export default function SideNav(): ReactElement {
>
<Icon name="log-out" color={Color.WHITE} />
<Text font={{ variation: FontVariation.BODY }} color={Color.WHITE}>
Sign Out
{getString('signOut')}
</Text>
</Layout.Horizontal>
) : (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export function StatusHeatMap(props: StatusHeatMapProps): React.ReactElement {
{execution.executedBy?.username !== 'pipeline' ? (
<>
{execution.executedBy?.username ?? getString('chaosController')}
{execution.executedBy?.username && ' | Manually'}
{execution.executedBy?.username && getString('manually')}
</>
) : (
toSentenceCase(execution.executedBy?.username)
Expand Down
1 change: 1 addition & 0 deletions chaoscenter/web/src/strings/strings.en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ executedBy: Executed by
executedOn: Executed on
executionDetails: Execution details goes here
executionError: Execution Error
expand: expand
executionHistory: Execution History
executionID: Execution ID
executionOverview: Execution Overview
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function MemoizedUserCreatedProjectsTable({
},
{
id: 'members',
Header: 'Members',
Header: getString('members'),
Cell: ({ row: { original: data } }: { row: Row<Project> }) => {
return (
<AvatarGroup
Expand Down

0 comments on commit e36d909

Please sign in to comment.