Add command bar tooltips

This commit is contained in:
2022-02-27 21:03:32 +08:00
parent 57b13b551f
commit 7cd501c780
7 changed files with 126 additions and 54 deletions
+10
View File
@@ -9,5 +9,15 @@ const EN_US = {
"Header.Bar.File.Save.Status.Unsaved": "UnSaved",
"Header.Bar.Fps": "FPS: {renderFps} | {physicsFps}",
"Header.Bar.Fps.Info": "The rendering frame rate ({renderFps} fps) is on the left, and the simulation frame rate ({physicsFps} fps) is on the right.",
"Command.Bar.Save.Info": "Save",
"Command.Bar.Play.Info": "Start simulation",
"Command.Bar.Drag.Info": "Drag and drop to move the camera",
"Command.Bar.Select.Info": "Select object",
"Command.Bar.Add.Group.Info": "Add group object",
"Command.Bar.Add.Range.Info": "Add scope object",
"Command.Bar.Add.Behavior.Info": "Add behavior object",
"Command.Bar.Add.Tag.Info": "Add label object",
"Command.Bar.Camera.Info": "Renderer settings",
"Command.Bar.Setting.Info": "Global Settings",
}
export default EN_US;
+10
View File
@@ -9,5 +9,15 @@ const ZH_CN = {
"Header.Bar.File.Save.Status.Unsaved": "未保存",
"Header.Bar.Fps": "帧率: {renderFps} | {physicsFps}",
"Header.Bar.Fps.Info": "左侧为渲染帧率 ({renderFps} fps), 右侧为模拟帧率 ({physicsFps} fps)。",
"Command.Bar.Save.Info": "保存",
"Command.Bar.Play.Info": "开始仿真",
"Command.Bar.Drag.Info": "拖拽进行视角移动",
"Command.Bar.Select.Info": "选择对象",
"Command.Bar.Add.Group.Info": "添加群对象",
"Command.Bar.Add.Range.Info": "添加范围对象",
"Command.Bar.Add.Behavior.Info": "添加行为对象",
"Command.Bar.Add.Tag.Info": "添加标签对象",
"Command.Bar.Camera.Info": "渲染器设置",
"Command.Bar.Setting.Info": "全局设置",
}
export default ZH_CN;