Skip to content

Commit 562f037

Browse files
committed
十字线 i18n
1 parent f8020d2 commit 562f037

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

src/editor/options.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
class="input"
1212
></s-switch>
1313

14-
<span class="label">悬浮十字线</span>
14+
<span class="label">{{ t("options.crosshair.title") }}</span>
1515
<div class="input checkboxes">
1616
<s-checkbox v-model.lazy="profile.options.tip.yLine" type="checkbox">
17-
横线
17+
{{ t("options.crosshair.horizontal") }}
1818
</s-checkbox>
1919
<s-checkbox v-model.lazy="profile.options.tip.xLine" type="checkbox">
20-
竖线
20+
{{ t("options.crosshair.vertical") }}
2121
</s-checkbox>
2222
</div>
2323

src/i18n/en-US.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,11 @@
121121
"linear": "Linear",
122122
"log": "Logarithmic",
123123
"caption": "Axis Caption"
124+
},
125+
"crosshair": {
126+
"title": "Crosshair on Hover",
127+
"horizontal": "Horizontal",
128+
"vertical": "Vertical"
124129
}
125130
},
126131
"graph": {

src/i18n/zh-CN.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,11 @@
121121
"linear": "线性",
122122
"log": "对数",
123123
"caption": "轴标题"
124+
},
125+
"crosshair": {
126+
"title": "悬浮十字线",
127+
"horizontal": "横线",
128+
"vertical": "竖线"
124129
}
125130
},
126131
"graph": {

0 commit comments

Comments
 (0)