Bug 1794156 - Remove mapit prefs and js. r=aleca

These prefs are not used anymore by Thunderbird (they are for Seamonkey, so they
are #ifdef wrapped in mailnews.js). The javascript is not loaded by Thunderbird,
but is still shipped.

Removing these prefs allows for cleanup of l10n.toml and should mean that the
remaining prefs will be exposed for localization in Pontoon again.

Differential Revision: https://phabricator.services.mozilla.com/D158869

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Rob Lemley 2022-10-17 10:58:11 +00:00
Родитель 259acc038d
Коммит 3ad2f683f1
4 изменённых файлов: 3 добавлений и 23 удалений

Просмотреть файл

@ -2,26 +2,6 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# To make mapit buttons to disappear in the addressbook, specify empty string. For example:
# mail.addr_book.mapit_url.format=
# The mail.addr_book.mapit_url.format should start with the URL of the mapping
# service and then the query part with placeholders to be substituted from values
# from the addressbook contact's address.
# Available placeholders are:
# @A1 == address, part 1
# @A2 == address, part 2
# @CI == city
# @ST == state
# @ZI == zip code
# @CO == country
# Default map service:
mail.addr_book.mapit_url.format=https://maps.google.com/maps?q=@A1%20@A2%20@CI%20@ST%20@ZI%20@CO
# List of available map services (up to 5 can be defined here):
mail.addr_book.mapit_url.1.name=Google Maps
mail.addr_book.mapit_url.1.format=https://maps.google.com/maps?q=@A1%20@A2%20@CI%20@ST%20@ZI%20@CO
mail.addr_book.mapit_url.2.name=OpenStreetMap
mail.addr_book.mapit_url.2.format=https://nominatim.openstreetmap.org/search.php?polygon=1&q=@A1%2C@A2%2C@CI%2C@ST%2C@ZI%2C@CO
mailnews.messageid_browser.url=https://groups.google.com/search?as_umsgid=%mid
# Recognize non-standard versions of "Re:" in subjects from localized versions of MS Outlook et al.

Просмотреть файл

@ -192,8 +192,6 @@
locale/@AB_CD@/messenger-smime/msgReadSecurityInfo.dtd (%chrome/messenger-smime/msgReadSecurityInfo.dtd)
locale/@AB_CD@/messenger-smime/certFetchingStatus.dtd (%chrome/messenger-smime/certFetchingStatus.dtd)
locale/@AB_CD@/messenger-smime/msgSecurityInfo.properties (%chrome/messenger-smime/msgSecurityInfo.properties)
% locale messenger-region @AB_CD@ %locale/@AB_CD@/messenger-region/
locale/@AB_CD@/messenger-region/region.properties (%chrome/messenger-region/region.properties)
% locale mozldap @AB_CD@ %locale/@AB_CD@/mozldap/
locale/@AB_CD@/mozldap/ldap.properties (%chrome/mozldap/ldap.properties)
% locale communicator @AB_CD@ %locale/@AB_CD@/communicator/

Просмотреть файл

@ -17,7 +17,9 @@ messenger.jar:
content/messenger/addressbook/abDragDrop.js (addrbook/content/abDragDrop.js)
content/messenger/addressbook/abMailListDialog.js (addrbook/content/abMailListDialog.js)
content/messenger/addressbook/abView.js (addrbook/content/abView.js)
#ifdef MOZ_SUITE
content/messenger/addressbook/map-list.js (addrbook/content/map-list.js)
#endif
* content/messenger/AccountManager.xhtml (base/prefs/content/AccountManager.xhtml)
content/messenger/AccountManager.js (base/prefs/content/AccountManager.js)
content/messenger/am-main.xhtml (base/prefs/content/am-main.xhtml)

Просмотреть файл

@ -204,6 +204,7 @@ pref("mail.show_headers", 1);
// some S/MIME parts are not external (but inline decrypted).
pref("mailnews.p7m_external", false);
pref("mail.pane_config.dynamic", 0);
#ifdef MOZ_SUITE
pref("mail.addr_book.mapit_url.format", "chrome://messenger-region/locale/region.properties");
pref("mail.addr_book.mapit_url.1.name", "chrome://messenger-region/locale/region.properties");
pref("mail.addr_book.mapit_url.1.format", "chrome://messenger-region/locale/region.properties");
@ -215,7 +216,6 @@ pref("mail.addr_book.mapit_url.4.name", "chrome://messenger-region/locale/region
pref("mail.addr_book.mapit_url.4.format", "chrome://messenger-region/locale/region.properties");
pref("mail.addr_book.mapit_url.5.name", "chrome://messenger-region/locale/region.properties");
pref("mail.addr_book.mapit_url.5.format", "chrome://messenger-region/locale/region.properties");
#ifdef MOZ_SUITE
pref("mailnews.start_page.url", "chrome://messenger-region/locale/region.properties");
pref("mail.accountwizard.deferstorage", false);
// |false|: Show both name and address, even for people in my addressbook.