π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Add note
Manav Rathi19c6ebefd3a6
diff --git a/web/apps/photos/src/components/Sidebar/SubscriptionCard/contentOverlay/individual/usageSection.tsx b/web/apps/photos/src/components/Sidebar/SubscriptionCard/contentOverlay/individual/usageSection.tsxindex 251a58d823..857ac9c633 100644--- a/web/apps/photos/src/components/Sidebar/SubscriptionCard/contentOverlay/individual/usageSection.tsx+++ b/web/apps/photos/src/components/Sidebar/SubscriptionCard/contentOverlay/individual/usageSection.tsx@@ -11,6 +11,17 @@ interface Iprops {storage: number;}export function IndividualUsageSection({ usage, storage, fileCount }: Iprops) {+ // [Note: Fallback translation for languages with multiple plurals]+ //+ // Languages like Polish and Arabian have multiple plural forms, and+ // currently i18n falls back to the base language translation instead of the+ // "_other" form if all the plural forms are not listed out.+ //+ // As a workaround, name the _other form as the unprefixed name. That is,+ // instead of calling the most general plural form as foo_count_other, call+ // it foo_count (To keep our heads straight, we adopt the convention that+ // all such pluralizable strings use the _count suffix, but that's not a+ // requirement from the library).return (<Box width="100%"><Progressbar value={Math.min((usage * 100) / storage, 100)} />