π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
First copy changes
laurenspriem79b61e6aa111
diff --git a/mobile/apps/photos/lib/services/wrapped/builders/aesthetics_candidate_builder.dart b/mobile/apps/photos/lib/services/wrapped/builders/aesthetics_candidate_builder.dartindex 26c4d0d8b4..000ccf3419 100644--- a/mobile/apps/photos/lib/services/wrapped/builders/aesthetics_candidate_builder.dart+++ b/mobile/apps/photos/lib/services/wrapped/builders/aesthetics_candidate_builder.dart@@ -397,7 +397,8 @@ class AestheticsCandidateBuilder extends WrappedCandidateBuilder {return WrappedCard(type: WrappedCardType.monochrome,title: "Monochrome moments",- subtitle: "You kept ${_formatCount(matches.length, 'monochrome story')}.",+ subtitle:+ "You kept ${matches.length} ${matches.length == 1 ? "monochrome story" : "monochrome stories"}.",media: media,meta: meta,);@@ -469,9 +470,7 @@ class AestheticsCandidateBuilder extends WrappedCandidateBuilder {final Map<String, Object?> meta = <String, Object?>{"queries": AestheticsCandidateBuilder._kWowQueries,- "detailChips": <String>[- "${media.length} CLIP-approved stunners",- ],+ "detailChips": <String>[],"uploadedFileIDs": media.map((MediaRef ref) => ref.uploadedFileID).toList(growable: false),@@ -479,8 +478,8 @@ class AestheticsCandidateBuilder extends WrappedCandidateBuilder {return WrappedCard(type: WrappedCardType.top9Wow,- title: "Pure wow",- subtitle: "CLIP loved these dramatic standouts.",+ title: "Wonderful captures",+ subtitle: "You made some truly stunning photos this year!",media: media,meta: meta,);diff --git a/mobile/apps/photos/lib/services/wrapped/builders/people_candidate_builder.dart b/mobile/apps/photos/lib/services/wrapped/builders/people_candidate_builder.dartindex 2b741b8e33..b0ebb88de5 100644--- a/mobile/apps/photos/lib/services/wrapped/builders/people_candidate_builder.dart+++ b/mobile/apps/photos/lib/services/wrapped/builders/people_candidate_builder.dart@@ -63,8 +63,7 @@ class PeopleCandidateBuilder extends WrappedCandidateBuilder {: topPerson.faceCount / dataset.totalNamedFaceCount;final int sharePercent = _percentOf(share);final List<String> chips = _cleanChips(<String>[- "${numberFormat.format(topPerson.faceCount)} close-ups",- if (sharePercent > 0) "$sharePercent% of your people shots",+ if (sharePercent > 0) "$sharePercent% of your shots with people",if (topPerson.firstSeenYear != null &&topPerson.firstSeenYear == dataset.year)"New in ${dataset.year}",@@ -170,7 +169,7 @@ class PeopleCandidateBuilder extends WrappedCandidateBuilder {return WrappedCard(type: WrappedCardType.topThreePeople,- title: "Your top crew",+ title: "Your top people",subtitle: "${_formatNameList(names)} lit up your ${dataset.year}.",media: media,meta: meta@@ -206,7 +205,7 @@ class PeopleCandidateBuilder extends WrappedCandidateBuilder {final List<String> subtitleParts = <String>[];if (groupPercent > 0) {- subtitleParts.add("$groupPercent% with the crew");+ subtitleParts.add("$groupPercent% with the group");}if (soloPercent > 0) {subtitleParts.add("$soloPercent% one-on-one");diff --git a/mobile/apps/photos/lib/services/wrapped/builders/stats_candidate_builder.dart b/mobile/apps/photos/lib/services/wrapped/builders/stats_candidate_builder.dartindex 69fd73fddf..bebd8bacba 100644--- a/mobile/apps/photos/lib/services/wrapped/builders/stats_candidate_builder.dart+++ b/mobile/apps/photos/lib/services/wrapped/builders/stats_candidate_builder.dart@@ -149,12 +149,6 @@ class StatsCandidateBuilder extends WrappedCandidateBuilder {subtitleParts.add("${numberFormat.format(snapshot.daysWithCaptures)} active days",);- if (snapshot.daysWithCaptures > 0 &&- snapshot.averagePerActiveDay > snapshot.averagePerDay) {- subtitleParts.add(- "${averageFormat.format(snapshot.averagePerActiveDay)} on shooting days",- );- }final List<String> chips = <String>["${numberFormat.format(snapshot.daysWithCaptures)} active days",