junlincc commented on a change in pull request #13022:
URL: https://github.com/apache/superset/pull/13022#discussion_r574933710



##########
File path: superset/translations/zh/LC_MESSAGES/messages.json
##########
@@ -403,223 +457,287 @@
       "Metadata refreshed for the following table(s): %(tables)s": [
         "为下表刷新元数据:%(tables)s"
       ],
-      "The following tables added new columns: %(tables)s": [""],
-      "The following tables removed columns: %(tables)s": [""],
-      "The following tables update column metadata: %(tables)s": [""],
-      "Unable to refresh metadata for the following table(s): %(tables)s": [
-        "为下表刷新元数据:%(tables)s"
+      "The following tables added new columns: %(tables)s": [
+        "下表添加了新列:%(tables)s"
+      ],
+      "The following tables removed columns: %(tables)s": [
+        "下表删除了列:%(tables)s"
+      ],
+      "The following tables update column metadata: %(tables)s": [
+        "下表更新列元数据:%(tables)s"
       ],
-      "Deleted %(num)d css template": [""],
-      "CSS template could not be deleted.": [""],
-      "CSS template not found.": ["CSS 模板"],
-      "Deleted %(num)d dashboard": ["保存仪表板"],
-      "Title or Slug": [""],
-      "Must be unique": [""],
-      "Dashboard parameters are invalid.": [""],
-      "Dashboard not found.": ["图表 %(id)s 没有找到"],
-      "Dashboard could not be created.": ["您的查询无法保存"],
-      "Dashboards could not be deleted.": [""],
-      "Dashboard could not be updated.": ["您的查询无法保存"],
-      "Dashboard could not be deleted.": ["您的查询无法保存"],
-      "Changing this Dashboard is forbidden": ["编辑这个仪表板的属性"],
-      "Import dashboard failed for an unknown reason": [""],
-      "No data in file": [""],
-      "Table name undefined": ["表名"],
+      "Unable to refresh metadata for the following table(s): %(tables)s": [
+        "为下表刷新元数据: %(tables)s"
+      ],
+      "Deleted %(num)d css template": ["删除了 %(num)d 个css模板"],
+      "CSS template could not be deleted.": ["CSS模板不能被删除"],
+      "CSS template not found.": ["CSS模板未找到"],
+      "Deleted %(num)d dashboard": ["删除了 %(num)d 个看板"],
+      "Title or Slug": ["标题或者Slug"],
+      "Must be unique": ["需要唯一"],
+      "Dashboard parameters are invalid.": ["看板参数无效。"],
+      "Dashboard not found.": ["看板没有找到"],
+      "Dashboard could not be created.": ["看板无法被创建"],
+      "Dashboards could not be deleted.": ["看板无法被删除。"],
+      "Dashboard could not be updated.": ["看板无法更新。"],
+      "Dashboard could not be deleted.": ["看板无法被删除。"],
+      "Changing this Dashboard is forbidden": ["无法修改该看板"],
+      "Import dashboard failed for an unknown reason": [
+        "因为未知原因导入看板失败"
+      ],
+      "No data in file": ["文件中无数据"],
+      "Table name undefined": ["表名未定义"],
       "Invalid connection string, a valid string usually follows: 
driver://user:password@database-host/database-name": [
-        ""
+        "连接字符串无效,有效字符串通常如下:driver://user:password@database-host/database-name"
       ],
       "SQLite database cannot be used as a data source for security reasons.": 
[
-        ""
+        "出于安全原因,SQLite数据库不能用作数据源。"
+      ],
+      "Field cannot be decoded by JSON. %(msg)s": [
+        "字段不能由JSON解码。%(msg)s"
       ],
-      "Field cannot be decoded by JSON. %(msg)s": [""],
       "The metadata_params in Extra field is not configured correctly. The key 
%(key)s is invalid.": [
-        ""
+        "额外字段中的元数据参数配置不正确。键 %(key)s 无效。"
+      ],
+      "Database parameters are invalid.": ["数据库参数无效"],
+      "A database with the same name already exists": ["同名数据库已存在"],
+      "Field is required": ["字段是必需的"],
+      "Field cannot be decoded by JSON.  %{json_error}s": [
+        "字段不能由JSON解码。%{json_error}s"
       ],
-      "Database parameters are invalid.": [""],
-      "A database with the same name already exists": ["数据源%(name)s 已存在"],
-      "Field is required": [""],
-      "Field cannot be decoded by JSON.  %{json_error}s": [""],
       "The metadata_params in Extra field is not configured correctly. The key 
%{key}s is invalid.": [
-        ""
-      ],
-      "Database not found.": ["图表 %(id)s 没有找到"],
-      "Database could not be created.": ["您的查询无法保存"],
-      "Database could not be updated.": ["您的查询无法保存"],
-      "Connection failed, please check your connection settings": [""],
-      "Cannot delete a database that has tables attached": [""],
-      "Database could not be deleted.": [""],
-      "Stopped an unsafe database connection": [
-        "选择任何列用来对元数据进行探查"
-      ],
-      "Could not load database driver": ["无法连接服务器"],
-      "Unexpected error occurred, please check your logs for details": [""],
-      "Import database failed for an unknown reason": [""],
-      "Could not load database driver: {}": ["无法连接服务器"],
-      "Deleted %(num)d dataset": ["选择结束日期"],
-      "Null or Empty": [""],
-      "Database not allowed to change": [""],
-      "One or more columns do not exist": [""],
-      "One or more columns are duplicated": [""],
-      "One or more columns already exist": [""],
-      "One or more metrics do not exist": ["一个或多个指标显示"],
-      "One or more metrics are duplicated": ["一个或多个指标显示"],
-      "One or more metrics already exist": ["一个或多个指标显示"],
+        "额外字段中的元数据参数配置不正确。键 %{key}s 无效。"
+      ],
+      "Database not found.": ["数据库没有找到"],
+      "Database could not be created.": ["数据库无法被创建"],
+      "Database could not be updated.": ["数据库无法更新"],
+      "Connection failed, please check your connection settings": [
+        "连接失败,请检查您的连接配置"
+      ],
+      "Cannot delete a database that has tables attached": [
+        "无法删除已含有表的数据库"
+      ],
+      "Database could not be deleted.": ["数据库不能删除。"],
+      "Stopped an unsafe database connection": ["已停止不安全的数据库连接"],
+      "Could not load database driver": ["无法加载数据库驱动程序"],
+      "Unexpected error occurred, please check your logs for details": [
+        "发生意外错误,请检查日志以了解详细信息"
+      ],
+      "Import database failed for an unknown reason": [
+        "导入数据库失败,原因未知"
+      ],
+      "Could not load database driver: {}": ["无法加载数据库驱动程序:{}"],
+      "Deleted %(num)d dataset": ["已经删除 %(num)d 个数据集"],
+      "Null or Empty": ["Null或空"],
+      "Database not allowed to change": ["数据集不允许被修改"],
+      "One or more columns do not exist": ["一个或多个字段不存在"],
+      "One or more columns are duplicated": ["一个或多个列被复制"],
+      "One or more columns already exist": ["一个或多个列已存在"],
+      "One or more metrics do not exist": ["一个或多个指标不存在"],
+      "One or more metrics are duplicated": ["一个或多个指标重复"],
+      "One or more metrics already exist": ["一个或多个度量已存在"],
       "Table [%(table_name)s] could not be found, please double check your 
database connection, schema, and table name": [
-        "找不到 [{}] 表,请仔细检查您的数据库连接、Schema 和 表名"
-      ],
-      "Dataset parameters are invalid.": [""],
-      "Dataset could not be created.": ["您的查询无法保存"],
-      "Dataset could not be updated.": ["您的查询无法保存"],
-      "Dataset could not be deleted.": [""],
-      "Dataset(s) could not be bulk deleted.": [""],
-      "Changing this dataset is forbidden": [""],
-      "Import dataset failed for an unknown reason": [""],
-      "Unknown Presto Error": ["未知错误"],
+        "找不到 [%(table_name)s] 表,请仔细检查您的数据库连接、Schema 和 表名"
+      ],
+      "Dataset parameters are invalid.": ["数据集参数无效。"],
+      "Dataset could not be created.": ["无法创建数据集。"],
+      "Dataset could not be updated.": ["无法更新数据集。"],
+      "Dataset could not be deleted.": ["无法删除数据集"],
+      "Dataset(s) could not be bulk deleted.": ["数据集无法批量删除"],
+      "Changing this dataset is forbidden": ["没有权限更新此数据集"],
+      "Import dataset failed for an unknown reason": [
+        "因为未知的原因导入数据集失败"
+      ],
+      "Unknown Presto Error": ["未知 Presto 错误"],
       "We can't seem to resolve the column \"%(column_name)s\" at line 
%(location)s.": [
-        ""
+        "我们似乎无法解析行 %(location)s 所处的列 \"%(column_name)s\" 。"
       ],
       "The table \"%(table_name)s\" does not exist. A valid table must be used 
to run this query.": [
-        ""
-      ],
-      "Deleted %(num)d saved query": [""],
-      "Saved queries could not be deleted.": ["这个查询无法被加载"],
-      "Saved query not found.": [""],
-      "Deleted %(num)d report schedule": [""],
-      "Alert query returned more then one row. %s rows returned": [""],
-      "Alert query returned more then one column. %s columns returned": [""],
-      "Dashboard does not exist": [""],
-      "Chart does not exist": ["图表 %(id)s 没有找到"],
-      "Database is required for alerts": [""],
-      "Type is required": [""],
-      "Choose a chart or dashboard not both": ["从仪表板中删除图表"],
-      "Report Schedule parameters are invalid.": [""],
-      "Report Schedule could not be deleted.": ["您的查询无法保存"],
-      "Report Schedule could not be created.": ["您的查询无法保存"],
-      "Report Schedule could not be updated.": ["您的查询无法保存"],
-      "Report Schedule not found.": [""],
-      "Report Schedule delete failed.": [""],
-      "Report Schedule log prune failed.": [""],
-      "Report Schedule execution failed when generating a screenshot.": [""],
-      "Report Schedule execution got an unexpected error.": [""],
-      "Report Schedule is still working, refusing to re-compute.": [""],
-      "Report Schedule reached a working timeout.": [""],
-      "Alert query returned more then one row.": [""],
+        "表 \"%(table_name)s\" 不存在。必须使用有效的表来运行此查询。"
+      ],
+      "Deleted %(num)d saved query": ["已经删除 %(num)d 个保存的查询"],
+      "Saved queries could not be deleted.": ["保存的查询无法被删除"],
+      "Saved query not found.": ["保存的查询未找到"],
+      "Deleted %(num)d report schedule": ["已经删除了 %(num)d 个报告时间表"],
+      "Alert query returned more then one row. %s rows returned": [
+        "警报查询返回了多行。%s 行被返回"
+      ],
+      "Alert query returned more then one column. %s columns returned": [
+        "警报查询返回多个列。%s 列被返回"
+      ],
+      "Dashboard does not exist": ["看板不存在"],
+      "Chart does not exist": ["图表没有找到"],
+      "Database is required for alerts": ["警报需要数据库"],
+      "Type is required": ["类型是必需的"],
+      "Choose a chart or dashboard not both": [
+        "选择图表或看板,不能都全部选择"
+      ],
+      "Report Schedule parameters are invalid.": ["报表计划参数无效。"],
+      "Report Schedule could not be deleted.": ["无法删除报表计划。"],
+      "Report Schedule could not be created.": ["无法创建报表计划。"],
+      "Report Schedule could not be updated.": ["无法更新报表计划。"],
+      "Report Schedule not found.": ["找不到报表计划。"],
+      "Report Schedule delete failed.": ["报表计划删除失败。"],
+      "Report Schedule log prune failed.": ["报表计划日志精简失败。"],
+      "Report Schedule execution failed when generating a screenshot.": [
+        "生成屏幕截图时报表计划执行失败。"
+      ],
+      "Report Schedule execution got an unexpected error.": [
+        "报表计划执行遇到意外错误。"
+      ],
+      "Report Schedule is still working, refusing to re-compute.": [
+        "报表计划仍在运行,拒绝重新计算。"
+      ],
+      "Report Schedule reached a working timeout.": ["报表计划已超时。"],
+      "Alert query returned more then one row.": ["警报查询返回了多行。"],
       "Alert validator config error.": ["错误的经纬度配置。"],
-      "Alert query returned more then one column.": [""],
-      "Alert query returned a non-number value.": [""],
-      "Alert found an error while executing a query.": [""],
-      "Alert fired during grace period.": [""],
-      "Alert ended grace period.": [""],
-      "Alert on grace period": [""],
-      "Report Schedule sellenium user not found": [""],
-      "Report Schedule state not found": [""],
-      "Report schedule unexpected error": ["意外错误。"],
-      "Changing this report is forbidden": [""],
-      "An error occurred while pruning logs ": ["渲染可视化时发生错误:%s"],
+      "Alert query returned more then one column.": ["警报查询返回多个列。"],
+      "Alert query returned a non-number value.": ["警报查询返回非数字值。"],
+      "Alert found an error while executing a query.": [
+        "警报在执行查询时发现错误。"
+      ],
+      "Alert fired during grace period.": ["在宽限期内触发警报。"],
+      "Alert ended grace period.": ["警报已结束宽限期。"],
+      "Alert on grace period": ["警报宽限期"],
+      "Report Schedule sellenium user not found": [
+        "找不到报表计划sellenium用户"
+      ],
+      "Report Schedule state not found": ["未找到报表计划状态"],
+      "Report schedule unexpected error": ["报告计划意外错误。"],
+      "Changing this report is forbidden": ["禁止更改此报告"],
+      "An error occurred while pruning logs ": ["精简日志时出错 "],
       "\n            <b><a href=\"%(url)s\">Explore in 
Superset</a></b><p></p>\n            <img src=\"cid:%(msgid)s\">\n            
": [
-        ""
+        "\n            <b><a href=\"%(url)s\">探索 Superset</a></b><p></p>\n     
       <img src=\"cid:%(msgid)s\">\n            "
       ],
       "%(prefix)s %(title)s": [""],
       "\n            *%(name)s*\n\n            <%(url)s|Explore in Superset>\n 
           ": [
-        ""
+        "\n            *%(name)s*\n\n            <%(url)s|探索 Superset>\n       
     "
       ],
       "\n        *%(name)s*\n\n        <%(url)s|Explore in Superset>\n        
": [
-        ""
+        "\n        *%(name)s*\n\n        <%(url)s|探索 Superset>\n        "
+      ],
+      "<b><a href=\"%(url)s\">Explore in Superset</a></b><p></p>": [
+        "<b><a href=\"%(url)s\">探索 Superset</a></b><p></p>"
       ],
-      "<b><a href=\"%(url)s\">Explore in Superset</a></b><p></p>": [""],
       "%(name)s.csv": [""],
       "\n        *%(slice_name)s*\n\n        
<%(slice_url_user_friendly)s|Explore in Superset>\n        ": [
-        ""
+        "\n        *%(slice_name)s*\n\n        <%(slice_url_user_friendly)s|探索 
Superset>\n        "
       ],
-      "[Alert] %(label)s": ["标记标签"],
-      "New": [""],
-      "SQL Query": ["保存查询"],
+      "[Alert] %(label)s": ["[警报] %(label)s"],
+      "New": ["新增"],
+      "SQL Query": ["SQL查询"],
       "Chart": ["图表"],
       "Dashboard": ["看板"],
       "Profile": ["用户信息"],
-      "Info": [""],
+      "Info": ["信息"],
       "Logout": ["退出"],
       "Login": ["登录"],
       "Record Count": ["记录数"],
       "No records found": ["没有找到任何记录"],
       "Filter List": ["过滤"],
       "Search": ["搜索"],
       "Refresh": ["刷新间隔"],
-      "Import dashboards": ["仪表盘导入"],
-      "Import Dashboard(s)": ["导入仪表盘"],
-      "File": ["CSV文件"],
-      "Choose File": ["CSV文件"],
-      "Upload": ["上传CSV文件"],
+      "Import dashboards": ["导入看板"],
+      "Import Dashboard(s)": ["导入看板"],
+      "File": ["文件"],
+      "Choose File": ["选择文件"],
+      "Upload": ["上传"],
       "No Access!": ["不能访问!"],
       "You do not have permissions to access the datasource(s): %(name)s.": [
-        "您没有权限访问数据源(s): %(name)s。"
+        "您没有权限访问该数据源: %(name)s。"
       ],
       "Request Permissions": ["请求权限"],
       "Cancel": ["取消"],
-      "Use the edit buttom to change this field": [""],
+      "Use the edit buttom to change this field": ["使用编辑按钮更改此字段"],
       "Test Connection": ["测试连接"],
       "[Superset] Access to the datasource %(name)s was granted": [
         "[Superset] 允许访问数据源 %(name)s"
       ],
-      "Unable to find such a holiday: [{}]": [""],
-      "Referenced columns not available in DataFrame.": [""],
-      "Column referenced by aggregate is undefined: %(column)s": [""],
-      "Operator undefined for aggregator: %(name)s": [""],
-      "Invalid numpy function: %(operator)s": [""],
-      "Pivot operation requires at least one index": [""],
-      "Pivot operation must include at least one aggregate": [""],
-      "Undefined window for rolling operation": [""],
-      "Invalid rolling_type: %(type)s": [""],
-      "Invalid options for %(rolling_type)s: %(options)s": [""],
-      "Invalid cumulative operator: %(operator)s": [""],
-      "Invalid geohash string": [""],
-      "Invalid longitude/latitude": ["经纬度结束"],
-      "Invalid geodetic string": [""],
-      "`fbprophet` package not installed": [""],
-      "Time grain missing": ["时间的粒度"],
-      "Unsupported time grain: %(time_grain)s": [""],
-      "Periods must be a positive integer value": [""],
-      "Confidence interval must be between 0 and 1 (exclusive)": [""],
-      "DataFrame must include temporal column": [""],
-      "DataFrame include at least one series": ["请至少选择一个指标"],
+      "Unable to find such a holiday: [{}]": ["找不到这样的假期:[{}]"],
+      "Referenced columns not available in DataFrame.": [
+        "引用的列在DataFrame中不可用。"
+      ],
+      "Column referenced by aggregate is undefined: %(column)s": [
+        "聚合引用的列未定义:%(column)s"
+      ],
+      "Operator undefined for aggregator: %(name)s": [
+        "未定义聚合器的运算符:%(name)s"
+      ],
+      "Invalid numpy function: %(operator)s": ["无效的numpy函数:%(operator)s"],
+      "Pivot operation requires at least one index": [
+        "透视操作至少需要一个索引"
+      ],
+      "Pivot operation must include at least one aggregate": [
+        "数据透视操作必须至少包含一个聚合"
+      ],
+      "Undefined window for rolling operation": ["未定义滚动操作窗口"],
+      "Invalid rolling_type: %(type)s": ["无效的滚动类型:%(type)s"],
+      "Invalid options for %(rolling_type)s: %(options)s": [
+        "%(rolling_type)s 的选项无效:%(options)s"
+      ],
+      "Invalid cumulative operator: %(operator)s": [
+        "累积运算符无效:%(operator)s"
+      ],
+      "Invalid geohash string": ["无效的geohash字符串"],
+      "Invalid longitude/latitude": ["无效的经度/纬度"],
+      "Invalid geodetic string": ["无效的 geodetic 字符串"],
+      "`fbprophet` package not installed": ["未安装程序包 `fbprophet`"],
+      "Time grain missing": ["时间粒度缺失"],
+      "Unsupported time grain: %(time_grain)s": [
+        "不支持的时间粒度:%(time_grain)s"
+      ],
+      "Periods must be a positive integer value": ["句点必须是正整数值"],
+      "Confidence interval must be between 0 and 1 (exclusive)": [
+        "置信区间必须介于0和1(不包含1)之间"
+      ],
+      "DataFrame must include temporal column": ["数据集必须包含时间列"],

Review comment:
       any reasons why DataFrame has different translations? 




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to