diff options
author | Dominik Guzei <dominik.guzei@gmail.com> | 2019-03-26 14:47:06 +0100 |
---|---|---|
committer | Dominik Guzei <dominik.guzei@gmail.com> | 2019-03-26 14:47:06 +0100 |
commit | 39b4c0a15bd8b58eb41bfdee87b935700bf2875b (patch) | |
tree | 33b748e0513ed6dbb9a5940585fd0d7ffa712708 /src/i18n | |
parent | hide workspace feature if it is disabled (diff) | |
download | ferdium-app-39b4c0a15bd8b58eb41bfdee87b935700bf2875b.tar.gz ferdium-app-39b4c0a15bd8b58eb41bfdee87b935700bf2875b.tar.zst ferdium-app-39b4c0a15bd8b58eb41bfdee87b935700bf2875b.zip |
handle get workspaces request errors in the ui
Diffstat (limited to 'src/i18n')
-rw-r--r-- | src/i18n/locales/defaultMessages.json | 34 | ||||
-rw-r--r-- | src/i18n/locales/en-US.json | 4 | ||||
-rw-r--r-- | src/i18n/messages/src/features/workspaces/components/WorkspacesDashboard.json | 34 |
3 files changed, 63 insertions, 9 deletions
diff --git a/src/i18n/locales/defaultMessages.json b/src/i18n/locales/defaultMessages.json index 03e96fc40..afbacf28a 100644 --- a/src/i18n/locales/defaultMessages.json +++ b/src/i18n/locales/defaultMessages.json | |||
@@ -3388,26 +3388,52 @@ | |||
3388 | "defaultMessage": "!!!Your workspaces", | 3388 | "defaultMessage": "!!!Your workspaces", |
3389 | "end": { | 3389 | "end": { |
3390 | "column": 3, | 3390 | "column": 3, |
3391 | "line": 15 | 3391 | "line": 17 |
3392 | }, | 3392 | }, |
3393 | "file": "src/features/workspaces/components/WorkspacesDashboard.js", | 3393 | "file": "src/features/workspaces/components/WorkspacesDashboard.js", |
3394 | "id": "settings.workspaces.headline", | 3394 | "id": "settings.workspaces.headline", |
3395 | "start": { | 3395 | "start": { |
3396 | "column": 12, | 3396 | "column": 12, |
3397 | "line": 12 | 3397 | "line": 14 |
3398 | } | 3398 | } |
3399 | }, | 3399 | }, |
3400 | { | 3400 | { |
3401 | "defaultMessage": "!!!You haven't added any workspaces yet.", | 3401 | "defaultMessage": "!!!You haven't added any workspaces yet.", |
3402 | "end": { | 3402 | "end": { |
3403 | "column": 3, | 3403 | "column": 3, |
3404 | "line": 19 | 3404 | "line": 21 |
3405 | }, | 3405 | }, |
3406 | "file": "src/features/workspaces/components/WorkspacesDashboard.js", | 3406 | "file": "src/features/workspaces/components/WorkspacesDashboard.js", |
3407 | "id": "settings.workspaces.noWorkspacesAdded", | 3407 | "id": "settings.workspaces.noWorkspacesAdded", |
3408 | "start": { | 3408 | "start": { |
3409 | "column": 19, | 3409 | "column": 19, |
3410 | "line": 16 | 3410 | "line": 18 |
3411 | } | ||
3412 | }, | ||
3413 | { | ||
3414 | "defaultMessage": "!!!Could not load your workspaces", | ||
3415 | "end": { | ||
3416 | "column": 3, | ||
3417 | "line": 25 | ||
3418 | }, | ||
3419 | "file": "src/features/workspaces/components/WorkspacesDashboard.js", | ||
3420 | "id": "settings.workspaces.workspacesRequestFailed", | ||
3421 | "start": { | ||
3422 | "column": 27, | ||
3423 | "line": 22 | ||
3424 | } | ||
3425 | }, | ||
3426 | { | ||
3427 | "defaultMessage": "!!!Try again", | ||
3428 | "end": { | ||
3429 | "column": 3, | ||
3430 | "line": 29 | ||
3431 | }, | ||
3432 | "file": "src/features/workspaces/components/WorkspacesDashboard.js", | ||
3433 | "id": "settings.workspaces.tryReloadWorkspaces", | ||
3434 | "start": { | ||
3435 | "column": 23, | ||
3436 | "line": 26 | ||
3411 | } | 3437 | } |
3412 | } | 3438 | } |
3413 | ], | 3439 | ], |
diff --git a/src/i18n/locales/en-US.json b/src/i18n/locales/en-US.json index 4206d4358..2b4e79621 100644 --- a/src/i18n/locales/en-US.json +++ b/src/i18n/locales/en-US.json | |||
@@ -251,6 +251,8 @@ | |||
251 | "settings.workspace.form.yourWorkspaces": "Your workspaces", | 251 | "settings.workspace.form.yourWorkspaces": "Your workspaces", |
252 | "settings.workspaces.headline": "Your workspaces", | 252 | "settings.workspaces.headline": "Your workspaces", |
253 | "settings.workspaces.noWorkspacesAdded": "You haven't added any workspaces yet.", | 253 | "settings.workspaces.noWorkspacesAdded": "You haven't added any workspaces yet.", |
254 | "settings.workspaces.tryReloadWorkspaces": "Try again", | ||
255 | "settings.workspaces.workspacesRequestFailed": "Could not load your workspaces", | ||
254 | "sidebar.addNewService": "Add new service", | 256 | "sidebar.addNewService": "Add new service", |
255 | "sidebar.closeWorkspaceDrawer": "Close workspace drawer", | 257 | "sidebar.closeWorkspaceDrawer": "Close workspace drawer", |
256 | "sidebar.muteApp": "Disable notifications & audio", | 258 | "sidebar.muteApp": "Disable notifications & audio", |
@@ -305,4 +307,4 @@ | |||
305 | "workspaceDrawer.headline": "Workspaces", | 307 | "workspaceDrawer.headline": "Workspaces", |
306 | "workspaceDrawer.item.noServicesAddedYet": "No services added yet", | 308 | "workspaceDrawer.item.noServicesAddedYet": "No services added yet", |
307 | "workspaces.switchingIndicator.switchingTo": "Switching to" | 309 | "workspaces.switchingIndicator.switchingTo": "Switching to" |
308 | } \ No newline at end of file | 310 | } |
diff --git a/src/i18n/messages/src/features/workspaces/components/WorkspacesDashboard.json b/src/i18n/messages/src/features/workspaces/components/WorkspacesDashboard.json index 0e053a124..f875ace8a 100644 --- a/src/i18n/messages/src/features/workspaces/components/WorkspacesDashboard.json +++ b/src/i18n/messages/src/features/workspaces/components/WorkspacesDashboard.json | |||
@@ -4,11 +4,11 @@ | |||
4 | "defaultMessage": "!!!Your workspaces", | 4 | "defaultMessage": "!!!Your workspaces", |
5 | "file": "src/features/workspaces/components/WorkspacesDashboard.js", | 5 | "file": "src/features/workspaces/components/WorkspacesDashboard.js", |
6 | "start": { | 6 | "start": { |
7 | "line": 12, | 7 | "line": 14, |
8 | "column": 12 | 8 | "column": 12 |
9 | }, | 9 | }, |
10 | "end": { | 10 | "end": { |
11 | "line": 15, | 11 | "line": 17, |
12 | "column": 3 | 12 | "column": 3 |
13 | } | 13 | } |
14 | }, | 14 | }, |
@@ -17,11 +17,37 @@ | |||
17 | "defaultMessage": "!!!You haven't added any workspaces yet.", | 17 | "defaultMessage": "!!!You haven't added any workspaces yet.", |
18 | "file": "src/features/workspaces/components/WorkspacesDashboard.js", | 18 | "file": "src/features/workspaces/components/WorkspacesDashboard.js", |
19 | "start": { | 19 | "start": { |
20 | "line": 16, | 20 | "line": 18, |
21 | "column": 19 | 21 | "column": 19 |
22 | }, | 22 | }, |
23 | "end": { | 23 | "end": { |
24 | "line": 19, | 24 | "line": 21, |
25 | "column": 3 | ||
26 | } | ||
27 | }, | ||
28 | { | ||
29 | "id": "settings.workspaces.workspacesRequestFailed", | ||
30 | "defaultMessage": "!!!Could not load your workspaces", | ||
31 | "file": "src/features/workspaces/components/WorkspacesDashboard.js", | ||
32 | "start": { | ||
33 | "line": 22, | ||
34 | "column": 27 | ||
35 | }, | ||
36 | "end": { | ||
37 | "line": 25, | ||
38 | "column": 3 | ||
39 | } | ||
40 | }, | ||
41 | { | ||
42 | "id": "settings.workspaces.tryReloadWorkspaces", | ||
43 | "defaultMessage": "!!!Try again", | ||
44 | "file": "src/features/workspaces/components/WorkspacesDashboard.js", | ||
45 | "start": { | ||
46 | "line": 26, | ||
47 | "column": 23 | ||
48 | }, | ||
49 | "end": { | ||
50 | "line": 29, | ||
25 | "column": 3 | 51 | "column": 3 |
26 | } | 52 | } |
27 | } | 53 | } |