Browse Source

add 关联到

visuddhinanda 2 years ago
parent
commit
ee8b91c351

+ 1 - 1
dashboard/src/components/template/Wbw/WbwDetailRelation.tsx

@@ -158,7 +158,7 @@ const WbwDetailRelationWidget = ({ data, onChange, onAdd }: IWidget) => {
         );
         );
       }}
       }}
     >
     >
-      {intl.formatMessage({ id: "buttons.add" })}
+      {intl.formatMessage({ id: "buttons.relate.to" })}
     </Button>
     </Button>
   );
   );
   return (
   return (

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

@@ -52,6 +52,7 @@ const items = {
   "buttons.download.link": "下载链接",
   "buttons.download.link": "下载链接",
   "buttons.lookup": "查字典",
   "buttons.lookup": "查字典",
   "buttons.invite": "邀请",
   "buttons.invite": "邀请",
+  "buttons.relate.to": "关联到",
 };
 };
 
 
 export default items;
 export default items;