Add support to use restricted search keywords in both en-US and the localized language
Categories
(Firefox :: Address Bar, task, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox135 | --- | fixed |
People
(Reporter: mcheang, Assigned: mcheang)
References
(Blocks 1 open bug)
Details
(Whiteboard: [sng])
Attachments
(3 files)
When the user is in a localized language (e.g. es-ES) they should be able to use both the localized keyword and the English keyword.
For example, if the user is using Spanish locale, the user can use @marcadores and the en-us keyword @bookmarks.
Please see screenshots for a demo of the changes in the address bar results and in about:preferences#search.
PREF:
- set
browser.urlbar.searchRestrictKeywords.featureGateto true
Acceptance Criteria for results panel
- Should list the restrict keywords result as
@localizedkeyword, @englishKeyword - Search <Localized Search Mode> - See address-bar-result screenshot for example in Spanish
Acceptance Criteria for about:preferences#search
- Should see the localized search mode under "Search Engine" column
- Should see @localizedKeyword, @englishKeyword, restrict token
- See about-preferences-search screenshot for example in Spanish
Acceptance Criteria for English Autofill
- type out the full English keyword and space
@bookmarks, address bar should show results panel with history results - type
@boand press right arrow, shows results panel with bookmarks results - type
@boand press enter, shows results panel with bookmarks results - Type
@boand press tab, shows results panel with bookmarks results
Acceptance Criteria for Spnaish Autofill
- type out the full Spanish keyword and space
@marcadores, address bar should show results panel with history results - type
@mand press right arrow, shows results panel with bookmarks results - type
@mand press enter, shows results panel with bookmarks results - Type
@mand press tab, shows results panel with bookmarks results
| Assignee | ||
Comment 1•1 year ago
|
||
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 2•1 year ago
|
||
This patch adds English restrict keyword strings to the enUS-searchFeature.ftl
file. The restrictKeywords providers return an array of keywords for their
l10nRestrictKeywords property. The first is the localized keyword, and the
second is the English keyword. If the user is in the English locale, the
providers return an array with one element: the English keyword.
Updated•1 year ago
|
Comment 4•1 year ago
|
||
| bugherder | ||
Description
•