Skip to content

Commit 0efcee5

Browse files
committed
VPN-7514 2.35 addon messages
1 parent 2482452 commit 0efcee5

File tree

9 files changed

+101
-12
lines changed

9 files changed

+101
-12
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ if (('updateTime' in api.settings)) {
1010
// Macos v2.16.0 requires a web-based update.
1111
if (api.env.platform === 'macos' && api.env.versionString === '2.16.0') {
1212
api.addon.setTitle(
13-
'message.message_update_v2.34.block.extra_1',
13+
'message.message_update_v2.35.block.extra_1',
1414
'Download the new Mozilla VPN');
1515
api.addon.composer.remove('c_3');
1616
return;
@@ -51,6 +51,6 @@ if (versionCompare([2, 13, 0], version) >= 0 ||
5151
api.addon.composer.remove('c_3');
5252

5353
api.addon.setTitle(
54-
'message.message_update_v2.34.block.extra_1',
54+
'message.message_update_v2.35.block.extra_1',
5555
'Download the new Mozilla VPN');
5656
})
Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
{
22
"api_version": "0.1",
3-
"id": "message_update_v2.34",
4-
"name": "Update to Mozilla VPN 2.34",
3+
"id": "message_update_v2.35",
4+
"name": "Update to Mozilla VPN 2.35",
55
"type": "message",
66
"conditions": {
7-
"max_client_version": "2.33.9",
7+
"max_client_version": "2.34.9",
88
"javascript": "osCheck.js"
99
},
1010
"javascript": {
1111
"enable": "enable.js"
1212
},
1313
"message": {
14-
"date": 1772038553,
14+
"date": 1774454123,
1515
"usesSharedStrings": true,
16-
"shortVersion": "2.34",
17-
"id": "message_update_v2.34",
16+
"shortVersion": "2.35",
17+
"id": "message_update_v2.35",
1818
"title": "vpn.commonStrings.updateTitle",
1919
"subtitle": "vpn.commonStrings.subtitle",
2020
"badge": "new_update",
@@ -30,19 +30,23 @@
3030
"content": [
3131
{
3232
"id": "l_1",
33-
"content": "vpn.234updateMessage.bullet1"
33+
"content": "vpn.235updateMessage.bullet1"
3434
},
3535
{
3636
"id": "l_2",
37-
"content": "vpn.234updateMessage.bullet2"
37+
"content": "vpn.235updateMessage.bullet2"
3838
},
3939
{
4040
"id": "l_3",
41-
"content": "vpn.234updateMessage.bullet3"
41+
"content": "vpn.235updateMessage.bullet3"
4242
},
4343
{
4444
"id": "l_4",
45-
"content": "vpn.234updateMessage.bullet4"
45+
"content": "vpn.235updateMessage.bullet4"
46+
},
47+
{
48+
"id": "l_5",
49+
"content": "vpn.235updateMessage.bullet5"
4650
},
4751
{
4852
"id": "l_6",
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
{
2+
"api_version": "0.1",
3+
"id": "message_whats_new_v2.35",
4+
"name": "What's new message",
5+
"type": "message",
6+
"conditions": {
7+
"min_client_version": "2.35.0",
8+
"max_client_version": "2.35.9"
9+
},
10+
"javascript": {
11+
"enable": "setDate.js"
12+
},
13+
"message": {
14+
"date": 1774454123,
15+
"usesSharedStrings": true,
16+
"shortVersion": "2.35",
17+
"id": "message_whats_new_v2.35",
18+
"title": "vpn.commonStrings.whatsNewTitle",
19+
"subtitle": "vpn.commonStrings.latestVersionSubtitle",
20+
"badge": "whats_new",
21+
"notify": false,
22+
"blocks": [
23+
{
24+
"id": "c_1",
25+
"type": "text",
26+
"content": "vpn.commonStrings.generalUpdateBulletIntro"
27+
},
28+
{
29+
"id": "c_2",
30+
"type": "ulist",
31+
"content": [
32+
{
33+
"id": "l_1",
34+
"content": "vpn.235updateMessage.bullet1"
35+
},
36+
{
37+
"id": "l_2",
38+
"content": "vpn.235updateMessage.bullet2"
39+
},
40+
{
41+
"id": "l_3",
42+
"content": "vpn.235updateMessage.bullet3"
43+
},
44+
{
45+
"id": "l_4",
46+
"content": "vpn.235updateMessage.bullet4"
47+
},
48+
{
49+
"id": "l_5",
50+
"content": "vpn.235updateMessage.bullet5"
51+
},
52+
{
53+
"id": "l_6",
54+
"content": "vpn.233updateMessage.bullet11"
55+
}
56+
]
57+
},
58+
{
59+
"id": "c_3",
60+
"type": "text",
61+
"content": "vpn.commonStrings.whatsNewClosing"
62+
}
63+
]
64+
}
65+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
(function(api) {
2+
api.addon.date = (api.settings.updateTime.getTime() / 1000);
3+
})

addons/strings.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,23 @@ commonStrings:
156156
value: "[macOS, Linux] Better experience in the rare situation where credentials are not found upon app launch."
157157
comment: Bullet point with a specific update in 2.34. Should have tag that indicates it applies to macOS and Linux platforms.
158158

159+
235updateMessage:
160+
bullet1:
161+
value: "[Android] Improved method of signing in."
162+
comment: Bullet point with a specific update in 2.35. Should have tag that indicates it applies to Android platform.
163+
bullet2:
164+
value: "[all] In a rare situation, the final line of a message was obscured by the navigation bar. This has been fixed, and it should be easy to read the complete message."
165+
comment: Bullet point with a specific update in 2.35. Should have tag that indicates it applies to all platforms.
166+
bullet3:
167+
value: "[iOS] Improvements for VoiceOver users."
168+
comment: Bullet point with a specific update in 2.35. Should have tag that indicates it applies to iOS platform.
169+
bullet4:
170+
value: "[Windows] Preparation for ARM Windows releases."
171+
comment: Bullet point with a specific update in 2.35. Should have tag that indicates it applies to Windows platform.
172+
bullet5:
173+
value: "[all] There are so many under-the-hood improvements in this version. Even if you cannot see them, we promise they are in there."
174+
comment: Bullet point with a specific update in 2.35. Should have tag that indicates it applies to all platforms.
175+
159176
tryFirefoxExtension:
160177
title:
161178
value: Try the Firefox extension

0 commit comments

Comments
 (0)