π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] Make Search placeholder translatable
ashil-pilot13a7a22f7ed5
diff --git a/mobile/apps/photos/lib/ui/viewer/search/search_widget.dart b/mobile/apps/photos/lib/ui/viewer/search/search_widget.dartindex c90cd8bf1c..5a188f5ae5 100644--- a/mobile/apps/photos/lib/ui/viewer/search/search_widget.dart+++ b/mobile/apps/photos/lib/ui/viewer/search/search_widget.dart@@ -2,6 +2,7 @@ import "dart:async";import "package:ente_components/ente_components.dart";import "package:ente_pure_utils/ente_pure_utils.dart";+import "package:ente_strings/ente_strings.dart";import "package:flutter/material.dart";import "package:hugeicons/hugeicons.dart";import "package:logging/logging.dart";@@ -15,7 +16,6 @@ import "package:photos/models/search/search_result.dart";import "package:photos/services/search_service.dart";import "package:photos/ui/viewer/search/search_query_utils.dart";import "package:photos/ui/viewer/search/search_suffix_icon_widget.dart";-import "package:photos/utils/pending_translation.dart";class SearchWidget extends StatefulWidget {const SearchWidget({@@ -178,7 +178,7 @@ class SearchWidgetState extends State<SearchWidget> {child: TextInputComponent(controller: textController,focusNode: focusNode,- hintText: pendingTranslation("Search photos, people, places..."),+ hintText: context.strings.searchPhotosPeoplePlaces,shouldUnfocusOnClearOrSubmit: true,prefix: HugeIcon(icon: HugeIcons.strokeRoundedSearch01,diff --git a/mobile/packages/strings/lib/l10n/arb/strings_en.arb b/mobile/packages/strings/lib/l10n/arb/strings_en.arbindex 98d5e8b6a0..74b008d12f 100644--- a/mobile/packages/strings/lib/l10n/arb/strings_en.arb+++ b/mobile/packages/strings/lib/l10n/arb/strings_en.arb@@ -3830,6 +3830,7 @@"searchLocationEmptySection": "Group photos that are taken within some radius of a photo","searchPeopleEmptySection": "Invite people, and you'll see all photos shared by them here","searchPersonsEmptySection": "People will be shown here once processing and syncing is complete",+ "searchPhotosPeoplePlaces": "Search photos, people, places...","searchResultCameraMake": "Camera make","@searchResultCameraMake": {"description": "Search result subtitle label for camera make matches"