Skip to content

Commit 4c88db8

Browse files
committed
Bug 1995882 - Add more regions for weather opt-in feature. r=home-newtab-reviewers,npypchenko
Differential Revision: https://phabricator.services.mozilla.com/D269691
1 parent d375bf8 commit 4c88db8

File tree

1 file changed

+32
-20
lines changed

1 file changed

+32
-20
lines changed

browser/extensions/newtab/lib/ActivityStream.sys.mjs

Lines changed: 32 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -96,26 +96,38 @@ const LOCALE_SECTIONS_CONFIG =
9696
const BROWSER_URLBAR_PLACEHOLDERNAME = "browser.urlbar.placeholderName";
9797

9898
export const WEATHER_OPTIN_REGIONS = [
99-
"DE",
100-
"GB",
101-
"FR",
102-
"ES",
103-
"IT",
104-
"CH",
105-
"AT",
106-
"BE",
107-
"IE",
108-
"NL",
109-
"PL",
110-
"CZ",
111-
"SE",
112-
"SG",
113-
"HU",
114-
"SK",
115-
"FI",
116-
"DK",
117-
"NO",
118-
"PT",
99+
"AT", // Austria
100+
"BE", // Belgium
101+
"BG", // Bulgaria
102+
"HR", // Croatia
103+
"CY", // Cyprus
104+
"CZ", // Czechia
105+
"DK", // Denmark
106+
"EE", // Estonia
107+
"FI", // Finland
108+
"FR", // France
109+
"DE", // Germany
110+
"GB", // United Kingdom
111+
"GR", // Greece
112+
"HU", // Hungary
113+
"IS", // Iceland
114+
"IE", // Ireland
115+
"IT", // Italy
116+
"LV", // Latvia
117+
"LI", // Liechtenstein
118+
"LT", // Lithuania
119+
"MT", // Malta
120+
"NL", // Netherlands
121+
"NO", // Norway
122+
"PL", // Poland
123+
"PT", // Portugal
124+
"RO", // Romania
125+
"SG", // Singapore
126+
"SK", // Slovakia
127+
"SI", // Slovenia
128+
"ES", // Spain
129+
"SE", // Sweden
130+
"CH", // Switzerland
119131
];
120132

121133
export function csvPrefHasValue(stringPrefName, value) {

0 commit comments

Comments
 (0)