Bug 1375692 - Indicate support for Stylo in about:support
This is a PoC patch. No clue if tests are needed. No clue if we want
to look at a pref value instead of the #define's. Hopefully I saved
someone a little work with this minimal patch :)
MozReview-Commit-ID: GZdyy2fKIfZ
--- a/toolkit/content/aboutSupport.xhtml
+++ b/toolkit/content/aboutSupport.xhtml
@@ -223,16 +223,32 @@
<th class="column">
&aboutSupport.appBasicsMultiProcessSupport;
</th>
<td id="multiprocess-box">
</td>
</tr>
+#ifdef MOZ_STYLO
+ <tr>
+ <th class="column">
+ Stylo
+ </th>
+
+ <td id="stylo-box">
+#ifdef MOZ_STYLO_ENABLE
+ &aboutSupport.appBasicsStyloEnabled;
+#else
+ &aboutSupport.appBasicsStyloSupported;
+#endif
+ </td>
+ </tr>
+#endif
+
<tr>
<th class="column">
&aboutSupport.appBasicsKeyGoogle;
</th>
<td id="key-google-box">
</td>
</tr>
--- a/toolkit/locales/en-US/chrome/global/aboutSupport.dtd
+++ b/toolkit/locales/en-US/chrome/global/aboutSupport.dtd
@@ -65,16 +65,19 @@ Windows/Mac use the term "Folder" instea
<!-- LOCALIZATION NOTE the term "Service Workers" should not be translated. -->
<!ENTITY aboutSupport.appBasicsServiceWorkers "Registered Service Workers">
<!ENTITY aboutSupport.appBasicsProfiles "Profiles">
<!ENTITY aboutSupport.appBasicsMultiProcessSupport "Multiprocess Windows">
+<!ENTITY aboutSupport.appBasicsStyloSupported "Supported">
+<!ENTITY aboutSupport.appBasicsStyloEnabled "Enabled">
+
<!ENTITY aboutSupport.appBasicsKeyGoogle "Google Key">
<!ENTITY aboutSupport.appBasicsKeyMozilla "Mozilla Location Service Key">
<!ENTITY aboutSupport.appBasicsSafeMode "Safe Mode">
<!ENTITY aboutSupport.showDir.label "Open Directory">
<!-- LOCALIZATION NOTE (aboutSupport.showMac.label): This is the Mac-specific
variant of aboutSupport.showDir.label. This allows us to use the preferred