diff options
-rw-r--r-- | src/Navigation.tsx | 2 | ||||
-rw-r--r-- | src/view/com/modals/CreateOrEditList.tsx | 22 | ||||
-rw-r--r-- | src/view/screens/Search/Search.tsx | 4 | ||||
-rw-r--r-- | src/view/screens/Settings.tsx | 2 |
4 files changed, 13 insertions, 17 deletions
diff --git a/src/Navigation.tsx b/src/Navigation.tsx index ea0cd384e..08cdd1d89 100644 --- a/src/Navigation.tsx +++ b/src/Navigation.tsx @@ -144,7 +144,7 @@ function commonScreens(Stack: typeof HomeTab, unreadCountLabel?: string) { name="Profile" getComponent={() => ProfileScreen} options={({route}) => ({ - title: title(msg`@${route.params.name}`), + title: bskyTitle(`@${route.params.name}`, unreadCountLabel), animation: 'none', })} /> diff --git a/src/view/com/modals/CreateOrEditList.tsx b/src/view/com/modals/CreateOrEditList.tsx index bd1eb3393..77a1debec 100644 --- a/src/view/com/modals/CreateOrEditList.tsx +++ b/src/view/com/modals/CreateOrEditList.tsx @@ -182,19 +182,17 @@ export function Component({ ]} testID="createOrEditListModal"> <Text style={[styles.title, pal.text]}> - <Trans> - {isCurateList ? ( - list ? ( - <Trans>Edit User List</Trans> - ) : ( - <Trans>New User List</Trans> - ) - ) : list ? ( - <Trans>Edit Moderation List</Trans> + {isCurateList ? ( + list ? ( + <Trans>Edit User List</Trans> ) : ( - <Trans>New Moderation List</Trans> - )} - </Trans> + <Trans>New User List</Trans> + ) + ) : list ? ( + <Trans>Edit Moderation List</Trans> + ) : ( + <Trans>New Moderation List</Trans> + )} </Text> {error !== '' && ( <View style={styles.errorContainer}> diff --git a/src/view/screens/Search/Search.tsx b/src/view/screens/Search/Search.tsx index 8e7e204ad..f2b674245 100644 --- a/src/view/screens/Search/Search.tsx +++ b/src/view/screens/Search/Search.tsx @@ -83,9 +83,7 @@ function EmptyState({message, error}: {message: string; error?: string}) { }, ]}> <View style={[pal.viewLight, {padding: 18, borderRadius: 8}]}> - <Text style={[pal.text]}> - <Trans>{message}</Trans> - </Text> + <Text style={[pal.text]}>{message}</Text> {error && ( <> diff --git a/src/view/screens/Settings.tsx b/src/view/screens/Settings.tsx index 1f117b45b..3b50c5449 100644 --- a/src/view/screens/Settings.tsx +++ b/src/view/screens/Settings.tsx @@ -291,7 +291,7 @@ export function SettingsScreen({}: Props) { ]}> <View style={{flex: 1}}> <Text type="title-lg" style={[pal.text, {fontWeight: 'bold'}]}> - <Trans>{_(msg`Settings`)}</Trans> + <Trans>Settings</Trans> </Text> </View> </SimpleViewHeader> |