Przeglądaj źródła

placeholder和no record的补充修改

zlSun 1 rok temu
rodzic
commit
c593442a43

+ 1 - 1
atlas/js/views/audit/AdminAuditTableLayoutView.js

@@ -164,7 +164,7 @@ define([ "require", "backbone", "hbs!tmpl/audit/AdminAuditTableLayoutView_tmpl",
                         return !Enums.serverAudits[model.get("operation")];
                     },
                     expand: function(el, model) {
-                        var operation = model.get("operation"), results = model.get("result") || null, adminText = "No records found", adminTypDetails = null, auditData = {
+                        var operation = model.get("operation"), results = model.get("result") || null, adminText = "没有找到记录!", adminTypDetails = null, auditData = {
                             operation: operation,
                             model: model,
                             results: results,

+ 1 - 1
atlas/js/views/graph/PropagationPropertyModal.js

@@ -163,7 +163,7 @@ define([ "require", "hbs!tmpl/graph/PropagationPropertyModalView_tmpl", "models/
                     fromBlockClassification: !1
                 });
             }), classificationTableValue = "<table class='attriTable'><tr><th class='w30'>Classification</th><th>Entity Name</th><th class='w30'>Block Propagatation</th>" + propagationStringValue + "</table>", 
-            this.ui.PropagatedClassificationTable.append(_.isEmpty(propagationStringValue) ? "No Records Found." : classificationTableValue);
+            this.ui.PropagatedClassificationTable.append(_.isEmpty(propagationStringValue) ? "没有找到记录!" : classificationTableValue);
         },
         showLoader: function() {
             this.modal.$el.find("button.ok").showButtonLoader(), this.$(".overlay").removeClass("hide").addClass("show");

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

@@ -398,7 +398,7 @@ define([ "require", "backbone", "hbs!tmpl/search/SearchLayoutView_tmpl", "utils/
                 }), foundOptions;
             };
             this.ui.termLov.select2({
-                placeholder: "Search Term",
+                placeholder: "搜索术语",
                 allowClear: !0,
                 ajax: {
                     url: UrlLinks.searchApiUrl("attribute"),

+ 2 - 2
atlas/n/js/templates/glossary/GlossaryLayoutView_tmpl.html

@@ -36,14 +36,14 @@
     <div class="col-sm-12">
         <div class="no-padding col-sm-12 term-view">
             <div>
-                <input type="text" class="form-control" data-id="searchTerm" placeholder="{{#if isAssignView}}Search Term{{else}}Search Glossary, Term{{/if}}">
+                <input type="text" class="form-control" data-id="searchTerm" placeholder="{{#if isAssignView}}搜索术语{{else}}搜索术语表以及术语{{/if}}">
             </div>
             <div data-id="termTree" style="margin-top: 5px;padding-bottom: 25px;overflow-x: auto;overflow-y:hidden;">
             </div>
         </div>
         <div class="col-sm-12 no-padding category-view" style="display: none;">
             <div>
-                <input type="text" class="form-control" data-id="searchCategory" placeholder="{{#if isAssignView}}Search Catalog{{else}}Search Glossary, Category{{/if}}">
+                <input type="text" class="form-control" data-id="searchCategory" placeholder="{{#if isAssignView}}搜索目录{{else}}搜索术语表以及类别{{/if}}">
             </div>
             <div data-id="categoryTree" style="margin-top: 5px;padding-bottom: 25px;overflow-x: auto;overflow-y: hidden;">
             </div>