Quellcode durchsuchen

Fix some Transfer labels

Renames "Replica" text into "Transfer" on buttons and labels, on
Transfer pages.
Daniel Vincze vor 1 Jahr
Ursprung
Commit
57680831eb

+ 2 - 2
src/components/modules/TransferModule/Executions/Executions.tsx

@@ -412,10 +412,10 @@ class Executions extends React.Component<Props, State> {
       <NoExecutions>
         <ExecutionImage />
         <NoExecutionTitle>
-          It looks like there are no executions in this replica.
+          It looks like there are no executions in this tranfer.
         </NoExecutionTitle>
         <NoExecutionText>
-          This replica has not been executed yet.
+          This tranfer has not been executed yet.
         </NoExecutionText>
         <Button onClick={this.props.onExecuteClick}>Execute Now</Button>
       </NoExecutions>

+ 4 - 4
src/components/modules/TransferModule/ReplicaDetailsContent/ReplicaDetailsContent.tsx

@@ -59,7 +59,7 @@ const DetailsBody = styled.div<any>`
 
 const NavigationItems = [
   {
-    label: "Replica",
+    label: "Transfer",
     value: "",
   },
   {
@@ -153,19 +153,19 @@ class ReplicaDetailsContent extends React.Component<Props, State> {
             disabled={this.getStatus() === "RUNNING"}
             onClick={this.props.onExecuteClick}
           >
-            Execute Replica
+            Execute
           </Button>
           <Button
             primary
             disabled={this.isEndpointMissing()}
             onClick={this.props.onCreateDeploymentClick}
           >
-            Deploy Replica
+            Deploy
           </Button>
         </ButtonColumn>
         <ButtonColumn>
           <Button alert hollow onClick={this.props.onDeleteReplicaClick}>
-            Delete Replica
+            Delete
           </Button>
         </ButtonColumn>
       </Buttons>

+ 1 - 1
src/components/smart/ReplicaDetailsPage/ReplicaDetailsPage.tsx

@@ -708,7 +708,7 @@ class ReplicaDetailsPage extends React.Component<Props, State> {
         },
       },
       {
-        label: "Delete Replica",
+        label: "Delete",
         color: ThemePalette.alert,
         action: () => {
           this.handleDeleteReplicaClick();