|
@@ -199,7 +199,7 @@ define([ "require", "backbone", "hbs!tmpl/glossary/GlossaryDetailLayoutView_tmpl
|
|
Utils.hideTitleLoader(this.$(".fontLoader"), this.ui.details), data ? (this.ui.title.text(data.name || data.displayText || data.qualifiedName),
|
|
Utils.hideTitleLoader(this.$(".fontLoader"), this.ui.details), data ? (this.ui.title.text(data.name || data.displayText || data.qualifiedName),
|
|
this.ui.shortDescription.text(data.shortDescription ? data.shortDescription : ""),
|
|
this.ui.shortDescription.text(data.shortDescription ? data.shortDescription : ""),
|
|
this.ui.longDescription.text(data.longDescription ? data.longDescription : ""),
|
|
this.ui.longDescription.text(data.longDescription ? data.longDescription : ""),
|
|
- this.generateCategories(data.categories), this.generateTerm(data.terms), this.generateTag(data.classifications)) : this.ui.title.text("No Data found");
|
|
|
|
|
|
+ this.generateCategories(data.categories), this.generateTerm(data.terms), this.generateTag(data.classifications)) : this.ui.title.text("没有找到数据");
|
|
},
|
|
},
|
|
generateCategories: function(data) {
|
|
generateCategories: function(data) {
|
|
var categories = "";
|
|
var categories = "";
|
|
@@ -290,7 +290,7 @@ define([ "require", "backbone", "hbs!tmpl/glossary/GlossaryDetailLayoutView_tmpl
|
|
CommonViewFunction.deleteTag(_.extend({}, {
|
|
CommonViewFunction.deleteTag(_.extend({}, {
|
|
msg: "<div class='ellipsis-with-margin'>确认删除<b>" + _.escape(tagName) + "</b> 与 <b>" + _.escape(termName) + "的关联?</b></div>",
|
|
msg: "<div class='ellipsis-with-margin'>确认删除<b>" + _.escape(tagName) + "</b> 与 <b>" + _.escape(termName) + "的关联?</b></div>",
|
|
titleMessage: Messages.removeTag,
|
|
titleMessage: Messages.removeTag,
|
|
- okText: "Remove",
|
|
|
|
|
|
+ okText: "移除",
|
|
showLoader: that.showLoader.bind(that),
|
|
showLoader: that.showLoader.bind(that),
|
|
hideLoader: that.hideLoader.bind(that),
|
|
hideLoader: that.hideLoader.bind(that),
|
|
tagName: tagName,
|
|
tagName: tagName,
|
|
@@ -310,7 +310,7 @@ define([ "require", "backbone", "hbs!tmpl/glossary/GlossaryDetailLayoutView_tmpl
|
|
titleMessage: Messages.glossary[that.isTermView ? "removeCategoryfromTerm" : "removeTermfromCategory"],
|
|
titleMessage: Messages.glossary[that.isTermView ? "removeCategoryfromTerm" : "removeTermfromCategory"],
|
|
isCategoryView: that.isCategoryView,
|
|
isCategoryView: that.isCategoryView,
|
|
isTermView: that.isTermView,
|
|
isTermView: that.isTermView,
|
|
- buttonText: "Remove",
|
|
|
|
|
|
+ buttonText: "移除",
|
|
showLoader: that.hideLoader.bind(that),
|
|
showLoader: that.hideLoader.bind(that),
|
|
hideLoader: that.hideLoader.bind(that),
|
|
hideLoader: that.hideLoader.bind(that),
|
|
callback: function() {
|
|
callback: function() {
|