Browse Source

Don't distinguish between "options" and "preferences" (Windows/Mac,Linux) since TB 91 calls them all preferences now.

master
Jörg Knobloch 10 months ago
parent
commit
6d4e28d0e0
2 changed files with 2 additions and 4 deletions
  1. +1
    -3
      addon/content/dialogs/options.js
  2. +1
    -1
      addon/content/pepmsghdrview.js

+ 1
- 3
addon/content/dialogs/options.js View File

@ -37,9 +37,7 @@ var pEpOptions = {
},
initializeStrings() {
let label = pEpController.platform == "win"
? "optionsLabelWin"
: "optionsLabel";
let label = pEpController.platform == "win" && pEpController.MOZ_APP_VERSION < 91 ? "optionsLabelWin" : "optionsLabel";
document.getElementById("appPreferences").setAttribute("title", this.getLocaleMessage(label));
document.querySelectorAll("[label-localekey]").forEach((element) => {


+ 1
- 1
addon/content/pepmsghdrview.js View File

@ -200,7 +200,7 @@ var pEpHdrView = {
if (win.location.href.startsWith("chrome://messenger/content/messenger.")) {
// Add options menu after account settings (and before the normal options
// on Windows).
let label = pEpController.platform == "win" ? "optionsLabelWin" : "optionsLabel";
let label = pEpController.platform == "win" && pEpController.MOZ_APP_VERSION < 91 ? "optionsLabelWin" : "optionsLabel";
label = this.getLocaleMessage(label);
/* eslint-disable max-len */
let xul = win.MozXULElement.parseXULToFragment(`


Loading…
Cancel
Save