Refactor Live Activity consent dialog and add privacy policy screen with localization support
This commit is contained in:
@@ -1,65 +1,254 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_feather_icons/flutter_feather_icons.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
import 'package:refilc/models/settings.dart';
|
||||
import 'package:refilc/theme/colors/colors.dart';
|
||||
import 'package:refilc_mobile_ui/screens/settings/live_activity_privacy_policy_screen.dart';
|
||||
import 'package:refilc_mobile_ui/screens/settings/settings_screen.i18n.dart';
|
||||
|
||||
class LiveActivityConsentDialog extends StatelessWidget {
|
||||
const LiveActivityConsentDialog({super.key});
|
||||
|
||||
static Future<void> show(BuildContext context) => showDialog(
|
||||
context: context,
|
||||
barrierDismissible: false,
|
||||
static Future<void> show(BuildContext context) {
|
||||
return Navigator.of(context, rootNavigator: true).push(
|
||||
MaterialPageRoute(
|
||||
builder: (context) => const LiveActivityConsentDialog(),
|
||||
);
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Padding(
|
||||
padding: const EdgeInsets.symmetric(vertical: 100.0, horizontal: 32.0),
|
||||
child: Material(
|
||||
borderRadius: BorderRadius.circular(12.0),
|
||||
final theme = Theme.of(context);
|
||||
final colors = AppColors.of(context);
|
||||
|
||||
return Scaffold(
|
||||
backgroundColor: theme.scaffoldBackgroundColor,
|
||||
body: SafeArea(
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.all(16.0),
|
||||
padding: const EdgeInsets.symmetric(horizontal: 24.0),
|
||||
child: Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(bottom: 12.0),
|
||||
child: Text(
|
||||
"live_activity_consent_title".i18n,
|
||||
style: const TextStyle(
|
||||
fontSize: 20.0,
|
||||
fontWeight: FontWeight.bold,
|
||||
),
|
||||
),
|
||||
),
|
||||
Expanded(
|
||||
child: SingleChildScrollView(
|
||||
physics: const BouncingScrollPhysics(),
|
||||
child: Text(
|
||||
"live_activity_consent_body".i18n,
|
||||
style: const TextStyle(fontSize: 14.0),
|
||||
),
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 16.0),
|
||||
const SizedBox(height: 24.0),
|
||||
// Header: bell icon + title
|
||||
Row(
|
||||
children: [
|
||||
Expanded(
|
||||
child: TextButton(
|
||||
onPressed: () => _respond(context, false),
|
||||
child: Text("live_activity_decline".i18n),
|
||||
),
|
||||
Icon(
|
||||
Icons.notifications_active,
|
||||
color: theme.colorScheme.secondary,
|
||||
size: 36.0,
|
||||
),
|
||||
const SizedBox(width: 8.0),
|
||||
Expanded(
|
||||
child: FilledButton(
|
||||
onPressed: () => _respond(context, true),
|
||||
child: Text("live_activity_accept".i18n),
|
||||
const SizedBox(width: 12.0),
|
||||
Text(
|
||||
"Live Activity",
|
||||
style: TextStyle(
|
||||
fontSize: 28.0,
|
||||
fontWeight: FontWeight.bold,
|
||||
color: colors.text,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
const SizedBox(height: 8.0),
|
||||
Text(
|
||||
"la_consent_subtitle".i18n,
|
||||
style: TextStyle(
|
||||
fontSize: 15.0,
|
||||
color: colors.text.withValues(alpha: 0.7),
|
||||
),
|
||||
),
|
||||
|
||||
const SizedBox(height: 20.0),
|
||||
|
||||
// Privacy warning card
|
||||
Container(
|
||||
width: double.infinity,
|
||||
padding: const EdgeInsets.all(16.0),
|
||||
decoration: BoxDecoration(
|
||||
color: colors.orange.withValues(alpha: 0.15),
|
||||
borderRadius: BorderRadius.circular(12.0),
|
||||
border: Border.all(
|
||||
color: colors.orange.withValues(alpha: 0.3),
|
||||
),
|
||||
),
|
||||
child: Row(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Icon(
|
||||
Icons.shield_outlined,
|
||||
color: colors.orange,
|
||||
size: 22.0,
|
||||
),
|
||||
const SizedBox(width: 12.0),
|
||||
Expanded(
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text(
|
||||
"la_privacy_policy".i18n,
|
||||
style: TextStyle(
|
||||
fontSize: 16.0,
|
||||
fontWeight: FontWeight.w600,
|
||||
color: colors.orange,
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 4.0),
|
||||
Text(
|
||||
"la_privacy_warning".i18n,
|
||||
style: TextStyle(
|
||||
fontSize: 13.0,
|
||||
color: colors.orange.withValues(alpha: 0.85),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
const SizedBox(height: 24.0),
|
||||
|
||||
// Intro text
|
||||
Text(
|
||||
"la_consent_intro".i18n,
|
||||
style: TextStyle(
|
||||
fontSize: 14.0,
|
||||
color: colors.text.withValues(alpha: 0.8),
|
||||
),
|
||||
),
|
||||
|
||||
const SizedBox(height: 24.0),
|
||||
|
||||
// Info sections
|
||||
Expanded(
|
||||
child: SingleChildScrollView(
|
||||
physics: const BouncingScrollPhysics(),
|
||||
child: Column(
|
||||
children: [
|
||||
_InfoSection(
|
||||
icon: Icons.build_outlined,
|
||||
iconColor: theme.colorScheme.secondary,
|
||||
title: "la_what_data".i18n,
|
||||
description: "la_what_data_desc".i18n,
|
||||
),
|
||||
const SizedBox(height: 20.0),
|
||||
_InfoSection(
|
||||
icon: Icons.lock_outline,
|
||||
iconColor: theme.colorScheme.secondary,
|
||||
title: "la_how_protect".i18n,
|
||||
description: "la_how_protect_desc".i18n,
|
||||
),
|
||||
const SizedBox(height: 20.0),
|
||||
_InfoSection(
|
||||
icon: Icons.access_time,
|
||||
iconColor: theme.colorScheme.secondary,
|
||||
title: "la_how_long".i18n,
|
||||
description: "la_how_long_desc".i18n,
|
||||
),
|
||||
const SizedBox(height: 16.0),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
// Buttons
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(bottom: 16.0),
|
||||
child: Column(
|
||||
children: [
|
||||
// Learn more
|
||||
SizedBox(
|
||||
width: double.infinity,
|
||||
child: OutlinedButton(
|
||||
onPressed: () {
|
||||
Navigator.of(context).push(
|
||||
MaterialPageRoute(
|
||||
builder: (_) =>
|
||||
const LiveActivityPrivacyPolicyScreen(),
|
||||
),
|
||||
);
|
||||
},
|
||||
style: OutlinedButton.styleFrom(
|
||||
padding: const EdgeInsets.symmetric(vertical: 14.0),
|
||||
side: BorderSide(
|
||||
color: colors.text.withValues(alpha: 0.2),
|
||||
),
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.circular(12.0),
|
||||
),
|
||||
),
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
Text(
|
||||
"la_learn_more".i18n,
|
||||
style: TextStyle(
|
||||
color: colors.text.withValues(alpha: 0.8),
|
||||
fontSize: 15.0,
|
||||
),
|
||||
),
|
||||
const SizedBox(width: 4.0),
|
||||
Icon(
|
||||
FeatherIcons.chevronRight,
|
||||
size: 18.0,
|
||||
color: colors.text.withValues(alpha: 0.8),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 10.0),
|
||||
// Accept
|
||||
SizedBox(
|
||||
width: double.infinity,
|
||||
child: FilledButton(
|
||||
onPressed: () => _respond(context, true),
|
||||
style: FilledButton.styleFrom(
|
||||
padding: const EdgeInsets.symmetric(vertical: 14.0),
|
||||
backgroundColor: theme.colorScheme.secondary,
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.circular(12.0),
|
||||
),
|
||||
),
|
||||
child: Text(
|
||||
"live_activity_accept".i18n,
|
||||
style: TextStyle(
|
||||
color: theme.colorScheme.onSecondary,
|
||||
fontSize: 16.0,
|
||||
fontWeight: FontWeight.w600,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 8.0),
|
||||
// Decline
|
||||
SizedBox(
|
||||
width: double.infinity,
|
||||
child: OutlinedButton(
|
||||
onPressed: () => _respond(context, false),
|
||||
style: OutlinedButton.styleFrom(
|
||||
padding: const EdgeInsets.symmetric(vertical: 14.0),
|
||||
side: BorderSide(
|
||||
color: colors.text.withValues(alpha: 0.15),
|
||||
),
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.circular(12.0),
|
||||
),
|
||||
),
|
||||
child: Text(
|
||||
"live_activity_decline".i18n,
|
||||
style: TextStyle(
|
||||
color: colors.text.withValues(alpha: 0.6),
|
||||
fontSize: 15.0,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
@@ -69,8 +258,7 @@ class LiveActivityConsentDialog extends StatelessWidget {
|
||||
|
||||
void _respond(BuildContext context, bool accepted) {
|
||||
final settings = Provider.of<SettingsProvider>(context, listen: false);
|
||||
final unseen =
|
||||
List<String>.from(settings.unseenNewFeatures);
|
||||
final unseen = List<String>.from(settings.unseenNewFeatures);
|
||||
unseen.remove('live_activity_consent');
|
||||
settings.update(
|
||||
liveActivityEnabled: accepted,
|
||||
@@ -79,3 +267,61 @@ class LiveActivityConsentDialog extends StatelessWidget {
|
||||
Navigator.of(context).pop();
|
||||
}
|
||||
}
|
||||
|
||||
class _InfoSection extends StatelessWidget {
|
||||
final IconData icon;
|
||||
final Color iconColor;
|
||||
final String title;
|
||||
final String description;
|
||||
|
||||
const _InfoSection({
|
||||
required this.icon,
|
||||
required this.iconColor,
|
||||
required this.title,
|
||||
required this.description,
|
||||
});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final colors = AppColors.of(context);
|
||||
|
||||
return Row(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Container(
|
||||
width: 40.0,
|
||||
height: 40.0,
|
||||
decoration: BoxDecoration(
|
||||
color: iconColor.withValues(alpha: 0.15),
|
||||
shape: BoxShape.circle,
|
||||
),
|
||||
child: Icon(icon, color: iconColor, size: 20.0),
|
||||
),
|
||||
const SizedBox(width: 14.0),
|
||||
Expanded(
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text(
|
||||
title,
|
||||
style: TextStyle(
|
||||
fontSize: 15.0,
|
||||
fontWeight: FontWeight.w600,
|
||||
color: colors.text,
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 4.0),
|
||||
Text(
|
||||
description,
|
||||
style: TextStyle(
|
||||
fontSize: 13.5,
|
||||
color: colors.text.withValues(alpha: 0.6),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
],
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,175 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:refilc/theme/colors/colors.dart';
|
||||
import 'package:refilc_mobile_ui/screens/settings/settings_screen.i18n.dart';
|
||||
|
||||
class LiveActivityPrivacyPolicyScreen extends StatelessWidget {
|
||||
const LiveActivityPrivacyPolicyScreen({super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final colors = AppColors.of(context);
|
||||
|
||||
return Scaffold(
|
||||
backgroundColor: Theme.of(context).scaffoldBackgroundColor,
|
||||
appBar: AppBar(
|
||||
surfaceTintColor: Theme.of(context).scaffoldBackgroundColor,
|
||||
leading: BackButton(color: colors.text),
|
||||
title: Text(
|
||||
"la_pp_title".i18n,
|
||||
style: TextStyle(
|
||||
color: colors.text,
|
||||
fontWeight: FontWeight.bold,
|
||||
),
|
||||
),
|
||||
),
|
||||
body: SingleChildScrollView(
|
||||
physics: const BouncingScrollPhysics(),
|
||||
padding: const EdgeInsets.symmetric(horizontal: 24.0, vertical: 16.0),
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
_bodyText("la_pp_intro".i18n, colors),
|
||||
const SizedBox(height: 24.0),
|
||||
|
||||
_sectionTitle("la_pp_what_title".i18n, colors),
|
||||
const SizedBox(height: 8.0),
|
||||
_bodyText("la_pp_what_intro".i18n, colors),
|
||||
const SizedBox(height: 12.0),
|
||||
_bulletList([
|
||||
"la_pp_d1".i18n,
|
||||
"la_pp_d2".i18n,
|
||||
"la_pp_d3".i18n,
|
||||
"la_pp_d4".i18n,
|
||||
"la_pp_d5".i18n,
|
||||
"la_pp_d6".i18n,
|
||||
"la_pp_d7".i18n,
|
||||
], colors),
|
||||
const SizedBox(height: 16.0),
|
||||
|
||||
_bodyText("la_pp_timetable_intro".i18n, colors),
|
||||
const SizedBox(height: 12.0),
|
||||
_bulletList([
|
||||
"la_pp_t1".i18n,
|
||||
"la_pp_t2".i18n,
|
||||
"la_pp_t3".i18n,
|
||||
"la_pp_t4".i18n,
|
||||
"la_pp_t5".i18n,
|
||||
"la_pp_t6".i18n,
|
||||
"la_pp_t7".i18n,
|
||||
], colors),
|
||||
const SizedBox(height: 16.0),
|
||||
|
||||
_bodyText("la_pp_notifications_intro".i18n, colors),
|
||||
const SizedBox(height: 12.0),
|
||||
_bulletList([
|
||||
"la_pp_n1".i18n,
|
||||
"la_pp_n2".i18n,
|
||||
"la_pp_n3".i18n,
|
||||
"la_pp_n4".i18n,
|
||||
"la_pp_n5".i18n,
|
||||
], colors),
|
||||
const SizedBox(height: 24.0),
|
||||
|
||||
_sectionTitle("la_pp_purpose_title".i18n, colors),
|
||||
const SizedBox(height: 8.0),
|
||||
_bodyText("la_pp_purpose_intro".i18n, colors),
|
||||
const SizedBox(height: 12.0),
|
||||
_bulletList([
|
||||
"la_pp_p1".i18n,
|
||||
"la_pp_p2".i18n,
|
||||
"la_pp_p3".i18n,
|
||||
"la_pp_p4".i18n,
|
||||
], colors),
|
||||
const SizedBox(height: 12.0),
|
||||
_bodyText("la_pp_no_third_party".i18n, colors),
|
||||
const SizedBox(height: 24.0),
|
||||
|
||||
_sectionTitle("la_pp_rights_title".i18n, colors),
|
||||
const SizedBox(height: 8.0),
|
||||
_bodyText("la_pp_rights_intro".i18n, colors),
|
||||
const SizedBox(height: 12.0),
|
||||
_bulletList([
|
||||
"la_pp_r1".i18n,
|
||||
"la_pp_r2".i18n,
|
||||
"la_pp_r3".i18n,
|
||||
"la_pp_r4".i18n,
|
||||
], colors),
|
||||
const SizedBox(height: 32.0),
|
||||
|
||||
Text(
|
||||
"la_pp_updated".i18n,
|
||||
style: TextStyle(
|
||||
fontSize: 12.0,
|
||||
color: colors.text.withValues(alpha: 0.4),
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 4.0),
|
||||
Text(
|
||||
"la_pp_contact".i18n,
|
||||
style: TextStyle(
|
||||
fontSize: 12.0,
|
||||
color: colors.text.withValues(alpha: 0.4),
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 32.0),
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Widget _sectionTitle(String text, ThemeAppColors colors) {
|
||||
return Text(
|
||||
text,
|
||||
style: TextStyle(
|
||||
fontSize: 18.0,
|
||||
fontWeight: FontWeight.bold,
|
||||
color: colors.text,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Widget _bodyText(String text, ThemeAppColors colors) {
|
||||
return Text(
|
||||
text,
|
||||
style: TextStyle(
|
||||
fontSize: 14.0,
|
||||
color: colors.text.withValues(alpha: 0.7),
|
||||
height: 1.5,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Widget _bulletList(List<String> items, ThemeAppColors colors) {
|
||||
return Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: items
|
||||
.map((item) => Padding(
|
||||
padding: const EdgeInsets.only(bottom: 6.0),
|
||||
child: Row(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text(
|
||||
"• ",
|
||||
style: TextStyle(
|
||||
fontSize: 14.0,
|
||||
color: colors.text.withValues(alpha: 0.7),
|
||||
),
|
||||
),
|
||||
Expanded(
|
||||
child: Text(
|
||||
item,
|
||||
style: TextStyle(
|
||||
fontSize: 14.0,
|
||||
color: colors.text.withValues(alpha: 0.7),
|
||||
height: 1.4,
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
))
|
||||
.toList(),
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -101,8 +101,61 @@ extension SettingsLocalization on String {
|
||||
"live_activity_enabled": "Live Activity",
|
||||
"live_activity_consent_title": "Live Activity – Data Privacy",
|
||||
"live_activity_consent_body": "The Live Activity feature sends data to our server for real-time push notification updates.\n\nData sent:\n• Device identifier\n• APNs push token\n• Your timetable\n\nPurpose:\n• Real-time Live Activity updates via push notifications\n\nData is stored on an encrypted server. You can disable this at any time in Settings > General.",
|
||||
"live_activity_accept": "Allow",
|
||||
"live_activity_decline": "Don't Allow",
|
||||
"live_activity_accept": "Accept",
|
||||
"live_activity_decline": "Decline",
|
||||
// Live Activity consent screen
|
||||
"la_consent_subtitle": "Display your timetable live on your device's lock screen",
|
||||
"la_privacy_policy": "Privacy Policy",
|
||||
"la_privacy_warning": "To use Live Activity, you must accept the privacy policy",
|
||||
"la_consent_intro": "To use the Live Activity feature, we need to store and process certain data. Please read the following information carefully.",
|
||||
"la_what_data": "What data do we store?",
|
||||
"la_what_data_desc": "Device tokens, Live Activity tokens, timetable data",
|
||||
"la_how_protect": "How do we protect your data?",
|
||||
"la_how_protect_desc": "Encrypted storage, secure servers",
|
||||
"la_how_long": "How long do we store the data?",
|
||||
"la_how_long_desc": "Data deleted automatically when not needed",
|
||||
"la_learn_more": "Learn more",
|
||||
// Live Activity privacy policy detail
|
||||
"la_pp_title": "Live Activity Privacy Policy",
|
||||
"la_pp_intro": "To use the Live Activity feature, we need to store and process certain data. Please read the following information carefully.",
|
||||
"la_pp_what_title": "What data do we store?",
|
||||
"la_pp_what_intro": "To enable Live Activity, we store the following data along with your device identifier:",
|
||||
"la_pp_d1": "Device identifier (UUID)",
|
||||
"la_pp_d2": "Device token",
|
||||
"la_pp_d3": "Live Activity push token",
|
||||
"la_pp_d4": "APNs push token",
|
||||
"la_pp_d5": "Device hash",
|
||||
"la_pp_d6": "Language preference",
|
||||
"la_pp_d7": "Bell delay offset",
|
||||
"la_pp_timetable_intro": "Your timetable data (lessons table) includes:",
|
||||
"la_pp_t1": "Lesson subject and time",
|
||||
"la_pp_t2": "Teacher's name",
|
||||
"la_pp_t3": "Room name",
|
||||
"la_pp_t4": "Lesson number",
|
||||
"la_pp_t5": "Lesson theme",
|
||||
"la_pp_t6": "Substitution info",
|
||||
"la_pp_t7": "Cancelled lesson status",
|
||||
"la_pp_notifications_intro": "Scheduled notifications data (scheduled_notifications table) includes:",
|
||||
"la_pp_n1": "Identifier",
|
||||
"la_pp_n2": "Device identifier",
|
||||
"la_pp_n3": "Scheduled time",
|
||||
"la_pp_n4": "Sent status and time",
|
||||
"la_pp_n5": "Creation and update times",
|
||||
"la_pp_purpose_title": "Why do we use this data?",
|
||||
"la_pp_purpose_intro": "We use the data exclusively for operating the Live Activity feature:",
|
||||
"la_pp_p1": "Displaying live timetable on the lock screen",
|
||||
"la_pp_p2": "Sending push notifications when lessons change",
|
||||
"la_pp_p3": "Syncing your timetable on your device",
|
||||
"la_pp_p4": "Ensuring Monday morning notifications are delivered even after the weekly database clearance",
|
||||
"la_pp_no_third_party": "We do not share your data with third parties and do not use it for marketing purposes.",
|
||||
"la_pp_rights_title": "Your Rights",
|
||||
"la_pp_rights_intro": "Under GDPR, you have the following rights:",
|
||||
"la_pp_r1": "Right to access: You can review the types of data stored in this privacy policy.",
|
||||
"la_pp_r2": "Right to erasure: By disabling the Live Activity feature, all data related to the feature (device identifiers, timetable) is immediately and permanently deleted from our servers.",
|
||||
"la_pp_r3": "Right to rectification: Timetable data is modified in the Kréta system by authorized persons (e.g., teachers).",
|
||||
"la_pp_r4": "Right to object: You can object to data processing at any time by disabling the Live Activity feature.",
|
||||
"la_pp_updated": "Privacy policy last updated: November 2025",
|
||||
"la_pp_contact": "Have questions? Contact us at support@firka.app.",
|
||||
"fonts": "Fonts",
|
||||
"font_family": "Font Family",
|
||||
"calendar_sync": "Calendar Sync",
|
||||
@@ -236,8 +289,61 @@ extension SettingsLocalization on String {
|
||||
"live_activity_enabled": "Live Activity",
|
||||
"live_activity_consent_title": "Live Activity – Adatvédelem",
|
||||
"live_activity_consent_body": "A Live Activity funkció adatokat küld a szerverünkre a valós idejű push értesítés frissítésekhez.\n\nKüldött adatok:\n• Eszközazonosító\n• APNs push token\n• Órarendjeid\n\nCél:\n• Valós idejű Live Activity frissítések push értesítéssel\n\nAz adatokat titkosított szerveren tároljuk. Bármikor kikapcsolhatod a Beállítások > Általános menüben.",
|
||||
"live_activity_accept": "Engedélyezem",
|
||||
"live_activity_decline": "Nem engedélyezem",
|
||||
"live_activity_accept": "Elfogadom",
|
||||
"live_activity_decline": "Elutasítom",
|
||||
// Live Activity consent screen
|
||||
"la_consent_subtitle": "Jelenítsd meg az órarendedet élőben a zárolási képernyődön",
|
||||
"la_privacy_policy": "Adatvédelmi szabályzat",
|
||||
"la_privacy_warning": "A Live Activity használatához el kell fogadnod az adatvédelmi szabályzatot",
|
||||
"la_consent_intro": "A Live Activity funkció használatához bizonyos adatokat kell tárolnunk és feldolgoznunk. Kérjük, olvasd el figyelmesen az alábbi tájékoztatást.",
|
||||
"la_what_data": "Milyen adatokat tárolunk?",
|
||||
"la_what_data_desc": "Eszköz tokenek, Live Activity tokenek, órarend adatok",
|
||||
"la_how_protect": "Hogyan védjük az adataidat?",
|
||||
"la_how_protect_desc": "Titkosított tárolás, biztonságos szerverek",
|
||||
"la_how_long": "Meddig tároljuk az adatokat?",
|
||||
"la_how_long_desc": "Az adatok automatikusan törlődnek, ha már nincs rájuk szükség",
|
||||
"la_learn_more": "Részletek",
|
||||
// Live Activity privacy policy detail
|
||||
"la_pp_title": "Live Activity Adatvédelmi Szabályzat",
|
||||
"la_pp_intro": "A Live Activity funkció használatához bizonyos adatokat kell tárolnunk és feldolgoznunk. Kérjük, olvasd el figyelmesen az alábbi tájékoztatást.",
|
||||
"la_pp_what_title": "Milyen adatokat tárolunk?",
|
||||
"la_pp_what_intro": "A Live Activity működéséhez az alábbi adatokat tároljuk az eszközazonosítóddal együtt:",
|
||||
"la_pp_d1": "Eszközazonosító (UUID)",
|
||||
"la_pp_d2": "Eszköz token",
|
||||
"la_pp_d3": "Live Activity push token",
|
||||
"la_pp_d4": "APNs push token",
|
||||
"la_pp_d5": "Eszköz hash",
|
||||
"la_pp_d6": "Nyelvi beállítás",
|
||||
"la_pp_d7": "Csengő eltolódás értéke",
|
||||
"la_pp_timetable_intro": "Az órarend adataid (lessons tábla) tartalmazzák:",
|
||||
"la_pp_t1": "Óra tantárgya és időpontja",
|
||||
"la_pp_t2": "Tanár neve",
|
||||
"la_pp_t3": "Terem neve",
|
||||
"la_pp_t4": "Óraszám",
|
||||
"la_pp_t5": "Óra témája",
|
||||
"la_pp_t6": "Helyettesítési információ",
|
||||
"la_pp_t7": "Elmaradt óra státusz",
|
||||
"la_pp_notifications_intro": "Ütemezett értesítések adatai (scheduled_notifications tábla) tartalmazzák:",
|
||||
"la_pp_n1": "Azonosító",
|
||||
"la_pp_n2": "Eszközazonosító",
|
||||
"la_pp_n3": "Ütemezett időpont",
|
||||
"la_pp_n4": "Küldési státusz és időpont",
|
||||
"la_pp_n5": "Létrehozási és frissítési időpontok",
|
||||
"la_pp_purpose_title": "Miért használjuk ezeket az adatokat?",
|
||||
"la_pp_purpose_intro": "Az adatokat kizárólag a Live Activity funkció működtetéséhez használjuk:",
|
||||
"la_pp_p1": "Élő órarend megjelenítése a zárolási képernyőn",
|
||||
"la_pp_p2": "Push értesítések küldése óraváltozáskor",
|
||||
"la_pp_p3": "Órarend szinkronizálása az eszközödön",
|
||||
"la_pp_p4": "Hétfő reggeli értesítések kézbesítésének biztosítása a heti adatbázis törlés után is",
|
||||
"la_pp_no_third_party": "Adataidat nem adjuk át harmadik félnek és nem használjuk marketing célokra.",
|
||||
"la_pp_rights_title": "Jogaid",
|
||||
"la_pp_rights_intro": "A GDPR alapján az alábbi jogok illetnek meg:",
|
||||
"la_pp_r1": "Hozzáférés joga: Áttekintheted a tárolt adatok típusait ebben az adatvédelmi szabályzatban.",
|
||||
"la_pp_r2": "Törlés joga: A Live Activity funkció kikapcsolásával a funkcióhoz kapcsolódó összes adat (eszközazonosítók, órarend) azonnal és véglegesen törlődik a szervereinkről.",
|
||||
"la_pp_r3": "Helyesbítés joga: Az órarend adatokat a Kréta rendszerben az arra jogosult személyek (pl. tanárok) módosítják.",
|
||||
"la_pp_r4": "Tiltakozás joga: Bármikor tiltakozhatsz az adatfeldolgozás ellen a Live Activity funkció kikapcsolásával.",
|
||||
"la_pp_updated": "Adatvédelmi szabályzat utolsó frissítése: 2025. november",
|
||||
"la_pp_contact": "Kérdésed van? Írj nekünk: support@firka.app.",
|
||||
"fonts": "Betűk",
|
||||
"font_family": "Betűtípus",
|
||||
"calendar_sync": "Naptár szinkronizálás",
|
||||
@@ -371,8 +477,61 @@ extension SettingsLocalization on String {
|
||||
"live_activity_enabled": "Live Activity",
|
||||
"live_activity_consent_title": "Live Activity – Datenschutz",
|
||||
"live_activity_consent_body": "Die Live Activity-Funktion sendet Daten an unseren Server für Echtzeit-Push-Benachrichtigungen.\n\nGesendete Daten:\n• Gerätekennung\n• APNs Push-Token\n• Ihr Stundenplan\n\nZweck:\n• Echtzeit Live Activity-Updates über Push-Benachrichtigungen\n\nDaten werden auf einem verschlüsselten Server gespeichert. Sie können dies jederzeit unter Einstellungen > Allgemein deaktivieren.",
|
||||
"live_activity_accept": "Erlauben",
|
||||
"live_activity_decline": "Nicht erlauben",
|
||||
"live_activity_accept": "Akzeptieren",
|
||||
"live_activity_decline": "Ablehnen",
|
||||
// Live Activity consent screen
|
||||
"la_consent_subtitle": "Zeigen Sie Ihren Stundenplan live auf Ihrem Sperrbildschirm an",
|
||||
"la_privacy_policy": "Datenschutzrichtlinie",
|
||||
"la_privacy_warning": "Um Live Activity zu nutzen, müssen Sie die Datenschutzrichtlinie akzeptieren",
|
||||
"la_consent_intro": "Um die Live Activity-Funktion zu nutzen, müssen wir bestimmte Daten speichern und verarbeiten. Bitte lesen Sie die folgenden Informationen sorgfältig durch.",
|
||||
"la_what_data": "Welche Daten speichern wir?",
|
||||
"la_what_data_desc": "Geräte-Tokens, Live Activity-Tokens, Stundenplan-Daten",
|
||||
"la_how_protect": "Wie schützen wir Ihre Daten?",
|
||||
"la_how_protect_desc": "Verschlüsselte Speicherung, sichere Server",
|
||||
"la_how_long": "Wie lange speichern wir die Daten?",
|
||||
"la_how_long_desc": "Daten werden automatisch gelöscht, wenn sie nicht mehr benötigt werden",
|
||||
"la_learn_more": "Mehr erfahren",
|
||||
// Live Activity privacy policy detail
|
||||
"la_pp_title": "Live Activity Datenschutzrichtlinie",
|
||||
"la_pp_intro": "Um die Live Activity-Funktion zu nutzen, müssen wir bestimmte Daten speichern und verarbeiten. Bitte lesen Sie die folgenden Informationen sorgfältig durch.",
|
||||
"la_pp_what_title": "Welche Daten speichern wir?",
|
||||
"la_pp_what_intro": "Um Live Activity zu aktivieren, speichern wir die folgenden Daten zusammen mit Ihrer Gerätekennung:",
|
||||
"la_pp_d1": "Gerätekennung (UUID)",
|
||||
"la_pp_d2": "Geräte-Token",
|
||||
"la_pp_d3": "Live Activity Push-Token",
|
||||
"la_pp_d4": "APNs Push-Token",
|
||||
"la_pp_d5": "Geräte-Hash",
|
||||
"la_pp_d6": "Spracheinstellung",
|
||||
"la_pp_d7": "Klingelverzögerungswert",
|
||||
"la_pp_timetable_intro": "Ihre Stundenplan-Daten (Unterrichtstabelle) umfassen:",
|
||||
"la_pp_t1": "Unterrichtsfach und -zeit",
|
||||
"la_pp_t2": "Name des Lehrers",
|
||||
"la_pp_t3": "Raumname",
|
||||
"la_pp_t4": "Stundennummer",
|
||||
"la_pp_t5": "Unterrichtsthema",
|
||||
"la_pp_t6": "Vertretungsinformationen",
|
||||
"la_pp_t7": "Status ausgefallener Stunden",
|
||||
"la_pp_notifications_intro": "Geplante Benachrichtigungsdaten (scheduled_notifications Tabelle) umfassen:",
|
||||
"la_pp_n1": "Kennung",
|
||||
"la_pp_n2": "Gerätekennung",
|
||||
"la_pp_n3": "Geplante Zeit",
|
||||
"la_pp_n4": "Sendestatus und -zeit",
|
||||
"la_pp_n5": "Erstellungs- und Aktualisierungszeiten",
|
||||
"la_pp_purpose_title": "Warum verwenden wir diese Daten?",
|
||||
"la_pp_purpose_intro": "Wir verwenden die Daten ausschließlich für den Betrieb der Live Activity-Funktion:",
|
||||
"la_pp_p1": "Anzeige des Live-Stundenplans auf dem Sperrbildschirm",
|
||||
"la_pp_p2": "Senden von Push-Benachrichtigungen bei Stundenänderungen",
|
||||
"la_pp_p3": "Synchronisation Ihres Stundenplans auf Ihrem Gerät",
|
||||
"la_pp_p4": "Sicherstellung der Montagmorgen-Benachrichtigungen auch nach der wöchentlichen Datenbankbereinigung",
|
||||
"la_pp_no_third_party": "Wir geben Ihre Daten nicht an Dritte weiter und verwenden sie nicht für Marketingzwecke.",
|
||||
"la_pp_rights_title": "Ihre Rechte",
|
||||
"la_pp_rights_intro": "Gemäß DSGVO haben Sie folgende Rechte:",
|
||||
"la_pp_r1": "Recht auf Auskunft: Sie können die in dieser Datenschutzrichtlinie gespeicherten Datentypen einsehen.",
|
||||
"la_pp_r2": "Recht auf Löschung: Durch Deaktivierung der Live Activity-Funktion werden alle funktionsbezogenen Daten (Gerätekennungen, Stundenplan) sofort und dauerhaft von unseren Servern gelöscht.",
|
||||
"la_pp_r3": "Recht auf Berichtigung: Stundenplan-Daten werden im Kréta-System von autorisierten Personen (z.B. Lehrern) geändert.",
|
||||
"la_pp_r4": "Widerspruchsrecht: Sie können der Datenverarbeitung jederzeit widersprechen, indem Sie die Live Activity-Funktion deaktivieren.",
|
||||
"la_pp_updated": "Datenschutzrichtlinie zuletzt aktualisiert: November 2025",
|
||||
"la_pp_contact": "Fragen? Kontaktieren Sie uns unter support@firka.app.",
|
||||
"fonts": "Schriftarten",
|
||||
"font_family": "Schriftfamilie",
|
||||
"calendar_sync": "Kalender-Synchronisation",
|
||||
|
||||
Reference in New Issue
Block a user