소스 검색

fix: change en to zh

hi-cactus! 3 년 전
부모
커밋
9f0758bc13
41개의 변경된 파일88개의 추가작업 그리고 88개의 파일을 삭제
  1. 1 1
      app/containers/Dashboard/Grid.tsx
  2. 4 4
      app/containers/Dashboard/components/DashboardForm.tsx
  3. 1 1
      app/containers/Dashboard/components/DashboardItemForm.tsx
  4. 1 1
      app/containers/Dashboard/components/DrillPathSetting.tsx
  5. 2 2
      app/containers/Dashboard/index.tsx
  6. 3 3
      app/containers/Organizations/component/OrganizationForm.tsx
  7. 3 3
      app/containers/Organizations/component/Project.tsx
  8. 5 5
      app/containers/Organizations/component/ProjectForm.tsx
  9. 3 3
      app/containers/Organizations/component/RoleForm.tsx
  10. 2 2
      app/containers/Organizations/component/Setting.tsx
  11. 5 5
      app/containers/Projects/component/ProjectForm.tsx
  12. 3 3
      app/containers/ResetPassword/ResetPasswordForm.tsx
  13. 2 2
      app/containers/Schedule/Editor.tsx
  14. 2 2
      app/containers/Schedule/components/ScheduleVizConfig/VizConfig.tsx
  15. 1 1
      app/containers/Schedule/index.tsx
  16. 9 9
      app/containers/Source/components/SourceConfigModal.tsx
  17. 1 1
      app/containers/View/components/CopyModal.tsx
  18. 2 2
      app/containers/View/index.tsx
  19. 1 1
      app/containers/Viz/Portal.tsx
  20. 2 2
      app/containers/Viz/VizList.tsx
  21. 2 2
      app/containers/Viz/components/DashboardConfigModal.tsx
  22. 1 1
      app/containers/Viz/components/DataPortalList.tsx
  23. 4 4
      app/containers/Viz/components/DisplayFormModal.tsx
  24. 1 1
      app/containers/Viz/components/DisplayList.tsx
  25. 3 3
      app/containers/Viz/components/PortalForm.tsx
  26. 1 1
      app/containers/Viz/components/PortalList.tsx
  27. 2 2
      app/containers/Viz/components/WidgetSelectModal.tsx
  28. 1 1
      app/containers/Viz/sagas.ts
  29. 1 1
      app/containers/Widget/List.tsx
  30. 3 3
      app/containers/Widget/components/ComputedConfigForm.tsx
  31. 1 1
      app/containers/Widget/components/CopyModal.tsx
  32. 1 1
      app/containers/Widget/components/WidgetSelector.tsx
  33. 4 4
      app/containers/Widget/components/Workbench/ConfigSections/AxisSection.tsx
  34. 2 2
      app/containers/Widget/components/Workbench/ConfigSections/DoubleYAxisSection.tsx
  35. 1 1
      app/containers/Widget/components/Workbench/ConfigSections/SpecSection/specs/Funnel.tsx
  36. 1 1
      app/containers/Widget/components/Workbench/ConfigSections/SpecSection/specs/Map.tsx
  37. 2 2
      app/containers/Widget/components/Workbench/ConfigSections/SpecSection/specs/Sankey.tsx
  38. 1 1
      app/containers/Widget/components/Workbench/OperatingPanel.tsx
  39. 1 1
      app/containers/Widget/components/Workbench/WorkbenchSettingForm.tsx
  40. 1 1
      app/containers/Widget/components/Workbench/index.tsx
  41. 1 1
      share/containers/Display/sagas.ts

+ 1 - 1
app/containers/Dashboard/Grid.tsx

@@ -1135,7 +1135,7 @@ export class Grid extends React.Component<IGridProps & RouteComponentWithParams,
         {gridEditable && (
           <>
             <Modal
-              title={`${dashboardItemFormType === 'add' ? '新增' : '修改'} Widget`}
+              title={`${dashboardItemFormType === 'add' ? '新增' : '修改'} 可视化组件`}
               wrapClassName="ant-modal-large"
               visible={dashboardItemFormVisible}
               footer={modalButtons}

+ 4 - 4
app/containers/Dashboard/components/DashboardForm.tsx

@@ -86,7 +86,7 @@ export class DashboardForm extends React.PureComponent<IDashboardFormProps, {}>
     let deleteType = ''
     let deleteName = ''
     if (deleteItem) {
-      deleteType = deleteItem.type === 0 ? '文件夹' : 'Dashboard'
+      deleteType = deleteItem.type === 0 ? '文件夹' : '仪表板'
       deleteName = deleteItem.name
     }
 
@@ -155,12 +155,12 @@ export class DashboardForm extends React.PureComponent<IDashboardFormProps, {}>
               {getFieldDecorator('name', {
                 rules: [{
                   required: true,
-                  message: 'Name 不能为空'
+                  message: '名称 不能为空'
                 }, {
                   validator: this.checkNameUnique
                 }]
               })(
-                <Input placeholder="Name" />
+                <Input placeholder="名称" />
               )}
             </FormItem>
             <FormItem
@@ -173,7 +173,7 @@ export class DashboardForm extends React.PureComponent<IDashboardFormProps, {}>
               })(
                  <RadioGroup disabled={type === 'edit' || type === 'copy' || type === 'move'}>
                     <Radio value={0}>文件夹</Radio>
-                    <Radio value={1}>Dashboard</Radio>
+                    <Radio value={1}>仪表板</Radio>
                     {/* <Radio value={2}>Report</Radio> */}
                     {/* <Select disabled={type === 'edit' || type === 'copy' || type === 'move'}>
                       <Option key="0" value="0">文件夹</Option>

+ 1 - 1
app/containers/Dashboard/components/DashboardItemForm.tsx

@@ -247,7 +247,7 @@ export class DashboardItemForm extends React.PureComponent<IDashboardItemFormPro
     const stepIndicator = type === 'add'
       ? (
         <Steps current={step}>
-          <Step title="Widget" />
+          <Step title="可视化组件" />
           <Step title="数据更新" />
           <Step title="完成" />
         </Steps>

+ 1 - 1
app/containers/Dashboard/components/DrillPathSetting.tsx

@@ -346,7 +346,7 @@ export class DrillPathSetting extends React.PureComponent<IDrillPathSettingProps
             >
               <Select
                 defaultValue={`${node['widget']}`}
-                placeholder="初始widget"
+                placeholder="初始 可视化组件"
                 style={{width: '100%'}}
                 onChange={this.changeWidget(index)}
               >

+ 2 - 2
app/containers/Dashboard/index.tsx

@@ -815,7 +815,7 @@ export class Dashboard extends React.Component<IDashboardProps, IDashboardStates
                       content={
                         <div className={styles.portalTreeSearch}>
                           <Search
-                            placeholder="Search"
+                            placeholder="搜索"
                             onChange={this.searchDashboard}
                           />
                           <ul>
@@ -882,7 +882,7 @@ export class Dashboard extends React.Component<IDashboardProps, IDashboardStates
                   : (
                     <div className={styles.noDashboard}>
                       <img src={require('assets/images/noDashboard.png')} onClick={this.onAddItem}/>
-                      <p>请创建文件夹或 Dashboard</p>
+                      <p>请创建文件夹或 仪表板</p>
                     </div>
                   )
                 }

+ 3 - 3
app/containers/Organizations/component/OrganizationForm.tsx

@@ -70,13 +70,13 @@ export class OrganizationForm extends React.PureComponent<IProjectsFormProps & F
                   {getFieldDecorator('name', {
                     rules: [{
                       required: true,
-                      message: 'Name 不能为空'
+                      message: '名称 不能为空'
                     }, {
                       validator: this.props.onCheckUniqueName
                     }],
                     validateFirst: true
                   })(
-                    <Input placeholder="Name" />
+                    <Input placeholder="名称" />
                   )}
                 </FormItem>
               </Col>
@@ -86,7 +86,7 @@ export class OrganizationForm extends React.PureComponent<IProjectsFormProps & F
                     initialValue: ''
                   })(
                     <TextArea
-                      placeholder="Description"
+                      placeholder="描述"
                       autosize={{minRows: 2, maxRows: 6}}
                     />
                   )}

+ 3 - 3
app/containers/Organizations/component/Project.tsx

@@ -181,12 +181,12 @@ export class ProjectsForm extends React.PureComponent<IProjectsFormProps & FormC
                       //  hidden: this.props.type === 'transfer',
                         rules: [{
                           required: true,
-                          message: 'Name 不能为空'
+                          message: '名称 不能为空'
                         }, {
                           validator: onCheckUniqueName
                         }]
                       })(
-                        <Input placeholder="Name" />
+                        <Input placeholder="名称" />
                       )}
                     </FormItem>
                 </Col>
@@ -216,7 +216,7 @@ export class ProjectsForm extends React.PureComponent<IProjectsFormProps & FormC
                       initialValue: ''
                     })(
                       <TextArea
-                        placeholder="Description"
+                        placeholder="描述"
                         autosize={{minRows: 2, maxRows: 6}}
                       />
                     )}

+ 5 - 5
app/containers/Organizations/component/ProjectForm.tsx

@@ -144,11 +144,11 @@ export class ProjectsForm extends React.PureComponent<IProjectsFormProps & FormC
                     {getFieldDecorator('orgId', {
                       rules: [{
                         required: true,
-                        message: 'Name 不能为空'
+                        message: '名称 不能为空'
                       }]
                     })(
                       <Select
-                        placeholder="Please select a organization"
+                        placeholder="请选择一个组织"
                         onChange={onWidgetTypeChange}
                       >
                         {organizationOptions}
@@ -161,13 +161,13 @@ export class ProjectsForm extends React.PureComponent<IProjectsFormProps & FormC
                     {getFieldDecorator('name', {
                       rules: [{
                         required: true,
-                        message: 'Name 不能为空'
+                        message: '名称 不能为空'
                       }, {
                         validator: onCheckUniqueName
                       }],
                       validateFirst: true
                     })(
-                      <Input placeholder="Name" />
+                      <Input placeholder="名称" />
                     )}
                   </FormItem>
                 )}
@@ -179,7 +179,7 @@ export class ProjectsForm extends React.PureComponent<IProjectsFormProps & FormC
                       initialValue: ''
                     })(
                       <TextArea
-                        placeholder="Description"
+                        placeholder="描述"
                         autosize={{minRows: 2, maxRows: 6}}
                       />
                     )}

+ 3 - 3
app/containers/Organizations/component/RoleForm.tsx

@@ -76,10 +76,10 @@ export class RoleForm extends React.PureComponent<IRoleFormProps & FormComponent
                 initialValue: '',
                 rules: [{
                     required: true,
-                    message: 'Name 不能为空'
+                    message: '名称 不能为空'
                   }]
               })(
-                <Input placeholder="Name" />
+                <Input placeholder="名称" />
               )}
             </FormItem>
           </Col>
@@ -88,7 +88,7 @@ export class RoleForm extends React.PureComponent<IRoleFormProps & FormComponent
               {getFieldDecorator('description', {
                 initialValue: ''
               })(
-                <Input.TextArea placeholder="description" />
+                <Input.TextArea placeholder="描述" />
               )}
             </FormItem>
           </Col>

+ 2 - 2
app/containers/Organizations/component/Setting.tsx

@@ -100,7 +100,7 @@ export class Setting extends React.PureComponent <ISettingProps> {
                        // validator: this.checkNameUnique
                       }]
                     })(
-                      <Input placeholder="Name"/>
+                      <Input placeholder="名称"/>
                     )}
                   </FormItem>
                 </Col>
@@ -111,7 +111,7 @@ export class Setting extends React.PureComponent <ISettingProps> {
                   >
                     {getFieldDecorator('description', {
                     })(
-                      <Input placeholder="description" />
+                      <Input placeholder="描述" />
                     )}
                   </FormItem>
                 </Col>

+ 5 - 5
app/containers/Projects/component/ProjectForm.tsx

@@ -136,7 +136,7 @@ const ProjectsForm: React.FC<IProjectsFormProps & FormComponentProps> = ({
                       }]
                     })(
                       <Select
-                        placeholder="Please select a organization"
+                        placeholder="请选择一个组织"
                       >
                         {
                           organizations ? organizations.map((o) => {
@@ -170,13 +170,13 @@ const ProjectsForm: React.FC<IProjectsFormProps & FormComponentProps> = ({
                       initialValue: currentPro.name,
                       rules: [{
                         required: true,
-                        message: 'Name 不能为空'
+                        message: '名称 不能为空'
                       }, {
                         validator: onCheckUniqueName
                       }],
                       validateFirst: true
                     })(
-                      <Input placeholder="Name" />
+                      <Input placeholder="名称" />
                     )}
                   </FormItem>
                 )}
@@ -188,7 +188,7 @@ const ProjectsForm: React.FC<IProjectsFormProps & FormComponentProps> = ({
                       initialValue: currentPro.description
                     })(
                       <TextArea
-                        placeholder="Description"
+                        placeholder="描述"
                         autosize={{minRows: 2, maxRows: 6}}
                       />
                     )}
@@ -226,7 +226,7 @@ const ProjectsForm: React.FC<IProjectsFormProps & FormComponentProps> = ({
           </Form>
         </div>
         <div className={styles.footer}>
-          <EnhanceButton 
+          <EnhanceButton
             type={type}
             modalLoading={modalLoading}
             onModalOk={onModalOk}

+ 3 - 3
app/containers/ResetPassword/ResetPasswordForm.tsx

@@ -68,7 +68,7 @@ export class ResetPasswordForm extends React.PureComponent<IResetPasswordProps &
                   message: '旧密码不能为空'
                 }]
               })(
-                <Input type="password" placeholder="Your Password" />
+                <Input type="password" placeholder="旧密码" />
               )}
             </FormItem>
           </Col>
@@ -91,7 +91,7 @@ export class ResetPasswordForm extends React.PureComponent<IResetPasswordProps &
                   validator: this.forceCheckConfirm
                 }]
               })(
-                <Input type="password" placeholder="New Password" />
+                <Input type="password" placeholder="新密码" />
               )}
             </FormItem>
           </Col>
@@ -110,7 +110,7 @@ export class ResetPasswordForm extends React.PureComponent<IResetPasswordProps &
                   validator: this.checkPasswordConfirm
                 }]
               })(
-                <Input type="password" placeholder="Confirm Password" />
+                <Input type="password" placeholder="确认密码" />
               )}
             </FormItem>
           </Col>

+ 2 - 2
app/containers/Schedule/Editor.tsx

@@ -296,14 +296,14 @@ const ScheduleEditor: React.FC<ScheduleEditorProps> = (props) => {
   }
   return (
     <>
-      <Helmet title="Schedule" />
+      <Helmet title="定时任务" />
       <div className={Styles.scheduleEditor}>
         <div className={StylesHeader.editorHeader}>
           <Icon type="left" className={StylesHeader.back} onClick={goBack} />
           <div className={StylesHeader.title}>
             <span className={StylesHeader.name}>{`${
               scheduleId ? '修改' : '新增'
-            } Schedule`}</span>
+            } 定时任务`}</span>
           </div>
           <div className={StylesHeader.actions}>
             <Tooltip

+ 2 - 2
app/containers/Schedule/components/ScheduleVizConfig/VizConfig.tsx

@@ -241,7 +241,7 @@ const ScheduleVizConfig: React.FC<IScheduleVizConfigProps> = (props) => {
     <Row gutter={8}>
       <Col span={12}>
         <VizSelectTree
-          title="Dashboard"
+          title="仪表板"
           vizs={portals}
           vizIcon={<Icon type="layout" />}
           vizKeyPrefix={NodeKeyPrefix.Portal}
@@ -253,7 +253,7 @@ const ScheduleVizConfig: React.FC<IScheduleVizConfigProps> = (props) => {
       </Col>
       <Col span={12}>
         <VizSelectTree
-          title="Display"
+          title="大屏"
           vizs={displays}
           vizIcon={<Icon type="layout" />}
           vizKeyPrefix={NodeKeyPrefix.Display}

+ 1 - 1
app/containers/Schedule/index.tsx

@@ -295,7 +295,7 @@ const ScheduleList: React.FC<ScheduleListProps> = (props) => {
             <Col span={24} className={utilStyles.shortcut}>
               <Breadcrumb className={utilStyles.breadcrumb}>
                 <Breadcrumb.Item>
-                  <Link to=''>Schedule</Link>
+                  <Link to=''>定时任务</Link>
                 </Breadcrumb.Item>
               </Breadcrumb>
               <Link to={`/account/organization/${currentProject.orgId}`}>

+ 9 - 9
app/containers/Source/components/SourceConfigModal.tsx

@@ -84,14 +84,14 @@ const datasourceInfoDisplayRender = (label: string[]) => label.join(' : ')
 
 const columns: Array<EditableColumnProps<SourceProperty>> = [
   {
-    title: 'Key',
+    title: '',
     dataIndex: 'key',
     width: '30%',
     editable: true,
     inputType: 'input'
   },
   {
-    title: 'Value',
+    title: '',
     dataIndex: 'value',
     editable: true,
     inputType: 'input'
@@ -150,8 +150,8 @@ const SourceConfigModal: React.FC<ISourceConfigModalProps> = (props) => {
       setSourceProperties([
         ...sourceProperties,
         {
-          key: `New Key ${propertySerial}`,
-          value: `New Value ${propertySerial}`
+          key: `新键 ${propertySerial}`,
+          value: `新值 ${propertySerial}`
         }
       ])
     },
@@ -297,7 +297,7 @@ const SourceConfigModal: React.FC<ISourceConfigModalProps> = (props) => {
                     validator: checkNameUnique
                   }
                 ]
-              })(<Input autoComplete="off" placeholder="Name" />)}
+              })(<Input autoComplete="off" placeholder="名称" />)}
             </FormItem>
           </Col>
         </Row>
@@ -331,7 +331,7 @@ const SourceConfigModal: React.FC<ISourceConfigModalProps> = (props) => {
             <FormItem label="用户名" {...commonFormItemStyle}>
               {getFieldDecorator('config.username', {
                 initialValue: ''
-              })(<Input autoComplete="off" placeholder="User" />)}
+              })(<Input autoComplete="off" placeholder="用户名" />)}
             </FormItem>
           </Col>
           <Col span={12}>
@@ -341,7 +341,7 @@ const SourceConfigModal: React.FC<ISourceConfigModalProps> = (props) => {
               })(
                 <Input
                   autoComplete="off"
-                  placeholder="Password"
+                  placeholder="密码"
                   type="password"
                 />
               )}
@@ -359,7 +359,7 @@ const SourceConfigModal: React.FC<ISourceConfigModalProps> = (props) => {
             initialValue: ''
           })(
             <Input
-              placeholder="Connection Url"
+              placeholder="连接Url"
               autoComplete="off"
               addonAfter={
                 testLoading ? (
@@ -381,7 +381,7 @@ const SourceConfigModal: React.FC<ISourceConfigModalProps> = (props) => {
             initialValue: ''
           })(
             <TextArea
-              placeholder="Description"
+              placeholder="描述"
               autosize={{ minRows: 2, maxRows: 6 }}
             />
           )}

+ 1 - 1
app/containers/View/components/CopyModal.tsx

@@ -88,7 +88,7 @@ export class CopyModal extends React.PureComponent<ICopyModalProps> {
 
     return (
       <Modal
-        title="复制 View"
+        title="复制 数据资产"
         wrapClassName="ant-modal-small"
         visible={visible}
         footer={modalButtons}

+ 2 - 2
app/containers/View/index.tsx

@@ -247,7 +247,7 @@ export class ViewList extends React.PureComponent<IViewListProps, IViewListState
       this.setState({
         copyModalVisible: false
       })
-      message.info('View 复制成功')
+      message.info('数据资产 复制成功')
     })
   }
 
@@ -297,7 +297,7 @@ export class ViewList extends React.PureComponent<IViewListProps, IViewListState
                 <Col span={24} className={utilStyles.shortcut}>
                   <Breadcrumb className={utilStyles.breadcrumb}>
                     <Breadcrumb.Item>
-                      <Link to="">View</Link>
+                      <Link to="">数据资产</Link>
                     </Breadcrumb.Item>
                   </Breadcrumb>
                   <Link to={`/account/organization/${currentProject.orgId}`}>

+ 1 - 1
app/containers/Viz/Portal.tsx

@@ -188,7 +188,7 @@ const VizPortal: React.FC<IVizPortalProps> = (props) => {
                   </Button>
                   <Button size="small" type="link">
-                    创建 Dashboard
+                    创建 仪表板
                   </Button>
                 </p>
               }

+ 2 - 2
app/containers/Viz/VizList.tsx

@@ -159,7 +159,7 @@ export class VizList extends React.Component<
                       type={`${this.state.collapse.dashboard ? 'down' : 'right'
                         }`}
                     />
-                    Dashboard
+                    仪表板
                   </Col>
                 </Row>
               </Box.Title>
@@ -187,7 +187,7 @@ export class VizList extends React.Component<
                     <Icon
                       type={`${this.state.collapse.display ? 'down' : 'right'}`}
                     />
-                    Display
+                    大屏
                   </Col>
                 </Row>
               </Box.Title>

+ 2 - 2
app/containers/Viz/components/DashboardConfigModal.tsx

@@ -63,7 +63,7 @@ const DashboardConfigModal: React.FC<IDashboardConfigModalProps> = (props) => {
   } = props
   const { id, type } = dashboard
   const { getFieldDecorator } = form
-  const nameTitle = type === DashboardTypes.Dashboard ? 'Dashboard ' : '文件夹'
+  const nameTitle = type === DashboardTypes.Dashboard ? '仪表板 ' : '文件夹'
   const modalTitle = `${id > 0 ? '修改' : '新增'} ${nameTitle}}`
 
   const save = useCallback(() => {
@@ -111,7 +111,7 @@ const DashboardConfigModal: React.FC<IDashboardConfigModalProps> = (props) => {
           })(
             <RadioGroup>
               <Radio value={DashboardTypes.Folder}>文件夹</Radio>
-              <Radio value={DashboardTypes.Dashboard}>Dashboard</Radio>
+              <Radio value={DashboardTypes.Dashboard}>仪表板</Radio>
             </RadioGroup>
           )}
         </FormItem>

+ 1 - 1
app/containers/Viz/components/DataPortalList.tsx

@@ -284,7 +284,7 @@ export class PortalList extends React.Component<IPortalListProps, IPortalListSta
           {addAction}
         </Row>
         <Modal
-          title={`${formType === 'add' ? '新增' : '修改'} Portal`}
+          title={`${formType === 'add' ? '新增' : '修改'} 入口`}
           wrapClassName="ant-modal-small"
           visible={formVisible}
           footer={modalButtons}

+ 4 - 4
app/containers/Viz/components/DisplayFormModal.tsx

@@ -139,7 +139,7 @@ export class DisplayFormModal extends React.PureComponent<IDisplayFormModalProps
 
     return (
       <Modal
-          title={`${this.formTypeTitleMapping[type]} Display`}
+          title={`${this.formTypeTitleMapping[type]} 大屏`}
           wrapClassName="ant-modal-small"
           visible={visible}
           footer={modalButtons}
@@ -165,12 +165,12 @@ export class DisplayFormModal extends React.PureComponent<IDisplayFormModalProps
                       {getFieldDecorator('name', {
                         rules: [{
                           required: true,
-                          message: 'Name 不能为空'
+                          message: '名称 不能为空'
                         }, {
                           validator: this.checkNameUnique
                         }]
                       })(
-                        <Input placeholder="Name" />
+                        <Input placeholder="名称" />
                       )}
                     </FormItem>
                   </Col>
@@ -180,7 +180,7 @@ export class DisplayFormModal extends React.PureComponent<IDisplayFormModalProps
                         initialValue: ''
                       })(
                         <TextArea
-                          placeholder="Description"
+                          placeholder="描述"
                           autosize={{minRows: 2, maxRows: 6}}
                         />
                       )}

+ 1 - 1
app/containers/Viz/components/DisplayList.tsx

@@ -173,7 +173,7 @@ export class DisplayList extends React.PureComponent<IDisplayListProps, IDisplay
           <div className={styles.container} onClick={this.showDisplayFormModal('add')}>
             <div className={styles.central}>
               <div className={`${styles.item} ${styles.icon}`}><Icon type="plus-circle-o" /></div>
-              <div className={`${styles.item} ${styles.text}`}>创建新 Display</div>
+              <div className={`${styles.item} ${styles.text}`}>创建新 大屏</div>
             </div>
           </div>
         </div>

+ 3 - 3
app/containers/Viz/components/PortalForm.tsx

@@ -102,12 +102,12 @@ export class PortalForm extends React.PureComponent<IProtalListProps & FormCompo
                   {getFieldDecorator('name', {
                     rules: [{
                       required: true,
-                      message: 'Name 不能为空'
+                      message: '名称 不能为空'
                     }, {
                       validator: this.checkNameUnique
                     }]
                   })(
-                    <Input placeholder="Name" />
+                    <Input placeholder="名称" />
                   )}
                 </FormItem>
               </Col>
@@ -117,7 +117,7 @@ export class PortalForm extends React.PureComponent<IProtalListProps & FormCompo
                     initialValue: ''
                   })(
                     <TextArea
-                      placeholder="Description"
+                      placeholder="描述"
                       autosize={{minRows: 2, maxRows: 6}}
                     />
                   )}

+ 1 - 1
app/containers/Viz/components/PortalList.tsx

@@ -173,7 +173,7 @@ export class PortalList extends React.Component<IPortalListProps, IPortalListSta
         <div className={styles.unit} onClick={this.showPortalForm('add')}>
             <div className={styles.central}>
               <div className={`${styles.item} ${styles.add}`}><Icon type="plus-circle-o" /></div>
-              <div className={`${styles.item} ${styles.text}`}>创建新 Dashboard</div>
+              <div className={`${styles.item} ${styles.text}`}>创建新 仪表板</div>
             </div>
         </div>
       </Col>

+ 2 - 2
app/containers/Viz/components/WidgetSelectModal.tsx

@@ -84,7 +84,7 @@ const WidgetSelectModal: React.FC<IWidgetSelectModalProps> = (props) => {
 
   return (
     <Modal
-      title="选择 Widget"
+      title="选择 可视化组件"
       wrapClassName="ant-modal-large"
       visible={visible}
       confirmLoading={loading}
@@ -100,7 +100,7 @@ const WidgetSelectModal: React.FC<IWidgetSelectModalProps> = (props) => {
           current={currentStep}
           style={{ padding: '0 5%', marginBottom: 24 }}
         >
-          <Step title="widget" />
+          <Step title="可视化组件" />
           <Step title="数据更新" />
         </Steps>
         {

+ 1 - 1
app/containers/Viz/sagas.ts

@@ -256,7 +256,7 @@ export function* copyDisplay(action: VizActionType) {
     })
     yield put(VizActions.displayCopied(asyncData.payload))
     resolve()
-    message.success('Display 复制成功')
+    message.success('大屏 复制成功')
   } catch (err) {
     yield put(VizActions.copyDisplayFail())
     errorHandler(err)

+ 1 - 1
app/containers/Widget/List.tsx

@@ -285,7 +285,7 @@ const WidgetList: React.FC<RouteComponentWithParams> = (props) => {
               <Col span={24} className={utilStyles.shortcut}>
                 <Breadcrumb className={utilStyles.breadcrumb}>
                   <Breadcrumb.Item>
-                    <Link to=''>Widget</Link>
+                    <Link to=''>可视化组件</Link>
                   </Breadcrumb.Item>
                 </Breadcrumb>
                 <Link to={`/account/organization/${currentProject.orgId}`}>

+ 3 - 3
app/containers/Widget/components/ComputedConfigForm.tsx

@@ -444,7 +444,7 @@ export class ComputedConfigForm extends React.Component<IComputedConfigFormProps
                 <TabPane tab="函数" key="functions">
                   <div className={styles.menuWrapper}>
                     <Search
-                      placeholder="Search the function"
+                      placeholder="请选择"
                       onSearch={this.filterFunction}
                     />
                     {functionSelectMenu}
@@ -453,7 +453,7 @@ export class ComputedConfigForm extends React.Component<IComputedConfigFormProps
                 <TabPane tab="字段" key="model">
                   <div className={styles.menuWrapper}>
                     <Search
-                      placeholder="Search the function"
+                      placeholder="请选择"
                       onSearch={this.filterModel}
                     />
                     {modelSelectMenu}
@@ -462,7 +462,7 @@ export class ComputedConfigForm extends React.Component<IComputedConfigFormProps
                 <TabPane tab="变量" key="query">
                   <div className={styles.menuWrapper}>
                     <Search
-                      placeholder="Search the function"
+                      placeholder="请选择"
                       onSearch={this.filterQuery}
                     />
                     {querySelectMenu}

+ 1 - 1
app/containers/Widget/components/CopyModal.tsx

@@ -68,7 +68,7 @@ export class CopyModal extends React.PureComponent<ICopyModalProps> {
 
     return (
       <Modal
-        title="复制 Widget"
+        title="复制 可视化组件"
         wrapClassName="ant-modal-small"
         visible={visible}
         onCancel={onCancel}

+ 1 - 1
app/containers/Widget/components/WidgetSelector.tsx

@@ -188,7 +188,7 @@ export class WidgetSelector extends React.Component<IWidgetSelectorProps, IWidge
           </Col>
           <Col span={7}>
             <Search
-              placeholder="Widget 名称"
+              placeholder="可视化组件 名称"
               onSearch={this.onSearchWidgetItem}
             />
           </Col>

+ 4 - 4
app/containers/Widget/components/Workbench/ConfigSections/AxisSection.tsx

@@ -102,7 +102,7 @@ export class AxisSection extends React.PureComponent<IAxisSectionProps, {}> {
         <Col span={8}>旋转角度</Col>
         <Col span={10}>
             <InputNumber
-              placeholder="xAxisRotate"
+              placeholder="x轴旋转角度"
               className={styles.blockElm}
               value={xAxisRotate}
               onChange={this.inputNumberChange('xAxisRotate')}
@@ -120,7 +120,7 @@ export class AxisSection extends React.PureComponent<IAxisSectionProps, {}> {
         <Col span={8}>刻度间隔</Col>
         <Col span={10}>
           <InputNumber
-            placeholder="xAxisInterval"
+            placeholder="刻度间隔"
             className={styles.blockElm}
             value={xAxisInterval}
             onChange={this.inputNumberChange('xAxisInterval')}
@@ -191,7 +191,7 @@ export class AxisSection extends React.PureComponent<IAxisSectionProps, {}> {
         <Col span={12}>标题旋转</Col>
         <Col span={10}>
           <InputNumber
-            placeholder="width"
+            placeholder="标题旋转"
             className={styles.blockElm}
             value={nameRotate}
             onChange={this.inputNumberChange('nameRotate')}
@@ -203,7 +203,7 @@ export class AxisSection extends React.PureComponent<IAxisSectionProps, {}> {
         <Col span={12}>标题与轴线距离</Col>
         <Col span={10}>
           <InputNumber
-            placeholder="nameGap"
+            placeholder="标题与轴线距离"
             className={styles.blockElm}
             value={nameGap}
             onChange={this.inputNumberChange('nameGap')}

+ 2 - 2
app/containers/Widget/components/Workbench/ConfigSections/DoubleYAxisSection.tsx

@@ -92,7 +92,7 @@ export class DoubleYAxisSection extends React.PureComponent<IDoubleYAxisSectionP
           <Row gutter={8} type="flex" align="middle" className={styles.blockRow}>
             <Col span={10}>
               <Select
-                placeholder="yAxisLeft"
+                placeholder="左Y轴"
                 className={styles.blockElm}
                 value={yAxisLeft}
                 onChange={this.selectChange('yAxisLeft')}
@@ -102,7 +102,7 @@ export class DoubleYAxisSection extends React.PureComponent<IDoubleYAxisSectionP
             </Col>
             <Col span={10}>
               <Select
-                placeholder="yAxisRight"
+                placeholder="右Y轴"
                 className={styles.blockElm}
                 value={yAxisRight}
                 onChange={this.selectChange('yAxisRight')}

+ 1 - 1
app/containers/Widget/components/Workbench/ConfigSections/SpecSection/specs/Funnel.tsx

@@ -36,7 +36,7 @@ function SpecSectionFunnel (props: ISpecSectionFunnelProps) {
           <Col span={4}>间距</Col>
           <Col span={8}>
             <InputNumber
-              placeholder="gap"
+              placeholder="间距"
               className={styles.blockElm}
               value={gapNumber}
               min={0}

+ 1 - 1
app/containers/Widget/components/Workbench/ConfigSections/SpecSection/specs/Map.tsx

@@ -50,7 +50,7 @@ function SpecSectionMap (props: ISpecSectionMapProps) {
             <Col span={4}>速度</Col>
             <Col span={6}>
               <InputNumber
-                placeholder="speed"
+                placeholder="速度"
                 className={styles.blockElm}
                 value={linesSpeed}
                 min={0}

+ 2 - 2
app/containers/Widget/components/Workbench/ConfigSections/SpecSection/specs/Sankey.tsx

@@ -49,7 +49,7 @@ function SpecSectionSankey (props: ISpecSectionSankeyProps) {
           <Col span={6}>节点宽度</Col>
           <Col span={6}>
             <InputNumber
-              placeholder="nodeWidth"
+              placeholder="节点宽度"
               className={styles.blockElm}
               value={nodeWidth}
               min={0}
@@ -59,7 +59,7 @@ function SpecSectionSankey (props: ISpecSectionSankeyProps) {
           <Col span={6}>节点间隔</Col>
           <Col span={6}>
             <InputNumber
-              placeholder="nodeGap"
+              placeholder="节点间隔"
               className={styles.blockElm}
               value={nodeGap}
               min={0}

+ 1 - 1
app/containers/Widget/components/Workbench/OperatingPanel.tsx

@@ -2376,7 +2376,7 @@ export class OperatingPanel extends React.Component<
           <div className={styles.viewSelect}>
             <Select
               size="small"
-              placeholder="选择一个View"
+              placeholder="选择一个数据资产"
               showSearch
               dropdownMatchSelectWidth={false}
               value={selectedView && selectedView.id}

+ 1 - 1
app/containers/Widget/components/Workbench/WorkbenchSettingForm.tsx

@@ -89,7 +89,7 @@ export class WorkbenchSettingForm extends PureComponent<IWorkbenchSettingFormPro
 
     return (
       <Modal
-        title="Widget 编辑器设置"
+        title="可视化组件 编辑器设置"
         wrapClassName="ant-modal-small"
         visible={visible}
         footer={modalButtons}

+ 1 - 1
app/containers/Widget/components/Workbench/index.tsx

@@ -164,7 +164,7 @@ export class Workbench extends React.Component<
   }
 
   private placeholder = {
-    name: '请输入Widget名称',
+    name: '请输入可视化组件名称',
     description: '请输入描述…'
   }
 

+ 1 - 1
share/containers/Display/sagas.ts

@@ -89,7 +89,7 @@ export function* getDisplay (action: ShareDisplayActionType) {
   } catch (err) {
     message.destroy()
     yield put(loadDisplayFail(err))
-    message.error('获取 Display 信息失败,请刷新重试')
+    message.error('获取 大屏 信息失败,请刷新重试')
     reject(err)
   }
 }