Skip to content

Commit

Permalink
minor wording changes in update callout
Browse files Browse the repository at this point in the history
  • Loading branch information
jgresham committed Jun 27, 2024
1 parent bd6c6e1 commit e63226b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 2 additions & 0 deletions assets/locales/en/genericComponents.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@
"SetUp": "Set up",
"SkipForNow": "Skip for now",
"UpdateClient": "Update your client",
"UpdateNamedClient": "Update {{client}}",
"UpdateStopClient": "{{client}} will stop momentarily.",
"UpdateClientDescription": "{{client}} has been downloaded and is ready to install.",
"InstallUpdate": "Install Update",
"Skip": "Skip",
Expand Down
2 changes: 1 addition & 1 deletion src/common/node-spec-tool/specDiff.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const calcUserSpecDiff = (
}
if (oldSpecExecution.defaultImageTag !== newSpecExecution.defaultImageTag) {
diffs.push({
message: `Version: ${oldSpecExecution.defaultImageTag} -> ${newSpecExecution.defaultImageTag}`,
message: `${newSpec.displayName} Version: ${oldSpecExecution.defaultImageTag} -> ${newSpecExecution.defaultImageTag}`,
});
}
/////// [end] Execution
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,11 @@ export const UpdateCallout = ({
console.log('UpdateCallout releaseNotesUrl', releaseNotesUrl);
return (
<div className={container}>
<div className={title}>{g('UpdateClient')}</div>
<div className={title}>
{g('UpdateNamedClient', { client: serviceName })}
</div>
<div className={description}>
{g('UpdateClientDescription', {
{g('UpdateStopClient', {
client: serviceName,
})}
</div>
Expand Down Expand Up @@ -65,7 +67,7 @@ export const UpdateCallout = ({
size="small"
onClick={onInstallClick}
/>
<Button wide label={g('Skip')} size="small" onClick={onClick} />
{/* <Button wide label={g('Skip')} size="small" onClick={onClick} /> */}
</div>
</div>
);
Expand Down

0 comments on commit e63226b

Please sign in to comment.