feat: 拓扑编辑页面多语言翻译

This commit is contained in:
TsMask
2024-01-05 10:22:17 +08:00
parent 7e2f404ba7
commit 6936355ed9
8 changed files with 922 additions and 406 deletions

View File

@@ -1024,6 +1024,158 @@ export default {
kbps: "Network entry/exit",
commandstats: "Command Statistics",
},
topologyBuild: {
graphMode: "Graph Model",
graphGroup: "Graph Group name",
graphGroupTip: "Graph data is updated when a graph group name already exists, and a new graph group is added when it does not.",
graphSave: "Save",
graphDelete: "Delete",
noData: "There is no group data at the moment, you can add a new group using [Graph Model - Edit].",
groupPlease: "Groups cannot be empty",
saveTtite: "Group Information Saving",
saveOk: "Saved group [{group}] successfully.",
saveFail: "Failed to save group [{group}].",
delTip: "Are you sure you want to delete the chart group named [{group}]?",
edgeTitleAdd: "Add Edge Info",
edgeTitleEdit: "Edit Edge Info",
nodeTitleAdd: "Add Node Info",
nodeTitleEdit: "Edit Node Info",
comboTitleAdd: "Add Combo Info",
comboTitleEdit: "Edit Combo Info",
comboFormParentId: "Parent Combo",
comboFormParentIdTip: "Place the current combo point into another combo box",
comboFormId: "Combo ID",
comboFormIdPlease: "Combo Unique ID",
comboFormIdNot: "Combo Element ID Error",
comboFormType: "Combo Type",
comboFormSize: "Minimum Size",
comboFormSizeCircle: "Radius",
comboFormSizeRect: "Length, height",
comboFormPadding: "Inner Margin",
comboFormPaddingRect: "Up, Left, Down, Right",
formStyleFill: "Filler Color",
formStyleFillOpacity: "Transparent Value",
formStyleStroke: "Trim Color",
formStyleLineWidth: "Trim Width",
comboFormChildren: "Element within Combo",
comboFormChildrenTip: "Elements include nodes and combo",
label: "Markup text and its configuration",
formLabel: "Label Text",
formLabelTip: "Text text, if there is none it will not be displayed",
formLabelStyleFill: "Text Color",
formLabelStyleFontSize: "Text Size",
formLabelRefX: "X Offset",
formLabelRefXTip: "The offset of the label in the x-direction",
formLabelRefY: "Y Offset",
formLabelRefYTip: "The offset of the label in the y-direction",
formLabelPosition: "Position",
comboFormLabelPosition: "Position of the label text relative to the position within the grouping",
nodeFormLabelPosition: "Position of the label text relative to the node",
edgeFormLabelPosition: "Position of label text relative to edge",
nodeFormLabelOffset: "Text Offset",
edgeFormLabelAutoRotate: "Follow the side rotation",
edgeFormLabelAutoRotateTip: "Whether the label text follows the side rotation",
edgeFormType: "Edge Type",
edgeFormTypePlease: "The edge type cannot be null",
edgeFormSource: "Start Element",
edgeFormSourcePlease: "Edge start element cannot be empty",
edgeFormTarget: "End Element",
edgeFormTargetPlease: "Edge end element cannot be empty",
edgeFormStartArrow: "Starting Arrow",
edgeFormStartArrowTip: "Default arrows are drawn at the beginning of edges",
edgeFormEndArrow: "Closing Arrow",
edgeFormEndArrowTip: "Default arrows are drawn at the end of edges",
nodeFormComboId: "Node Combo",
nodeFormComboIdTip: "Putting nodes into the combo box",
nodeFormId: "Node ID",
nodeFormIdPlease: "Node Unique ID",
nodeFormIdNot: "Node Element ID Error",
nodeFormType: "Node Type",
nodeFormX: "x Coordinate",
nodeFormY: "Y Coordinate",
nodeFormSize: "Node Size",
nodeFormSizeCircle: "Diameter, position of the center of the circle corresponding to the position of the node",
nodeFormSizeStar: "The size of the star, the center of the star is the position of the node.",
nodeFormSizeDonut: "Diameter, position of the center of the circle corresponding to the position of the node",
nodeFormSizeTriangle: "Side lengths, the center of the triangle is the position of the nodes.",
nodeFormSizeEllipse: "Long shaft diameter, short shaft diameter",
nodeFormSizeOhter: "Width, Height",
nodeFormDirection: "Direction",
nodeFormTypeImage: "Image",
nodeFormImg: "Image Source",
nodeFormClipShow: "Crop Feature",
nodeFormClipType: "Crop Image Shape",
nodeFormClipTypeCircle: "Radius of the clipped circle",
nodeFormClipTypeRectWidth: "Width of the clipping rectangle",
nodeFormClipTypeRectHeight: "Length of the clipping rectangle",
nodeFormClipTypeEllipseRx: "Radius of the long axis of the clipping ellipse",
nodeFormClipTypeEllipseRy: "Radius of the short axis of the clipped ellipse",
nodeFormClipX: "The x-coordinate of the cropped figure",
nodeFormClipY: "The y-coordinate of the cropped figure",
nodeFormIcon: "Icon",
nodeFormIconShow: "Does It Show",
nodeFormIconImg: "Icon Source",
nodeFormIconWidth: "Width",
nodeFormIconHeight: "Height",
nodeFormIconOffset: "Offset",
comboTypeCircle: "Circle",
comboTypeRect: "Rect",
comboLabelPositionTop: "Top",
comboLabelPositionLeft: "Left",
comboLabelPositionRight: "Right",
comboLabelPositionBottom: "Bottom",
comboLabelPositionCenter: "Center",
edgeFormIdPlease: "Edge Unique ID",
edgeFormIdNot: "Edge Element ID Error",
edgeTypeLine: "Straight line, a line connecting two nodes",
edgeTypePolyline: "Folding line, a line formed by multiple line segments connecting two endpoints",
edgeTypeArc: "Circular arc, a segment of a circular arc connecting two nodes",
edgeTypeQuadratic: "Second-order Bessel curves, curves with only one control point",
edgeTypeCubic: "Third-order Bessel curve with two control points",
edgeTypeCubicV: "Vertical third-order Bessel curve",
edgeTypeCubicH: "Horizontal third-order Bessel curve",
edgeTypeLoop: "Self-Loop",
edgeLabelPositionStart: "Start",
edgeLabelPositionMiddle: "Middle",
edgeLabelPositionEnd: "End",
nodeTypeCircle: "Circle",
nodeTypeRect: "Rect",
nodeTypeEllipse: "Ellipse",
nodeTypeDiamond: "Diamond",
nodeTypeTriangle: "Triangle",
nodeTypeStar: "Star",
nodeTypeImage: "Image",
nodeLabelPositionTop: "Top",
nodeLabelPositionLeft: "Left",
nodeLabelPositionRight: "Right",
nodeLabelPositionBottom: "Bottom",
nodeLabelPositionCenter: "Center",
nodeDirectionUp: "Up",
nodeDirectionDown: "Down",
nodeDirectionLeft: "Left",
nodeDirectionRight: "Right",
nodeImageClipCircle: "Circle",
nodeImageClipRect: "Rect",
nodeImageClipEllipse: "Ellipse",
nodeImageBase: "Base Stations",
nodeImageCloud: "Cloud",
nodeImageService: "Server",
nodeImageServiceDB: "Server Data",
graphModeDefault: "Default",
graphModeEdit: "Edit",
graphNotInfo: "no information",
graphMenuHide: "Hide",
graphMenuHideAllShow: "Show all hidden items",
graphMenuEdit: "Edit",
graphMenuDel: "Delete",
graphMenuAddEdge: "New Edge",
graphMenuAddNode: "New Node",
graphMenuAddCombo: "New Combo",
graphCanvas: "Canvas",
graphCombo: "Combo",
graphNode: "Node",
graphEdge: "Edge",
},
},
system:{
user: {

View File

@@ -1024,6 +1024,158 @@ export default {
kbps: "网络入口/出口",
commandstats: "命令统计",
},
topologyBuild: {
graphMode: "图模式",
graphGroup: "图组名",
graphGroupTip: "已存在图组名会更新图数据,不存在则新增图组",
graphSave: "保存",
graphDelete: "删除",
noData: "暂无图组数据,可使用【图模式-编辑】进行新增图组",
groupPlease: "图组不能为空",
saveTtite: "图组信息保存",
saveOk: "保存图组【{group}】成功",
saveFail: "保存图组【{group}】失败",
delTip: "确认要删除图组名为【{group}】的数据吗?",
edgeTitleAdd: "新增边信息编辑",
edgeTitleEdit: "边信息编辑",
nodeTitleAdd: "新增节点信息编辑",
nodeTitleEdit: "节点信息编辑",
comboTitleAdd: "新增分组信息编辑",
comboTitleEdit: "分组信息编辑",
comboFormParentId: "父分组",
comboFormParentIdTip: "将当前分组点放入到另一个分组框中",
comboFormId: "分组ID",
comboFormIdPlease: "分组唯一标识 ID",
comboFormIdNot: "分组元素ID错误",
comboFormType: "分组类型",
comboFormSize: "最小尺寸",
comboFormSizeCircle: "半径",
comboFormSizeRect: "长、高",
comboFormPadding: "内边距",
comboFormPaddingRect: "上、左、下、右",
formStyleFill: "填充色",
formStyleFillOpacity: "透明值",
formStyleStroke: "边颜色",
formStyleLineWidth: "边宽度",
comboFormChildren: "分组内元素",
comboFormChildrenTip: "元素包括节点和分组",
label: "标签文本及其配置",
formLabel: "标签文本",
formLabelTip: "文本文字,如果没有则不会显示",
formLabelStyleFill: "文本颜色",
formLabelStyleFontSize: "文本大小",
formLabelRefX: "x偏移",
formLabelRefXTip: "标签在 x 方向的偏移量",
formLabelRefY: "y偏移",
formLabelRefYTip: "标签在 y 方向的偏移量",
formLabelPosition: "位置",
comboFormLabelPosition: "标签文本相对于分组内的位置",
nodeFormLabelPosition: "标签文本相对于节点的位置",
edgeFormLabelPosition: "标签文本相对于边的位置",
nodeFormLabelOffset: "文本偏移",
edgeFormLabelAutoRotate: "跟随边旋转",
edgeFormLabelAutoRotateTip: "标签文字是否跟随边旋转",
edgeFormType: "边类型",
edgeFormTypePlease: "边类型不能为空",
edgeFormSource: "起始元素",
edgeFormSourcePlease: "边起始元素不能为空",
edgeFormTarget: "结束元素",
edgeFormTargetPlease: "边结束元素不能为空",
edgeFormStartArrow: "开始端箭头",
edgeFormStartArrowTip: "边的开始端绘制默认箭头",
edgeFormEndArrow: "结束端箭头",
edgeFormEndArrowTip: "边的结束端绘制默认箭头",
nodeFormComboId: "节点分组",
nodeFormComboIdTip: "将节点放入到分组框中",
nodeFormId: "节点ID",
nodeFormIdPlease: "节点唯一 ID",
nodeFormIdNot: "节点元素ID错误",
nodeFormType: "节点类型",
nodeFormX: "x 坐标",
nodeFormY: "Y 坐标",
nodeFormSize: "节点大小",
nodeFormSizeCircle: "直径, 圆心位置对应节点的位置",
nodeFormSizeStar: "星形的大小, 星星的中心位置是节点的位置",
nodeFormSizeDonut: "直径, 圆心位置对应节点的位置",
nodeFormSizeTriangle: "边长, 三角形的中心位置是节点的位置",
nodeFormSizeEllipse: "长轴直径、短轴直径",
nodeFormSizeOhter: "宽、高",
nodeFormDirection: "方向",
nodeFormTypeImage: "图片",
nodeFormImg: "图片来源",
nodeFormClipShow: "裁剪功能",
nodeFormClipType: "裁剪的图片形状",
nodeFormClipTypeCircle: "剪裁圆形的半径",
nodeFormClipTypeRectWidth: "剪裁矩形的宽度",
nodeFormClipTypeRectHeight: "剪裁矩形的长度",
nodeFormClipTypeEllipseRx: "剪裁椭圆的长轴半径",
nodeFormClipTypeEllipseRy: "剪裁椭圆的短轴半径",
nodeFormClipX: "裁剪图形的 x 坐标",
nodeFormClipY: "裁剪图形的 y 坐标",
nodeFormIcon: "图标",
nodeFormIconShow: "是否显示",
nodeFormIconImg: "图标来源",
nodeFormIconWidth: "宽度",
nodeFormIconHeight: "高度",
nodeFormIconOffset: "偏移",
comboTypeCircle: "圆形",
comboTypeRect: "矩形",
comboLabelPositionTop: "上",
comboLabelPositionLeft: "左",
comboLabelPositionRight: "右",
comboLabelPositionBottom: "下",
comboLabelPositionCenter: "居中",
edgeFormIdPlease: "边唯一 ID",
edgeFormIdNot: "边元素ID错误",
edgeTypeLine: "直线,连接两个节点的直线",
edgeTypePolyline: "折线,多段线段构成的折线,连接两个端点",
edgeTypeArc: "圆弧线,连接两个节点的一段圆弧",
edgeTypeQuadratic: "二阶贝塞尔曲线,只有一个控制点的曲线",
edgeTypeCubic: "三阶贝塞尔曲线,有两个控制点的曲线",
edgeTypeCubicV: "垂直方向的三阶贝塞尔曲线",
edgeTypeCubicH: "水平方向的三阶贝塞尔曲线",
edgeTypeLoop: "自环",
edgeLabelPositionStart: "开头",
edgeLabelPositionMiddle: "中间",
edgeLabelPositionEnd: "末尾",
nodeTypeCircle: "圆形",
nodeTypeRect: "矩形",
nodeTypeEllipse: "椭圆",
nodeTypeDiamond: "菱形",
nodeTypeTriangle: "三角形",
nodeTypeStar: "星形",
nodeTypeImage: "图片",
nodeLabelPositionTop: "上",
nodeLabelPositionLeft: "左",
nodeLabelPositionRight: "右",
nodeLabelPositionBottom: "下",
nodeLabelPositionCenter: "居中",
nodeDirectionUp: "向上",
nodeDirectionDown: "向下",
nodeDirectionLeft: "向左",
nodeDirectionRight: "向右",
nodeImageClipCircle: "圆形",
nodeImageClipRect: "矩形",
nodeImageClipEllipse: "椭圆",
nodeImageBase: "基站",
nodeImageCloud: "云",
nodeImageService: "服务器",
nodeImageServiceDB: "数据服务器",
graphModeDefault: "默认",
graphModeEdit: "编辑",
graphNotInfo: "无信息",
graphMenuHide: "隐藏",
graphMenuHideAllShow: "显示所有隐藏项",
graphMenuEdit: "编辑",
graphMenuDel: "删除",
graphMenuAddEdge: "新增边",
graphMenuAddNode: "新增节点",
graphMenuAddCombo: "新增分组",
graphCanvas: "画布",
graphCombo: "分组",
graphNode: "节点",
graphEdge: "边",
},
},
system:{
user:{