Skip to content

Commit bf2c65a

Browse files
committed
调整文案
1 parent 5d3ac4d commit bf2c65a

2 files changed

Lines changed: 17 additions & 13 deletions

File tree

src/components/nav.vue

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,19 @@
2727
<s-picker-item value="zh-CN" selected>简体中文</s-picker-item>
2828
<s-picker-item value="en-US">English</s-picker-item>
2929
</s-picker>
30-
31-
<s-icon-button slot="action" @click="openGithub">
32-
<s-icon>
33-
<svg data-v-afeea289="" viewBox="0 0 1024 1024">
34-
<path
35-
data-v-afeea289=""
36-
d="M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9 23.5 23.2 38.1 55.4 38.1 91v112.5c0.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z"
37-
></path>
38-
</svg>
39-
</s-icon>
40-
</s-icon-button>
30+
<s-tooltip slot="action">
31+
<s-icon-button slot="trigger" @click="openGithub">
32+
<s-icon>
33+
<svg data-v-afeea289="" viewBox="0 0 1024 1024">
34+
<path
35+
data-v-afeea289=""
36+
d="M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9 23.5 23.2 38.1 55.4 38.1 91v112.5c0.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z"
37+
></path>
38+
</svg>
39+
</s-icon>
40+
</s-icon-button>
41+
{{ t("buttons.repo") }}
42+
</s-tooltip>
4143
</s-appbar>
4244
</template>
4345

src/i18n.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ export default createI18n({
1515
hide: "隐藏",
1616
cancel: "取消",
1717
confirm: "确定",
18+
language: "语言",
19+
repo: "GitHub 仓库",
1820
},
1921
graphType: {
2022
interval: "默认",
@@ -32,7 +34,6 @@ export default createI18n({
3234
text: "文本",
3335
},
3436
inputs: {
35-
language: "语言",
3637
fnType: "图形类型",
3738
graphType: "渲染方式",
3839
fn: "函数",
@@ -65,6 +66,8 @@ export default createI18n({
6566
hide: "Hide",
6667
cancel: "Cancel",
6768
confirm: "Confirm",
69+
language: "Language",
70+
repo: "GitHub Repo",
6871
},
6972
graphType: {
7073
interval: "Interval",
@@ -82,7 +85,6 @@ export default createI18n({
8285
text: "Text",
8386
},
8487
inputs: {
85-
language: "Language",
8688
fnType: "Plot type",
8789
graphType: "Renderer",
8890
fn: "Function",

0 commit comments

Comments
 (0)