|
@@ -84,7 +84,7 @@ define([ "require", "backbone", "table-dragger", "hbs!tmpl/search/SearchResultLa
|
|
|
this.asyncFetchCounter = 0, this.offset = 0, this.bindEvents(), this.multiSelectEntity = [],
|
|
|
this.searchType = "基础查询", this.columnOrder = null, this.defaultColumns = [ "selected", "name", "description", "typeName", "owner", "tag", "term" ],
|
|
|
this.value) {
|
|
|
- if (this.value.searchType && "dsl" == this.value.searchType && (this.searchType = "Advanced Search"),
|
|
|
+ if (this.value.searchType && "dsl" == this.value.searchType && (this.searchType = "高级查询"),
|
|
|
this.value.pageLimit) {
|
|
|
var pageLimit = parseInt(this.value.pageLimit, 10);
|
|
|
_.isNaN(pageLimit) || 0 == pageLimit || pageLimit <= -1 ? (this.value.pageLimit = this.limit,
|
|
@@ -153,7 +153,7 @@ define([ "require", "backbone", "table-dragger", "hbs!tmpl/search/SearchResultLa
|
|
|
saveState: !1
|
|
|
},
|
|
|
visibilityControlOpts: {
|
|
|
- buttonTemplate: _.template("<button class='btn btn-action btn-sm pull-right'>Columns <i class='fa fa-caret-down'></i></button>")
|
|
|
+ buttonTemplate: _.template("<button class='btn btn-action btn-sm pull-right'>选择字段 <i class='fa fa-caret-down'></i></button>")
|
|
|
},
|
|
|
el: this.ui.colManager
|
|
|
},
|
|
@@ -272,7 +272,7 @@ define([ "require", "backbone", "table-dragger", "hbs!tmpl/search/SearchResultLa
|
|
|
that.updateMultiSelect(), dataLength > 0 && that.$(".searchTable").removeClass("noData"),
|
|
|
Utils.getUrlState.isSearchTab() && value && !that.profileDBView) {
|
|
|
var searchString = 'Results for: <span class="filterQuery">' + CommonViewFunction.generateQueryOfFilter(that.value) + "</span>";
|
|
|
- Globals.entityCreate && Globals.entityTypeConfList && Utils.getUrlState.isSearchTab() && (searchString += '<p>If you do not find the entity in search result below then you can<a href="javascript:void(0)" data-id="createEntity"> create new entity</a></p>'),
|
|
|
+ Globals.entityCreate && Globals.entityTypeConfList && Utils.getUrlState.isSearchTab() && (searchString += '<p>如果你没有在搜索结果中找到目标实体,那么你可以<a href="javascript:void(0)" data-id="createEntity">创建新实体</a></p>'),
|
|
|
that.$(".searchResult").html(searchString);
|
|
|
}
|
|
|
}
|
|
@@ -624,7 +624,7 @@ define([ "require", "backbone", "table-dragger", "hbs!tmpl/search/SearchResultLa
|
|
|
getTagCol: function(options) {
|
|
|
var columnToShow = options.columnToShow, col = options.col;
|
|
|
col && (col.tag = {
|
|
|
- label: "Classifications",
|
|
|
+ label: "分类",
|
|
|
cell: "Html",
|
|
|
editable: !1,
|
|
|
sortable: !1,
|
|
@@ -643,7 +643,7 @@ define([ "require", "backbone", "table-dragger", "hbs!tmpl/search/SearchResultLa
|
|
|
getTermCol: function(options) {
|
|
|
var columnToShow = options.columnToShow, col = options.col;
|
|
|
col && (col.term = {
|
|
|
- label: "Term",
|
|
|
+ label: "术语",
|
|
|
cell: "Html",
|
|
|
editable: !1,
|
|
|
sortable: !1,
|