about summary refs log tree commit diff
path: root/src/view/com/modals/CreateOrEditList.tsx
diff options
context:
space:
mode:
authorTakayuki KUSANO <65759+tkusano@users.noreply.github.com>2024-01-19 14:23:12 +0900
committerGitHub <noreply@github.com>2024-01-18 21:23:12 -0800
commit0dfe740dd3c2cbda4c7bd27513807752fad636f3 (patch)
treeedc20278169e47b3017b087a60c0586318171f4f /src/view/com/modals/CreateOrEditList.tsx
parent2be27330822e294989513719919ca2cd9ac30adb (diff)
downloadvoidsky-0dfe740dd3c2cbda4c7bd27513807752fad636f3.tar.zst
Remove excess l10n related markups (#2544)
* Remove excess l10n related markups

* One more correction pointed out by quiple
Diffstat (limited to 'src/view/com/modals/CreateOrEditList.tsx')
-rw-r--r--src/view/com/modals/CreateOrEditList.tsx22
1 files changed, 10 insertions, 12 deletions
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}>