Browse Source

筛选器初步修改

zlSun 11 months ago
parent
commit
2f07b67b65

+ 4 - 4
atlas/js/views/search/QueryBuilderView.js

@@ -357,11 +357,11 @@ define([ "require", "backbone", "hbs!tmpl/search/QueryBuilder_tmpl", "hbs!tmpl/s
                         apply_to: [ "date" ]
                         apply_to: [ "date" ]
                     } ],
                     } ],
                     lang: {
                     lang: {
-                        add_rule: "Add filter",
-                        add_group: "Add filter group",
+                        add_rule: "添加筛选器",
+                        add_group: "添加筛选器组",
                         operators: {
                         operators: {
-                            not_null: "is not null",
-                            TIME_RANGE: "Time Range"
+                            not_null: "是非空的",
+                            TIME_RANGE: "时间范围"
                         }
                         }
                     },
                     },
                     icons: {
                     icons: {

+ 7 - 7
atlas/js/views/search/SearchQueryView.js

@@ -15,23 +15,23 @@ define([ "require", "backbone", "modules/Modal", "utils/Utils", "hbs!tmpl/search
             this.bindEvents();
             this.bindEvents();
             var that = this;
             var that = this;
             this.modal = new Modal({
             this.modal = new Modal({
-                title: "Attribute Filter",
+                title: "属性筛选器",
                 content: this,
                 content: this,
                 allowCancel: !0,
                 allowCancel: !0,
                 mainClass: "modal-lg",
                 mainClass: "modal-lg",
                 okCloses: !1,
                 okCloses: !1,
                 buttons: [ {
                 buttons: [ {
-                    text: "Cancel",
+                    text: "取消",
                     btnClass: "cancel btn-action",
                     btnClass: "cancel btn-action",
-                    title: "Cancel"
+                    title: "取消"
                 }, {
                 }, {
-                    text: "Apply",
+                    text: "应用",
                     btnClass: "ok btn-atlas",
                     btnClass: "ok btn-atlas",
-                    title: "Apply the filters and close popup (won't perform search)"
+                    title: "应用过滤器并关闭弹出窗口(不会执行搜索)"
                 }, {
                 }, {
-                    text: "Search",
+                    text: "搜索",
                     btnClass: "ok search btn-atlas",
                     btnClass: "ok search btn-atlas",
-                    title: "Apply the filters and do search"
+                    title: "应用筛选器并进行搜索"
                 } ]
                 } ]
             }).open(), this.modal.on("closeModal", function() {
             }).open(), this.modal.on("closeModal", function() {
                 that.modal.trigger("cancel");
                 that.modal.trigger("cancel");