Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

update strings

AmanRajSinghMourya7e6be1bc44c1
diff --git a/mobile/apps/photos/lib/ui/growth/code_success_screen.dart b/mobile/apps/photos/lib/ui/growth/code_success_screen.dart
index edfcdddd50..99c326dc45 100644
--- a/mobile/apps/photos/lib/ui/growth/code_success_screen.dart
+++ b/mobile/apps/photos/lib/ui/growth/code_success_screen.dart
@@ -121,10 +121,8 @@ class CodeSuccessScreen extends StatelessWidget {
),
onTap: () {
shareText(
- l10n.shareTextReferralCode(
+ l10n.shareTextReferralInvite(
referralCode: referralView.code,
- referralStorageInGB:
- referralView.planInfo.storageInGB * 2,
),
);
},
diff --git a/mobile/apps/photos/lib/ui/growth/referral_screen.dart b/mobile/apps/photos/lib/ui/growth/referral_screen.dart
index 8b510634e8..f607e237e8 100644
--- a/mobile/apps/photos/lib/ui/growth/referral_screen.dart
+++ b/mobile/apps/photos/lib/ui/growth/referral_screen.dart
@@ -138,10 +138,7 @@ class ReferralWidget extends StatelessWidget {
shouldSurfaceExecutionStates: false,
onTap: () {
shareText(
- l10n.shareTextReferralCode(
- referralCode: referralView.code,
- referralStorageInGB: referralView.planInfo.storageInGB * 2,
- ),
+ l10n.shareTextReferralInvite(referralCode: referralView.code),
);
},
),
diff --git a/mobile/packages/strings/lib/l10n/arb/strings_en.arb b/mobile/packages/strings/lib/l10n/arb/strings_en.arb
index 8b0b2a0251..92f8b62222 100644
--- a/mobile/packages/strings/lib/l10n/arb/strings_en.arb
+++ b/mobile/packages/strings/lib/l10n/arb/strings_en.arb
@@ -3946,11 +3946,10 @@
"shareTextRecommendUsingEnte": "Download Ente so we can easily share original quality files\n\nhttps://ente.com",
"shareTextRecommendUsingEnteForFamily": "Download Ente so I can add you to my family plan\n\nhttps://ente.com",
"shareTextRecommendUsingEnteForPhotos": "Download Ente so we can easily share original quality photos and videos\n\nhttps://ente.com",
- "shareTextReferralCode": "Get {referralStorageInGB} GB free!\nDownload Ente Photos from https://ente.com/app and apply code {referralCode}.",
- "@shareTextReferralCode": {
+ "shareTextReferralInvite": "Get 20 GB free with Ente Photos! Download the app at https://ente.com/invite and use code {referralCode}.",
+ "@shareTextReferralInvite": {
"placeholders": {
- "referralCode": {},
- "referralStorageInGB": {}
+ "referralCode": {}
}
},
"shareThisLink": "This link allows anyone who receives it to access your item. You can remove access at any time by deleting the link.",