diff options
author | Stefan Malzner <stefan@adlk.io> | 2019-10-16 15:16:26 +0200 |
---|---|---|
committer | Stefan Malzner <stefan@adlk.io> | 2019-10-16 15:16:26 +0200 |
commit | 0b08e1e7e6a07acd21af71fd27f4c4acfa34dbba (patch) | |
tree | 9ee5b287f3c0451012153cf281659159597d63e7 /src/i18n | |
parent | polishing (diff) | |
download | ferdium-app-0b08e1e7e6a07acd21af71fd27f4c4acfa34dbba.tar.gz ferdium-app-0b08e1e7e6a07acd21af71fd27f4c4acfa34dbba.tar.zst ferdium-app-0b08e1e7e6a07acd21af71fd27f4c4acfa34dbba.zip |
Add trialStatusBar & polishing
Diffstat (limited to 'src/i18n')
5 files changed, 221 insertions, 18 deletions
diff --git a/src/i18n/locales/defaultMessages.json b/src/i18n/locales/defaultMessages.json index eafac1f87..98f37cf8a 100644 --- a/src/i18n/locales/defaultMessages.json +++ b/src/i18n/locales/defaultMessages.json | |||
@@ -734,39 +734,39 @@ | |||
734 | "defaultMessage": "!!!Your services have been updated.", | 734 | "defaultMessage": "!!!Your services have been updated.", |
735 | "end": { | 735 | "end": { |
736 | "column": 3, | 736 | "column": 3, |
737 | "line": 32 | 737 | "line": 33 |
738 | }, | 738 | }, |
739 | "file": "src/components/layout/AppLayout.js", | 739 | "file": "src/components/layout/AppLayout.js", |
740 | "id": "infobar.servicesUpdated", | 740 | "id": "infobar.servicesUpdated", |
741 | "start": { | 741 | "start": { |
742 | "column": 19, | 742 | "column": 19, |
743 | "line": 29 | 743 | "line": 30 |
744 | } | 744 | } |
745 | }, | 745 | }, |
746 | { | 746 | { |
747 | "defaultMessage": "!!!Reload services", | 747 | "defaultMessage": "!!!Reload services", |
748 | "end": { | 748 | "end": { |
749 | "column": 3, | 749 | "column": 3, |
750 | "line": 36 | 750 | "line": 37 |
751 | }, | 751 | }, |
752 | "file": "src/components/layout/AppLayout.js", | 752 | "file": "src/components/layout/AppLayout.js", |
753 | "id": "infobar.buttonReloadServices", | 753 | "id": "infobar.buttonReloadServices", |
754 | "start": { | 754 | "start": { |
755 | "column": 24, | 755 | "column": 24, |
756 | "line": 33 | 756 | "line": 34 |
757 | } | 757 | } |
758 | }, | 758 | }, |
759 | { | 759 | { |
760 | "defaultMessage": "!!!Could not load services and user information", | 760 | "defaultMessage": "!!!Could not load services and user information", |
761 | "end": { | 761 | "end": { |
762 | "column": 3, | 762 | "column": 3, |
763 | "line": 40 | 763 | "line": 41 |
764 | }, | 764 | }, |
765 | "file": "src/components/layout/AppLayout.js", | 765 | "file": "src/components/layout/AppLayout.js", |
766 | "id": "infobar.requiredRequestsFailed", | 766 | "id": "infobar.requiredRequestsFailed", |
767 | "start": { | 767 | "start": { |
768 | "column": 26, | 768 | "column": 26, |
769 | "line": 37 | 769 | "line": 38 |
770 | } | 770 | } |
771 | } | 771 | } |
772 | ], | 772 | ], |
@@ -3915,39 +3915,39 @@ | |||
3915 | "defaultMessage": "!!!per month", | 3915 | "defaultMessage": "!!!per month", |
3916 | "end": { | 3916 | "end": { |
3917 | "column": 3, | 3917 | "column": 3, |
3918 | "line": 22 | 3918 | "line": 18 |
3919 | }, | 3919 | }, |
3920 | "file": "src/features/planSelection/components/PlanItem.js", | 3920 | "file": "src/features/planSelection/components/PlanItem.js", |
3921 | "id": "subscription.interval.perMonth", | 3921 | "id": "subscription.interval.perMonth", |
3922 | "start": { | 3922 | "start": { |
3923 | "column": 12, | 3923 | "column": 12, |
3924 | "line": 19 | 3924 | "line": 15 |
3925 | } | 3925 | } |
3926 | }, | 3926 | }, |
3927 | { | 3927 | { |
3928 | "defaultMessage": "!!!per month & user", | 3928 | "defaultMessage": "!!!per month & user", |
3929 | "end": { | 3929 | "end": { |
3930 | "column": 3, | 3930 | "column": 3, |
3931 | "line": 26 | 3931 | "line": 22 |
3932 | }, | 3932 | }, |
3933 | "file": "src/features/planSelection/components/PlanItem.js", | 3933 | "file": "src/features/planSelection/components/PlanItem.js", |
3934 | "id": "subscription.interval.perMonthPerUser", | 3934 | "id": "subscription.interval.perMonthPerUser", |
3935 | "start": { | 3935 | "start": { |
3936 | "column": 19, | 3936 | "column": 19, |
3937 | "line": 23 | 3937 | "line": 19 |
3938 | } | 3938 | } |
3939 | }, | 3939 | }, |
3940 | { | 3940 | { |
3941 | "defaultMessage": "!!!Best value", | 3941 | "defaultMessage": "!!!Best value", |
3942 | "end": { | 3942 | "end": { |
3943 | "column": 3, | 3943 | "column": 3, |
3944 | "line": 30 | 3944 | "line": 26 |
3945 | }, | 3945 | }, |
3946 | "file": "src/features/planSelection/components/PlanItem.js", | 3946 | "file": "src/features/planSelection/components/PlanItem.js", |
3947 | "id": "subscription.bestValue", | 3947 | "id": "subscription.bestValue", |
3948 | "start": { | 3948 | "start": { |
3949 | "column": 13, | 3949 | "column": 13, |
3950 | "line": 27 | 3950 | "line": 23 |
3951 | } | 3951 | } |
3952 | } | 3952 | } |
3953 | ], | 3953 | ], |
@@ -4381,6 +4381,107 @@ | |||
4381 | { | 4381 | { |
4382 | "descriptors": [ | 4382 | "descriptors": [ |
4383 | { | 4383 | { |
4384 | "defaultMessage": "!!!Your Free Franz {plan} Trial ends in {time}.", | ||
4385 | "end": { | ||
4386 | "column": 3, | ||
4387 | "line": 16 | ||
4388 | }, | ||
4389 | "file": "src/features/trialStatusBar/components/TrialStatusBar.js", | ||
4390 | "id": "feature.trialStatusBar.restTime", | ||
4391 | "start": { | ||
4392 | "column": 12, | ||
4393 | "line": 13 | ||
4394 | } | ||
4395 | }, | ||
4396 | { | ||
4397 | "defaultMessage": "!!!Your free Franz {plan} Trial has expired, please upgrade your account.", | ||
4398 | "end": { | ||
4399 | "column": 3, | ||
4400 | "line": 20 | ||
4401 | }, | ||
4402 | "file": "src/features/trialStatusBar/components/TrialStatusBar.js", | ||
4403 | "id": "feature.trialStatusBar.expired", | ||
4404 | "start": { | ||
4405 | "column": 11, | ||
4406 | "line": 17 | ||
4407 | } | ||
4408 | }, | ||
4409 | { | ||
4410 | "defaultMessage": "!!!Upgrade now", | ||
4411 | "end": { | ||
4412 | "column": 3, | ||
4413 | "line": 24 | ||
4414 | }, | ||
4415 | "file": "src/features/trialStatusBar/components/TrialStatusBar.js", | ||
4416 | "id": "feature.trialStatusBar.cta", | ||
4417 | "start": { | ||
4418 | "column": 7, | ||
4419 | "line": 21 | ||
4420 | } | ||
4421 | } | ||
4422 | ], | ||
4423 | "path": "src/features/trialStatusBar/components/TrialStatusBar.json" | ||
4424 | }, | ||
4425 | { | ||
4426 | "descriptors": [ | ||
4427 | { | ||
4428 | "defaultMessage": "!!!Downgrade your Franz Plan", | ||
4429 | "end": { | ||
4430 | "column": 3, | ||
4431 | "line": 19 | ||
4432 | }, | ||
4433 | "file": "src/features/trialStatusBar/containers/TrialStatusBarScreen.js", | ||
4434 | "id": "feature.trialStatusBar.fullscreen.dialog.title", | ||
4435 | "start": { | ||
4436 | "column": 15, | ||
4437 | "line": 16 | ||
4438 | } | ||
4439 | }, | ||
4440 | { | ||
4441 | "defaultMessage": "!!!You're about to downgrade to our Free account. Are you sure? Click here instead to get more services and functionality for just {currency}{price} a month.", | ||
4442 | "end": { | ||
4443 | "column": 3, | ||
4444 | "line": 23 | ||
4445 | }, | ||
4446 | "file": "src/features/trialStatusBar/containers/TrialStatusBarScreen.js", | ||
4447 | "id": "feature.trialStatusBar.fullscreen.dialog.message", | ||
4448 | "start": { | ||
4449 | "column": 17, | ||
4450 | "line": 20 | ||
4451 | } | ||
4452 | }, | ||
4453 | { | ||
4454 | "defaultMessage": "!!!Downgrade to Free", | ||
4455 | "end": { | ||
4456 | "column": 3, | ||
4457 | "line": 27 | ||
4458 | }, | ||
4459 | "file": "src/features/trialStatusBar/containers/TrialStatusBarScreen.js", | ||
4460 | "id": "feature.trialStatusBar.fullscreen.dialog.cta.downgrade", | ||
4461 | "start": { | ||
4462 | "column": 22, | ||
4463 | "line": 24 | ||
4464 | } | ||
4465 | }, | ||
4466 | { | ||
4467 | "defaultMessage": "!!!Choose Personal", | ||
4468 | "end": { | ||
4469 | "column": 3, | ||
4470 | "line": 31 | ||
4471 | }, | ||
4472 | "file": "src/features/trialStatusBar/containers/TrialStatusBarScreen.js", | ||
4473 | "id": "feature.trialStatusBar.fullscreen.dialog.cta.upgrade", | ||
4474 | "start": { | ||
4475 | "column": 20, | ||
4476 | "line": 28 | ||
4477 | } | ||
4478 | } | ||
4479 | ], | ||
4480 | "path": "src/features/trialStatusBar/containers/TrialStatusBarScreen.json" | ||
4481 | }, | ||
4482 | { | ||
4483 | "descriptors": [ | ||
4484 | { | ||
4384 | "defaultMessage": "!!!Home", | 4485 | "defaultMessage": "!!!Home", |
4385 | "end": { | 4486 | "end": { |
4386 | "column": 3, | 4487 | "column": 3, |
diff --git a/src/i18n/locales/en-US.json b/src/i18n/locales/en-US.json index 6977ec096..1ba91bdfa 100644 --- a/src/i18n/locales/en-US.json +++ b/src/i18n/locales/en-US.json | |||
@@ -35,6 +35,13 @@ | |||
35 | "feature.todos.premium.info": "Franz Todos are available to premium users now!", | 35 | "feature.todos.premium.info": "Franz Todos are available to premium users now!", |
36 | "feature.todos.premium.rollout": "Everyone else will have to wait a little longer.", | 36 | "feature.todos.premium.rollout": "Everyone else will have to wait a little longer.", |
37 | "feature.todos.premium.upgrade": "Upgrade Account", | 37 | "feature.todos.premium.upgrade": "Upgrade Account", |
38 | "feature.trialStatusBar.cta": "Upgrade now", | ||
39 | "feature.trialStatusBar.expired": "Your free Franz {plan} Trial has expired, please upgrade your account.", | ||
40 | "feature.trialStatusBar.fullscreen.dialog.cta.downgrade": "Downgrade to Free", | ||
41 | "feature.trialStatusBar.fullscreen.dialog.cta.upgrade": "Choose Personal", | ||
42 | "feature.trialStatusBar.fullscreen.dialog.message": "You're about to downgrade to our Free account. Are you sure? Click here instead to get more services and functionality for just {currency}{price} a month.", | ||
43 | "feature.trialStatusBar.fullscreen.dialog.title": "Downgrade your Franz Plan", | ||
44 | "feature.trialStatusBar.restTime": "Your Free Franz {plan} Trial ends in {time}.", | ||
38 | "global.api.unhealthy": "Can't connect to Franz online services", | 45 | "global.api.unhealthy": "Can't connect to Franz online services", |
39 | "global.franzProRequired": "Franz Professional Required", | 46 | "global.franzProRequired": "Franz Professional Required", |
40 | "global.notConnectedToTheInternet": "You are not connected to the internet.", | 47 | "global.notConnectedToTheInternet": "You are not connected to the internet.", |
diff --git a/src/i18n/messages/src/components/layout/AppLayout.json b/src/i18n/messages/src/components/layout/AppLayout.json index 22f11cedd..95da24042 100644 --- a/src/i18n/messages/src/components/layout/AppLayout.json +++ b/src/i18n/messages/src/components/layout/AppLayout.json | |||
@@ -4,11 +4,11 @@ | |||
4 | "defaultMessage": "!!!Your services have been updated.", | 4 | "defaultMessage": "!!!Your services have been updated.", |
5 | "file": "src/components/layout/AppLayout.js", | 5 | "file": "src/components/layout/AppLayout.js", |
6 | "start": { | 6 | "start": { |
7 | "line": 29, | 7 | "line": 30, |
8 | "column": 19 | 8 | "column": 19 |
9 | }, | 9 | }, |
10 | "end": { | 10 | "end": { |
11 | "line": 32, | 11 | "line": 33, |
12 | "column": 3 | 12 | "column": 3 |
13 | } | 13 | } |
14 | }, | 14 | }, |
@@ -17,11 +17,11 @@ | |||
17 | "defaultMessage": "!!!Reload services", | 17 | "defaultMessage": "!!!Reload services", |
18 | "file": "src/components/layout/AppLayout.js", | 18 | "file": "src/components/layout/AppLayout.js", |
19 | "start": { | 19 | "start": { |
20 | "line": 33, | 20 | "line": 34, |
21 | "column": 24 | 21 | "column": 24 |
22 | }, | 22 | }, |
23 | "end": { | 23 | "end": { |
24 | "line": 36, | 24 | "line": 37, |
25 | "column": 3 | 25 | "column": 3 |
26 | } | 26 | } |
27 | }, | 27 | }, |
@@ -30,11 +30,11 @@ | |||
30 | "defaultMessage": "!!!Could not load services and user information", | 30 | "defaultMessage": "!!!Could not load services and user information", |
31 | "file": "src/components/layout/AppLayout.js", | 31 | "file": "src/components/layout/AppLayout.js", |
32 | "start": { | 32 | "start": { |
33 | "line": 37, | 33 | "line": 38, |
34 | "column": 26 | 34 | "column": 26 |
35 | }, | 35 | }, |
36 | "end": { | 36 | "end": { |
37 | "line": 40, | 37 | "line": 41, |
38 | "column": 3 | 38 | "column": 3 |
39 | } | 39 | } |
40 | } | 40 | } |
diff --git a/src/i18n/messages/src/features/trialStatusBar/components/TrialStatusBar.json b/src/i18n/messages/src/features/trialStatusBar/components/TrialStatusBar.json new file mode 100644 index 000000000..bf211a016 --- /dev/null +++ b/src/i18n/messages/src/features/trialStatusBar/components/TrialStatusBar.json | |||
@@ -0,0 +1,41 @@ | |||
1 | [ | ||
2 | { | ||
3 | "id": "feature.trialStatusBar.restTime", | ||
4 | "defaultMessage": "!!!Your Free Franz {plan} Trial ends in {time}.", | ||
5 | "file": "src/features/trialStatusBar/components/TrialStatusBar.js", | ||
6 | "start": { | ||
7 | "line": 13, | ||
8 | "column": 12 | ||
9 | }, | ||
10 | "end": { | ||
11 | "line": 16, | ||
12 | "column": 3 | ||
13 | } | ||
14 | }, | ||
15 | { | ||
16 | "id": "feature.trialStatusBar.expired", | ||
17 | "defaultMessage": "!!!Your free Franz {plan} Trial has expired, please upgrade your account.", | ||
18 | "file": "src/features/trialStatusBar/components/TrialStatusBar.js", | ||
19 | "start": { | ||
20 | "line": 17, | ||
21 | "column": 11 | ||
22 | }, | ||
23 | "end": { | ||
24 | "line": 20, | ||
25 | "column": 3 | ||
26 | } | ||
27 | }, | ||
28 | { | ||
29 | "id": "feature.trialStatusBar.cta", | ||
30 | "defaultMessage": "!!!Upgrade now", | ||
31 | "file": "src/features/trialStatusBar/components/TrialStatusBar.js", | ||
32 | "start": { | ||
33 | "line": 21, | ||
34 | "column": 7 | ||
35 | }, | ||
36 | "end": { | ||
37 | "line": 24, | ||
38 | "column": 3 | ||
39 | } | ||
40 | } | ||
41 | ] \ No newline at end of file | ||
diff --git a/src/i18n/messages/src/features/trialStatusBar/containers/TrialStatusBarScreen.json b/src/i18n/messages/src/features/trialStatusBar/containers/TrialStatusBarScreen.json new file mode 100644 index 000000000..306cd0fee --- /dev/null +++ b/src/i18n/messages/src/features/trialStatusBar/containers/TrialStatusBarScreen.json | |||
@@ -0,0 +1,54 @@ | |||
1 | [ | ||
2 | { | ||
3 | "id": "feature.trialStatusBar.fullscreen.dialog.title", | ||
4 | "defaultMessage": "!!!Downgrade your Franz Plan", | ||
5 | "file": "src/features/trialStatusBar/containers/TrialStatusBarScreen.js", | ||
6 | "start": { | ||
7 | "line": 16, | ||
8 | "column": 15 | ||
9 | }, | ||
10 | "end": { | ||
11 | "line": 19, | ||
12 | "column": 3 | ||
13 | } | ||
14 | }, | ||
15 | { | ||
16 | "id": "feature.trialStatusBar.fullscreen.dialog.message", | ||
17 | "defaultMessage": "!!!You're about to downgrade to our Free account. Are you sure? Click here instead to get more services and functionality for just {currency}{price} a month.", | ||
18 | "file": "src/features/trialStatusBar/containers/TrialStatusBarScreen.js", | ||
19 | "start": { | ||
20 | "line": 20, | ||
21 | "column": 17 | ||
22 | }, | ||
23 | "end": { | ||
24 | "line": 23, | ||
25 | "column": 3 | ||
26 | } | ||
27 | }, | ||
28 | { | ||
29 | "id": "feature.trialStatusBar.fullscreen.dialog.cta.downgrade", | ||
30 | "defaultMessage": "!!!Downgrade to Free", | ||
31 | "file": "src/features/trialStatusBar/containers/TrialStatusBarScreen.js", | ||
32 | "start": { | ||
33 | "line": 24, | ||
34 | "column": 22 | ||
35 | }, | ||
36 | "end": { | ||
37 | "line": 27, | ||
38 | "column": 3 | ||
39 | } | ||
40 | }, | ||
41 | { | ||
42 | "id": "feature.trialStatusBar.fullscreen.dialog.cta.upgrade", | ||
43 | "defaultMessage": "!!!Choose Personal", | ||
44 | "file": "src/features/trialStatusBar/containers/TrialStatusBarScreen.js", | ||
45 | "start": { | ||
46 | "line": 28, | ||
47 | "column": 20 | ||
48 | }, | ||
49 | "end": { | ||
50 | "line": 31, | ||
51 | "column": 3 | ||
52 | } | ||
53 | } | ||
54 | ] \ No newline at end of file | ||