Browse Source

筛选器初步修改

zlSun 1 năm trước cách đây
mục cha
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" ]
                     } ],
                     lang: {
-                        add_rule: "Add filter",
-                        add_group: "Add filter group",
+                        add_rule: "添加筛选器",
+                        add_group: "添加筛选器组",
                         operators: {
-                            not_null: "is not null",
-                            TIME_RANGE: "Time Range"
+                            not_null: "是非空的",
+                            TIME_RANGE: "时间范围"
                         }
                     },
                     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();
             var that = this;
             this.modal = new Modal({
-                title: "Attribute Filter",
+                title: "属性筛选器",
                 content: this,
                 allowCancel: !0,
                 mainClass: "modal-lg",
                 okCloses: !1,
                 buttons: [ {
-                    text: "Cancel",
+                    text: "取消",
                     btnClass: "cancel btn-action",
-                    title: "Cancel"
+                    title: "取消"
                 }, {
-                    text: "Apply",
+                    text: "应用",
                     btnClass: "ok btn-atlas",
-                    title: "Apply the filters and close popup (won't perform search)"
+                    title: "应用过滤器并关闭弹出窗口(不会执行搜索)"
                 }, {
-                    text: "Search",
+                    text: "搜索",
                     btnClass: "ok search btn-atlas",
-                    title: "Apply the filters and do search"
+                    title: "应用筛选器并进行搜索"
                 } ]
             }).open(), this.modal.on("closeModal", function() {
                 that.modal.trigger("cancel");