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"
|
name="Profile"
|
||||||
getComponent={() => ProfileScreen}
|
getComponent={() => ProfileScreen}
|
||||||
options={({route}) => ({
|
options={({route}) => ({
|
||||||
title: title(msg`@${route.params.name}`),
|
title: bskyTitle(`@${route.params.name}`, unreadCountLabel),
|
||||||
animation: 'none',
|
animation: 'none',
|
||||||
})}
|
})}
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -182,7 +182,6 @@ export function Component({
|
||||||
]}
|
]}
|
||||||
testID="createOrEditListModal">
|
testID="createOrEditListModal">
|
||||||
<Text style={[styles.title, pal.text]}>
|
<Text style={[styles.title, pal.text]}>
|
||||||
<Trans>
|
|
||||||
{isCurateList ? (
|
{isCurateList ? (
|
||||||
list ? (
|
list ? (
|
||||||
<Trans>Edit User List</Trans>
|
<Trans>Edit User List</Trans>
|
||||||
|
@ -194,7 +193,6 @@ export function Component({
|
||||||
) : (
|
) : (
|
||||||
<Trans>New Moderation List</Trans>
|
<Trans>New Moderation List</Trans>
|
||||||
)}
|
)}
|
||||||
</Trans>
|
|
||||||
</Text>
|
</Text>
|
||||||
{error !== '' && (
|
{error !== '' && (
|
||||||
<View style={styles.errorContainer}>
|
<View style={styles.errorContainer}>
|
||||||
|
|
|
@ -83,9 +83,7 @@ function EmptyState({message, error}: {message: string; error?: string}) {
|
||||||
},
|
},
|
||||||
]}>
|
]}>
|
||||||
<View style={[pal.viewLight, {padding: 18, borderRadius: 8}]}>
|
<View style={[pal.viewLight, {padding: 18, borderRadius: 8}]}>
|
||||||
<Text style={[pal.text]}>
|
<Text style={[pal.text]}>{message}</Text>
|
||||||
<Trans>{message}</Trans>
|
|
||||||
</Text>
|
|
||||||
|
|
||||||
{error && (
|
{error && (
|
||||||
<>
|
<>
|
||||||
|
|
|
@ -291,7 +291,7 @@ export function SettingsScreen({}: Props) {
|
||||||
]}>
|
]}>
|
||||||
<View style={{flex: 1}}>
|
<View style={{flex: 1}}>
|
||||||
<Text type="title-lg" style={[pal.text, {fontWeight: 'bold'}]}>
|
<Text type="title-lg" style={[pal.text, {fontWeight: 'bold'}]}>
|
||||||
<Trans>{_(msg`Settings`)}</Trans>
|
<Trans>Settings</Trans>
|
||||||
</Text>
|
</Text>
|
||||||
</View>
|
</View>
|
||||||
</SimpleViewHeader>
|
</SimpleViewHeader>
|
||||||
|
|
Loading…
Reference in New Issue