import { type PolicySection } from './types'; type TFn = (key: string) => string; export function getPrivacySections(t: TFn): PolicySection[] { return [ { value: 'collection-details', title: t('privacy.section1.title'), content: (

{t('privacy.section1.desc')}

{t('privacy.section1.authInfo')}

{t('privacy.section1.authInfoDesc')} {t('privacy.section1.authInfoNote')}

{t('privacy.section1.logInfo')}

{t('privacy.section1.logInfoDesc')}

), }, { value: 'storage-security', title: t('privacy.section2.title'), content: (

{t('privacy.section2.desc')}

), }, { value: 'usage-rules', title: t('privacy.section3.title'), content: (

{t('privacy.section3.desc')}

{t('privacy.section3.prohibited')} {t('privacy.section3.prohibitedDesc')}

), }, { value: 'sharing-disclosure', title: t('privacy.section4.title'), content: (

{t('privacy.section4.sharingPrinciple')} {t('privacy.section4.sharingPrincipleDesc')}

{t('privacy.section4.transfer')} {t('privacy.section4.transferDesc')}

), }, { value: 'user-rights', title: t('privacy.section5.title'), content: (

{t('privacy.section5.desc')}

{t('privacy.section5.viewManage')}

{t('privacy.section5.viewManageDesc')}

{t('privacy.section5.deleteAccount')}

{t('privacy.section5.deleteAccountDesc')}

), }, { value: 'policy-update', title: t('privacy.section6.title'), content: (

{t('privacy.section6.desc')}

{t('privacy.section6.notification')}

), }, ]; }