Commit Graph

71 Commits

Author SHA1 Message Date
Ed Lee
035e010fe9 Bug 1907350 - Expose genai-settings-chat-title and other chatbot strings for localization r=tarek,fluent-reviewers,mconley,bolsson
Move featuregate title to features.ftl used by about:preferences and about:support; and other strings to genai.ftl. Allow prompts to use l10nId to get fluent attributes. Convert inline strings for menu and shortcuts to fluent. Update simplify, add explain prompts.

Differential Revision: https://phabricator.services.mozilla.com/D218279
2024-08-03 06:40:26 +00:00
Gijs Kruitbosch
a42bb0c9ac Bug 1908785 - driveby: remove browser.preferences.search as there is no reason to disable search in settings, r=mconley
This was the feature flag behind which the settings page's 'search' functionality was written.
It's been there for years now, and it is high time to clean this up.

Differential Revision: https://phabricator.services.mozilla.com/D217034
2024-07-19 18:46:25 +00:00
Gijs Kruitbosch
136bb9abab Bug 1904714 - rename Nightly Experiments to Firefox Labs, r=Mardak,settings-reviewers,fluent-reviewers,flod,mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D215399
2024-07-08 20:01:35 +00:00
Ed Lee
6c8091193e Bug 1894999 - Expose chat prefs via experiments featuregate r=tarek,fluent-reviewers,settings-reviewers,desktop-theme-reviewers,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D209639
2024-06-07 04:28:22 +00:00
Mark Striemer
e6dff4fa84 Bug 1896837 - Only sync import widget modules after DOMContentLoaded r=reusable-components-reviewers,settings-reviewers,mconley,hjones
Co-author/investigator: Tim Giles <tgiles@mozilla.com>

Delay sychronous loading of ESM based custom elements until the
DOMContentLoaded event. With D212190--which this patch depends on--the
components that have already been used on the page will be synchronously
loaded when customElements.setElementCreationCallback is registered.

Differential Revision: https://phabricator.services.mozilla.com/D212191
2024-06-04 23:18:01 +00:00
Mike Conley
5b979dc884 Bug 1893269 - Build out basic infrastructure for backup management UI. r=backup-reviewers,settings-reviewers,firefox-desktop-core-reviewers ,Gijs,fluent-reviewers,kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D209161
2024-05-09 21:34:35 +00:00
Mike Conley
f680db2687 Bug 1892959 - Stub out initial section for backup management within about:preferences. r=backup-reviewers,fluent-reviewers,settings-reviewers,desktop-theme-reviewers,flod,Gijs,kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D209055
2024-05-08 20:37:04 +00:00
Sandor Molnar
da02f8de36 Backed out changeset 5d2a72296044 (bug 1892959) for causing bc failures @ browser/components/preferences/tests/browser_bug731866.js CLOSED TREE 2024-05-08 19:44:06 +03:00
Mike Conley
773e48c40f Bug 1892959 - Stub out initial section for backup management within about:preferences. r=backup-reviewers,fluent-reviewers,settings-reviewers,desktop-theme-reviewers,flod,Gijs,kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D209055
2024-05-08 15:21:37 +00:00
dschomburg
9f03a40c4f Bug 1853818 - Remove toolkit/branding/accounts.ftl file r=flod,fluent-reviewers,settings-reviewers,credential-management-reviewers,fxview-reviewers,omc-reviewers,firefox-desktop-core-reviewers ,mconley,aminomancer,mak,sgalich,nsharpley,mkaply
Differential Revision: https://phabricator.services.mozilla.com/D190612
2024-04-22 16:24:30 +00:00
Meera Murthy
6f28093de8 Bug 1876286 - [translations] Dynamically populate the dropdown menu selectors in the Secondary Translation Settings. r=nordzilla,fluent-reviewers,settings-reviewers,desktop-theme-reviewers,translations-reviewers,emilio,bolsson,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D199604
2024-04-10 15:40:06 +00:00
Mark Hammond
f5852b3983 Bug 1884748 - add alt text to images in about:preferences#sync. r=fluent-reviewers,flod,mconley,accessibility-frontend-reviewers,ayeddi
Differential Revision: https://phabricator.services.mozilla.com/D205090
2024-03-28 19:11:27 +00:00
Tim Giles
4b1c3b2da6 Bug 1864606 - Fix missing label association for crash reports checkbox r=fluent-reviewers,Gijs,bolsson
Thanks to mhowell for the STRIP_ANCHOR function in the Fluent migration.

We were using the "for" attribute on a XUL label which does not behave
like an HTML label. This prevented the programmatic association
between the checkbox and the label. By utilizing moz-label, we maintain
the accesskey behavior of the previous XUL label.

Additionally we use moz-support-link to remove the
"collection-backlogged-crash-reports-link" Fluent string.

Differential Revision: https://phabricator.services.mozilla.com/D204557
2024-03-15 00:10:38 +00:00
Mark Banner
99b2331403 Bug 1867288 - Load application provided search engine icons from remote settings. r=search-reviewers,mcheang,mconley
Depends on D204529

Differential Revision: https://phabricator.services.mozilla.com/D204263
2024-03-13 22:14:28 +00:00
Butkovits Atila
f35ecbe910 Backed out 3 changesets (bug 1885193, bug 1885177, bug 1867288) for causing documentation failure. CLOSED TREE
Backed out changeset 80f62f285117 (bug 1885193)
Backed out changeset 91c5d5cb698c (bug 1867288)
Backed out changeset e0611f8935ff (bug 1885177)
2024-03-13 23:25:16 +02:00
Mark Banner
8432a66c33 Bug 1867288 - Load application provided search engine icons from remote settings. r=search-reviewers,mcheang,mconley
Differential Revision: https://phabricator.services.mozilla.com/D204263
2024-03-13 20:25:06 +00:00
Morgan Rae Reschenberg
272affe059 Bug 1864445: Add text zoom only warning r=dholbert,fluent-reviewers,desktop-theme-reviewers,dao,mconley,flod
Differential Revision: https://phabricator.services.mozilla.com/D196116
2024-02-08 01:44:42 +00:00
Meera Murthy
fe0b7efdd1 Bug 1869830 - [translations] Add a page for Translation Setting Preferences. r=nordzilla,fluent-reviewers,settings-reviewers,desktop-theme-reviewers,translations-reviewers,Gijs,bolsson,dao
Differential Revision: https://phabricator.services.mozilla.com/D197048
2024-01-22 14:19:25 +00:00
Natalia Csoregi
ab3b33ee93 Backed out changeset 555c786396f8 (bug 1852046) as requested. CLOSED TREE 2023-11-09 20:53:42 +02:00
Karandeep
9ec67c7d3d Bug 1852046 - Convert all toggles to checkboxes on privacy prefs page r=dao,fluent-reviewers,desktop-theme-reviewers,hjones,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D191641
2023-10-25 15:30:14 +00:00
Dave Townsend
108be2cdee Bug 1857999: Manually fix some spacing and comments. r=Gijs,settings-reviewers,places-reviewers,Standard8
Manually re-apply comments and spacing that existed prior to the automated
changes.

Differential Revision: https://phabricator.services.mozilla.com/D190682
2023-10-18 07:04:42 +00:00
Dave Townsend
f2f7777e96 Bug 1857999: Move XML stylesheet processing instructions to link elements. r=Gijs,webdriver-reviewers,settings-reviewers,application-update-reviewers,devtools-reviewers,places-reviewers,Standard8,whimboo,bytesized,ochameau
The result of running the automated script available at https://github.com/Mossop/depi

Differential Revision: https://phabricator.services.mozilla.com/D190681
2023-10-18 07:04:41 +00:00
Sandor Molnar
099f0fd4c3 Backed out 4 changesets (bug 1857999) for causing dt failures on browser_theme_switching.js & Mn failures at test_element_state_chrome.py CLOSED TREE
Backed out changeset 75f5e6e3d917 (bug 1857999)
Backed out changeset 0d0c1d1e80e7 (bug 1857999)
Backed out changeset b8a03d31ecea (bug 1857999)
Backed out changeset dd5a10f9cfff (bug 1857999)
2023-10-16 14:12:22 +03:00
Dave Townsend
23fed3a46c Bug 1857999: Manually fix some spacing and comments. r=Gijs,settings-reviewers,places-reviewers,Standard8
Manually re-apply comments and spacing that existed prior to the automated
changes.

Differential Revision: https://phabricator.services.mozilla.com/D190682
2023-10-16 09:43:27 +00:00
Dave Townsend
92c3ea0f78 Bug 1857999: Move XML stylesheet processing instructions to link elements. r=Gijs,webdriver-reviewers,settings-reviewers,application-update-reviewers,devtools-reviewers,places-reviewers,Standard8,whimboo,bytesized,ochameau
The result of running the automated script available at https://github.com/Mossop/depi

Differential Revision: https://phabricator.services.mozilla.com/D190681
2023-10-16 09:43:26 +00:00
Dale Harvey
95ab1ce9c9 Bug 1848048 - Add a result menu to disable trending results. r=dao,fluent-reviewers,settings-reviewers,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D187066
2023-09-01 08:38:54 +00:00
ganna
166cd7c39c Bug 1814424 - Use moz-support-link for the helpButton link in preferences.xhtml r=tgiles,settings-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D179849
2023-06-05 14:27:39 +00:00
Greg Tatum
bd594a17f3 Bug 1821038 - Expose the translations.ftl file to localization; r=nordzilla,fluent-reviewers,flod
Note that this does not expose the about:translations localization file
since that is a developer-focused view that's not ready or planned for
general usage.

Differential Revision: https://phabricator.services.mozilla.com/D179360
2023-05-29 19:19:55 +00:00
Stanca Serban
e8e8ffbc64 Backed out 9 changesets (bug 1831963, bug 1821038) for causing mochitests failures in browser_preferences_usage.js. CLOSED TREE
Backed out changeset 8e03224a019c (bug 1821038)
Backed out changeset 2b8bba99a0df (bug 1831963)
Backed out changeset 44cd611f57ce (bug 1831963)
Backed out changeset 5b15a7632c91 (bug 1831963)
Backed out changeset 522ef5669a6b (bug 1831963)
Backed out changeset f730091705fd (bug 1831963)
Backed out changeset 493c07c8a519 (bug 1831963)
Backed out changeset c4811197740c (bug 1831963)
Backed out changeset baaaaff4b660 (bug 1831963)
2023-05-29 21:32:21 +03:00
Greg Tatum
cc5911885c Bug 1821038 - Expose the translations.ftl file to localization; r=nordzilla,fluent-reviewers,flod
Note that this does not expose the about:translations localization file
since that is a developer-focused view that's not ready or planned for
general usage.

Differential Revision: https://phabricator.services.mozilla.com/D179360
2023-05-29 15:04:39 +00:00
Greg Tatum
967c375f70 Bug 1820259 - Implement the translation language download preferences; r=nordzilla,flod,mconley
Differential Revision: https://phabricator.services.mozilla.com/D176189
2023-04-26 19:12:17 +00:00
Francesco Lodolo (:flod)
1dfecb77f0 Bug 1826755 - Move Firefox account Fluent term to toolkit, r=fluent-reviewers,settings-reviewers,credential-management-reviewers,fxview-reviewers,mconley,sclements,sgalich,eemeli
Differential Revision: https://phabricator.services.mozilla.com/D175097
2023-04-12 15:51:42 +00:00
Francesco Lodolo (:flod)
fa28bcb157 Bug 1822388 - Move brandings.ftl from browser to toolkit, r=eemeli,settings-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,sgalich,Mardak
Differential Revision: https://phabricator.services.mozilla.com/D172643
2023-03-15 17:00:48 +00:00
DJ
e15468c9d6 Bug 1820560 - Expose CBH prefs page strings to localization. r=settings-reviewers,fluent-reviewers,flod,mconley
Differential Revision: https://phabricator.services.mozilla.com/D171874
2023-03-08 09:09:51 +00:00
Hanna Jones
f0d26b4b27 Bug 1816202 - remove toggle-button.css and cleanup remaining references r=tgiles,settings-reviewers,mconley
It occurred to me that we're not actually using `toggle-button.css` anywhere since the about:preferences work landed. I definitely should have removed the reference in `preferences.xhtml` as part of that patch, whoops.

Differential Revision: https://phabricator.services.mozilla.com/D169530
2023-02-13 20:41:02 +00:00
Hanna Jones
877b3e6849 Bug 1799471 - Part 2: replace toggles in about:preferences with moz-toggle r=tgiles,mconley
This patch changes the Firefox Suggest preference toggles to use the new `moz-toggle` element.

For testing purposes, set `browser.urlbar.quicksuggest.enabled` to `true` to make the toggles visible in `about:preferences#privacy`.

Differential Revision: https://phabricator.services.mozilla.com/D167881
2023-02-08 00:09:07 +00:00
Mike Conley
07c9adc0ac Bug 1814912 - Use an HTML5 dialog instead of gSubDialog for the new migration wizard in about:preferences. r=Gijs,settings-reviewers
I also renamed migration-dialog.[js|html|css] to migration-dialog-window.[js|html|css] to
make it clearer that those resources are for when the wizard is being shown in a separate
window. I also updated the documentation to reflect this.

Differential Revision: https://phabricator.services.mozilla.com/D169014
2023-02-07 14:25:47 +00:00
Hanna Jones
b13fa2861c Bug 1814989 - switch from image to html:img to fix info icons r=settings-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D168855
2023-02-06 15:43:24 +00:00
Tim Giles
653373bc75 Bug 1801927 - refactor containers learn more link. r=hjones,settings-reviewers,mconley
Replaces the XUL label for the "Enable Container Tabs" with the
moz-support-link element

Differential Revision: https://phabricator.services.mozilla.com/D166463
2023-01-18 19:13:31 +00:00
Jared Hirsch
42530ae257 Bug 1800675 - Add about:preferences entry for cookie banner handling. r=fluent-reviewers,flod,mconley
Differential Revision: https://phabricator.services.mozilla.com/D164632
2023-01-11 15:54:01 +00:00
Eemeli Aro
6186d62a9e Bug 1786708 - Migrate formautofill management dialogs to Fluent. r=sgalich,fluent-reviewers,preferences-reviewers,flod,jaws
A new FTL file for the extension is added under `browser/preferences/` rather than `browser/extensions/formautofill/`, as the former is a more common location for FTL localizations, and the extension already relies on an FTL file hosted outside its own directory, `toolkit/payments/payments.ftl`.

The dialogs are not fully migrated in this patch, as some of the strings are shared with the edit dialogs and are migrated separately.

A Fluent migration for the localization changes applied here is included in the next patch after this one.

Differential Revision: https://phabricator.services.mozilla.com/D155478
2022-09-01 20:35:34 +00:00
Norisz Fay
4961fb7d01 Backed out 2 changesets (bug 1786708, bug 1446164) for causing multiple failures CLOSED TREE
Backed out changeset 469e2500f00e (bug 1446164)
Backed out changeset 0d298c6f7475 (bug 1786708)
2022-09-01 15:34:56 +03:00
Eemeli Aro
868f4c2248 Bug 1786708 - Migrate formautofill management dialogs to Fluent. r=sgalich,fluent-reviewers,preferences-reviewers,flod,jaws
A new FTL file for the extension is added under `browser/preferences/` rather than `browser/extensions/formautofill/`, as the former is a more common location for FTL localizations, and the extension already relies on an FTL file hosted outside its own directory, `toolkit/payments/payments.ftl`.

The dialogs are not fully migrated in this patch, as some of the strings are shared with the edit dialogs and are migrated separately.

A Fluent migration for the localization changes applied here is included in the next patch after this one.

Differential Revision: https://phabricator.services.mozilla.com/D155478
2022-09-01 08:26:46 +00:00
Hanna Jones
5bd2bf377e Bug 1766318 - replace is='text-link' with <html:a> in preferences.xhtml r=preferences-reviewers,Gijs
These changes replicate the exact appearance and behaviour of `<label is="text-link">`. There are a few possible enhancements not tackled here, as this is the simplest possible migration implementation:

* We could switch to using `button` elements in this case, based on the styling and the fact that the `addonsButton` has some additional behaviour on top of navigation. This would necessitate re-working the current style rules a bit.
* Somewhat relatedly, we could change the `helpButton` and `about:policies` anchor elements to always switch tabs if the link has already been clicked/opened, rather than always opening in a new tab

Differential Revision: https://phabricator.services.mozilla.com/D144624
2022-05-04 17:53:27 +00:00
Neil Deakin
cd727f9550 Bug 371900, remove more now-unneeded empty oncommand attributes, r=bgrins,preferences-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D135243
2022-01-11 20:02:30 +00:00
criss
3f79d2a840 Backed out 2 changesets (bug 371900) for causing bug 1749182 . CLOSED TREE
Backed out changeset e59035c65af3 (bug 371900)
Backed out changeset 6434bce9c7d4 (bug 371900)
2022-01-09 16:26:02 +02:00
Neil Deakin
eb074d9da8 Bug 371900, remove more now-unneeded empty oncommand attributes, r=bgrins,preferences-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D135243
2022-01-08 18:07:21 +00:00
Meg Viar
064ab3a732 Bug 1744466 - Make "More from Mozilla" strings localizable r=preferences-reviewers,fluent-reviewers,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D134069
2021-12-29 15:12:43 +00:00
Gijs Kruitbosch
02fb3a9572 Bug 1741634 - ensure search input doesn't move mid-search due to differing content width, r=jaws,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D133128
2021-12-09 15:47:31 +00:00
Emilio Cobos Alvarez
d388fbd1f1 Bug 1742696 - Opt-in a bunch of about:pages to dark system colors / form controls. r=Gijs,preferences-reviewers,webcompat-reviewers,twisniewski
Privileged pages do this automatically via:

  https://searchfox.org/mozilla-central/rev/aa8c75b83f636948f708986173965c84cae8c25f/widget/nsXPLookAndFeel.cpp#1179-1183

So this makes everything more consistent. Known exceptions:

 * Pocket panels (as those don't seem to support dark mode)
 * about:reader (because it has its own dark mode handling)

Differential Revision: https://phabricator.services.mozilla.com/D132019
2021-11-25 21:24:43 +00:00