123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478 |
- /**
- * base.js
- *
- * @author realor
- */
- export const translations = {
- 'button.accept': '确定',
- 'button.cancel': '取消',
- 'button.delete': '删除',
- 'button.edit': '编辑',
- 'button.open': '打开',
- 'button.close': '关闭',
- 'button.create': '创建',
- 'button.save': '保存',
- 'button.add': '添加',
- 'button.maximize': '最大',
- 'button.minimize': '最小',
- 'button.upload': '上传',
- 'button.download': '下载',
- 'button.folder': '文件夹',
- 'button.connect': '连接',
- 'button.new': '新建',
- 'button.setup': 'Setup',
- 'button.search': '搜索',
- 'button.back': '返回',
- 'button.home': '首页',
- 'button.view': '视图',
- 'button.restore': '还原',
- 'button.rename': '重命名',
- 'button.apply': '应用',
- 'button.print': '打印',
- 'button.export': '导出',
- 'button.preview': '预览',
- 'button.undo': '撤销',
- 'button.redo': '恢复',
- 'button.run': '运行',
- 'button.yes': '确定',
- 'button.no': '取消',
- 'button.discard': 'Discard',
- 'button.optimize': 'Optimize',
- 'button.editor': 'Editor',
- 'button.clear': '清除',
- 'button.list': '列表',
- 'button.next': '上一页',
- 'button.previous': '下一页',
- 'button.preview_material': 'Preview material',
- 'button.apply_material': 'Apply material',
- 'button.restore_materials': 'Restore materials',
- 'button.material_usage': '使用',
- 'button.select': '选择',
- 'button.anchor_section': 'Anchor section',
- 'button.add_property': 'Add property',
- 'button.edit_properties': 'Edit properties',
- 'button.add_formula': 'Add formula',
- 'button.add_controller': 'Add controller',
- 'button.remove_controller': 'Remove controller',
- 'button.start_controller': 'Start controller',
- 'button.stop_controller': 'Stop controller',
- 'button.object_builder': 'Object builder',
- 'button.change_material': 'Change material',
- 'button.finish': '完成',
- 'button.make_profile': '合成',
- 'button.change_axis': 'Change axis',
- 'button.menu_show': '菜单',
- 'button.menu_hide': '关闭',
- 'units.km': '千米',
- 'units.m': '米',
- 'units.cm': '厘米',
- 'units.mm': '毫米',
- 'units.in': '英尺',
- 'menu.file': '文件',
- 'menu.edit': '编辑',
- 'menu.view': '查看',
- 'menu.view.standard_view': '标准视图',
- 'menu.view.style': '样式',
- 'menu.view.projection': '投影',
- 'menu.select': '选择',
- 'menu.design': '设计',
- 'menu.design.add': '添加',
- 'menu.design.add_solid': 'Solid',
- 'menu.design.add_profile': 'Profile',
- 'menu.design.add_cord': 'Cord',
- 'menu.design.boolean_operation': 'Boolean operation',
- 'menu.design.geometry': 'Geometry tools',
- 'menu.design.transform': '变换',
- 'menu.measure': '测量',
- 'menu.control': '控制',
- 'menu.panels': '面板',
- 'menu.help': '帮助',
- 'tool.new_scene.label': '新建场景',
- 'tool.new_scene.help': '新建场景',
- 'tool.cloud_explorer.label': 'Cloud explorer',
- 'tool.cloud_explorer.help': 'Cloud explorer',
- 'tool.openlocal.label': '打开本地文件',
- 'tool.openlocal.help': '打开本地文件',
- 'tool.savelocal.label': '保存到本地',
- 'tool.savelocal.help': '保存到本地',
- 'tool.select.label': '选择',
- 'tool.select.help': '点击选择',
- 'tool.select_by_name.label': 'Select by name',
- 'tool.select_by_property.label': 'Select by property',
- 'tool.select_by_qrcode.label': 'Select by QR code',
- 'tool.select_parent.label': '选择父级',
- 'tool.export_selection.label': 'Export selection',
- 'tool.options.label': '选项',
- 'tool.print.label': '打印',
- 'tool.print.help': '打印PDF',
- 'tool.svg_exporter.label': '导出SVG',
- 'tool.draw.label': '画笔',
- 'tool.draw.add_vertex': 'Add vertex to the cord.',
- 'tool.draw.first_vertex': 'Draw the first vertex of the cord.',
- 'tool.draw.select_vertex': 'Select vertex to move or insert.',
- 'tool.draw.vertex_destination': 'Select new vertex position.',
- 'tool.measure_length.label': '测量',
- 'tool.measure_length.help': '测量',
- 'tool.measure_selection.label': '测量选中',
- 'tool.rebuild.label': 'Rebuild',
- 'tool.paint.label': '笔刷',
- 'tool.move.label': '移动',
- 'tool.move.select_anchor_point': '选择锚点.',
- 'tool.move.select_destination_point': '选择目标点.',
- 'tool.move.edit_offset': '编辑旋转或选择定位点.',
- 'tool.rotate.label': '旋转',
- 'tool.rotate.select_first_point': '选择旋转轴的第一个点.',
- 'tool.rotate.select_second_point': '选择旋转轴的第二个点.',
- 'tool.rotate.select_anchor_point': '选择锚点.',
- 'tool.rotate.select_destination_point': '选择目标点.',
- 'tool.rotate.edit_rotation': '编辑旋转或选择定位点.',
- 'tool.scale.label': '缩放',
- 'tool.scale.select_first_point': '选择原点.',
- 'tool.scale.select_anchor_point': '选择锚点.',
- 'tool.scale.select_destination_point': '选择目标点.',
- 'tool.scale.edit_scale': '编辑旋转或选择定位点.',
- 'tool.place.label': '定位',
- 'tool.place.help': '选择一个位置来放置对象.',
- 'tool.extrude.label': 'Extrude',
- 'tool.extrude.drag_pointer': 'Drag the pointer to extrude the selected object dinamically.',
- 'tool.extrude.select_object': 'Select profile or solid to extrude.',
- 'tool.revolve.label': 'Revolve',
- 'tool.revolve.set_axis_first_point': 'Set the first point of the axis of revolution.',
- 'tool.revolve.set_axis_second_point': 'Set the second point of the axis of revolution.',
- 'tool.revolve.drag_pointer': 'Drag pointer to revolve the selected object dinamically.',
- 'tool.revolve.select_object': 'Select profile or solid to revolve.',
- 'tool.union.label': 'Union',
- 'tool.intersection.label': 'Intersection',
- 'tool.subtraction.label': 'Subtraction',
- 'tool.mesh_to_solid.label': 'Mesh to Solid',
- 'tool.solid_to_mesh.label': 'Solid to Mesh',
- 'tool.merge_geometries.label': 'Merge geometries',
- 'tool.clip.label': 'Clip',
- 'tool.script.label': 'Scripts',
- 'tool.script.name': 'Script:',
- 'tool.orbit.label': '动态观察',
- 'tool.orbit.help': 'Rotate: drag with left button, Pan: drag with right button or 2 pointers, Zoom: spin wheel, drag with middle button or zoom with 2 pointers.',
- 'tool.auto_orbit.label': 'Auto orbit',
- 'tool.auto_orbit.help': 'Auto orbit',
- 'tool.fly.label': 'Fly',
- 'tool.fly.forward': 'Move forward',
- 'tool.fly.backward': 'Move backward',
- 'tool.fly.rotateLeft': 'Rotate left',
- 'tool.fly.rotateRight': 'Rotate right',
- 'tool.fly.ascend': 'Ascend',
- 'tool.fly.descend': 'Descend',
- 'tool.fly.moveLeft': 'Move left',
- 'tool.fly.moveRight': 'Move right',
- 'tool.fly.lookUp': 'Look up',
- 'tool.fly.lookDown': 'Look down',
- 'tool.fly.options': 'Fly options',
- 'tool.fly.detect_collision': 'Detect collision',
- 'tool.fly.stick_control': 'Stick control',
- 'tool.fly.ground_distance_control': 'Ground distance control',
- 'tool.fly.ground_distance': 'Ground distance:',
- 'tool.view.label': '视图',
- 'tool.section.label': '裁剪',
- 'tool.section.help': '点击“面”以选择剪裁平面。拖动指针或旋转滚轮以偏移剪裁平面.',
- 'tool.add_object.label': 'Add object',
- 'tool.add_box.label': 'Box',
- 'tool.add_cylinder.label': 'Cylinder',
- 'tool.add_sphere.label': 'Sphere',
- 'tool.add_spring.label': 'Spring',
- 'tool.add_group.label': 'Group',
- 'tool.add_rectangle.label': 'Rectangle',
- 'tool.add_circle.label': 'Circle',
- 'tool.add_ellipse.label': 'Ellipse',
- 'tool.add_trapezium.label': 'Trapezium',
- 'tool.add_iprofile.label': 'I Profile',
- 'tool.add_lprofile.label': 'L Profile',
- 'tool.add_tprofile.label': 'T Profile',
- 'tool.add_uprofile.label': 'U Profile',
- 'tool.add_zprofile.label': 'Z Profile',
- 'tool.add_helicoid.label': 'Helicoid',
- 'tool.add_sprite.label': 'Sprite',
- 'tool.view.top': '上',
- 'tool.view.front': '前',
- 'tool.view.back': '后',
- 'tool.view.left': '左',
- 'tool.view.right': '右',
- 'tool.remove.label': '移除',
- 'tool.clone.label': '复制',
- 'tool.cloner.label': 'Cloner',
- 'tool.cut.label': '剪切',
- 'tool.paste.label': '粘贴',
- 'tool.show.label': '显示',
- 'tool.hide.label': '隐藏',
- 'tool.faces_style.label': '面',
- 'tool.edges_style.label': '线',
- 'tool.faces_edges_style.label': '面 & 线',
- 'tool.hidden_style.label': '隐藏',
- 'tool.activate_camera.label': '激活相机',
- 'tool.perspective.label': '透视',
- 'tool.orthographic.label': '正交',
- 'tool.zoom_all.label': '适应屏幕',
- 'tool.fullscreen.label': '全屏',
- 'tool.center_selection.label': 'Center selection',
- 'tool.focus_selection.label': 'Focus on selection',
- 'tool.inspect_geometry.label': 'Inspect geometry',
- 'tool.reset_matrix.label': 'Reset matrix',
- 'tool.smooth_edges.label': 'Smooth edges',
- 'tool.start_controllers.label': 'Start controllers',
- 'tool.stop_controllers.label': 'Stop controllers',
- 'tool.outliner.label': '大纲查看器',
- 'tool.outliner.help': '大纲查看器',
- 'tool.inspector.label': '对象查看器',
- 'tool.inspector.help': '对象查看器',
- 'tool.statistics.label': '性能查看器',
- 'tool.statistics.help': '性能查看器',
- 'tool.inspect_geometry.help': 'Select geometry to inspect',
- 'tool.about.label': 'About',
- 'label.language': '语言:',
- 'label.units': '模型单位:',
- 'label.decimals': '小数点位数:',
- 'label.fr_divisor': '帧率因子:',
- 'label.sel_paint_mode': '绘画模式:',
- 'label.show_deep_sel': '显示深度选择',
- 'label.show_local_axes': '显示坐标轴',
- 'label.background_color': '背景色:',
- 'label.panel_opacity': '面板透明度:',
- 'label.cast_shadows': '投射阴影',
- 'label.service_type': 'Service type:',
- 'label.service_name': 'Service name:',
- 'label.service_desc': 'Service description:',
- 'label.service_url': 'URL:',
- 'label.service_user': 'Username:',
- 'label.service_pass': 'Password:',
- 'label.section_color': '切面颜色:',
- 'label.smooth_angle': 'Smooth angle:',
- 'label.offset': '偏移:',
- 'label.rotation': '旋转 (degrees):',
- 'label.length': '长度:',
- 'label.scale_factor': 'Scale factor:',
- 'label.scale_keep_proportions': 'Keep proportions',
- 'label.depth': '深度:',
- 'label.place_mode': '模型:',
- 'label.name': '名称:',
- 'label.format': '格式:',
- 'label.save_selection': '保存已选中',
- 'label.username': 'Username:',
- 'label.password': 'Password:',
- 'label.folder_name': 'Folder name:',
- 'label.property_name': 'Property name:',
- 'label.property_type': 'Property type:',
- 'label.property_value': 'Property value:',
- 'label.properties': 'Properties (JSON):',
- 'label.formula.path': 'Property:',
- 'label.formula.expression': 'Expression:',
- 'label.print_title': 'Title:',
- 'label.print_scale': 'Scale 1:',
- 'label.svg_exporter_title': 'Title:',
- 'label.selection_by_properties': 'Properties:',
- 'label.expression': 'Expression:',
- 'label.selection_properties': 'Selection properties:',
- 'label.exported_properties': 'Properties to export:',
- 'label.material_list': '材质:',
- 'label.color': '漫反射颜色:',
- 'label.specular': '镜面反射颜色:',
- 'label.emissive': '自发光颜色:',
- 'label.material_side': 'Applied to:',
- 'label.front_side': 'Front side',
- 'label.back_side': 'Back side',
- 'label.double_side': 'Double side',
- 'label.depth_test': 'Depth test',
- 'label.depth_write': 'Depth write',
- 'label.opacity': opacity => `Opacity: ${opacity}%`,
- 'label.material_name': 'Name:',
- 'label.material_on_selection': 'On selection',
- 'label.on_vertex': 'On vertex',
- 'label.on_edge': 'On edge',
- 'label.on_face': 'On face',
- 'label.on_edge_face': 'On edge-face intersection',
- 'label.on_guide_face': 'On guide-face intersection',
- 'label.on_edge_edge': 'On edge-edge intersection',
- 'label.on_guide_edge': 'On guide-edge intersection',
- 'label.on_x_axis': 'On X axis',
- 'label.on_y_axis': 'On Y axis',
- 'label.on_z_axis': 'On Z axis',
- 'label.on_projected_vertex': 'On projected vertex',
- 'label.selection_mode': '选择模式',
- 'label.set_selection_mode': '单个',
- 'label.add_selection_mode': '增加',
- 'label.remove_selection_mode': '移除',
- 'label.geometries_display': 'Geometries to display:',
- 'label.geometry_inventory': 'Inventory',
- 'label.geometry_detail': 'Geometry',
- 'label.geometry_id': 'Id',
- 'label.geometry_instances': 'Instances',
- 'label.geometry_triangles': 'Triangles',
- 'label.geometry_total_triangles': 'Total',
- 'option.edges': 'Edges',
- 'option.faces': 'Faces',
- 'option.solid': '线性',
- 'option.gradient': '渐变',
- 'title.add_cloud_service': 'Add cloud service',
- 'title.edit_cloud_service': 'Edit cloud service',
- 'title.save_to_cloud': 'Save to cloud',
- 'title.create_folder_in_cloud': 'Create folder in cloud service',
- 'title.object_properties': 'Object properties',
- 'title.delete_cloud_service': 'Delete cloud service',
- 'title.delete_from_cloud': 'Delete from cloud',
- 'title.unsaved_changes': 'Unsaved changes',
- 'title.formula': 'Formula',
- 'title.add_controller': 'Add controller',
- 'title.remove_controller': 'Remove controller',
- 'title.properties': 'Properties',
- 'title.script_editor': 'Script editor',
- 'title.object_builder': 'Object builder',
- 'title.select_by_property': 'Selection by properties',
- 'title.select_by_qrcode': 'Selection by QR code',
- 'title.export_selection': 'Export selection',
- 'title.login': 'Login',
- 'title.new_material': 'New material',
- 'title.rename_material': 'Rename material',
- 'message.measure_length': (length, units) => `长度: ${length} ${units}`,
- 'message.solids_count': count => `Solids: ${count}`,
- 'message.solids_area': (area, units) => `Area: ${area} ${units}²`,
- 'message.solids_volume': (volume, units) => `Volume: ${volume} ${units}³`,
- 'message.solids_area_volume': ratio => `Area/Volume: ${ratio}`,
- 'message.invalid_service': service => `Invalid service: [${service}].`,
- 'message.objects_selected': count => `${count} object${count === 1 ? '' : 's'} selected${count > 0 ? ':' : '.'}`,
- 'message.no_solid_selected': 'No solid selected.',
- 'message.controllers_loaded': count => `${count} controllers loaded.`,
- 'message.select_directory': 'Select directory to save file.',
- 'message.objects_selected_by_prop': count => `${count} object${count === 1 ? '' : 's'} selected.`,
- 'message.script_executed': 'Script executed.',
- 'message.no_object_for_code': code => `No object found for code ${code}`,
- 'message.file_saved': 'File saved.',
- 'message.folder_created': 'Folder created.',
- 'message.file_deleted': 'File deleted.',
- 'message.folder_deleted': 'Folder deleted.',
- 'message.object_name': objectName => `Object: ${objectName}`,
- 'message.geometry_id': id => `Geometry id: ${id}`,
- 'message.vertex_count': count => `Vertices: ${count}`,
- 'message.face_count': count => `Faces: ${count}`,
- 'message.is_manifold': manifold => `Is manifold: ${manifold ? 'yes' : 'no'}`,
- 'message.geometry_count': count => `Geometries: ${count}`,
- 'message.instance_count': count => `Instances: ${count}`,
- 'message.modeled_triangle_count': count => `Modeled triangles: ${count}`,
- 'message.rendered_triangle_count': count => `Rendered triangles: ${count}`,
- 'message.invalid_credentials': 'Invalid credentials.',
- 'message.access_denied': 'Access denied.',
- 'message.action_denied': 'Action denied.',
- 'message.invalid_revolution_axis': 'Invalid axis of revolution. This axis can not be projected onto the plane of the profile.',
- 'question.discard_changes': name => `Discard unsaved changes in ${name || 'editor'}?`,
- 'question.delete_service': name => `Do you want to delete the ${name} service?`,
- 'question.delete_folder': name => `Do you want to delete the ${name} folder?`,
- 'question.delete_file': name => `Do you want to delete the ${name} file?`,
- 'question.remove_controller': name => `Remove controller ${name}?`,
- 'question.create_new_scene': '是否创建新场景?',
- 'controller.AutoPilotController': 'Drives an object.',
- 'controller.Brain4itPostController': 'Posts a value to Brain4it.',
- 'controller.Brain4itWatchController': 'Watches for Brain4it exterior functions.',
- 'controller.ColorController': 'Colors an object.',
- 'controller.DisplayController': 'Displays a value on a panel.',
- 'controller.LightController': 'Lights an object.',
- 'controller.LoadController': 'Loads a model into scene.',
- 'controller.ProximityController': 'Detects proximity to objects.',
- 'controller.PushButtonController': 'Shows a push button.',
- 'controller.RotationController': 'Rotates an object.',
- 'controller.ToggleButtonController': 'Shows a toggle button.',
- 'controller.TranslationController': 'Translates an object.'
- }
|