瀏覽代碼

工具枚举类内容部分汉化

zlSun 1 年之前
父節點
當前提交
30e5535e67
共有 1 個文件被更改,包括 18 次插入18 次删除
  1. 18 18
      atlas/js/utils/Enums.js

+ 18 - 18
atlas/js/utils/Enums.js

@@ -186,19 +186,19 @@ define([ "require", "backbone" ], function(require) {
             failedMessageCount: "number"
         }
     }, Enums.systemAttributes = {
-        __classificationNames: "Classification(s)",
-        __createdBy: "Created By User",
-        __customAttributes: "User-defined Properties",
+        __classificationNames: "分类",
+        __createdBy: "创建者",
+        __customAttributes: "用户自定义属性",
         __guid: "Guid",
-        __isIncomplete: "IsIncomplete",
-        __labels: "Label(s)",
-        __modificationTimestamp: "Last Modified Timestamp",
-        __modifiedBy: "Last Modified User",
-        __propagatedClassificationNames: "Propagated Classification(s)",
-        __state: "Status",
-        __entityStatus: "Entity Status",
-        __timestamp: "Created Timestamp",
-        __typeName: "Type Name"
+        __isIncomplete: "未完成",
+        __labels: "标签",
+        __modificationTimestamp: "最终修改时间",
+        __modifiedBy: "最后修改者",
+        __propagatedClassificationNames: "传播的分类",
+        __state: "状态",
+        __entityStatus: "实体状态",
+        __timestamp: "创建时间戳",
+        __typeName: "类型名称"
     }, Enums.__isIncomplete = {
         0: "false",
         1: "true"
@@ -216,12 +216,12 @@ define([ "require", "backbone" ], function(require) {
         TIME_RANGE: "timerange"
     }, Enums.queryBuilderApiOperatorToUI = _.invert(Enums.queryBuilderUIOperatorToAPI), 
     Enums.queryBuilderDateRangeUIValueToAPI = {
-        Today: "TODAY",
-        Yesterday: "YESTERDAY",
-        "Last 7 Days": "LAST_7_DAYS",
-        "Last 30 Days": "LAST_30_DAYS",
-        "This Month": "THIS_MONTH",
-        "Last Month": "LAST_MONTH",
+        Today: "今日内",
+        Yesterday: "昨日内",
+        "Last 7 Days": "七天以内",
+        "Last 30 Days": "30天以内",
+        "This Month": "这个月内",
+        "Last Month": "上个月内",
         "This Quarter": "THIS_QUARTER",
         "Last Quarter": "LAST_QUARTER",
         "This Year": "THIS_YEAR",