Skip to content

Commit 01ffa2a

Browse files
committed
refactor: Fix typos in variable names
1 parent 9e56d4a commit 01ffa2a

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

apps/site/i18n/locales/en.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@
303303
"activateFNM": "activate fnm",
304304
"noteWithColon": "NOTE:",
305305
"dockerIsNotNodejsPackageManager": "Docker is not a Node.js package manager.",
306-
"PleaseEndureAlreadyInstallOnSystem": "Please ensure it is already installed on your system.",
306+
"PleaseEnsureAlreadyInstallOnSystem": "Please ensure it is already installed on your system.",
307307
"dockerInstructions": "Follow official instructions at https://docs.docker.com/desktop/",
308308
"dockerImagesLink": "Docker images are provided officially at https://github.com/nodejs/docker-node/",
309309
"pullsNodejsDockerImage": "pulls the Node.js Docker image",
@@ -312,7 +312,7 @@
312312
"homebrewSupportsIntallingMajorNodejsVersion": "Homebrew only supports installing major Node.js versions and might not support the latest Node.js version from the {version} release line.",
313313
"chocolateyIsNotNodejsPackageManager": "Chocolatey is not a Node.js package manager.",
314314
"chocolateyInstructions": "Follow official instructions at https://chocolatey.org/",
315-
"chocolateyNotMaintanedByNodejs": "Chocolatey is not officially maintained by the Node.js project and might not support the {version} version of Node.js"
315+
"chocolateyNotMaintainedByNodejs": "Chocolatey is not officially maintained by the Node.js project and might not support the {version} version of Node.js"
316316
}
317317
}
318318
}

apps/site/util/getNodeDownloadSnippet.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const getNodeDownloadSnippet = (
2222
snippets.DOCKER = dedent`
2323
# ${t('layouts.download.codeBox.noteWithColon')}
2424
# ${t('layouts.download.codeBox.dockerIsNotNodejsPackageManager')}
25-
# ${t('layouts.download.codeBox.PleaseEndureAlreadyInstallOnSystem')}
25+
# ${t('layouts.download.codeBox.PleaseEnsureAlreadyInstallOnSystem')}
2626
# ${t('layouts.download.codeBox.dockerInstructions')}
2727
# ${t('layouts.download.codeBox.dockerImagesLink')}
2828
@@ -69,7 +69,7 @@ export const getNodeDownloadSnippet = (
6969
snippets.BREW = dedent`
7070
# ${t('layouts.download.codeBox.noteWithColon')}
7171
# ${t('layouts.download.codeBox.homebrewIsNotNodejsPackageManager')}
72-
# ${t('layouts.download.codeBox.PleaseEndureAlreadyInstallOnSystem')}
72+
# ${t('layouts.download.codeBox.PleaseEnsureAlreadyInstallOnSystem')}
7373
# ${t('layouts.download.codeBox.homebrewInstructions')}
7474
# ${t('layouts.download.codeBox.homebrewSupportsIntallingMajorNodejsVersion', { version: release.major })}
7575
@@ -100,9 +100,9 @@ export const getNodeDownloadSnippet = (
100100
snippets.CHOCO = dedent`
101101
# ${t('layouts.download.codeBox.noteWithColon')}
102102
# ${t('layouts.download.codeBox.chocolateyIsNotNodejsPackageManager')}
103-
# ${t('layouts.download.codeBox.PleaseEndureAlreadyInstallOnSystem')}
103+
# ${t('layouts.download.codeBox.PleaseEnsureAlreadyInstallOnSystem')}
104104
# ${t('layouts.download.codeBox.chocolateyInstructions')}
105-
# ${t('layouts.download.codeBox.chocolateyNotMaintanedByNodejs', { version: release.versionWithPrefix })}
105+
# ${t('layouts.download.codeBox.chocolateyNotMaintainedByNodejs', { version: release.versionWithPrefix })}
106106
107107
# ${t('layouts.download.codeBox.downloadAndInstallNodejs')}
108108
choco install nodejs${release.isLts ? '-lts' : ''} --version="${release.version}"

0 commit comments

Comments
 (0)