Improve localization marks (#3285)

* Update Lightbox.tsx

* Change strings for easier localization

* Update DeleteAccount.tsx

* Update LabelsOnMeDialog.tsx

* Update FeedCard.tsx

* Update index.tsx

* Update LabelsOnMeDialog.tsx

* Update index.tsx

* Update FeedCard.tsx

* Update SelfLabel.tsx

* Update Hashtag.tsx

* Update index.tsx

* Update Hashtag.tsx

* Update ChangeHandle.tsx

* Update index.web.tsx

* Update index.web.tsx

* Update index.tsx

* Remove unnecessary `<Trans>` tags

* Update Drawer.tsx
This commit is contained in:
Minseo Lee 2024-05-07 11:58:04 +09:00 committed by GitHub
parent 4fad18b2fa
commit 2ea9e2c929
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 67 additions and 66 deletions

View file

@ -2,7 +2,7 @@ import React from 'react'
import {View} from 'react-native'
import {Image} from 'expo-image'
import {LinearGradient} from 'expo-linear-gradient'
import {msg} from '@lingui/macro'
import {Trans, msg} from '@lingui/macro'
import {useLingui} from '@lingui/react'
import {FeedSourceInfo, useFeedSourceInfoQuery} from '#/state/queries/feed'
@ -109,7 +109,7 @@ function PrimaryFeedCardInner({
a.py_xs,
ctx.selected && styles.textSelected,
]}>
by @{feed.creatorHandle}
<Trans>by @{feed.creatorHandle}</Trans>
</Text>
</View>

View file

@ -189,9 +189,9 @@ export function StepInterests() {
color: t.palette.negative_900,
},
]}>
Error:{' '}
<Trans>Error:</Trans>{' '}
</Text>
{error?.message || 'an unknown error occurred'}
{error?.message || _(msg`an unknown error occurred`)}
</Text>
</View>
) : (