From 146a31d5615abfd3c1d87d385e78fe4bd4ea32a9 Mon Sep 17 00:00:00 2001 From: Kima Date: Tue, 9 Apr 2024 18:31:24 +0200 Subject: [PATCH] added plus features to list :3 --- .../lib/plus/components/plan_card.dart | 2 +- refilc_mobile_ui/lib/plus/plus_screen.dart | 42 +++++++++++++++++++ .../lib/plus/plus_screen.i18n.dart | 26 ++++++++---- 3 files changed, 60 insertions(+), 10 deletions(-) diff --git a/refilc_mobile_ui/lib/plus/components/plan_card.dart b/refilc_mobile_ui/lib/plus/components/plan_card.dart index a7c3c95..d2636bb 100644 --- a/refilc_mobile_ui/lib/plus/components/plan_card.dart +++ b/refilc_mobile_ui/lib/plus/components/plan_card.dart @@ -39,7 +39,7 @@ class PlusPlanCard extends StatelessWidget { if (!active) { launchUrl( Uri.parse( - 'https://billing.stripe.com/p/login/5kAbJXeMkaRi8dWeUU'), + 'https://billing.stripe.com/p/login/4gwbIRclL89D5PicMM'), mode: LaunchMode.inAppBrowserView, ); } diff --git a/refilc_mobile_ui/lib/plus/plus_screen.dart b/refilc_mobile_ui/lib/plus/plus_screen.dart index 4502273..45c28e9 100644 --- a/refilc_mobile_ui/lib/plus/plus_screen.dart +++ b/refilc_mobile_ui/lib/plus/plus_screen.dart @@ -221,6 +221,8 @@ class PlusScreenState extends State { ['👋', 'rfp_3'.i18n], ['📓', 'rfp_4'.i18n], ['🎓', 'rfp_6'.i18n], + ['👕', 'rfp_14'.i18n], + ['👑', 'rfp_15'.i18n], ['🔜', 'more_soon'.i18n], ], ), @@ -252,6 +254,7 @@ class PlusScreenState extends State { ['🟦', 'rfp_11'.i18n], ['📒', 'rfp_12'.i18n], ['📅', 'rfp_13'.i18n], + ['👀', 'rfp_16'.i18n], const ['🖋️', 'cap_tier_benefits'], ['🔜', 'more_soon'.i18n], ], @@ -626,6 +629,45 @@ class PlusScreenState extends State { ), ], ), + const SizedBox( + height: 14.0, + ), + Row( + children: [ + Container( + decoration: BoxDecoration( + color: const Color(0xff011234), + borderRadius: BorderRadius.circular(20.0), + ), + padding: const EdgeInsets.symmetric( + horizontal: 7.9, + vertical: 2.5, + ), + child: const Text( + '5', + style: TextStyle( + color: Colors.white, + fontWeight: FontWeight.w500, + ), + ), + ), + const SizedBox( + width: 14.0, + ), + Expanded( + child: Text( + 'faq_dc'.i18n, + maxLines: 5, + style: const TextStyle( + fontWeight: FontWeight.w500, + fontSize: 14.4, + height: 1.3, + color: Colors.black, + ), + ), + ), + ], + ), ], ), ), diff --git a/refilc_mobile_ui/lib/plus/plus_screen.i18n.dart b/refilc_mobile_ui/lib/plus/plus_screen.i18n.dart index da4ab9f..20ab9d0 100644 --- a/refilc_mobile_ui/lib/plus/plus_screen.i18n.dart +++ b/refilc_mobile_ui/lib/plus/plus_screen.i18n.dart @@ -38,18 +38,20 @@ extension SettingsLocalization on String { "rfp_7": "Timetable notes", "rfp_8": "Custom font types", "rfp_9": "Unlimited accounts", - "rfp_10": "Custom app icon", + "rfp_10": "Custom app icon (from v5.1)", "rfp_11": "Change Live Activity color", "rfp_12": "Better goal planner", "rfp_13": "Import your timetable into your calendar app", - "rfp_14": "", - "rfp_15": "", + "rfp_14": "Discount in reFilc Shop (soon)", + "rfp_15": "Subscriber role in our Discord community", + "rfp_16": "Private leaks and informations about upcoming features", // other "and": " and ", "every": "Every ", "benefit": " benefit", "show_lifetime": "Show Lifetime Plans", "more_soon": "More coming soon...", + "faq_dc": "To redeem your benefits, contact us on Discord in DMs!", }, "hu_hu": { "even_more_cheaper": "Még több reFilc, olcsóbban,\nmint bármi más!", @@ -86,18 +88,21 @@ extension SettingsLocalization on String { "rfp_7": "Órarend jegyzetek", "rfp_8": "Egyedi betütípusok", "rfp_9": "Korlátlan fiók használata egyszerre", - "rfp_10": "Alkalmazás ikonjának megváltoztatása", + "rfp_10": "Alkalmazás ikonjának megváltoztatása (v5.1-től)", "rfp_11": "Live Activity szín", "rfp_12": "Fejlettebb cél kitűzés", "rfp_13": "Naptár szinkronizálás", - "rfp_14": "", - "rfp_15": "", + "rfp_14": "Kedvezmény a reFilc Shop-ban (hamarosan)", + "rfp_15": "Előfizetői rang a Discord szerverünkön", + "rfp_16": "Privát betekintések és információk közelgő újításokról", // other "and": " és ", "every": "Minden ", "benefit": " előny", "show_lifetime": "Örökre szóló csomagok", "more_soon": "Hamarosan mégtöbb finomság...", + "faq_dc": + "Az előnyök beváltásához írj nekünk Discord-on privát üzenetet!", }, "de_de": { "even_more_cheaper": "Mehr reFilc, günstiger\nals alles andere!", @@ -135,18 +140,21 @@ extension SettingsLocalization on String { "rfp_7": "Órarend jegyzetek", "rfp_8": "Egyedi betütípusok", "rfp_9": "Korlátlan fiók használata egyszerre", - "rfp_10": "Alkalmazás ikonjának megváltoztatása", + "rfp_10": "Alkalmazás ikonjának megváltoztatása (v5.1-től)", "rfp_11": "Live Activity szín", "rfp_12": "Fejlettebb cél kitűzés", "rfp_13": "Naptár szinkronizálás", - "rfp_14": "", - "rfp_15": "", + "rfp_14": "Kedvezmény a reFilc Shop-ban (hamarosan)", + "rfp_15": "Előfizetői rang a Discord szerverünkön", + "rfp_16": "Privát betekintések és információk közelgő újításokról", // other "and": " és ", "every": "Minden ", "benefit": " előny", "show_lifetime": "Für immer Pakete", "more_soon": "Mehr folgt bald...", + "faq_dc": + "Az előnyök beváltásához írj nekünk Discord-on privát üzenetet!", }, };