Ver código fonte

add term.first

visuddhinanda 10 meses atrás
pai
commit
60503c4d5b

+ 27 - 0
dashboard-v4/dashboard/src/components/auth/setting/default.ts

@@ -185,6 +185,33 @@ export const defaultSetting: ISetting[] = [
       },
     ],
   },
+  {
+    /**
+     * 术语首次显示
+     */
+    key: "setting.term.first.show",
+    label: "setting.term.first.show.label",
+    description: "setting.term.first.show.description",
+    defaultValue: "meaning_pali_others",
+    options: [
+      {
+        value: "meaning_pali_others",
+        label: "term.first.show.meaning_pali_others",
+      },
+      {
+        value: "meaning_pali",
+        label: "term.first.show.meaning_pali",
+      },
+      {
+        value: "meaning_others",
+        label: "term.first.show.meaning_others",
+      },
+      {
+        value: "meaning",
+        label: "term.first.show.meaning",
+      },
+    ],
+  },
   {
     /**
      * nissaya 显示模式切换