From: Kohei Yoshino Date: Thu, 24 Jan 2019 17:28:19 +0000 (-0500) Subject: Bug 1522548 - Platform "From Reporter" detects macOS client as "Other" X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e64f48292e1d9ec89297ec1d203d0a272d7b626b;p=thirdparty%2Fbugzilla.git Bug 1522548 - Platform "From Reporter" detects macOS client as "Other" --- diff --git a/Bugzilla/UserAgent.pm b/Bugzilla/UserAgent.pm index 69968eadc..f89014585 100644 --- a/Bugzilla/UserAgent.pm +++ b/Bugzilla/UserAgent.pm @@ -164,7 +164,7 @@ use constant OS_MAP => ( # OS X 10.3 is the most likely default version of PowerPC Macs # OS X 10.0 is more for configurations which didn't setup 10.x versions - qr/\(.*Mac OS X.*\)/ => [("Mac OS X 10.3", "Mac OS X 10.0", "Mac OS X")], + qr/\(.*Mac OS X.*\)/ => [("Mac OS X 10.3", "Mac OS X 10.0", "macOS")], qr/\(.*Mac OS 9.*\)/ => [("Mac System 9.x", "Mac System 9.0")], qr/\(.*Mac OS 8\.6.*\)/ => [("Mac System 8.6", "Mac System 8.5")], qr/\(.*Mac OS 8\.5.*\)/ => ["Mac System 8.5"], @@ -172,7 +172,7 @@ use constant OS_MAP => ( qr/\(.*Mac OS 8\.0.*\)/ => ["Mac System 8.0"], qr/\(.*Mac OS 8[^.].*\)/ => ["Mac System 8.0"], qr/\(.*Mac OS 8.*\)/ => ["Mac System 8.6"], - qr/\(.*Darwin.*\)/ => [("Mac OS X 10.0", "Mac OS X")], + qr/\(.*Darwin.*\)/ => [("Mac OS X 10.0", "macOS")], # Silly qr/\(.*Mac.*PowerPC.*\)/ => ["Mac System 9.x"], diff --git a/extensions/BMO/template/en/default/hook/bug/field-help-end.none.tmpl b/extensions/BMO/template/en/default/hook/bug/field-help-end.none.tmpl index c70b35825..f7a4ed950 100644 --- a/extensions/BMO/template/en/default/hook/bug/field-help-end.none.tmpl +++ b/extensions/BMO/template/en/default/hook/bug/field-help-end.none.tmpl @@ -81,7 +81,7 @@ Sometimes the operating system implies the platform, but not diff --git a/scripts/generate_bmo_data.pl b/scripts/generate_bmo_data.pl index d96613fb5..225066e1c 100755 --- a/scripts/generate_bmo_data.pl +++ b/scripts/generate_bmo_data.pl @@ -119,7 +119,7 @@ my @oses = ( 'Windows Vista', 'Windows 7', 'Windows 8', 'Windows 8.1', 'Windows 10', 'Windows Phone', - 'Mac OS X', 'Linux', + 'macOS', 'Linux', 'Android', 'iOS', 'iOS 7', 'iOS 8', 'BSDI', 'FreeBSD', diff --git a/template/en/default/bug/create/create-guided.html.tmpl b/template/en/default/bug/create/create-guided.html.tmpl index 4318b0e90..132b4380a 100644 --- a/template/en/default/bug/create/create-guided.html.tmpl +++ b/template/en/default/bug/create/create-guided.html.tmpl @@ -217,7 +217,7 @@ function PutDescription() { [% op_sys = [ "Windows 2000", "Windows XP", "Windows Vista", "Windows 7", - "Mac OS X", "Linux", "All", "Other" ] %] + "macOS", "Linux", "All", "Other" ] %] diff --git a/template/en/default/pages/bug-writing.html.tmpl b/template/en/default/pages/bug-writing.html.tmpl index 3d1f4cf34..f305aaa83 100644 --- a/template/en/default/pages/bug-writing.html.tmpl +++ b/template/en/default/pages/bug-writing.html.tmpl @@ -76,7 +76,7 @@ no-one else appears to have reported it, then:

OS: On which operating system (OS) did you find it? - (e.g. Linux, Windows XP, Mac OS X.)
+ (e.g. Linux, Windows XP, macOS.)
If you know the [% terms.bug %] happens on more than one type of operating system, choose [% display_value("op_sys", "All") FILTER html %]. If your OS isn't listed, choose [% display_value("op_sys", "Other") FILTER html %].

@@ -165,7 +165,7 @@ Doesn't Occur On Build 2006-08-10 on Windows XP Home (Service Pack 2)
  • Windows: Note the type of the crash, and the module that the application crashed in (e.g. access violation in apprunner.exe).
  • -
  • Mac OS X: Attach the "Crash Reporter" log that appears +
  • macOS: Attach the "Crash Reporter" log that appears upon crash. Only include the section directly below the crashing thread, usually titled "Thread 0 Crashed". Please do not paste the entire log!