You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: enhance EndMessage component for marketplace engagement
- Introduced a new EndMessage component to encourage users to visit the marketplace instead of Discord.
- Utilized React.memo for performance optimization and wrapped the button click handler with useCallback.
- Updated translations for the new EndMessage content in both English and Chinese.
- Ensured adherence to Tailwind CSS for consistent styling across the component.
Co-authored-by: Marc Chan <[email protected]>
Co-authored-by: lefarcen <[email protected]>
Co-authored-by: PerishFire <[email protected]>
Co-authored-by: HanYuanxi <[email protected]>
Co-authored-by: Claude <[email protected]>
Co-authored-by: a1chzt <[email protected]>
Co-authored-by: Achieve <[email protected]>
Co-authored-by: Sophia <[email protected]>
Co-authored-by: William Liu <[email protected]>
Copy file name to clipboardExpand all lines: packages/i18n/src/en-US/ui.ts
+13-12Lines changed: 13 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -888,7 +888,7 @@ const translations = {
888
888
endMessage: {
889
889
title: "Didn't find the workflow automation template you need?",
890
890
subtitle: "Join our Discord and tell us what you're looking for",
891
-
goToMarketplace: 'Go to Marketplace',
891
+
goToMarketplace: 'Explore More Templates',
892
892
},
893
893
},
894
894
agentInputPlaceholder: 'Enter task description, Agent will generate reusable workflows',
@@ -2704,7 +2704,7 @@ const translations = {
2704
2704
getStarted: 'Get Started',
2705
2705
subscribeNow: 'Subscribe Now',
2706
2706
manage: 'Manage Subscription',
2707
-
currentPlan: 'Current Plan',
2707
+
currentPlan: 'Your Current Plan',
2708
2708
t1Requests: 'T1 Requests',
2709
2709
t1RequestsDescription:
2710
2710
'T1 models include Claude 3.7 Sonnet (Thinking), DeepSeek R1, o3 Mini, GPT-4o and others. Each successful skill call to T1 models counts as one request.',
@@ -3591,7 +3591,7 @@ const translations = {
3591
3591
},
3592
3592
},
3593
3593
subscription: {
3594
-
modalTitle: 'Upgrade to Get More Credits',
3594
+
modalTitle: 'Upgrade Your Plan to Get More Credits',
3595
3595
cancelAnytime: "Cancel anytime. By subscribing, you agree to Refly's",
3596
3596
privacy: 'Privacy',
3597
3597
terms: 'Terms',
@@ -3621,14 +3621,15 @@ const translations = {
3621
3621
priceMonthly: '{{price}}/month',
3622
3622
priceYearly: '{{price}}/month',
3623
3623
priceYearlyTotal: '{{price}}/year Save 20%',
3624
-
upgrade: 'Upgrade to {{planType}}',
3624
+
upgrade: 'Get {{planType}}',
3625
3625
cannotChangeTo: 'Cannot change to {{planType}}',
3626
-
currentPlan: 'Current Plan',
3626
+
currentPlan: 'Your Current Plan',
3627
3627
cannotSwitchTo:
3628
3628
"Legacy plans can't be switched to Plus directly.Please contact [email protected]",
3629
+
memberBenefits: 'Member Benefits',
3629
3630
free: {
3630
-
title: 'Free Plan',
3631
-
description: 'A welcoming gateway to explore the power of AI—completely free',
3631
+
title: 'Free',
3632
+
description: 'Ideal for beginners exploring workflow automation',
3632
3633
price: 'Free forever',
3633
3634
buttonText: 'Continue for free',
3634
3635
buttonTextDowngrade: 'Downgrade to Free',
@@ -3644,9 +3645,9 @@ const translations = {
3644
3645
features: [
3645
3646
'Daily new credits\n300 credits',
3646
3647
'Monthly credits\n2,000 credits',
3647
-
'New subscribers receive an extra\n2,000 bonus credits',
3648
+
//'New subscribers receive an extra\n2,000 bonus credits',
3648
3649
'Access to a vast library of tools',
3649
-
{
3650
+
/*{
3650
3651
name: 'Credit-free tools',
3651
3652
type: 'pointFreeTools',
3652
3653
items: [
@@ -3660,7 +3661,7 @@ const translations = {
3660
3661
'X',
3661
3662
],
3662
3663
duration: '365 DAYS',
3663
-
},
3664
+
},*/
3664
3665
'Service support\nHigh priority support',
3665
3666
],
3666
3667
},
@@ -3825,7 +3826,7 @@ const translations = {
3825
3826
storageFullModal: {
3826
3827
free: {
3827
3828
title: 'Free Plan',
3828
-
titleCn: 'Current Plan',
3829
+
titleCn: 'Your Current Plan',
3829
3830
description: 'A welcoming gateway to explore the power of AI—completely free',
0 commit comments