From 1b3bb8de7d39fe135abc674c1e6d642cce854d4a Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Thu, 29 Jun 2017 19:41:28 +0000 Subject: [PATCH] godoc/dl: change OS X to macOS, clarify WinXP requirement Change-Id: Ib90881aef9c1bec0339dbbc38cbb320d5b731d97 Reviewed-on: https://go-review.googlesource.com/47251 Reviewed-by: Andrew Bonventre --- godoc/dl/dl.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/godoc/dl/dl.go b/godoc/dl/dl.go index abff327524..b4230b610a 100644 --- a/godoc/dl/dl.go +++ b/godoc/dl/dl.go @@ -151,7 +151,7 @@ type Feature struct { File fileRE *regexp.Regexp - Platform string // "Microsoft Windows", "Mac OS X", "Linux" + Platform string // "Microsoft Windows", "Apple macOS", "Linux" Requirements string // "Windows XP and above, 64-bit Intel Processor" } @@ -160,12 +160,12 @@ type Feature struct { var featuredFiles = []Feature{ { Platform: "Microsoft Windows", - Requirements: "Windows XP or later, Intel 64-bit processor", + Requirements: "Windows XP SP2 or later, Intel 64-bit processor", fileRE: regexp.MustCompile(`\.windows-amd64\.msi$`), }, { - Platform: "Apple OS X", - Requirements: "OS X 10.8 or later, Intel 64-bit processor", + Platform: "Apple macOS", + Requirements: "macOS 10.8 or later, Intel 64-bit processor", fileRE: regexp.MustCompile(`\.darwin-amd64(-osx10\.8)?\.pkg$`), }, { @@ -486,7 +486,7 @@ func pretty(s string) string { } var prettyStrings = map[string]string{ - "darwin": "OS X", + "darwin": "macOS", "freebsd": "FreeBSD", "linux": "Linux", "windows": "Windows",