forked from Linho1219/function-plot-GUI
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathi18n.ts
More file actions
109 lines (109 loc) · 2.68 KB
/
i18n.ts
File metadata and controls
109 lines (109 loc) · 2.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
import { createI18n } from "vue-i18n";
export default createI18n({
legacy: false,
locale: "zh-CN",
messages: {
"zh-CN": {
buttons: {
add: "添加",
import: "导入",
del: "删除",
expand: "展开",
collapse: "收起",
reset: "重载",
addPoint: "添加点",
hide: "隐藏",
cancel: "取消",
confirm: "确定",
language: "语言",
repo: "GitHub 仓库",
},
graphType: {
interval: "默认",
polyline: "多段线",
scatter: "散点",
text: "文本",
},
fnType: {
linear: "一般",
implicit: "隐函数",
parametric: "参数方程",
polar: "极坐标",
points: "点集",
vector: "向量",
text: "文本",
},
inputs: {
fnType: "图形类型",
graphType: "渲染方式",
fn: "函数",
range: "范围",
color: "颜色",
colorPlaceholder: "RGB / HEX / 颜色名称",
nSamples: "采样数",
nSamplesPlaceholder: "默认值为宽度",
closed: "闭合并填充",
vectorValue: "向量大小",
vectorOffset: "起点坐标",
location: "位置",
},
title: {
output: "输出代码",
source: "数据源",
importSuccess: "导入成功",
importFail: "导入失败",
},
},
"en-US": {
buttons: {
add: "Add",
import: "Import",
del: "Delete",
expand: "Expand",
collapse: "Collapse",
reset: "Reload",
addPoint: "Add Point",
hide: "Hide",
cancel: "Cancel",
confirm: "Confirm",
language: "Language",
repo: "GitHub Repo",
},
graphType: {
interval: "Interval",
polyline: "Polyline",
scatter: "Scattered",
text: "Text",
},
fnType: {
linear: "Linear",
implicit: "Implicit",
parametric: "Parametric",
polar: "Polar",
points: "Points",
vector: "Vector",
text: "Text",
},
inputs: {
fnType: "Plot type",
graphType: "Renderer",
fn: "Function",
range: "Range",
color: "Color",
colorPlaceholder: "RGB / HEX / Color name",
nSamples: "Samples",
nSamplesPlaceholder: "Default to width",
closed: "Close and fill",
vectorValue: "Size",
vectorOffset: "Offset",
location: "Location",
},
title: {
output: "Output code",
source: "Data Source",
importSuccess: "Import success",
importFail: "Import failed",
},
},
},
});