[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/tor-browser][tor-browser-153.1.0esr-16.0-1] 2 commits: fixup! BB 44711: Hide unwanted setting controls in Base Browser.



Title: GitLab

morgan pushed to branch tor-browser-153.1.0esr-16.0-1 at The Tor Project / Applications / Tor Browser

Commits:

  • ff38a76d
    by Henry Wilkes at 2026-08-18T13:13:24+00:00
    fixup! BB 44711: Hide unwanted setting controls in Base Browser.
    
    BB 45209: Replace "Account and sync" with "Profiles".
    
  • 8774f338
    by Henry Wilkes at 2026-08-18T13:13:24+00:00
    fixup! Base Browser strings
    
    BB 45209: Replace "Account and sync" with "Profiles".
    

3 changed files:

Changes:

  • browser/components/preferences/config/account-sync.mjs
    ... ... @@ -819,7 +819,8 @@ SettingGroupManager.registerGroups({
    819 819
       }),
    
    820 820
       accountDisabled: {
    
    821 821
         inProgress: true,
    
    822
    -    hidden: accountsEnabled,
    
    822
    +    // Hide the "disabled" banner unconditionally. tor-browser#45209.
    
    823
    +    hidden: true,
    
    823 824
         items: [
    
    824 825
           {
    
    825 826
             id: "fxaAccountDisabled",
    

  • browser/components/preferences/preferences.js
    ... ... @@ -429,7 +429,9 @@ const CONFIG_PANES = Object.freeze({
    429 429
         replaces: "search",
    
    430 430
       },
    
    431 431
       sync: {
    
    432
    -    l10nId: "account-sync-section",
    
    432
    +    // Switch the category name to remove mention of "Account and sync".
    
    433
    +    // tor-browser#45209.
    
    434
    +    l10nId: "profiles-no-account-sync-section",
    
    433 435
         iconSrc: "chrome://browser/skin/fxa/avatar-empty.svg",
    
    434 436
         groupIds: [
    
    435 437
           "defaultBrowserSync",
    
    ... ... @@ -566,7 +568,9 @@ function init_all() {
    566 568
       );
    
    567 569
       let categorySync = document.getElementById("category-sync");
    
    568 570
       if (redesignEnabled) {
    
    569
    -    categorySync.setAttribute("data-l10n-id", "pane-account-sync-title2");
    
    571
    +    // Switch the category name to remove mention of "Account and sync".
    
    572
    +    // tor-browser#45209.
    
    573
    +    categorySync.setAttribute("data-l10n-id", "pane-profiles-no-account-sync");
    
    570 574
         categorySync.iconSrc = "chrome://browser/skin/fxa/avatar-empty.svg";
    
    571 575
         categorySync.hidden = false;
    
    572 576
       } else if (accountsEnabled) {
    

  • toolkit/locales/en-US/toolkit/global/base-browser.ftl
    ... ... @@ -101,6 +101,16 @@ letterboxing-disabled-message =
    101 101
     letterboxing-enable-button =
    
    102 102
         .label = Enable Letterboxing
    
    103 103
     
    
    104
    +## Preferences - Profiles.
    
    105
    +
    
    106
    +# "Profiles" is a noun, referring to the user's browser profiles (settings, bookmarks, etc).
    
    107
    +pane-profiles-no-account-sync = Profiles
    
    108
    +    .title = Profiles
    
    109
    +
    
    110
    +# "Profiles" is a noun, referring to the user's browser profiles (settings, bookmarks, etc).
    
    111
    +profiles-no-account-sync-section =
    
    112
    +    .heading = Profiles
    
    113
    +
    
    104 114
     ## Preferences - Sidebar.
    
    105 115
     
    
    106 116
     # Here "sidebar" is a term inherited from Firefox. It refers to the panel that is either side of the main browser window, containing the bookmarks and vertical tabs, if they are enabled.
    

  • _______________________________________________
    tor-commits mailing list -- tor-commits@xxxxxxxxxxxxxxxxxxxx
    To unsubscribe send an email to tor-commits-leave@xxxxxxxxxxxxxxxxxxxx