Browse Source

:globe_with_meridians: 多选

visuddhinanda 2 years ago
parent
commit
c0999c1bc6

+ 3 - 1
dashboard/src/components/corpus/BookTree.tsx

@@ -115,7 +115,9 @@ const BookTreeWidget = ({
         </Button>
         {multiSelectable ? (
           <Space>
-            {"多选"}
+            {intl.formatMessage({
+              id: "buttons.multiple.select",
+            })}
             <Switch
               size="small"
               defaultChecked={multiSelect}

+ 1 - 0
dashboard/src/locales/zh-Hans/buttons.ts

@@ -47,6 +47,7 @@ const items = {
   "buttons.export": "导出",
   "buttons.add.tag": "添加标签",
   "buttons.remove.selected": "清除选择",
+  "buttons.multiple.select": "多选",
 };
 
 export default items;