Skip to content

Commit

Permalink
Fixed texts (#671)
Browse files Browse the repository at this point in the history
  • Loading branch information
olgenn authored Aug 24, 2023
1 parent e248593 commit 0beff60
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 16 deletions.
4 changes: 2 additions & 2 deletions hub/src/locale/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
"secret_key_id_description": "Specify the AWS secret access key",
"regions": "Regions",
"regions_description": "Select regions to run workflows and store artifacts",
"regions_placeholder": "Not selected",
"regions_placeholder": "Select regions",
"s3_bucket_name": "Bucket",
"s3_bucket_name_description": "Select an S3 bucket to store artifacts",
"ec2_subnet_id": "Subnet",
Expand Down Expand Up @@ -161,7 +161,7 @@
"credentials_placeholder": "Credentials placeholder",
"regions": "Regions",
"regions_description": "Select regions to run workflows and store artifacts",
"regions_placeholder": "Not selected",
"regions_placeholder": "Select regions",
"bucket_name": "Bucket",
"bucket_name_description": "Select a storage bucket to store artifacts",
"bucket_name_placeholder": "Not selected",
Expand Down
14 changes: 1 addition & 13 deletions hub/src/pages/Project/Backends/Form/AWS/constants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const BUCKET_HELP = {
};

export const SUBNET_HELP = {
header: <h2>Backend type</h2>,
header: <h2>Subnet</h2>,
body: (
<>
<p>
Expand All @@ -79,15 +79,3 @@ export const SUBNET_HELP = {
</>
),
};

export const ADDITIONAL_REGIONS_HELP = {
header: <h2>Additional regions</h2>,
body: (
<>
<p>
dstack will try to provision the instance in additional regions if the primary region has no capacity.{' '}
Specifying additional regions increases the chances of provisioning spot instances.
</p>
</>
),
};
2 changes: 1 addition & 1 deletion hub/src/pages/Project/Backends/Form/GCP/constants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const BUCKET_HELP = {
};

export const SUBNET_HELP = {
header: <h2>Backend type</h2>,
header: <h2>Subnet</h2>,
body: (
<>
<p>
Expand Down

0 comments on commit 0beff60

Please sign in to comment.