|
@@ -322,7 +322,7 @@ define([ "require", "backbone", "hbs!tmpl/detail_page/DetailPageLayoutView_tmpl"
|
|
|
relationshipGuid: termObj.relationshipGuid
|
|
|
},
|
|
|
collection: that.glossaryCollection,
|
|
|
- msg: "<div class='ellipsis-with-margin'>Remove: <b>" + _.escape(termName) + "</b> assignment from <b>" + this.name + "?</b></div>",
|
|
|
+ msg: "<div class='ellipsis-with-margin'>移除 <b>" + _.escape(termName) + "</b> 和 <b>" + this.name + "的关联?</b></div>",
|
|
|
titleMessage: Messages.glossary.removeTermfromEntity,
|
|
|
isEntityView: !0,
|
|
|
buttonText: "移除",
|
|
@@ -336,7 +336,7 @@ define([ "require", "backbone", "hbs!tmpl/detail_page/DetailPageLayoutView_tmpl"
|
|
|
generateTag: function(tagObject) {
|
|
|
var tagData = "", propagatedTagListData = "";
|
|
|
_.each(tagObject.self, function(val) {
|
|
|
- tagData += '<span class="btn btn-action btn-sm btn-icon btn-blue" data-id="tagClick"><span>' + val.typeName + '</span><i class="fa fa-close" data-id="deleteTag" data-type="tag" title="Remove Classification"></i></span>';
|
|
|
+ tagData += '<span class="btn btn-action btn-sm btn-icon btn-blue" data-id="tagClick"><span>' + val.typeName + '</span><i class="fa fa-close" data-id="deleteTag" data-type="tag" title="移除分类"></i></span>';
|
|
|
}), _.each(tagObject.propagatedMap, function(val, key) {
|
|
|
propagatedTagListData += '<span class="btn btn-action btn-sm btn-icon btn-blue"><span data-id="tagClick">' + val.typeName + "</span>" + (val.count > 1 ? '<span class="active" data-id="pTagCountClick">(' + val.count + ")</span>" : "") + "</span>";
|
|
|
}), "" !== propagatedTagListData ? this.ui.propagatedTagDiv.show() : this.ui.propagatedTagDiv.hide(),
|
|
@@ -346,7 +346,7 @@ define([ "require", "backbone", "hbs!tmpl/detail_page/DetailPageLayoutView_tmpl"
|
|
|
generateTerm: function(data) {
|
|
|
var termData = "";
|
|
|
_.each(data, function(val) {
|
|
|
- termData += '<span class="btn btn-action btn-sm btn-icon btn-blue" data-id="termClick"><span>' + _.escape(val.displayText) + '</span><i class="' + ("ACTIVE" == val.relationshipStatus ? "fa fa-close" : "") + '" data-id="deleteTerm" data-guid="' + val.guid + '" data-type="term" title="Remove Term"></i></span>';
|
|
|
+ termData += '<span class="btn btn-action btn-sm btn-icon btn-blue" data-id="termClick"><span>' + _.escape(val.displayText) + '</span><i class="' + ("ACTIVE" == val.relationshipStatus ? "fa fa-close" : "") + '" data-id="deleteTerm" data-guid="' + val.guid + '" data-type="term" title="移除术语"></i></span>';
|
|
|
}), this.ui.termList.find("span.btn").remove(), this.ui.termList.prepend(termData);
|
|
|
},
|
|
|
hideLoader: function() {
|
|
@@ -397,7 +397,7 @@ define([ "require", "backbone", "hbs!tmpl/detail_page/DetailPageLayoutView_tmpl"
|
|
|
Utils.showTitleLoader(that.$(".page-title .fontLoader"), that.$(".entityDetail"));
|
|
|
});
|
|
|
}) : Utils.notifyInfo({
|
|
|
- content: "There are no available terms that can be associated with this entity"
|
|
|
+ content: "没有可以与实体联系的术语"
|
|
|
});
|
|
|
},
|
|
|
onClickAddTermBtn: function(e) {
|