Skip to content

armgit / ente

Public Imported from GitHub
0

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

Localize machine learning banner subtitle

AmanRajSinghMourya2afa6d8911cd
diff --git a/mobile/apps/photos/lib/l10n/intl_en.arb b/mobile/apps/photos/lib/l10n/intl_en.arb
index 92971c2004..8c7a008eaf 100644
--- a/mobile/apps/photos/lib/l10n/intl_en.arb
+++ b/mobile/apps/photos/lib/l10n/intl_en.arb
@@ -2033,7 +2033,8 @@
"yesResetPerson": "Yes, reset person",
"onlyThem": "Only them",
"checkingModels": "Checking models...",
- "enableMachineLearningBanner": "For magic search and face recognition",
+ "enableMachineLearningBanner": "Enable machine learning for magic search and face recognition",
+ "machineLearningBannerSubtitle": "For magic search and face recognition",
"searchDiscoverEmptySection": "Images will be shown here once processing and syncing is complete",
"searchPersonsEmptySection": "People will be shown here once processing and syncing is complete",
"viewersSuccessfullyAdded": "{count, plural, =0 {Added 0 viewers} one {Added {count} viewer} other {Added {count} viewers}}",
diff --git a/mobile/apps/photos/lib/ui/home/status_bar_widget.dart b/mobile/apps/photos/lib/ui/home/status_bar_widget.dart
index f6ceee5c8f..6f61a2a9fe 100644
--- a/mobile/apps/photos/lib/ui/home/status_bar_widget.dart
+++ b/mobile/apps/photos/lib/ui/home/status_bar_widget.dart
@@ -154,7 +154,7 @@ class _StatusBarWidgetState extends State<StatusBarWidget> {
BannerComponent(
leadingIcon: HugeIcons.strokeRoundedAiBrain01,
title: l10n.machineLearning,
- subtitle: l10n.enableMachineLearningBanner,
+ subtitle: l10n.machineLearningBannerSubtitle,
state: BannerComponentState.success,
onTap: () async {
await routeToPage(