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

[tor-commits] [Git][tpo/applications/tor-browser][base-browser-102.8.0esr-12.5-1] 2 commits: fixup! Bug 40925: Implemented the Security Level component



Title: GitLab

Pier Angelo Vendrame pushed to branch base-browser-102.8.0esr-12.5-1 at The Tor Project / Applications / Tor Browser

Commits:

  • 2de21152
    by Pier Angelo Vendrame at 2023-02-15T09:24:19+01:00
    fixup! Bug 40925: Implemented the Security Level component
    
    Bug 40781 (build): Move l10n files to browser/locales
    
  • 9c96c84b
    by Pier Angelo Vendrame at 2023-02-15T09:25:44+01:00
    fixup! Bug 40926: Implemented the New Identity feature
    
    Bug 40781 (build): Move l10n files to browser/locales
    

8 changed files:

Changes:

  • browser/components/newidentity/content/newidentity.js
    ... ... @@ -24,7 +24,7 @@ XPCOMUtils.defineLazyGetter(this, "NewIdentityStrings", () => {
    24 24
       let bundle = null;
    
    25 25
       try {
    
    26 26
         bundle = Services.strings.createBundle(
    
    27
    -      "chrome://newidentity/locale/newIdentity.properties"
    
    27
    +      "chrome://browser/locale/newIdentity.properties"
    
    28 28
         );
    
    29 29
       } catch (e) {
    
    30 30
         console.warn("Could not load the New Identity strings");
    

  • browser/components/newidentity/jar.mn
    ... ... @@ -3,14 +3,3 @@ browser.jar:
    3 3
         content/browser/newIdentityDialog.xhtml    (content/newIdentityDialog.xhtml)
    
    4 4
         content/browser/newIdentityDialog.css      (content/newIdentityDialog.css)
    
    5 5
         content/browser/newIdentityDialog.js       (content/newIdentityDialog.js)
    6
    -
    
    7
    -newidentity.jar:
    
    8
    -# We need to list at least one locale here, to make Firefox load the localized
    
    9
    -# copy of properties at chrome://newidentity/locale/newIdentity.properties.
    
    10
    -# Ideally, we should use @AB_CD@.jar to automatically copy all the locales
    
    11
    -# Firefox is built with. But we only provide English here, and injecting the
    
    12
    -# translated files directly to the omni.ja works better for us, for the time
    
    13
    -# being. In addition to inject the properties files, we also add the
    
    14
    -# corresponding locale line to chrome/chrome.manifest.
    
    15
    -% locale newidentity en-US %locale/en-US/
    
    16
    -    locale/en-US/newIdentity.properties  (locale/en-US/newIdentity.properties)

  • browser/components/securitylevel/content/securityLevel.js
    ... ... @@ -46,7 +46,7 @@ XPCOMUtils.defineLazyGetter(this, "SecurityLevelStrings", () => {
    46 46
       let bundle = null;
    
    47 47
       try {
    
    48 48
         bundle = Services.strings.createBundle(
    
    49
    -      "chrome://securitylevel/locale/securityLevel.properties"
    
    49
    +      "chrome://browser/locale/securityLevel.properties"
    
    50 50
         );
    
    51 51
       } catch (e) {
    
    52 52
         console.warn("Could not load the Security Level strings");
    

  • browser/components/securitylevel/jar.mn
    ... ... @@ -4,8 +4,3 @@ browser.jar:
    4 4
         content/browser/securitylevel/securityLevelButton.css      (content/securityLevelButton.css)
    
    5 5
         content/browser/securitylevel/securityLevelPreferences.css (content/securityLevelPreferences.css)
    
    6 6
         content/browser/securitylevel/securityLevelIcon.svg        (content/securityLevelIcon.svg)
    7
    -
    
    8
    -securitylevel.jar:
    
    9
    -# See New Identity for further information on how this works
    
    10
    -% locale securitylevel en-US %locale/en-US/
    
    11
    -    locale/en-US/securityLevel.properties                      (locale/en-US/securityLevel.properties)

  • browser/installer/package-manifest.in
    ... ... @@ -245,10 +245,6 @@
    245 245
     #endif
    
    246 246
     
    
    247 247
     ; Base Browser
    
    248
    -@RESPATH@/browser/chrome/newidentity.manifest
    
    249
    -@RESPATH@/browser/chrome/newidentity/
    
    250
    -@RESPATH@/browser/chrome/securitylevel.manifest
    
    251
    -@RESPATH@/browser/chrome/securitylevel/
    
    252 248
     @RESPATH@/components/SecurityLevel.manifest
    
    253 249
     
    
    254 250
     ; [DevTools Startup Files]
    

  • browser/components/newidentity/locale/en-US/newIdentity.propertiesbrowser/locales/en-US/chrome/browser/newIdentity.properties

  • browser/components/securitylevel/locale/en-US/securityLevel.propertiesbrowser/locales/en-US/chrome/browser/securityLevel.properties

  • browser/locales/jar.mn
    ... ... @@ -39,6 +39,8 @@
    39 39
         locale/browser/safebrowsing/safebrowsing.properties   (%chrome/browser/safebrowsing/safebrowsing.properties)
    
    40 40
         locale/browser/feeds/subscribe.properties       (%chrome/browser/feeds/subscribe.properties)
    
    41 41
         locale/browser/syncSetup.properties         (%chrome/browser/syncSetup.properties)
    
    42
    +    locale/browser/securityLevel.properties        (%chrome/browser/securityLevel.properties)
    
    43
    +    locale/browser/newIdentity.properties          (%chrome/browser/newIdentity.properties)
    
    42 44
     % locale browser-region @AB_CD@ %locale/browser-region/
    
    43 45
     # the following files are browser-specific overrides
    
    44 46
         locale/browser/netError.dtd                (%chrome/overrides/netError.dtd)

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits