Skip to content

Commit ba1df11

Browse files
boltomlibyronz
andauthored
Apply suggestions from code review
Co-Authored-By: Byron Zhu <byronz@users.noreply.github.com>
1 parent d49d993 commit ba1df11

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

lib/locales/zh-cn.js

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module.exports = {
1313
name: 'zh-CN',
1414
dictionary: {
1515
'Autoscale': '自动缩放', // components/modebar/buttons.js:139
16-
'Box Select': '矩形选择', // components/modebar/buttons.js:103
16+
'Box Select': '矩形框选',
1717
'Click to enter Colorscale title': '点击输入色阶的标题', // plots/plots.js:437
1818
'Click to enter Component A title': '点击输入组件 A 的标题', // plots/ternary/ternary.js:386
1919
'Click to enter Component B title': '点击输入组件 B 的标题', // plots/ternary/ternary.js:400
@@ -24,23 +24,23 @@ module.exports = {
2424
'Compare data on hover': '悬停时比较数据', // components/modebar/buttons.js:167
2525
'Double-click on legend to isolate one trace': '双击图例来突显对应轨迹',
2626
'Double-click to zoom back out': '双击返回缩小显示', // plots/cartesian/dragbox.js:299
27-
'Download plot as a png': '下载图表为 PNG', // components/modebar/buttons.js:52
27+
'Download plot as a png': '下载图表为PNG格式',
2828
'Download plot': '下载图表', // components/modebar/buttons.js:53
2929
'Edit in Chart Studio': '在 Chart Studio 中编辑', // components/modebar/buttons.js:76
3030
'IE only supports svg. Changing format to svg.': 'IE 只支持 SVG。转换格式为 SVG。', // components/modebar/buttons.js:60
3131
'Lasso Select': '套索选择', // components/modebar/buttons.js:112
3232
'Orbital rotation': '轨道旋转', // components/modebar/buttons.js:279
33-
'Pan': '扩大', // components/modebar/buttons.js:94
33+
'Pan': '平移',
3434
'Produced with Plotly': '由 Plotly 生成', // components/modebar/modebar.js:256
3535
'Reset': '重置', // components/modebar/buttons.js:432
3636
'Reset axes': '重置轴', // components/modebar/buttons.js:148
37-
'Reset camera to default': '重置镜头到默认', // components/modebar/buttons.js:314
38-
'Reset camera to last save': '重置镜头到最后一次保存', // components/modebar/buttons.js:322
37+
'Reset camera to default': '重置镜头视角为默认状态',
38+
'Reset camera to last save': '重置镜头视角为上次保存状态',
3939
'Reset view': '重置视图', // components/modebar/buttons.js:583
4040
'Reset views': '重置视图', // components/modebar/buttons.js:529
4141
'Show closest data on hover': '悬停时显示最近的数据', // components/modebar/buttons.js:157
4242
'Snapshot succeeded': '生成快照成功', // components/modebar/buttons.js:66
43-
'Sorry, there was a problem downloading your snapshot!': '对不起,下载快照出现问题!', // components/modebar/buttons.js:69
43+
'Sorry, there was a problem downloading your snapshot!': '抱歉,下载快照出现问题!'
4444
'Taking snapshot - this may take a few seconds': '正在生成快照 - 可能需要几秒钟', // components/modebar/buttons.js:57
4545
'Zoom': '缩放', // components/modebar/buttons.js:85
4646
'Zoom in': '放大', // components/modebar/buttons.js:121
@@ -53,23 +53,23 @@ module.exports = {
5353
'q3:': '第三四分位数:', // traces/box/calc.js:131
5454
'source:': '源:', // traces/sankey/plot.js:140
5555
'target:': '目标:', // traces/sankey/plot.js:141
56-
'lower fence:': 'Fence 的下限:', // traces/box/calc.js:134
57-
'upper fence:': 'Fence 的上限:', // traces/box/calc.js:135
58-
'max:': '最大:', // traces/box/calc.js:132
59-
'mean ± σ:': '平均 ± σ:', // traces/box/calc.js:133
60-
'mean:': '平均:', // traces/box/calc.js:133
61-
'median:': '中位:', // traces/box/calc.js:128
62-
'min:': '最小:', // traces/box/calc.js:129
63-
'Turntable rotation': '按轴旋转:', // components/modebar/buttons.js:288
56+
'lower fence:': '内侧栏(lower fence):',
57+
'upper fence:': '外侧栏(upper fence):',
58+
'max:': '最大值:',
59+
'mean ± σ:': '平均数 ± 标准差σ:',
60+
'mean:': '平均数:',
61+
'median:': '中位数:',
62+
'min:': '最小值:',
63+
'Turntable rotation': '旋转转盘:',
6464
'Toggle Spike Lines': '切换显示数据点辅助线(Spike Lines)',
6565
'open:': '开:', // traces/ohlc/transform.js:136
6666
'high:': '高:', // traces/ohlc/transform.js:137
6767
'low:': '低:', // traces/ohlc/transform.js:138
68-
'Toggle show closest data on hover': '悬停时是否显示最近的数据', // components/modebar/buttons.js:353
68+
'Toggle show closest data on hover': '切换悬停时显示最近的数据点',
6969
'incoming flow count:': '流入数量:', // traces/sankey/plot.js:142
7070
'outgoing flow count:': '流出数量:', // traces/sankey/plot.js:143
7171
'kde:': 'kde:', // traces/violin/calc.js:73
72-
'Click to enter radial axis title': '点击输入放射轴标题',
72+
'Click to enter radial axis title': '点击输入径向轴标题',
7373
'new text': '新建文本'
7474
},
7575
format: {

0 commit comments

Comments
 (0)