From 8127ec8ba5d92ffcd1ccff63fbca66cde105261a Mon Sep 17 00:00:00 2001 From: Luigi Pinca Date: Tue, 11 Oct 2016 09:29:26 +0200 Subject: [PATCH] Replace Mac OS X / OS X with macOS Fixes: https://github.com/nodejs/nodejs.org/issues/951 --- layouts/partials/primary-download-matrix.hbs | 4 ++-- locale/en/get-involved/contribute.md | 2 +- scripts/helpers/downloads.js | 10 +++++----- static/js/download.js | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/layouts/partials/primary-download-matrix.hbs b/layouts/partials/primary-download-matrix.hbs index 1e499f01f586e..1551ddeb1b7ec 100644 --- a/layouts/partials/primary-download-matrix.hbs +++ b/layouts/partials/primary-download-matrix.hbs @@ -54,12 +54,12 @@ - Mac OS X Installer (.pkg) + macOS Installer (.pkg) 64-bit - Mac OS X Binaries (.tar.gz) + macOS Binaries (.tar.gz) 64-bit diff --git a/locale/en/get-involved/contribute.md b/locale/en/get-involved/contribute.md index 85dd85c648ee4..a006a681392e0 100644 --- a/locale/en/get-involved/contribute.md +++ b/locale/en/get-involved/contribute.md @@ -14,7 +14,7 @@ If you have found what you believe to be an issue with Node.js please do not hes When reporting an issue we also need as much information about your environment that you can include. We never know what information will be pertinent when trying narrow down the issue. Please include at least the following information: * Version of Node -* Platform you're running on (OS X, SunOS, Linux, Windows) +* Platform you're running on (macOS, SunOS, Linux, Windows) * Architecture you're running on (32bit or 64bit and x86 or ARM) The Node.js project is currently managed across a number of separate GitHub repositories, each with their own separate issues database. If possible, please direct any issues you are reporting to the appropriate repository but don't worry if things happen to get put in the wrong place, the community of contributors will be more than happy to help get you pointed in the right direction. diff --git a/scripts/helpers/downloads.js b/scripts/helpers/downloads.js index 87a0f9360e765..a32baa49be718 100644 --- a/scripts/helpers/downloads.js +++ b/scripts/helpers/downloads.js @@ -20,11 +20,11 @@ const postMergeDownloads = [ 'templateUrl': 'https://nodejs.org/dist/v%version%/win-x64/node.exe' }, { - 'title': 'Mac OS X 64-bit Installer', + 'title': 'macOS 64-bit Installer', 'templateUrl': 'https://nodejs.org/dist/v%version%/node-v%version%.pkg' }, { - 'title': 'Mac OS X 64-bit Binary', + 'title': 'macOS 64-bit Binary', 'templateUrl': 'https://nodejs.org/dist/v%version%/node-v%version%-darwin-x64.tar.gz' }, { @@ -84,15 +84,15 @@ const legacyDownloads = [ 'templateUrl': 'https://nodejs.org/dist/v%version%/x64/node.exe' }, { - 'title': 'Mac OS X Universal Installer', + 'title': 'macOS Universal Installer', 'templateUrl': 'https://nodejs.org/dist/v%version%/node-v%version%.pkg' }, { - 'title': 'Mac OS X 64-bit Binary', + 'title': 'macOS 64-bit Binary', 'templateUrl': 'https://nodejs.org/dist/v%version%/node-v%version%-darwin-x64.tar.gz' }, { - 'title': 'Mac OS X 32-bit Binary', + 'title': 'macOS 32-bit Binary', 'templateUrl': 'https://nodejs.org/dist/v%version%/node-v%version%-darwin-x86.tar.gz' }, { diff --git a/static/js/download.js b/static/js/download.js index 0599258c571a3..cdba6f4f332a1 100644 --- a/static/js/download.js +++ b/static/js/download.js @@ -59,7 +59,7 @@ switch (os) { case 'Mac': versionIntoHref(buttons, 'node-%version%.pkg') - downloadHead[text] = dlLocal + ' OS X (x64)' + downloadHead[text] = dlLocal + ' macOS (x64)' break case 'Win': versionIntoHref(buttons, 'node-%version%-' + arch + '.msi')