3 Commity 91df1fff15 ... 750b1bf703

Autor SHA1 Wiadomość Data
  zlSun 750b1bf703 Merge remote-tracking branch 'origin/master' 1 rok temu
  zlSun cf16255c6f 根据搜索"text"进行修改 1 rok temu
  zlSun 181b50ffbb 根据Utils.Message内的应用位置对文件进行修改,但是无法确定”okText“中是否需要修改 1 rok temu

+ 2 - 2
atlas/js/templates/common/TableLayout_tmpl.html

@@ -41,7 +41,7 @@
                 {{#if includeGotoPage}}
                 <div class="inline col-sm-4" data-id="paginationDiv" style="display:none">
                     <div class="input-group" data-id="goToPageDiv">
-                        <input type="text" class="form-control number-input" data-id="gotoPage" placeholder="Goto Page" />
+                        <input type="text" class="form-control number-input" data-id="gotoPage" placeholder="目标页面" />
                         <span class="input-group-btn">
                             <button class="btn btn-default" type="button" data-id="gotoPagebtn" title="跳转" disabled="disabled">Go!</button>
                         </span>
@@ -88,7 +88,7 @@
                 {{#if includeAtlasGotoPage}}
                 <div class="inline col-sm-4" data-id="paginationDiv" style="display:none">
                     <div class="input-group" data-id="goToPageDiv">
-                        <input type="text" class="form-control number-input" data-id="gotoPage" placeholder="Goto Page" />
+                        <input type="text" class="form-control number-input" data-id="gotoPage" placeholder="目标页面" />
                         <span class="input-group-btn">
                             <button class="btn btn-default" type="button" data-id="gotoPagebtn" title="跳转至" disabled="disabled">Go!</button>
                         </span>

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

@@ -18,12 +18,12 @@
     {{#each items}}
     <tr class="custom-tr">
         <td class="custom-col-1">
-            <input placeholder="key" type="text" data-type="key" data-index={{@index}} class="form-control" value={{key}}></input>
+            <input placeholder="" type="text" data-type="key" data-index={{@index}} class="form-control" value={{key}}></input>
             <p class="errorMsg"></p>
         </td>
         <td class="custom-col-0"> : </td>
         <td class="custom-col-1">
-            <textarea placeholder="value" data-type="value" data-index={{@index}} class="form-control" class="form-control">{{value}}</textarea>
+            <textarea placeholder="" data-type="value" data-index={{@index}} class="form-control" class="form-control">{{value}}</textarea>
             <p class="errorMsg"></p>
         </td>
         <td class="custom-col-2">

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

@@ -52,42 +52,42 @@
         <div class="col-sm-2 profileGraphDetail">
             {{#if profileData}}
             <div class="">
-                <div><span class="graphkey">Cardinality</span></div>
+                <div><span class="graphkey">基数</span></div>
                 <div title="{{profileData.cardinality}}"><span class="graphval text-right"><b>{{profileData.cardinality}}</b></span></div>
             </div>
             <hr />
             <div class="">
-                <div><span class="graphkey">% NonNull</span></div>
+                <div><span class="graphkey">非空</span></div>
                 <div title="{{profileData.nonNullData}}%"><span class="graphval text-right"><b>{{profileData.nonNullData}}%</b></span></div>
             </div>
             <hr /> {{#ifCond typeObject.type "==" "string"}}
             <div class="">
-                <div><span class="graphkey">Average Length</span></div>
+                <div><span class="graphkey">平均长度</span></div>
                 <div title="{{profileData.averageLength}}"><span class="graphval text-right"><b>{{profileData.averageLength}}</b></span></div>
             </div>
             <hr />
             <div class="">
-                <div><span class="graphkey">Max Length</span></div>
+                <div><span class="graphkey">最大长度</span></div>
                 <div title="{{profileData.maxLength}}"><span class="graphval text-right"><b>{{profileData.maxLength}}</b></span></div>
             </div>
             <hr /> {{/ifCond}} {{#ifCond typeObject.type "==" "numeric"}}
             <div class="">
-                <div><span class="graphkey">Min</span></div>
+                <div><span class="graphkey">最小值</span></div>
                 <div title="{{profileData.minValue}}"><span class="graphval text-right"><b>{{profileData.minValue}}</b></span></div>
             </div>
             <hr />
             <div class="">
-                <div><span class="graphkey">Max</span></div>
+                <div><span class="graphkey">最大值</span></div>
                 <div title="{{profileData.maxValue}}"><span class="graphval text-right"><b>{{profileData.maxValue}}</b></span></div>
             </div>
             <hr />
             <div class="">
-                <div><span class="graphkey">Mean</span></div>
+                <div><span class="graphkey">平均值</span></div>
                 <div title="{{profileData.meanValue}}"><span class="graphval text-right"><b>{{profileData.meanValue}}</b></span></div>
             </div>
             <hr />
             <div class="">
-                <div><span class="graphkey">Median</span></div>
+                <div><span class="graphkey">中位数</span></div>
                 <div title="{{profileData.medianValue}}"><span class="graphval text-right"><b>{{profileData.medianValue}}</b></span></div>
             </div>
             {{/ifCond}} {{/if}}

+ 1 - 1
atlas/js/templates/search/SearchResultLayoutView_tmpl.html

@@ -103,7 +103,7 @@
                         </div>
                         <div class="inline col-sm-4" data-id="paginationDiv">
                             <div class="input-group" data-id="goToPageDiv">
-                                <input type="text" class="form-control number-input" data-id="gotoPage" placeholder="Goto Page" />
+                                <input type="text" class="form-control number-input" data-id="gotoPage" placeholder="目标页面" />
                                 <span class="input-group-btn">
                                     <button class="btn btn-default" type="button" data-id="gotoPagebtn" title="跳转至" disabled="disabled">
                                         Go!

+ 1 - 1
atlas/js/templates/tag/TagLayoutView_tmpl.html

@@ -36,7 +36,7 @@
     </div>
     <div data-id="tagTreeView">
         <div class="list-view col-sm-12">
-            <input type="text" class="form-control" data-id="offlineSearchTag" placeholder="Search Classification">
+            <input type="text" class="form-control" data-id="offlineSearchTag" placeholder="搜索分类">
             <ul class="tag-tree" data-id="tagsList">
             </ul>
         </div>

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

@@ -16,7 +16,7 @@ define([ "require", "utils/Utils", "modules/Modal", "utils/Messages", "utils/Enu
                             defaultErrorMessage: options.tagName + Messages.deleteErrorMessage,
                             success: function(data) {
                                 noticeRef && noticeRef.remove(), Utils.notifySuccess({
-                                    content: "Classification " + options.tagName + Messages.getAbbreviationMsg(!1, "removeSuccessMessage")
+                                    content: "分类 " + options.tagName + Messages.getAbbreviationMsg(!1, "removeSuccessMessage")
                                 }), options.callback && options.callback(), options.collection && options.collection.fetch({
                                     reset: !0
                                 });

+ 17 - 17
atlas/js/utils/Messages.js

@@ -1,19 +1,19 @@
 define([ "require" ], function(require) {
     "use strict";
     var Messages = {
-        defaultErrorMessage: "Something went wrong",
-        addSuccessMessage: " created successfully",
-        addErrorMessage: " could not be Created",
-        removeTag: "Remove Classification Assignment",
-        deleteSuccessMessage: " deleted successfully",
-        deleteErrorMessage: " could not be deleted",
-        removeSuccessMessage: " removed successfully",
-        removeErrorMessage: " could not be removed",
-        editSuccessMessage: " updated successfully",
-        assignDeletedEntity: " is deleted, Classification cannot be assigned",
-        assignTermDeletedEntity: " is deleted, Term cannot be assigned",
+        defaultErrorMessage: "发生了错误",
+        addSuccessMessage: " 创建成功",
+        addErrorMessage: " 不能被创建",
+        removeTag: "删除与分类的关联",
+        deleteSuccessMessage: " 删除成功",
+        deleteErrorMessage: " 不能被移除",
+        removeSuccessMessage: " 已成功删除",
+        removeErrorMessage: " 不能被移除",
+        editSuccessMessage: " 已成功更新",
+        assignDeletedEntity: "已被删除,分类无法进行关联",
+        assignTermDeletedEntity: "已被删除,术语无法进行关联",
         conformation: {
-            deleteMessage: "Are you sure you want to delete "
+            deleteMessage: "是否确认删除 "
         },
         search: {
             noRecordForPage: "没有找到对应数据于第",
@@ -26,13 +26,13 @@ define([ "require" ], function(require) {
             }
         },
         tag: {
-            addAttributeSuccessMessage: "Classification attribute is added successfully",
-            updateTagDescriptionMessage: "Classification description is updated successfully"
+            addAttributeSuccessMessage: "分类属性添加成功",
+            updateTagDescriptionMessage: "分类描述更新成功"
         },
         glossary: {
-            removeTermfromCategory: "Remove Term Assignment",
-            removeTermfromEntity: "Remove Term Assignment",
-            removeCategoryfromTerm: "Remove Category Assignment"
+            removeTermfromCategory: "移除术语分配",
+            removeTermfromEntity: "移除术语分配",
+            removeCategoryfromTerm: "移除类别分配"
         },
         getAbbreviationMsg: function(abbrev, type) {
             var msg = abbrev ? "s were" : " was";

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

@@ -280,7 +280,7 @@ define([ "require", "backbone", "hbs!tmpl/business_metadata/BusinessMetadataTabl
                     typeName: businessMetadataName,
                     success: function() {
                         Utils.notifySuccess({
-                            content: "Business Metadata " + businessMetadataName + Messages.getAbbreviationMsg(!1, "deleteSuccessMessage")
+                            content: "业务元数据 " + businessMetadataName + Messages.getAbbreviationMsg(!1, "deleteSuccessMessage")
                         }), that.businessMetadataDefCollection.fullCollection.remove(deleteBusinessMetadataData), 
                         that.businessMetadataDefCollection.fullCollection.sort({
                             silent: !0

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

@@ -133,7 +133,7 @@ define([ "require", "backbone", "hbs!tmpl/business_metadata/CreateBusinessMetada
                         var nameSpaveDef = model.businessMetadataDefs;
                         nameSpaveDef && (that.businessMetadataDefCollection.fullCollection.add(nameSpaveDef), 
                         Utils.notifySuccess({
-                            content: "Business Metadata " + name + Messages.getAbbreviationMsg(!1, "addSuccessMessage")
+                            content: "业务元数据 " + name + Messages.getAbbreviationMsg(!1, "addSuccessMessage")
                         })), that.options.onUpdateBusinessMetadata(!0);
                     },
                     silent: !0,
@@ -162,7 +162,7 @@ define([ "require", "backbone", "hbs!tmpl/business_metadata/CreateBusinessMetada
                     data: this.json,
                     success: function(model, response) {
                         Utils.notifySuccess({
-                            content: "One or more Business Metadada attribute" + Messages.getAbbreviationMsg(!0, "editSuccessMessage")
+                            content: "一个或多个业务元数据属性" + Messages.getAbbreviationMsg(!0, "editSuccessMessage")
                         }), model.businessMetadataDefs && model.businessMetadataDefs.length && that.selectedBusinessMetadata.set(model.businessMetadataDefs[0]), 
                         that.options.onEditCallback(), that.options.onUpdateBusinessMetadata(!0);
                     },

+ 1 - 1
atlas/js/views/detail_page/DetailPageLayoutView.js

@@ -300,7 +300,7 @@ define([ "require", "backbone", "hbs!tmpl/detail_page/DetailPageLayoutView_tmpl"
             CommonViewFunction.deleteTag(_.extend({}, {
                 guid: that.id,
                 associatedGuid: that.id != entityGuid ? entityGuid : null,
-                msg: "<div class='ellipsis-with-margin'>Remove: <b>" + _.escape(tagName) + "</b> assignment from <b>" + this.name + "?</b></div>",
+                msg: "<div class='ellipsis-with-margin'>确认删除<b>" + _.escape(tagName) + "</b> 与 <b>" + this.name + "的关联?</b></div>",
                 titleMessage: Messages.removeTag,
                 okText: "Remove",
                 showLoader: that.showLoader.bind(that),

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

@@ -391,7 +391,7 @@ define([ "require", "backbone", "hbs!tmpl/entity/CreateEntityLayoutView_tmpl", "
                         that.modal.$el.find("button.ok").hideButtonLoader(), that.modal.close();
                         var msgType = model.mutatedEntities && model.mutatedEntities.UPDATE ? "editSuccessMessage" : "addSuccessMessage";
                         if (Utils.notifySuccess({
-                            content: "Entity " + Messages.getAbbreviationMsg(!1, msgType)
+                            content: "实体" + Messages.getAbbreviationMsg(!1, msgType)
                         }), that.guid && that.callback) that.callback(); else if (model.mutatedEntities) {
                             var mutatedEntities = model.mutatedEntities.CREATE || model.mutatedEntities.UPDATE;
                             mutatedEntities && _.isArray(mutatedEntities) && mutatedEntities[0] && mutatedEntities[0].guid && Utils.setUrl({

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

@@ -100,7 +100,7 @@ define([ "require", "backbone", "hbs!tmpl/entity/EntityBusinessMetaDataView_tmpl
                     type: "POST",
                     success: function(data) {
                         Utils.notifySuccess({
-                            content: "One or more Business Metadada attributes" + Messages.getAbbreviationMsg(!0, "editSuccessMessage")
+                            content: "一个或多个业务元数据属性" + Messages.getAbbreviationMsg(!0, "editSuccessMessage")
                         }), that.entity.businessAttributes = data, that.ui.businessMetadataTree.html(""), 
                         that.editMode = !1, that.fetchCollection(), that.onCancel();
                     },

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

@@ -120,8 +120,8 @@ define([ "require", "backbone", "hbs!tmpl/entity/EntityLabelDefineView_tmpl", "m
                     data: JSON.stringify(payload),
                     type: "POST",
                     success: function() {
-                        var msg = void 0 === entityJson.labels ? "addSuccessMessage" : "editSuccessMessage", caption = "One or more label";
-                        0 === payload.length ? (msg = "removeSuccessMessage", caption = "One or more existing label", 
+                        var msg = void 0 === entityJson.labels ? "addSuccessMessage" : "editSuccessMessage", caption = "一个或多个标签";
+                        0 === payload.length ? (msg = "removeSuccessMessage", caption = "一个或多个标签",
                         that.entityModel.unset("labels")) : that.entityModel.set("labels", payload), Utils.notifySuccess({
                             content: caption + Messages.getAbbreviationMsg(!0, msg)
                         }), that.swapItem = !1, that.saveLabels = !1, that.render(), that.renderAuditTableLayoutView && that.renderAuditTableLayoutView();

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

@@ -96,9 +96,9 @@ define([ "require", "backbone", "hbs!tmpl/entity/EntityUserDefineView_tmpl", "mo
                 data: JSON.stringify(payload),
                 type: "POST",
                 success: function() {
-                    var msg = that.initialCall ? "addSuccessMessage" : "editSuccessMessage", caption = "One or more user-defined propertie";
+                    var msg = that.initialCall ? "addSuccessMessage" : "editSuccessMessage", caption = "一个或多个用户定义属性";
                     that.customAttibutes = list, 0 === list.length && (msg = "removeSuccessMessage", 
-                    caption = "One or more existing user-defined propertie"), Utils.notifySuccess({
+                    caption = "一个或多个用户定义属性"), Utils.notifySuccess({
                         content: caption + Messages.getAbbreviationMsg(!0, msg)
                     }), that.swapItem = !1, that.saveAttrItems = !1, that.render(), that.renderAuditTableLayoutView && that.renderAuditTableLayoutView();
                 },

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

@@ -132,8 +132,8 @@ define([ "require", "backbone", "hbs!tmpl/glossary/AssignTermLayoutView_tmpl", "
                 })) : data.push({
                     guid: that.guid
                 }), skipEntity.length) {
-                    var text = "<b>" + skipEntity.length + " of " + that.multiple.length + "</b> entities selected have already been associated with <b>" + termName + "</b> term, Do you want to associate the term with other entities ?", removeCancelButton = !1;
-                    skipEntity.length + deletedEntity.length === that.multiple.length && (text = (skipEntity.length > 1 ? "All selected" : "Selected") + " entities have already been associated with <b>" + termName + "</b> term", 
+                    var text = "<b>所选" +that.multiple.length + " 个实体中已有 "+skipEntity.length + "</b> 个实体已经与术语 <b>" + termName + "</b> 关联,是否将该术语与其他实体关联?", removeCancelButton = !1;
+                    skipEntity.length + deletedEntity.length === that.multiple.length && (text = (skipEntity.length > 1 ? "All selected" : "Selected") + " 实体已经与术语 <b>" + termName + "</b> 关联",
                     removeCancelButton = !0);
                     var notifyObj = {
                         text: text,

+ 1 - 1
atlas/js/views/glossary/GlossaryDetailLayoutView.js

@@ -288,7 +288,7 @@ define([ "require", "backbone", "hbs!tmpl/glossary/GlossaryDetailLayoutView_tmpl
         onClickTagCross: function(e) {
             var that = this, tagName = $(e.currentTarget).text(), termName = this.data.name;
             CommonViewFunction.deleteTag(_.extend({}, {
-                msg: "<div class='ellipsis-with-margin'>Remove: <b>" + _.escape(tagName) + "</b> assignment from <b>" + _.escape(termName) + "?</b></div>",
+                msg: "<div class='ellipsis-with-margin'>确认删除<b>" + _.escape(tagName) + "</b> 与 <b>" + _.escape(termName) + "的关联?</b></div>",
                 titleMessage: Messages.removeTag,
                 okText: "Remove",
                 showLoader: that.showLoader.bind(that),

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

@@ -178,7 +178,7 @@ define([ "require", "backbone", "hbs!tmpl/schema/SchemaTableLayoutView_tmpl", "c
             CommonViewFunction.deleteTag({
                 tagName: tagName,
                 guid: guid,
-                msg: "<div class='ellipsis-with-margin'>Remove: <b>" + _.escape(tagName) + "</b> assignment from <b>" + _.escape(assetName) + " ?</b></div>",
+                msg: "<div class='ellipsis-with-margin'>确认删除<b>" + _.escape(tagName) + "</b> 与 <b>" + _.escape(assetName) + "的关联?</b></div>",
                 titleMessage: Messages.removeTag,
                 okText: "Remove",
                 showLoader: that.showLoader.bind(that),

+ 2 - 2
atlas/js/views/search/SearchLayoutView.js

@@ -502,8 +502,8 @@ define([ "require", "backbone", "hbs!tmpl/search/SearchLayoutView_tmpl", "utils/
             this.$(".advanceSaveSearch").show(), this.$(".searchText").text("Search By Query"), 
             this.ui.searchInput.attr("placeholder", 'Search By Query eg. where name="sales_fact"')) : (this.$(".typeFilter").addClass("col-sm-10"), 
             this.$(".typeFilter").removeClass("col-sm-12"), this.$(".typeFilterBtn,.tagBox,.termBox,.basicSaveSearch").show(), 
-            this.$(".advanceSaveSearch").hide(), this.dsl = !1, this.type = "basic", this.$(".searchText").text("Search By Text"), 
-            this.ui.searchInput.attr("placeholder", "Search By Text")), Utils.getUrlState.isSearchTab() && Utils.setUrl({
+            this.$(".advanceSaveSearch").hide(), this.dsl = !1, this.type = "basic", this.$(".searchText").text("根据文本修改"),
+            this.ui.searchInput.attr("placeholder", "根据文本修改")), Utils.getUrlState.isSearchTab() && Utils.setUrl({
                 url: "#!/search/searchResult",
                 urlParams: _.extend(this.query[this.type], {
                     searchType: this.type,

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

@@ -736,7 +736,7 @@ define([ "require", "backbone", "table-dragger", "hbs!tmpl/search/SearchResultLa
                 tagName: tagName,
                 guid: guid,
                 associatedGuid: guid != entityGuid ? entityGuid : null,
-                msg: "<div class='ellipsis-with-margin'>Remove: <b>" + _.escape(tagName) + "</b> assignment from <b>" + _.escape(assetName) + " ?</b></div>",
+                msg: "<div class='ellipsis-with-margin'>确认删除 <b>" + _.escape(tagName) + "</b> 与 <b>" + _.escape(assetName) + "的关联?</b></div>",
                 titleMessage: Messages.removeTag,
                 okText: "Remove",
                 showLoader: that.showLoader.bind(that),

+ 5 - 5
atlas/js/views/tag/AddTagModalView.js

@@ -84,8 +84,8 @@ define([ "require", "hbs!tmpl/tag/AddTagModalView_tmpl", "views/tag/AddTimezoneI
                     html: !0,
                     content: "<b>" + obj.deletedEntity.join(", ") + "</b> " + (1 === obj.deletedEntity.length ? "entity " : "entities ") + Messages.assignDeletedEntity
                 }), obj.skipEntity.length) {
-                    var text = "<b>" + obj.skipEntity.length + " of " + that.multiple.length + "</b> entities selected have already been associated with <b>" + tagName + "</b> tag, Do you want to associate the tag with other entities ?", removeCancelButton = !1;
-                    obj.skipEntity.length + obj.deletedEntity.length === that.multiple.length && (text = (obj.skipEntity.length > 1 ? "All selected" : "Selected") + " entities have already been associated with <b>" + tagName + "</b> tag", 
+                    var text = "<b>所选"+ that.multiple.length+ " 个实体中已有 "+ obj.skipEntity.length + "</b> 个已经与标签 <b>" + tagName + "</b> 关联,是否将该标签与其他实体关联 ?", removeCancelButton = !1;
+                    obj.skipEntity.length + obj.deletedEntity.length === that.multiple.length && (text = (obj.skipEntity.length > 1 ? "All selected" : "Selected") + " 实体已与标签 <b>" + tagName + "</b> 关联",
                     removeCancelButton = !0);
                     var notifyObj = {
                         text: text,
@@ -271,11 +271,11 @@ define([ "require", "hbs!tmpl/tag/AddTagModalView_tmpl", "views/tag/AddTimezoneI
             this.entityModel.saveTraitsEntity(this.tagModel ? options.guid : null, {
                 data: JSON.stringify(json),
                 type: this.tagModel ? "PUT" : "POST",
-                defaultErrorMessage: "Tag " + tagName + " could not be added",
+                defaultErrorMessage: "标签 " + tagName + " 添加失败",
                 success: function(data) {
-                    var addupdatetext = that.tagModel ? "updated successfully to " : "added to ";
+                    var addupdatetext = that.tagModel ? "成功更新于 " : "添加于 ";
                     Utils.notifySuccess({
-                        content: "Classification " + tagName + " has been " + addupdatetext + (that.multiple ? "entities" : "entity")
+                        content: "分类 " + tagName + " 已经" + addupdatetext + (that.multiple ? "实体" : "实体")
                     }), options.modalCollection && options.modalCollection.fetch({
                         reset: !0
                     }), that.callback && that.callback(), that.modal.close();

+ 3 - 3
atlas/js/views/tag/TagAttributeDetailLayoutView.js

@@ -140,15 +140,15 @@ define([ "require", "backbone", "hbs!tmpl/tag/TagAttributeDetailLayoutView_tmpl"
                         }
                     };
                     if (saveObj && !duplicateAttributeList.length) that.onSaveButton(saveObj, Messages.tag.addAttributeSuccessMessage); else {
-                        if (duplicateAttributeList.length < 2) var text = "Attribute <b>" + duplicateAttributeList.join(",") + "</b> is duplicate !"; else if (newAttributeList.length > duplicateAttributeList.length) {
-                            var text = "Attributes: <b>" + duplicateAttributeList.join(",") + "</b> are duplicate ! Do you want to continue with other attributes ?";
+                        if (duplicateAttributeList.length < 2) var text = "属性 <b>" + duplicateAttributeList.join(",") + "</b> 重复了 !"; else if (newAttributeList.length > duplicateAttributeList.length) {
+                            var text = "属性: <b>" + duplicateAttributeList.join(",") + "</b> 重复了 ! 是否对其他属性继续执行 ?";
                             notifyObj = {
                                 ok: function(argument) {
                                     that.onSaveButton(saveObj, Messages.tag.addAttributeSuccessMessage);
                                 },
                                 cancel: function(argument) {}
                             };
-                        } else var text = "All attributes are duplicate !";
+                        } else var text = "所有属性都重复了 !";
                         notifyObj.text = text, Utils.notifyConfirm(notifyObj);
                     }
                 }), that.modal.on("closeModal", function() {

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

@@ -183,7 +183,7 @@ define([ "require", "backbone", "hbs!tmpl/tag/TagDetailTableLayoutView_tmpl", "u
                 tagName: tagName,
                 guid: that.guid,
                 associatedGuid: that.guid != entityGuid ? entityGuid : null,
-                msg: "<div class='ellipsis-with-margin'>Remove: <b>" + _.escape(tagName) + "</b> assignment from <b>" + this.entityName + "?</b></div>",
+                msg: "<div class='ellipsis-with-margin'>确认删除<b>" + _.escape(tagName) + "</b> 与 <b>" + this.entityName + "的关联?</b></div>",
                 titleMessage: Messages.removeTag,
                 okText: "Remove",
                 showLoader: function() {

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

@@ -90,7 +90,7 @@ define([ "require", "backbone", "hbs!tmpl/tag/TagLayoutView_tmpl", "utils/Utils"
                 var name = Utils.getName(model.toJSON(), "name");
                 treeStr += "<option>" + name + "</option>";
             }), that.ui.treeLov.html(treeStr), that.ui.treeLov.select2({
-                placeholder: "Search Classification",
+                placeholder: "搜索分类",
                 allowClear: !0
             });
         },
@@ -243,7 +243,7 @@ define([ "require", "backbone", "hbs!tmpl/tag/TagLayoutView_tmpl", "utils/Utils"
                     selectedTag: name,
                     enumDefCollection: enumDefCollection
                 }), modal = new Modal({
-                    title: "Create a new classification",
+                    title: "创建一个新的分类",
                     content: view,
                     cancelText: "Cancel",
                     okCloses: !1,
@@ -257,7 +257,7 @@ define([ "require", "backbone", "hbs!tmpl/tag/TagLayoutView_tmpl", "utils/Utils"
                 }), modal.on("shownModal", function() {
                     view.ui.parentTag.select2({
                         multiple: !0,
-                        placeholder: "Search Classification",
+                        placeholder: "搜索分类",
                         allowClear: !0
                     });
                 }), modal.on("ok", function() {
@@ -339,7 +339,7 @@ define([ "require", "backbone", "hbs!tmpl/tag/TagLayoutView_tmpl", "utils/Utils"
                         }));
                     }), that.collection.fullCollection.add(classificationDefs), that.setUrl("#!/tag/tagAttribute/" + ref.ui.tagName.val() + "?tag=" + ref.ui.tagName.val(), !0), 
                     Utils.notifySuccess({
-                        content: "Classification " + that.name + Messages.getAbbreviationMsg(!1, "addSuccessMessage")
+                        content: "分类 " + that.name + Messages.getAbbreviationMsg(!1, "addSuccessMessage")
                     }), modal.trigger("cancel"), modal.$el.find("button.ok").hideButtonLoader(), that.changeLoaderState(!1), 
                     that.typeHeaders.fetch({
                         reset: !0
@@ -374,7 +374,7 @@ define([ "require", "backbone", "hbs!tmpl/tag/TagLayoutView_tmpl", "utils/Utils"
                 contentClass: "tagPopoverOptions",
                 popoverOptions: {
                     content: function() {
-                        return "<ul><li class='listTerm' ><i class='fa fa-search'></i> <a href='javascript:void(0)' data-fn='onSearchTag'>Search Classification</a></li><li class='listTerm' ><i class='fa fa-plus'></i> <a href='javascript:void(0)' data-fn='onClickCreateTag'>Create Sub-classification</a></li><li class='listTerm' ><i class='fa fa-trash-o'></i> <a href='javascript:void(0)' data-fn='onDeleteTag'>Delete Classification</a></li></ul>";
+                        return "<ul><li class='listTerm' ><i class='fa fa-search'></i> <a href='javascript:void(0)' data-fn='onSearchTag'>搜索分类</a></li><li class='listTerm' ><i class='fa fa-plus'></i> <a href='javascript:void(0)' data-fn='onClickCreateTag'>创建子分类</a></li><li class='listTerm' ><i class='fa fa-trash-o'></i> <a href='javascript:void(0)' data-fn='onDeleteTag'>删除分类</a></li></ul>";
                     }
                 }
             });
@@ -401,7 +401,7 @@ define([ "require", "backbone", "hbs!tmpl/tag/TagLayoutView_tmpl", "utils/Utils"
                 },
                 okCloses: !1,
                 cancel: function(argument) {}
-            }, text = "Are you sure you want to delete the classification";
+            }, text = "确定删除该分类?";
             notifyObj.text = text, Utils.notifyConfirm(notifyObj);
         },
         onNotifyOk: function(data) {
@@ -414,7 +414,7 @@ define([ "require", "backbone", "hbs!tmpl/tag/TagLayoutView_tmpl", "utils/Utils"
                 typeName: that.tag,
                 success: function() {
                     if (Utils.notifySuccess({
-                        content: "Classification " + that.tag + Messages.getAbbreviationMsg(!1, "deleteSuccessMessage")
+                        content: "分类 " + that.tag + Messages.getAbbreviationMsg(!1, "deleteSuccessMessage")
                     }), superTypeObj) {
                         var parentSubTypeUpdate = _.reject(superTypeObj.get("subTypes"), function(subtype) {
                             return subtype === that.tag;