1
0

3 Revīzijas b078b367ea ... 9ea5689ff6

Autors SHA1 Ziņojums Datums
  zlSun 9ea5689ff6 Merge remote-tracking branch 'origin/master' 1 gadu atpakaļ
  zlSun 6065f587b6 根据搜索"create"进行修改 1 gadu atpakaļ
  zlSun d3bb53a920 根据搜索"No Records found!"以及"No Record found!"进行修改,其覆盖了大部分的"emptyText" 1 gadu atpakaļ
30 mainītis faili ar 86 papildinājumiem un 86 dzēšanām
  1. 1 1
      atlas/js/templates/business_metadata/BusinessMetadataAttrTableLayoutView_tmpl.html
  2. 1 1
      atlas/js/templates/business_metadata/BusinessMetadataAttributeItemView_tmpl.html
  3. 1 1
      atlas/js/templates/business_metadata/BusinessMetadataTableLayoutView_tmpl.html
  4. 1 1
      atlas/js/templates/business_metadata/CreateBusinessMetadataLayoutView_tmpl.html
  5. 2 2
      atlas/js/templates/entity/CreateEntityLayoutView_tmpl.html
  6. 3 3
      atlas/js/templates/profile/ProfileColumnLayoutView_tmpl.html
  7. 4 4
      atlas/js/templates/profile/ProfileTableLayoutView_tmpl.html
  8. 7 7
      atlas/js/templates/site/Statistics_Notification_table_tmpl.html
  9. 4 4
      atlas/js/utils/CommonViewFunction.js
  10. 26 26
      atlas/js/utils/Enums.js
  11. 1 1
      atlas/js/utils/TableLayout.js
  12. 1 1
      atlas/js/views/audit/AdminAuditTableLayoutView.js
  13. 1 1
      atlas/js/views/audit/AuditTableLayoutView.js
  14. 1 1
      atlas/js/views/audit/ReplicationAuditTableLayoutView.js
  15. 1 1
      atlas/js/views/business_metadata/BusinessMetadataAttrTableLayoutView.js
  16. 1 1
      atlas/js/views/business_metadata/BusinessMetadataAttributeItemView.js
  17. 8 8
      atlas/js/views/business_metadata/BusinessMetadataTableLayoutView.js
  18. 1 1
      atlas/js/views/business_metadata/CreateBusinessMetadataLayoutView.js
  19. 3 3
      atlas/js/views/business_metadata/EnumCreateUpdateItemView.js
  20. 5 5
      atlas/js/views/detail_page/PendingTaskTableLayoutView.js
  21. 2 2
      atlas/js/views/entity/CreateEntityLayoutView.js
  22. 1 1
      atlas/js/views/entity/EntityBusinessMetaDataView.js
  23. 2 2
      atlas/js/views/glossary/GlossaryLayoutView.js
  24. 1 1
      atlas/js/views/profile/ProfileTableLayoutView.js
  25. 1 1
      atlas/js/views/schema/SchemaLayoutView.js
  26. 1 1
      atlas/js/views/search/SearchResultLayoutView.js
  27. 2 2
      atlas/js/views/search/save/SaveModalLayoutView.js
  28. 1 1
      atlas/js/views/site/DebugMetricsTableLayoutView.js
  29. 1 1
      atlas/js/views/tag/TagDetailTableLayoutView.js
  30. 1 1
      atlas/js/views/tag/TagLayoutView.js

+ 1 - 1
atlas/js/templates/business_metadata/BusinessMetadataAttrTableLayoutView_tmpl.html

@@ -34,7 +34,7 @@
         <div class="pull-right inline-content-fr no-padding-left">
             <div class="inline" data-id="colManager"></div>
             <div class="inline">
-                <button type="button" data-id="addAttribute" title="Create Business Metadata Attribute" class="btn btn-action btn-sm pull-right btn-loader" style="margin-bottom: 10px;" data-action="createBusinessMetadata">
+                <button type="button" data-id="addAttribute" title="创建业务元数据属性" class="btn btn-action btn-sm pull-right btn-loader" style="margin-bottom: 10px;" data-action="createBusinessMetadata">
                     <i class='fa fa-plus'></i> 属性
                 </button></div>
         </div>

+ 1 - 1
atlas/js/templates/business_metadata/BusinessMetadataAttributeItemView_tmpl.html

@@ -79,7 +79,7 @@
                 </select>
             </div>
             <div class="col-sm-3">
-                <button type="button" class="btn btn-action btn-sm" data-id="createNewEnum" data-action="" title="Create/Update Enum"> <i class="fa fa-pencil"></i> 枚举</button>
+                <button type="button" class="btn btn-action btn-sm" data-id="createNewEnum" data-action="" title="创建/修改 枚举"> <i class="fa fa-pencil"></i> 枚举</button>
             </div>
         </div>
     </div>

+ 1 - 1
atlas/js/templates/business_metadata/BusinessMetadataTableLayoutView_tmpl.html

@@ -34,7 +34,7 @@
         <div class="pull-right inline-content-fr no-padding-left">
             <div class="inline" data-id="colManager"></div>
             <div class="inline">
-                <button type="button" data-id="createBusinessMetadata" title="Create Business Metadata" class="btn btn-action btn-sm pull-right btn-loader" style="margin-bottom: 10px;" data-action="createBusinessMetadata">
+                <button type="button" data-id="createBusinessMetadata" title="创建业务元数据" class="btn btn-action btn-sm pull-right btn-loader" style="margin-bottom: 10px;" data-action="createBusinessMetadata">
                     <i class='fa fa-plus'></i> 创建业务元数据
                 </button></div>
         </div>

+ 1 - 1
atlas/js/templates/business_metadata/CreateBusinessMetadataLayoutView_tmpl.html

@@ -20,7 +20,7 @@
 <form class="hide form-horizontal" data-id="createForm" style="width: 70%;margin: 0 auto;">
     {{#if fromTable}}
     <div class="form-group">
-        <label class="control-label col-sm-2 {{#if create}}required{{/if}}" for="name">Name</label>
+        <label class="control-label col-sm-2 {{#if create}}required{{/if}}" for="name">名称</label>
         {{#if create}}
         <div class="col-sm-10">
             <input class="form-control businessMetadata-name require" data-id="name" placeholder="Name(required)" autofocus />

+ 2 - 2
atlas/js/templates/entity/CreateEntityLayoutView_tmpl.html

@@ -28,12 +28,12 @@
                 </div>
                 {{/if}}
                 <div class="col-sm-4 toggleRequiredSwitch">
-                    <span class="pull-left">必</span>
+                    <span class="pull-left">必要属性</span>
                     <label class="switch pull-left">
                         <input type="checkbox" class="switch-input" name="toggleRequired" value="text">
                         <div class="switch-slider"></div>
                     </label>
-                    <span class="pull-left">All</span>
+                    <span class="pull-left">全部属性</span>
                 </div>
             </div>
         </div>

+ 3 - 3
atlas/js/templates/profile/ProfileColumnLayoutView_tmpl.html

@@ -17,19 +17,19 @@
 <div class="row">
     <div class="">
         <div class="col-sm-3 rowValue">
-            <div><span class="graphkey">Rows</span></div>
+            <div><span class="graphkey"></span></div>
             <div><span class="graphval">
                     <div class="value-loader"></div>
                 </span></div>
         </div>
         <div class="col-sm-3 table_created">
-            <div><span class="graphkey">Date Created</span></div>
+            <div><span class="graphkey">创建的数据</span></div>
             <div><span class="graphval">
                     <div class="value-loader"></div>
                 </span></div>
         </div>
         <div class="col-sm-6 table_name">
-            <div><span class="graphkey">Table</span></div>
+            <div><span class="graphkey"></span></div>
             <div><span class="graphval">
                     <div class="value-loader"></div>
                 </span></div>

+ 4 - 4
atlas/js/templates/profile/ProfileTableLayoutView_tmpl.html

@@ -17,25 +17,25 @@
 <div class="row">
     <div class="">
         <div class="col-sm-3 rowValue">
-            <div><span class="graphkey">Rows</span></div>
+            <div><span class="graphkey"></span></div>
             <div><span class="graphval">
                     <div class="value-loader"></div>
                 </span></div>
         </div>
         <div class="col-sm-3 table_created">
-            <div><span class="graphkey">Date Created</span></div>
+            <div><span class="graphkey">创建的数据</span></div>
             <div><span class="graphval">
                     <div class="value-loader"></div>
                 </span></div>
         </div>
         <div class="col-sm-3 table_name">
-            <div><span class="graphkey">Table</span></div>
+            <div><span class="graphkey"></span></div>
             <div><span class="graphval">
                     <div class="value-loader"></div>
                 </span></div>
         </div>
         <div class="col-sm-3 db_name">
-            <div><span class="graphkey">DB</span></div>
+            <div><span class="graphkey">数据库</span></div>
             <div><span class="graphval">
                     <div class="value-loader"></div>
                 </span></div>

+ 7 - 7
atlas/js/templates/site/Statistics_Notification_table_tmpl.html

@@ -16,13 +16,13 @@
 -->
 <thead>
     <tr>
-        <th>Period</th>
-        <th>Count</th>
-        <th>Avg Time <span style="text-transform: lowercase;">(ms)</span></th>
-        <th>Creates</th>
-        <th>Updates</th>
-        <th>Deletes</th>
-        <th>Failed</th>
+        <th>周期</th>
+        <th>总数</th>
+        <th>平均时间<span style="text-transform: lowercase;">(ms)</span></th>
+        <th>创建</th>
+        <th>更新</th>
+        <th>删除</th>
+        <th>失败</th>
     </tr>
 </thead>
 {{#if data}}

+ 4 - 4
atlas/js/utils/CommonViewFunction.js

@@ -331,16 +331,16 @@ define([ "require", "utils/Utils", "modules/Modal", "utils/Messages", "utils/Enu
             isGlossaryView ? (view = new CreateEditGlossaryLayoutView({
                 glossaryCollection: collection,
                 model: model
-            }), title = "Glossary") : (view = new CreateEditCategoryTermLayoutView({
+            }), title = "术语表") : (view = new CreateEditCategoryTermLayoutView({
                 glossaryCollection: collection,
                 modelJSON: model
-            }), title = isTermView ? "Term" : "Category");
+            }), title = isTermView ? "术语" : "类别");
             var modal = new Modal({
-                title: (model ? "Update " : "Create ") + title,
+                title: (model ? "更新 " : "创建 ") + title,
                 content: view,
                 cancelText: "Cancel",
                 okCloses: !1,
-                okText: model ? "Update" : "Create",
+                okText: model ? "更新" : "创建",
                 allowCancel: !0
             }).open();
             modal.$el.find("input[data-id=shortDescription]").on("input keydown", function(e) {

+ 26 - 26
atlas/js/utils/Enums.js

@@ -2,32 +2,32 @@ define([ "require", "backbone" ], function(require) {
     "use strict";
     var Enums = {};
     Enums.auditAction = {
-        ENTITY_CREATE: "Entity Created",
-        ENTITY_UPDATE: "Entity Updated",
-        ENTITY_DELETE: "Entity Deleted",
-        CLASSIFICATION_ADD: "Classification Added",
-        CLASSIFICATION_DELETE: "Classification Deleted",
-        CLASSIFICATION_UPDATE: "Classification Updated",
-        PROPAGATED_CLASSIFICATION_ADD: "Propagated Classification Added",
-        PROPAGATED_CLASSIFICATION_DELETE: "Propagated Classification Deleted",
-        PROPAGATED_CLASSIFICATION_UPDATE: "Propagated Classification Updated",
-        ENTITY_IMPORT_CREATE: "Entity Created by import",
-        ENTITY_IMPORT_UPDATE: "Entity Updated by import",
-        ENTITY_IMPORT_DELETE: "Entity Deleted by import",
-        TERM_ADD: "Term Added",
-        TERM_DELETE: "Term Deleted",
-        LABEL_ADD: "Label(s) Added",
-        LABEL_DELETE: "Label(s) Deleted",
-        ENTITY_PURGE: "Entity Purged",
-        BUSINESS_ATTRIBUTE_ADD: "Business Attribute(s) Added",
-        BUSINESS_ATTRIBUTE_UPDATE: "Business Attribute(s) Updated",
-        BUSINESS_ATTRIBUTE_DELETE: "Business Attribute(s) Deleted",
-        CUSTOM_ATTRIBUTE_UPDATE: "User-defined Attribute(s) Updated",
-        TYPE_DEF_UPDATE: "Type Updated",
-        TYPE_DEF_CREATE: "Type Created",
-        TYPE_DEF_DELETE: "Type Deleted",
-        IMPORT: "Import",
-        EXPORT: "Export"
+        ENTITY_CREATE: "已创建实体",
+        ENTITY_UPDATE: "已更新实体",
+        ENTITY_DELETE: "已删除实体",
+        CLASSIFICATION_ADD: "已添加分类",
+        CLASSIFICATION_DELETE: "已删除分类",
+        CLASSIFICATION_UPDATE: "已更新分类",
+        PROPAGATED_CLASSIFICATION_ADD: "已添加传播的分类",
+        PROPAGATED_CLASSIFICATION_DELETE: "已删除传播的分类",
+        PROPAGATED_CLASSIFICATION_UPDATE: "已更新传播的分类",
+        ENTITY_IMPORT_CREATE: "已通过导入创建实体",
+        ENTITY_IMPORT_UPDATE: "已通过导入更新实体",
+        ENTITY_IMPORT_DELETE: "已通过导入删除实体",
+        TERM_ADD: "已添加术语",
+        TERM_DELETE: "已删除术语",
+        LABEL_ADD: "已添加标签",
+        LABEL_DELETE: "删除标签",
+        ENTITY_PURGE: "实体已清除",
+        BUSINESS_ATTRIBUTE_ADD: "已添加业务元数据",
+        BUSINESS_ATTRIBUTE_UPDATE: "已更新业务元数据",
+        BUSINESS_ATTRIBUTE_DELETE: "已删除业务元数据",
+        CUSTOM_ATTRIBUTE_UPDATE: "已更新用户自定义属性",
+        TYPE_DEF_UPDATE: "已更新类型",
+        TYPE_DEF_CREATE: "已创建类型",
+        TYPE_DEF_DELETE: "已删除类型",
+        IMPORT: "导入",
+        EXPORT: "导出"
     }, Enums.serverAudits = {
         SERVER_START: "Server Start",
         SERVER_STOP: "Server End",

+ 1 - 1
atlas/js/utils/TableLayout.js

@@ -25,7 +25,7 @@ define([ "require", "backbone", "hbs!tmpl/common/TableLayout_tmpl", "utils/Messa
         },
         gridOpts: {
             className: "table table-bordered table-hover table-condensed backgrid",
-            emptyText: "No Records found!"
+            emptyText: "没有找到记录!"
         },
         filterOpts: {
             placeholder: "plcHldr.searchByResourcePath",

+ 1 - 1
atlas/js/views/audit/AdminAuditTableLayoutView.js

@@ -59,7 +59,7 @@ define([ "require", "backbone", "hbs!tmpl/audit/AdminAuditTableLayoutView_tmpl",
                     fetchCollection: this.getAdminCollection.bind(this)
                 },
                 gridOpts: {
-                    emptyText: "No Record found!",
+                    emptyText: "没有找到记录!",
                     className: "table table-hover backgrid table-quickMenu colSort"
                 },
                 filterOpts: {},

+ 1 - 1
atlas/js/views/audit/AuditTableLayoutView.js

@@ -28,7 +28,7 @@ define([ "require", "backbone", "hbs!tmpl/audit/AuditTableLayoutView_tmpl", "col
                 includeFooterRecords: !1,
                 gridOpts: {
                     className: "table table-hover backgrid table-quickMenu",
-                    emptyText: "No records found!"
+                    emptyText: "没有找到记录!"
                 },
                 sortOpts: {
                     sortColumn: "timestamp",

+ 1 - 1
atlas/js/views/audit/ReplicationAuditTableLayoutView.js

@@ -31,7 +31,7 @@ define([ "require", "backbone", "hbs!tmpl/audit/ReplicationAuditTableLayoutView_
                     fetchCollection: this.fetchCollection.bind(this)
                 },
                 gridOpts: {
-                    emptyText: "No Record found!",
+                    emptyText: "没有找到记录!",
                     className: "table table-hover backgrid table-quickMenu colSort"
                 },
                 filterOpts: {},

+ 1 - 1
atlas/js/views/business_metadata/BusinessMetadataAttrTableLayoutView.js

@@ -31,7 +31,7 @@ define([ "require", "backbone", "hbs!tmpl/business_metadata/BusinessMetadataAttr
                 includeFooterRecords: !1,
                 gridOpts: {
                     className: "table table-hover backgrid table-quickMenu",
-                    emptyText: "No records found!"
+                    emptyText: "没有找到记录!"
                 },
                 filterOpts: {},
                 paginatorOpts: {}

+ 1 - 1
atlas/js/views/business_metadata/BusinessMetadataAttributeItemView.js

@@ -170,7 +170,7 @@ define([ "require", "backbone", "hbs!tmpl/business_metadata/BusinessMetadataAttr
                     enumDefCollection: that.enumDefCollection,
                     businessMetadataDefCollection: that.businessMetadataDefCollection
                 }), modal = new Modal({
-                    title: "Create/ Update Enum",
+                    title: "创建/修改 枚举",
                     content: view,
                     cancelText: "Cancel",
                     okCloses: !1,

+ 8 - 8
atlas/js/views/business_metadata/BusinessMetadataTableLayoutView.js

@@ -40,7 +40,7 @@ define([ "require", "backbone", "hbs!tmpl/business_metadata/BusinessMetadataTabl
                 includeColumnManager: !0,
                 gridOpts: {
                     className: "table table-hover backgrid table-quickMenu",
-                    emptyText: "No records found!"
+                    emptyText: "没有找到记录!"
                 },
                 columnOpts: {
                     opts: {
@@ -118,7 +118,7 @@ define([ "require", "backbone", "hbs!tmpl/business_metadata/BusinessMetadataTabl
         onClickCreateBusinessMetadata: function(e) {
             var that = this, isNewBusinessMetadata = !0;
             that.showDetails = !1, that.ui.businessMetadataAttrPageOk.text("Create"), that.ui.businessMetadataAttrPageOk.attr("data-action", "createBusinessMetadata"), 
-            that.ui.businessMetadataAttrPageTitle.text("Create Business Metadata"), that.toggleBusinessMetadataDetailsAttrView(), 
+            that.ui.businessMetadataAttrPageTitle.text("创建业务元数据"), that.toggleBusinessMetadataDetailsAttrView(),
             require([ "views/business_metadata/CreateBusinessMetadataLayoutView" ], function(CreateBusinessMetadataLayoutView) {
                 that.view = new CreateBusinessMetadataLayoutView({
                     onUpdateBusinessMetadata: function(fetch) {
@@ -200,7 +200,7 @@ define([ "require", "backbone", "hbs!tmpl/business_metadata/BusinessMetadataTabl
                     })
                 },
                 createdBy: {
-                    label: "Created by",
+                    label: "创建者",
                     cell: "html",
                     renderable: !1,
                     editable: !1,
@@ -211,7 +211,7 @@ define([ "require", "backbone", "hbs!tmpl/business_metadata/BusinessMetadataTabl
                     })
                 },
                 createTime: {
-                    label: "Created on",
+                    label: "创建于",
                     cell: "html",
                     renderable: !1,
                     editable: !1,
@@ -224,7 +224,7 @@ define([ "require", "backbone", "hbs!tmpl/business_metadata/BusinessMetadataTabl
                     })
                 },
                 updatedBy: {
-                    label: "Updated by",
+                    label: "更新者",
                     cell: "html",
                     renderable: !1,
                     editable: !1,
@@ -235,7 +235,7 @@ define([ "require", "backbone", "hbs!tmpl/business_metadata/BusinessMetadataTabl
                     })
                 },
                 updateTime: {
-                    label: "Updated on",
+                    label: "更新于",
                     cell: "html",
                     renderable: !1,
                     editable: !1,
@@ -248,7 +248,7 @@ define([ "require", "backbone", "hbs!tmpl/business_metadata/BusinessMetadataTabl
                     })
                 },
                 tools: {
-                    label: "Action",
+                    label: "操作",
                     cell: "html",
                     sortable: !1,
                     editable: !1,
@@ -267,7 +267,7 @@ define([ "require", "backbone", "hbs!tmpl/business_metadata/BusinessMetadataTabl
                     that.onNotifyDeleteOk();
                 },
                 cancel: function(argument) {}
-            }, text = "Are you sure you want to delete the business metadata";
+            }, text = "确定删除该业务元数据?";
             notifyObj.text = text, Utils.notifyConfirm(notifyObj);
         },
         onNotifyDeleteOk: function(data) {

+ 1 - 1
atlas/js/views/business_metadata/CreateBusinessMetadataLayoutView.js

@@ -62,7 +62,7 @@ define([ "require", "backbone", "hbs!tmpl/business_metadata/CreateBusinessMetada
         onRender: function() {
             var that = this;
             this.$(".fontLoader").show(), "placeholder" in HTMLInputElement.prototype || this.ui.createForm.find("input,textarea").placeholder(), 
-            1 == this.isNewBusinessMetadata ? (that.ui.businessMetadataAttrPageOk.text("Create"), 
+            1 == this.isNewBusinessMetadata ? (that.ui.businessMetadataAttrPageOk.text("创建"),
             that.ui.businessMetadataAttrPageOk.attr("data-action", "newBusinessMetadata")) : (that.ui.businessMetadataAttrPageOk.text("Save"), 
             that.ui.businessMetadataAttrPageOk.attr("data-action", "attributeEdit")), this.hideLoader();
         },

+ 3 - 3
atlas/js/views/business_metadata/EnumCreateUpdateItemView.js

@@ -70,16 +70,16 @@ define([ "require", "backbone", "hbs!tmpl/business_metadata/EnumCreateUpdateItem
             });
         },
         formatSearchResult: function(state) {
-            return state.id ? state.element ? $("<span>" + _.escape(state.text) + "</span>") : $("<span>Create new enum : <strong> " + _.escape(state.text) + "</strong></span>") : state.text;
+            return state.id ? state.element ? $("<span>" + _.escape(state.text) + "</span>") : $("<span>创建新的枚举 : <strong> " + _.escape(state.text) + "</strong></span>") : state.text;
         },
         validationEnum: function() {
             var selectedEnumName = this.ui.enumSelector.val(), selectedEnumValues = this.ui.valueSelector.val();
             return "" == selectedEnumName || null == selectedEnumName ? (this.ui.enumOkBtn.hideButtonLoader(), 
             Utils.notifyInfo({
-                content: "Please enter the Enumeration Name"
+                content: "请输入枚举名称"
             }), !0) : "" == selectedEnumValues || null == selectedEnumValues ? (this.ui.enumOkBtn.hideButtonLoader(), 
             Utils.notifyInfo({
-                content: "Please  enter the Enum values"
+                content: "请输入枚举值"
             }), !0) : void 0;
         },
         onUpdateEnum: function(view, modal) {

+ 5 - 5
atlas/js/views/detail_page/PendingTaskTableLayoutView.js

@@ -32,7 +32,7 @@ define([ "require", "backbone", "hbs!tmpl/detail_page/PendingTaskTableLayoutView
                 includeFooterRecords: !1,
                 gridOpts: {
                     className: "table table-hover backgrid table-quickMenu",
-                    emptyText: "No records found!"
+                    emptyText: "没有找到记录!"
                 },
                 isApiSorting: !1,
                 atlasPaginationOpts: this.getPaginationOptions(),
@@ -106,7 +106,7 @@ define([ "require", "backbone", "hbs!tmpl/detail_page/PendingTaskTableLayoutView
                     }
                 },
                 type: {
-                    label: "Type",
+                    label: "类型",
                     cell: "html",
                     sortable: !1,
                     editable: !1,
@@ -117,19 +117,19 @@ define([ "require", "backbone", "hbs!tmpl/detail_page/PendingTaskTableLayoutView
                     })
                 },
                 guid: {
-                    label: "Guid",
+                    label: "全局唯一标识符",
                     cell: "html",
                     sortable: !1,
                     editable: !1
                 },
                 status: {
-                    label: "Status",
+                    label: "状态",
                     cell: "html",
                     sortable: !1,
                     editable: !1
                 },
                 createdTime: {
-                    label: "Created Time",
+                    label: "创建时间",
                     cell: "html",
                     editable: !1,
                     sortable: !1,

+ 2 - 2
atlas/js/views/entity/CreateEntityLayoutView.js

@@ -28,8 +28,8 @@ define([ "require", "backbone", "hbs!tmpl/entity/CreateEntityLayoutView_tmpl", "
             var entityTitle, okLabel, that = this;
             this.selectStoreCollection = new Backbone.Collection(), this.collection = new VEntityList(), 
             this.entityModel = new VEntity(), this.guid && (this.collection.modelAttrName = "createEntity"), 
-            this.asyncReferEntityCounter = 0, this.required = !0, this.guid ? (entityTitle = "Edit entity", 
-            okLabel = "Update") : (entityTitle = "Create entity", okLabel = "Create"), this.modal = new Modal({
+            this.asyncReferEntityCounter = 0, this.required = !0, this.guid ? (entityTitle = "编辑实体",
+            okLabel = "Update") : (entityTitle = "创建实体", okLabel = "Create"), this.modal = new Modal({
                 title: entityTitle,
                 content: this,
                 cancelText: "Cancel",

+ 1 - 1
atlas/js/views/entity/EntityBusinessMetaDataView.js

@@ -150,7 +150,7 @@ define([ "require", "backbone", "hbs!tmpl/entity/EntityBusinessMetaDataView_tmpl
                 }), li += that.associateAttributePanel(obj, attrLi);
             });
             var html = li;
-            "" === html && this.readOnlyEntity === !1 && (html = '<div class="col-md-12"> No business metadata have been created yet. To add a business metadata, click <a href="javascript:void(0)" data-id="addBusinessMetadata">here</a></div>'), 
+            "" === html && this.readOnlyEntity === !1 && (html = '<div class="col-md-12"> 尚未有业务元数据被创建。如果向创建业务元数据,请点击 <a href="javascript:void(0)" data-id="addBusinessMetadata">这里</a></div>'),
             this.ui.businessMetadataTree.html(html);
         },
         associateAttributePanel: function(obj, tableBody) {

+ 2 - 2
atlas/js/views/glossary/GlossaryLayoutView.js

@@ -398,7 +398,7 @@ define([ "require", "backbone", "hbs!tmpl/glossary/GlossaryLayoutView_tmpl", "ut
                 popoverOptions: {
                     content: function() {
                         var node = that.query[that.viewType], liString = "";
-                        return liString = "Glossary" == node.type ? "<li data-type=" + node.type + " class='listTerm'><i class='fa fa-plus'></i> <a href='javascript:void(0)' data-fn='createSubNode'>Create Term</a></li><li data-type=" + node.type + " class='listTerm'><i class='fa fa-trash-o'></i><a href='javascript:void(0)' data-fn='deleteNode'>删除术语表</a></li>" : "<li data-type=" + node.type + " class='listTerm'><i class='fa fa-trash-o'></i><a href='javascript:void(0)' data-fn='deleteNode'>Delete Term</a></li>",
+                        return liString = "Glossary" == node.type ? "<li data-type=" + node.type + " class='listTerm'><i class='fa fa-plus'></i> <a href='javascript:void(0)' data-fn='createSubNode'>创建术语</a></li><li data-type=" + node.type + " class='listTerm'><i class='fa fa-trash-o'></i><a href='javascript:void(0)' data-fn='deleteNode'>删除术语表</a></li>" : "<li data-type=" + node.type + " class='listTerm'><i class='fa fa-trash-o'></i><a href='javascript:void(0)' data-fn='deleteNode'>删除术语</a></li>",
                         "<ul>" + liString + "</ul>";
                     }
                 }
@@ -412,7 +412,7 @@ define([ "require", "backbone", "hbs!tmpl/glossary/GlossaryLayoutView_tmpl", "ut
                 popoverOptions: {
                     content: function() {
                         var node = that.query[that.viewType], liString = "";
-                        return liString = "Glossary" == node.type ? "<li data-type=" + node.type + " class='listTerm'><i class='fa fa-plus'></i> <a href='javascript:void(0)' data-fn='createSubNode'>Create Category</a></li><li data-type=" + node.type + " class='listTerm'><i class='fa fa-trash-o'></i><a href='javascript:void(0)' data-fn='deleteNode'>删除术语表</a></li>" : "<li data-type=" + node.type + " class='listTerm'><i class='fa fa-plus'></i> <a href='javascript:void(0)' data-fn='createSubNode'>Create Sub-Category</a></li><li data-type=" + node.type + " class='listTerm'><i class='fa fa-trash-o'></i><a href='javascript:void(0)' data-fn='deleteNode'>Delete Category</a></li>",
+                        return liString = "Glossary" == node.type ? "<li data-type=" + node.type + " class='listTerm'><i class='fa fa-plus'></i> <a href='javascript:void(0)' data-fn='createSubNode'>创建类别</a></li><li data-type=" + node.type + " class='listTerm'><i class='fa fa-trash-o'></i><a href='javascript:void(0)' data-fn='deleteNode'>删除术语表</a></li>" : "<li data-type=" + node.type + " class='listTerm'><i class='fa fa-plus'></i> <a href='javascript:void(0)' data-fn='createSubNode'>Create Sub-Category</a></li><li data-type=" + node.type + " class='listTerm'><i class='fa fa-trash-o'></i><a href='javascript:void(0)' data-fn='deleteNode'>Delete Category</a></li>",
                         "<ul>" + liString + "</ul>";
                     }
                 }

+ 1 - 1
atlas/js/views/profile/ProfileTableLayoutView.js

@@ -82,7 +82,7 @@ define([ "require", "backbone", "hbs!tmpl/profile/ProfileTableLayoutView_tmpl",
                     includeFooterRecords: !0,
                     gridOpts: {
                         className: "table table-hover backgrid table-quickMenu",
-                        emptyText: "No records found!"
+                        emptyText: "没有找到记录!"
                     }
                 }))), that.renderGraphs();
             });

+ 1 - 1
atlas/js/views/schema/SchemaLayoutView.js

@@ -39,7 +39,7 @@ define([ "require", "backbone", "hbs!tmpl/schema/SchemaTableLayoutView_tmpl", "c
                 includeAtlasTableSorting: !0,
                 gridOpts: {
                     className: "table table-hover backgrid table-quickMenu",
-                    emptyText: "No records found!"
+                    emptyText: "没有找到记录!"
                 },
                 filterOpts: {},
                 paginatorOpts: {}

+ 1 - 1
atlas/js/views/search/SearchResultLayoutView.js

@@ -158,7 +158,7 @@ define([ "require", "backbone", "table-dragger", "hbs!tmpl/search/SearchResultLa
                     el: this.ui.colManager
                 },
                 gridOpts: {
-                    emptyText: "No Records found!",
+                    emptyText: "没有找到记录!",
                     className: "table table-hover backgrid table-quickMenu colSort"
                 },
                 sortOpts: {

+ 2 - 2
atlas/js/views/search/save/SaveModalLayoutView.js

@@ -20,11 +20,11 @@ define([ "require", "backbone", "hbs!tmpl/search/save/SaveModalLayoutView_tmpl",
             if (_.extend(this, _.pick(options, "selectedModel", "collection", "getValue", "isBasic", "saveObj")), 
             this.model = new VSearch(), this.saveObj) this.onCreateButton(); else {
                 var modal = new Modal({
-                    title: (this.selectedModel ? "Update" : "Create") + " your favorite search " + (this.selectedModel ? "name" : ""),
+                    title: (this.selectedModel ? "修改" : "创建") + " 你的常用搜索 " + (this.selectedModel ? "" : ""),
                     content: this,
                     cancelText: "Cancel",
                     okCloses: !1,
-                    okText: this.selectedModel ? "Update" : "Create",
+                    okText: this.selectedModel ? "修改" : "创建",
                     allowCancel: !0
                 }).open();
                 modal.$el.find("button.ok").attr("disabled", "true"), modal.on("ok", function() {

+ 1 - 1
atlas/js/views/site/DebugMetricsTableLayoutView.js

@@ -32,7 +32,7 @@ define([ "require", "backbone", "hbs!tmpl/site/DebugMetricsTableLayoutView_tmpl"
                 includeColumnManager: !1,
                 gridOpts: {
                     className: "table table-hover backgrid table-quickMenu",
-                    emptyText: "No records found!"
+                    emptyText: "没有找到记录!"
                 },
                 filterOpts: {},
                 paginatorOpts: {}

+ 1 - 1
atlas/js/views/tag/TagDetailTableLayoutView.js

@@ -50,7 +50,7 @@ define([ "require", "backbone", "hbs!tmpl/tag/TagDetailTableLayoutView_tmpl", "u
                 includeAtlasTableSorting: !0,
                 gridOpts: {
                     className: "table table-hover backgrid table-quickMenu",
-                    emptyText: "No records found!"
+                    emptyText: "没有找到记录!"
                 },
                 filterOpts: {},
                 paginatorOpts: {}

+ 1 - 1
atlas/js/views/tag/TagLayoutView.js

@@ -247,7 +247,7 @@ define([ "require", "backbone", "hbs!tmpl/tag/TagLayoutView_tmpl", "utils/Utils"
                     content: view,
                     cancelText: "Cancel",
                     okCloses: !1,
-                    okText: "Create",
+                    okText: "创建",
                     allowCancel: !0
                 }).open();
                 modal.$el.find("button.ok").attr("disabled", "true"), view.ui.tagName.on("keyup input", function(e) {