Skip to content

armgit / ente

Public Imported from GitHub
0

💚 End-to-end encrypted cloud for everything.

Resolve conflicts and merge main

ashilkn522468580cda
diff --cc lib/l10n/intl_cs.arb
index b653233e0b,4e9d62c53f..7c612bdde7
--- a/lib/l10n/intl_cs.arb
+++ b/lib/l10n/intl_cs.arb
@@@ -1,5 -1,5 +1,6 @@@
{
"addToHiddenAlbum": "Add to hidden album",
"moveToHiddenAlbum": "Move to hidden album",
- "fileTypes": "File types"
++ "fileTypes": "File types",
+ "deleteConfirmDialogBody": "This account is linked to other ente apps, if you use any.\\n\\nYour uploaded data, across all ente apps, will be scheduled for deletion, and your account will be permanently deleted."
}
diff --cc lib/l10n/intl_de.arb
index 5413dfd1bd,e3760e04a6..59bf51e178
--- a/lib/l10n/intl_de.arb
+++ b/lib/l10n/intl_de.arb
@@@ -1103,5 -1102,5 +1102,6 @@@
"crashReporting": "Absturzbericht",
"addToHiddenAlbum": "Zum versteckten Album hinzufügen",
"moveToHiddenAlbum": "Zu verstecktem Album verschieben",
- "fileTypes": "File types"
++ "fileTypes": "File types",
+ "deleteConfirmDialogBody": "This account is linked to other ente apps, if you use any.\\n\\nYour uploaded data, across all ente apps, will be scheduled for deletion, and your account will be permanently deleted."
}
diff --cc lib/l10n/intl_en.arb
index 50f4b5aedd,7fa90f291e..a1af99febc
--- a/lib/l10n/intl_en.arb
+++ b/lib/l10n/intl_en.arb
@@@ -1114,5 -1102,5 +1113,6 @@@
"crashReporting": "Crash reporting",
"addToHiddenAlbum": "Add to hidden album",
"moveToHiddenAlbum": "Move to hidden album",
- "fileTypes": "File types"
++ "fileTypes": "File types",
+ "deleteConfirmDialogBody": "This account is linked to other ente apps, if you use any.\\n\\nYour uploaded data, across all ente apps, will be scheduled for deletion, and your account will be permanently deleted."
}
diff --cc lib/l10n/intl_es.arb
index a8bd74e344,0d1547a0f7..240d40706f
--- a/lib/l10n/intl_es.arb
+++ b/lib/l10n/intl_es.arb
@@@ -965,5 -964,5 +964,6 @@@
"familyPlanOverview": "Añada 5 familiares a su plan existente sin pagar más.\n\nCada miembro tiene su propio espacio privado y no puede ver los archivos del otro a menos que sean compartidos.\n\nLos planes familiares están disponibles para los clientes que tienen una suscripción de ente pagada.\n\n¡Suscríbete ahora para empezar!",
"addToHiddenAlbum": "Add to hidden album",
"moveToHiddenAlbum": "Move to hidden album",
- "fileTypes": "File types"
++ "fileTypes": "File types",
+ "deleteConfirmDialogBody": "This account is linked to other ente apps, if you use any.\\n\\nYour uploaded data, across all ente apps, will be scheduled for deletion, and your account will be permanently deleted."
}
diff --cc lib/l10n/intl_fr.arb
index 4dd4950c46,9a9c651a1c..c3130cfce6
--- a/lib/l10n/intl_fr.arb
+++ b/lib/l10n/intl_fr.arb
@@@ -1103,5 -1102,5 +1102,6 @@@
"crashReporting": "Rapports d'erreurs",
"addToHiddenAlbum": "Ajouter à un album masqué",
"moveToHiddenAlbum": "Déplacer vers un album masqué",
- "fileTypes": "File types"
++ "fileTypes": "File types",
+ "deleteConfirmDialogBody": "This account is linked to other ente apps, if you use any.\\n\\nYour uploaded data, across all ente apps, will be scheduled for deletion, and your account will be permanently deleted."
}
diff --cc lib/l10n/intl_it.arb
index 3339586649,0abac45e5e..d9b6173dc1
--- a/lib/l10n/intl_it.arb
+++ b/lib/l10n/intl_it.arb
@@@ -1103,5 -1102,5 +1102,6 @@@
"crashReporting": "Segnalazione di crash",
"addToHiddenAlbum": "Aggiungi ad album nascosto",
"moveToHiddenAlbum": "Sposta in album nascosto",
- "fileTypes": "File types"
++ "fileTypes": "File types",
+ "deleteConfirmDialogBody": "Questo account è collegato ad altre app di ente, se ne utilizzi.\\n\\nI tuoi dati caricati, su tutte le app di ente, saranno pianificati per la cancellazione e il tuo account verrà eliminato definitivamente."
}
diff --cc lib/l10n/intl_ko.arb
index b653233e0b,4e9d62c53f..7c612bdde7
--- a/lib/l10n/intl_ko.arb
+++ b/lib/l10n/intl_ko.arb
@@@ -1,5 -1,5 +1,6 @@@
{
"addToHiddenAlbum": "Add to hidden album",
"moveToHiddenAlbum": "Move to hidden album",
- "fileTypes": "File types"
++ "fileTypes": "File types",
+ "deleteConfirmDialogBody": "This account is linked to other ente apps, if you use any.\\n\\nYour uploaded data, across all ente apps, will be scheduled for deletion, and your account will be permanently deleted."
}
diff --cc lib/l10n/intl_nl.arb
index a2c6b187b7,53e14d5281..96ed1a9077
--- a/lib/l10n/intl_nl.arb
+++ b/lib/l10n/intl_nl.arb
@@@ -1103,5 -1102,5 +1102,6 @@@
"crashReporting": "Crash rapportering",
"addToHiddenAlbum": "Toevoegen aan verborgen album",
"moveToHiddenAlbum": "Verplaatsen naar verborgen album",
- "fileTypes": "File types"
++ "fileTypes": "File types",
+ "deleteConfirmDialogBody": "Dit account is gekoppeld aan andere ente apps, als je er gebruik van maakt.\\n\\nJe geüploade gegevens worden in alle ente apps gepland voor verwijdering, en je account wordt permanent verwijderd voor alle ente diensten."
}
diff --cc lib/l10n/intl_no.arb
index d4a32ad183,16d00fc498..402a1b084d
--- a/lib/l10n/intl_no.arb
+++ b/lib/l10n/intl_no.arb
@@@ -15,5 -15,5 +15,6 @@@
"confirmAccountDeletion": "Bekreft sletting av konto",
"addToHiddenAlbum": "Add to hidden album",
"moveToHiddenAlbum": "Move to hidden album",
- "fileTypes": "File types"
++ "fileTypes": "File types",
+ "deleteConfirmDialogBody": "This account is linked to other ente apps, if you use any.\\n\\nYour uploaded data, across all ente apps, will be scheduled for deletion, and your account will be permanently deleted."
}
diff --cc lib/l10n/intl_pl.arb
index 729d1f72b3,c76ccfa0de..50d24feba7
--- a/lib/l10n/intl_pl.arb
+++ b/lib/l10n/intl_pl.arb
@@@ -103,5 -102,5 +102,6 @@@
"tryAgain": "Spróbuj ponownie",
"addToHiddenAlbum": "Add to hidden album",
"moveToHiddenAlbum": "Move to hidden album",
- "fileTypes": "File types"
++ "fileTypes": "File types",
+ "deleteConfirmDialogBody": "This account is linked to other ente apps, if you use any.\\n\\nYour uploaded data, across all ente apps, will be scheduled for deletion, and your account will be permanently deleted."
}
diff --cc lib/l10n/intl_pt.arb
index 09a3e52090,ed78921b72..7e7ad0e6a0
--- a/lib/l10n/intl_pt.arb
+++ b/lib/l10n/intl_pt.arb
@@@ -269,5 -268,5 +268,6 @@@
"updateAvailable": "Atualização disponível",
"addToHiddenAlbum": "Add to hidden album",
"moveToHiddenAlbum": "Move to hidden album",
- "fileTypes": "File types"
++ "fileTypes": "File types",
+ "deleteConfirmDialogBody": "This account is linked to other ente apps, if you use any.\\n\\nYour uploaded data, across all ente apps, will be scheduled for deletion, and your account will be permanently deleted."
}
diff --cc lib/l10n/intl_zh.arb
index 573172c27c,f8f22dc749..d56718923c
--- a/lib/l10n/intl_zh.arb
+++ b/lib/l10n/intl_zh.arb
@@@ -1103,5 -1102,5 +1102,6 @@@
"crashReporting": "崩溃报告",
"addToHiddenAlbum": "添加到隐藏相册",
"moveToHiddenAlbum": "移至隐藏相册",
- "fileTypes": "File types"
++ "fileTypes": "File types",
+ "deleteConfirmDialogBody": "此账户已链接到其他 ente 旗下的应用程序(如果您使用任何 ente 旗下的应用程序)。\\n\\n您在所有 ente 旗下的应用程序中上传的数据将被安排删除,并且您的账户将被永久删除。"
}
diff --cc lib/ui/components/notification_widget.dart
index fb83d80a6e,69207ee3dd..6b06912382
--- a/lib/ui/components/notification_widget.dart
+++ b/lib/ui/components/notification_widget.dart
@@@ -131,40 -132,49 +131,86 @@@ class NotificationWidget extends Statel
}
}
+class NotificationTipWidget extends StatelessWidget {
+ final String name;
+ const NotificationTipWidget(this.name, {super.key});
+
+ @override
+ Widget build(BuildContext context) {
+ final colorScheme = getEnteColorScheme(context);
+ final textTheme = getEnteTextTheme(context);
+ return Container(
+ padding: const EdgeInsets.fromLTRB(16, 12, 12, 12),
+ decoration: BoxDecoration(
+ border: Border.all(color: colorScheme.strokeFaint),
+ borderRadius: const BorderRadius.all(Radius.circular(4)),
+ ),
+ child: Row(
+ mainAxisAlignment: MainAxisAlignment.spaceBetween,
+ children: [
+ Flexible(
+ flex: 12,
+ child: Text(
+ name,
+ style: textTheme.miniFaint,
+ ),
+ ),
+ Flexible(
+ flex: 2,
+ child: Icon(
+ Icons.tips_and_updates_outlined,
+ color: colorScheme.strokeFaint,
+ size: 36,
+ ),
+ ),
+ ],
+ ),
+ );
+ }
+}
++
+ class NotificationNoteWidget extends StatelessWidget {
+ final String note;
+ const NotificationNoteWidget(this.note, {super.key});
-
+ @override
+ Widget build(BuildContext context) {
+ final colorScheme = getEnteColorScheme(context);
+ final textTheme = getEnteTextTheme(context);
+ return Container(
+ padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 12),
+ decoration: BoxDecoration(
+ border: Border.all(color: colorScheme.strokeMuted),
+ color: colorScheme.backgroundBase,
+ borderRadius: const BorderRadius.all(Radius.circular(8)),
+ ),
+ child: Row(
+ children: [
+ Icon(
+ Icons.info,
+ color: colorScheme.strokeMuted,
+ size: 36,
+ ),
+ const SizedBox(
+ width: 12,
+ ),
+ Flexible(
+ child: Column(
+ crossAxisAlignment: CrossAxisAlignment.start,
+ children: [
+ Text(
+ "Note",
+ style: textTheme.miniFaint,
+ ),
+ const SizedBox(height: 2),
+ Text(
+ note,
+ style: textTheme.smallMuted,
+ ),
+ ],
+ ),
+ ),
+ ],
+ ),
+ );
+ }
+ }