diff options
author | Ansh <anshnanda10@gmail.com> | 2023-12-05 20:27:38 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-05 18:27:38 -0800 |
commit | 78e459d06fbc48459dd73c9e837278eac254f4a9 (patch) | |
tree | 00856585cbc2e00736672ab18d0783f9bf2af89a /src/view/screens/ModerationModlists.tsx | |
parent | e6bda92b206de0d839c4e134d25fc7f56ae9c767 (diff) | |
download | voidsky-78e459d06fbc48459dd73c9e837278eac254f4a9.tar.zst |
Add missing translations and fix react key error in `MyLists.tsx` (#2103)
* add missing translations * fix key errors in MyLists * Update UserAddRemoveLists.tsx
Diffstat (limited to 'src/view/screens/ModerationModlists.tsx')
-rw-r--r-- | src/view/screens/ModerationModlists.tsx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/view/screens/ModerationModlists.tsx b/src/view/screens/ModerationModlists.tsx index 145b35a42..d6a3b5f6f 100644 --- a/src/view/screens/ModerationModlists.tsx +++ b/src/view/screens/ModerationModlists.tsx @@ -14,6 +14,7 @@ import {SimpleViewHeader} from 'view/com/util/SimpleViewHeader' import {s} from 'lib/styles' import {useSetMinimalShellMode} from '#/state/shell' import {useModalControls} from '#/state/modals' +import {Trans} from '@lingui/macro' type Props = NativeStackScreenProps<CommonNavigatorParams, 'ModerationModlists'> export function ModerationModlistsScreen({}: Props) { @@ -54,10 +55,12 @@ export function ModerationModlistsScreen({}: Props) { }> <View style={{flex: 1}}> <Text type="title-lg" style={[pal.text, {fontWeight: 'bold'}]}> - Moderation Lists + <Trans>Moderation Lists</Trans> </Text> <Text style={pal.textLight}> - Public, shareable lists of users to mute or block in bulk. + <Trans> + Public, shareable lists of users to mute or block in bulk. + </Trans> </Text> </View> <View> @@ -72,7 +75,7 @@ export function ModerationModlistsScreen({}: Props) { }}> <FontAwesomeIcon icon="plus" color={pal.colors.text} /> <Text type="button" style={pal.text}> - New + <Trans>New</Trans> </Text> </Button> </View> |