Remove excess l10n related markups (#2544)
* Remove excess l10n related markups * One more correction pointed out by quiplezio/stable
parent
2be2733082
commit
0dfe740dd3
|
@ -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',
|
||||
})}
|
||||
/>
|
||||
|
|
|
@ -182,7 +182,6 @@ export function Component({
|
|||
]}
|
||||
testID="createOrEditListModal">
|
||||
<Text style={[styles.title, pal.text]}>
|
||||
<Trans>
|
||||
{isCurateList ? (
|
||||
list ? (
|
||||
<Trans>Edit User List</Trans>
|
||||
|
@ -194,7 +193,6 @@ export function Component({
|
|||
) : (
|
||||
<Trans>New Moderation List</Trans>
|
||||
)}
|
||||
</Trans>
|
||||
</Text>
|
||||
{error !== '' && (
|
||||
<View style={styles.errorContainer}>
|
||||
|
|
|
@ -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 && (
|
||||
<>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue