diff options
author | Kristóf Marussy <kristof@marussy.com> | 2021-06-03 19:01:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-03 19:01:01 +0200 |
commit | 2ad39ffb1cb0d0e5f79d6948f798ca79ed73c76c (patch) | |
tree | dcb679119cf4963126a3520b7c62ae4b032e0225 /src/i18n | |
parent | Upgraded electron to '13.1.0'. (diff) | |
download | ferdium-app-2ad39ffb1cb0d0e5f79d6948f798ca79ed73c76c.tar.gz ferdium-app-2ad39ffb1cb0d0e5f79d6948f798ca79ed73c76c.tar.zst ferdium-app-2ad39ffb1cb0d0e5f79d6948f798ca79ed73c76c.zip |
* Expose Chrome version to todos webview (fix #1211)
The TickTick todo service fails to load if the Chrome version number
does not appear in the User-Agent string. However, login to Google Tasks
is prevented by the same.
We adopt the "chromeless" User-Agent logic from the service webview,
which selectively exposes the Chrome version everywhere except the
Google login screen. The common logic was moved into the
userAgent-helpers module.
* Refactor user agent switching
* "Chromeless" user agent switching is extracted into a separate model
* Both the service and the todos webview uses the same model
Diffstat (limited to 'src/i18n')
-rw-r--r-- | src/i18n/locales/defaultMessages.json | 12 | ||||
-rw-r--r-- | src/i18n/messages/src/features/todos/components/TodosWebview.json | 12 |
2 files changed, 12 insertions, 12 deletions
diff --git a/src/i18n/locales/defaultMessages.json b/src/i18n/locales/defaultMessages.json index ef25aa3d9..c44357396 100644 --- a/src/i18n/locales/defaultMessages.json +++ b/src/i18n/locales/defaultMessages.json | |||
@@ -6412,39 +6412,39 @@ | |||
6412 | "defaultMessage": "!!!Franz Todos are available to premium users now!", | 6412 | "defaultMessage": "!!!Franz Todos are available to premium users now!", |
6413 | "end": { | 6413 | "end": { |
6414 | "column": 3, | 6414 | "column": 3, |
6415 | "line": 36 | 6415 | "line": 34 |
6416 | }, | 6416 | }, |
6417 | "file": "src/features/todos/components/TodosWebview.js", | 6417 | "file": "src/features/todos/components/TodosWebview.js", |
6418 | "id": "feature.todos.premium.info", | 6418 | "id": "feature.todos.premium.info", |
6419 | "start": { | 6419 | "start": { |
6420 | "column": 15, | 6420 | "column": 15, |
6421 | "line": 33 | 6421 | "line": 31 |
6422 | } | 6422 | } |
6423 | }, | 6423 | }, |
6424 | { | 6424 | { |
6425 | "defaultMessage": "!!!Upgrade Account", | 6425 | "defaultMessage": "!!!Upgrade Account", |
6426 | "end": { | 6426 | "end": { |
6427 | "column": 3, | 6427 | "column": 3, |
6428 | "line": 40 | 6428 | "line": 38 |
6429 | }, | 6429 | }, |
6430 | "file": "src/features/todos/components/TodosWebview.js", | 6430 | "file": "src/features/todos/components/TodosWebview.js", |
6431 | "id": "feature.todos.premium.upgrade", | 6431 | "id": "feature.todos.premium.upgrade", |
6432 | "start": { | 6432 | "start": { |
6433 | "column": 14, | 6433 | "column": 14, |
6434 | "line": 37 | 6434 | "line": 35 |
6435 | } | 6435 | } |
6436 | }, | 6436 | }, |
6437 | { | 6437 | { |
6438 | "defaultMessage": "!!!Everyone else will have to wait a little longer.", | 6438 | "defaultMessage": "!!!Everyone else will have to wait a little longer.", |
6439 | "end": { | 6439 | "end": { |
6440 | "column": 3, | 6440 | "column": 3, |
6441 | "line": 44 | 6441 | "line": 42 |
6442 | }, | 6442 | }, |
6443 | "file": "src/features/todos/components/TodosWebview.js", | 6443 | "file": "src/features/todos/components/TodosWebview.js", |
6444 | "id": "feature.todos.premium.rollout", | 6444 | "id": "feature.todos.premium.rollout", |
6445 | "start": { | 6445 | "start": { |
6446 | "column": 15, | 6446 | "column": 15, |
6447 | "line": 41 | 6447 | "line": 39 |
6448 | } | 6448 | } |
6449 | } | 6449 | } |
6450 | ], | 6450 | ], |
diff --git a/src/i18n/messages/src/features/todos/components/TodosWebview.json b/src/i18n/messages/src/features/todos/components/TodosWebview.json index 0652b0a33..ff6e037fc 100644 --- a/src/i18n/messages/src/features/todos/components/TodosWebview.json +++ b/src/i18n/messages/src/features/todos/components/TodosWebview.json | |||
@@ -4,11 +4,11 @@ | |||
4 | "defaultMessage": "!!!Franz Todos are available to premium users now!", | 4 | "defaultMessage": "!!!Franz Todos are available to premium users now!", |
5 | "file": "src/features/todos/components/TodosWebview.js", | 5 | "file": "src/features/todos/components/TodosWebview.js", |
6 | "start": { | 6 | "start": { |
7 | "line": 33, | 7 | "line": 31, |
8 | "column": 15 | 8 | "column": 15 |
9 | }, | 9 | }, |
10 | "end": { | 10 | "end": { |
11 | "line": 36, | 11 | "line": 34, |
12 | "column": 3 | 12 | "column": 3 |
13 | } | 13 | } |
14 | }, | 14 | }, |
@@ -17,11 +17,11 @@ | |||
17 | "defaultMessage": "!!!Upgrade Account", | 17 | "defaultMessage": "!!!Upgrade Account", |
18 | "file": "src/features/todos/components/TodosWebview.js", | 18 | "file": "src/features/todos/components/TodosWebview.js", |
19 | "start": { | 19 | "start": { |
20 | "line": 37, | 20 | "line": 35, |
21 | "column": 14 | 21 | "column": 14 |
22 | }, | 22 | }, |
23 | "end": { | 23 | "end": { |
24 | "line": 40, | 24 | "line": 38, |
25 | "column": 3 | 25 | "column": 3 |
26 | } | 26 | } |
27 | }, | 27 | }, |
@@ -30,11 +30,11 @@ | |||
30 | "defaultMessage": "!!!Everyone else will have to wait a little longer.", | 30 | "defaultMessage": "!!!Everyone else will have to wait a little longer.", |
31 | "file": "src/features/todos/components/TodosWebview.js", | 31 | "file": "src/features/todos/components/TodosWebview.js", |
32 | "start": { | 32 | "start": { |
33 | "line": 41, | 33 | "line": 39, |
34 | "column": 15 | 34 | "column": 15 |
35 | }, | 35 | }, |
36 | "end": { | 36 | "end": { |
37 | "line": 44, | 37 | "line": 42, |
38 | "column": 3 | 38 | "column": 3 |
39 | } | 39 | } |
40 | } | 40 | } |