Remove excess l10n related markups (#2544)

* Remove excess l10n related markups

* One more correction pointed out by quiple
This commit is contained in:
Takayuki KUSANO
2024-01-19 14:23:12 +09:00
committed by GitHub
parent 2be2733082
commit 0dfe740dd3
4 changed files with 13 additions and 17 deletions
+10 -12
View File
@@ -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}>