diff --git a/refilc_mobile_ui/lib/premium/components/plan_card.dart b/refilc_mobile_ui/lib/premium/components/plan_card.dart index 03f379b..fd8e059 100644 --- a/refilc_mobile_ui/lib/premium/components/plan_card.dart +++ b/refilc_mobile_ui/lib/premium/components/plan_card.dart @@ -2,6 +2,7 @@ import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; import 'package:refilc_plus/providers/premium_provider.dart'; import 'package:refilc_plus/ui/mobile/premium/activation_view/activation_view.dart'; +import 'package:refilc_mobile_ui/premium/plus_screen.i18n.dart'; import 'package:url_launcher/url_launcher.dart'; class PlusPlanCard extends StatelessWidget { @@ -115,7 +116,7 @@ class PlusPlanCard extends StatelessWidget { horizontal: 8.0, vertical: 0.0), child: Text( active - ? 'Aktív' + ? 'active'.i18n : '${price.toStringAsFixed(2).replaceAll('.', ',')} €', style: const TextStyle( fontSize: 16.6, @@ -177,7 +178,7 @@ class PlusPlanCard extends StatelessWidget { ), e[1].startsWith('cap') ? const TextSpan( - text: 'Kupak', + text: 'reFilc+', style: TextStyle( color: Color(0xFF47BB00), @@ -188,7 +189,7 @@ class PlusPlanCard extends StatelessWidget { : const TextSpan( children: [ TextSpan( - text: 'Kupak', + text: 'reFilc+', style: TextStyle( color: Color( 0xFF47BB00), @@ -200,7 +201,7 @@ class PlusPlanCard extends StatelessWidget { text: ' és ', ), TextSpan( - text: 'Tinta', + text: 'reFilc+ Gold', style: TextStyle( color: Color( 0xFF0061BB), diff --git a/refilc_mobile_ui/lib/premium/plus_screen.dart b/refilc_mobile_ui/lib/premium/plus_screen.dart index 22ecdc6..4971b65 100644 --- a/refilc_mobile_ui/lib/premium/plus_screen.dart +++ b/refilc_mobile_ui/lib/premium/plus_screen.dart @@ -182,6 +182,11 @@ class PlusScreen extends StatelessWidget { '📓', 'Korlátlan saját jegyzet és feladat a füzet oldalon' ], + ['1️⃣', 'Egyedi jegy ritkaságok'], + [ + '➕', + 'Összesített átlagszámoló', + ], ], ), const SizedBox( @@ -202,9 +207,13 @@ class PlusScreen extends StatelessWidget { bottom: Radius.circular(16.0)), features: const [ ['🕑', 'Órarend jegyzetek'], - ['👥', '5 fiók használata egyszerre'], + ['🔤', 'Egyedi betütípusok'], + ['👥', 'Korlátlan fiók használata egyszerre'], ['🎓', 'Összesített átlagszámoló'], ['🟦', 'Live Activity szín'], + ['📱', 'Alkalmazás ikonjának megváltoztatása'], + ['📒', 'Fejlettebb cél kitűzés'], + ['📅', 'Naptár szinkronizálás'], ['🖋️', 'cap_tier_benefits'], ], ), @@ -226,10 +235,7 @@ class PlusScreen extends StatelessWidget { // top: Radius.circular(8.0), // bottom: Radius.circular(16.0)), // features: const [ - // ['📱', 'Alkalmazás ikonjának megváltoztatása'], // ['👥', 'Korlátlan fiók használata egyszerre'], - // ['📒', 'Fejlettebb cél kitűzés'], - // ['🔤', 'Egyedi betütípusok'], // ['🖋️', 'ink_cap_tier_benefits'], // ], // ), diff --git a/refilc_mobile_ui/lib/premium/plus_screen.i18n.dart b/refilc_mobile_ui/lib/premium/plus_screen.i18n.dart index e389bf3..c0b053a 100644 --- a/refilc_mobile_ui/lib/premium/plus_screen.i18n.dart +++ b/refilc_mobile_ui/lib/premium/plus_screen.i18n.dart @@ -3,7 +3,32 @@ import 'package:i18n_extension/i18n_extension.dart'; extension SettingsLocalization on String { static final _t = Translations.byLocale("hu_hu") + { - "en_en": {}, + "en_en": { + "even_more_cheaper": "More reFilc, cheaper\nthan anything else!", + "support_1": "Support QwIT", + "support_2": " and get useful features in return!", + "tier_rfp": "More customisation, more accounts, easier notes.", + "tier_rfpgold": + "Get access to more features, add multiple profiles, and make your day better and simpler.", + "faq": "FAQ", + "money": "What will you spend my money on?", + "m_1": + "We will spend the money from our supporters on the \$100 fee of the Apple", + "m_2": + " Developer Program, our servers, and the reFilc domains. The remaining money will be spent on other development stuff, and pizza parties.", + "open": "Will reFilc stay open-source?", + "o_1": + "Yes, reFilc is, and always will be, open-source. Subscribers can ask for the source code of reFilc+ on our Discord server.", + "desc": "Explanations", + "cheaper": + "The lowest tier of service is cheaper than most known subscriptions, but there may be exceptions.", + "qwit": + "\"QwIT\" is an abbreviation of \"QwIT Development\", the development team behind reFilc and other projects.", + "apple": "\"Apple\" is a trademark of Apple Inc.", + "eur": + "Prices are displayed in euros, which means it's dependant on the exchange rate. 1 EUR ≈ 390 HUF", + "active": "Active", + }, "hu_hu": { "even_more_cheaper": "Még több reFilc, olcsóbban,\nmint bármi más!", "support_1": "Támogasd a QwIT", @@ -28,8 +53,35 @@ extension SettingsLocalization on String { "apple": "Az \"Apple\" az Apple Inc. védjegye.", "eur": "Az árak euróban vannak feltüntetve, így az árfolyam befolyásolja, hogy mennyit kell fizetned a szolgáltatásért. 1 EUR ≈ 390 Ft", + "active": "Aktív", + }, + "de_de": { + "even_more_cheaper": "Mehr reFilc, günstiger\nals alles andere!", + "support_1": "Unterstütze QwIT", + "support_2": " und du kriegst mehr nützliche Features!", + "tier_rfp": + "Mehr Personalisierung, mehr Profile, einfachere Notizen.", + "tier_rfpgold": + "Hol dir mehr Features, füge mehrere Profile hinzu und mach damit dein Alltag einfacher.", + "faq": "Häufig gestellte Fragen (FAQ)", + "money": "Was tun wir mit deinem Geld?", + "m_1": + "Wir verwenden das gesammelte Geld von unseren Sponsoren ausschließlich auf die \$100 Gebühr von dem Apple", + "m_2": + " Developer Program, unsere Server und die reFilc Domänen. Das restliche Geld wird auf andere Entwicklungsbezogene Dinge und auch Pizza Parties bezweckt.", + "open": "Wird reFilc Open-Source bleiben?", + "o_1": + "Ja, reFilc ist und bleibt weiterhin ein Open-Source Projekt. Abonnenten des reFilc+ Abos können auch natürlich den Quellcode dieser Version in unserem Discord Server finden.", + "desc": "Erklärung/Aufklärung", + "cheaper": + "Das günstigste Abonnement ist das beliebteste, es gibt natürlich aber auch ausnahmen.", + "qwit": + "\"QwIT\" ist ein Teil of \"QwIT Development\", die Entwickler hinter des Programms reFilc.", + "apple": "\"Apple\" ist eine geschützte Marke von Apple Inc.", + "eur": + "Der Preis wird in Euro angegeben im Bezug zum aktuellen Wechselkurs. 1 EUR ≈ 390 HUF", + "active": "Aktiv", }, - "de_de": {}, }; String get i18n => localize(this, _t);