···13 AtUri,
14 type RichText as RichTextAPI,
15} from '@atproto/api'
16-import {msg} from '@lingui/macro'
17import {useLingui} from '@lingui/react'
18import {useNavigation} from '@react-navigation/native'
19···384 if (e instanceof MaxHiddenRepliesError) {
385 Toast.show(
386 _(
387- msg({
388- message: `You can hide a maximum of ${MAX_HIDDEN_REPLIES} replies.`,
389- context: 'toast',
390 }),
391 ),
392 )
···13 AtUri,
14 type RichText as RichTextAPI,
15} from '@atproto/api'
16+import {msg, plural} from '@lingui/macro'
17import {useLingui} from '@lingui/react'
18import {useNavigation} from '@react-navigation/native'
19···384 if (e instanceof MaxHiddenRepliesError) {
385 Toast.show(
386 _(
387+ plural(MAX_HIDDEN_REPLIES, {
388+ other: 'You can hide a maximum of # replies.',
0389 }),
390 ),
391 )
+9-9
src/screens/Signup/StepInfo/index.tsx
···1import React, {useRef} from 'react'
2import {type TextInput, View} from 'react-native'
3-import {msg, Trans} from '@lingui/macro'
4import {useLingui} from '@lingui/react'
5import * as EmailValidator from 'email-validator'
6import type tldts from 'tldts'
···312 <Admonition.Content>
313 <Admonition.Text>
314 {!isOverAppMinAccessAge ? (
315- <Trans>
316- You must be {MIN_ACCESS_AGE} years of age or older
317- to create an account.
318- </Trans>
319 ) : (
320- <Trans>
321- You must be {aaRegionConfig.minAccessAge} years of
322- age or older to create an account in your region.
323- </Trans>
324 )}
325 </Admonition.Text>
326 {IS_NATIVE &&
···1import React, {useRef} from 'react'
2import {type TextInput, View} from 'react-native'
3+import {msg, Plural, Trans} from '@lingui/macro'
4import {useLingui} from '@lingui/react'
5import * as EmailValidator from 'email-validator'
6import type tldts from 'tldts'
···312 <Admonition.Content>
313 <Admonition.Text>
314 {!isOverAppMinAccessAge ? (
315+ <Plural
316+ value={MIN_ACCESS_AGE}
317+ other="You must be # years of age or older to create an account."
318+ />
319 ) : (
320+ <Plural
321+ value={aaRegionConfig.minAccessAge}
322+ other="You must be # years of age or older to create an account in your region."
323+ />
324 )}
325 </Admonition.Text>
326 {IS_NATIVE &&
+5-2
src/view/com/composer/videos/SubtitleDialog.tsx
···1import {useCallback, useState} from 'react'
2import {Keyboard, type StyleProp, View, type ViewStyle} from 'react-native'
3-import {msg, Trans} from '@lingui/macro'
4import {useLingui} from '@lingui/react'
56import {MAX_ALT_TEXT} from '#/lib/constants'
···134 a.leading_snug,
135 a.mt_md,
136 ]}>
137- <Trans>Alt text must be less than {MAX_ALT_TEXT} characters.</Trans>
000138 </Text>
139 )}
140
···1import {useCallback, useState} from 'react'
2import {Keyboard, type StyleProp, View, type ViewStyle} from 'react-native'
3+import {msg, Plural, Trans} from '@lingui/macro'
4import {useLingui} from '@lingui/react'
56import {MAX_ALT_TEXT} from '#/lib/constants'
···134 a.leading_snug,
135 a.mt_md,
136 ]}>
137+ <Plural
138+ value={MAX_ALT_TEXT}
139+ other="Alt text must be less than # characters."
140+ />
141 </Text>
142 )}
143