gh-13522: Fixed search engines not being visible in settings (gh-13547)

This commit is contained in:
mr. m
2026-05-03 23:35:14 +02:00
committed by GitHub
parent 607551f394
commit a9a582afae
4 changed files with 18 additions and 5 deletions

View File

@@ -79,7 +79,6 @@ zen-icons-picker-svg =
.label = Icons
urlbar-search-mode-zen_actions = Actions
urlbar-search-mode-workspaces = { zen-panel-ui-workspaces-text }
zen-site-data-settings = Settings
zen-generic-manage = Manage

View File

@@ -1,5 +1,5 @@
diff --git a/browser/components/urlbar/UrlbarUtils.sys.mjs b/browser/components/urlbar/UrlbarUtils.sys.mjs
index 64afd613f454edd7786fcc1e2f307a582e4d5f51..50e2dd129d4f2e8f0b07e29639d660cd08ee7318 100644
index 64afd613f454edd7786fcc1e2f307a582e4d5f51..92f91379f43785cf5417c96b178884c860db6bd3 100644
--- a/browser/components/urlbar/UrlbarUtils.sys.mjs
+++ b/browser/components/urlbar/UrlbarUtils.sys.mjs
@@ -85,6 +85,8 @@ export var UrlbarUtils = {
@@ -30,7 +30,7 @@ index 64afd613f454edd7786fcc1e2f307a582e4d5f51..50e2dd129d4f2e8f0b07e29639d660cd
+ icon: "chrome://browser/skin/zen-icons/selectable/layers.svg",
+ pref: "shortcuts.workspaces",
+ telemetryLabel: "workspaces",
+ uiLabel: "urlbar-searchmode-workspaces",
+ uiLabel: "urlbar-search-mode-workspaces",
+ },
]);
},

View File

@@ -0,0 +1,14 @@
diff --git a/browser/components/urlbar/content/enUS-searchFeatures.ftl b/browser/components/urlbar/content/enUS-searchFeatures.ftl
index a1fb86058d1f6f015160163f75999b4a429bf1fd..83098291e21a8239513a4105a4604394a1dfabc0 100644
--- a/browser/components/urlbar/content/enUS-searchFeatures.ftl
+++ b/browser/components/urlbar/content/enUS-searchFeatures.ftl
@@ -2,6 +2,9 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+urlbar-search-mode-workspaces = Spaces
+urlbar-search-mode-workspaces-en = Spaces
+
### These strings are related to the Firefox Suggest feature. Firefox Suggest
### shows recommended and sponsored third-party results in the address bar
### panel. It also shows headings/labels above different groups of results. For

View File

@@ -238,7 +238,7 @@
width: 200px;
height: 250px;
border-radius: 16px;
background: black;
background: light-dark(white, black);
justify-content: center;
align-items: center;
padding: 20px;
@@ -251,7 +251,7 @@
}
& label {
color: white;
color: light-dark(black, white);
font-size: 14px;
font-weight: bold;
text-align: center;