Procházet zdrojové kódy

根据搜索"text"进行修改

zlSun před 11 měsíci
rodič
revize
cf16255c6f

+ 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>

+ 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,