整理文件夹及架构,加入打印机页面,octo反代有问题

This commit is contained in:
2026-04-14 00:11:00 +08:00
parent 1de35f21d7
commit 570af7c225
54 changed files with 939 additions and 292 deletions

117
app/assets/i18n/en.json Normal file
View File

@@ -0,0 +1,117 @@
{
"Language": "Language",
"English": "English",
"Chinese": "中文",
"Guest": "Guest",
"Login": "Login",
"Logout": "Logout",
"Home": "Home",
"New Slice": "New Slice",
"My Files": "My Files",
"Admin Options": "Admin Options",
"System Settings": "System Settings",
"User Management": "User Management",
"Dashboard": "Dashboard",
"Total Prints": "Total Prints",
"You have sliced": "You have sliced",
"files": "files.",
"Upload & Slice STL": "Upload & Slice STL",
"Select STL File": "Select STL File",
"Quality Profile": "Quality Profile",
"Upload & Slice": "Upload & Slice",
"3D Preview Area": "3D Preview Area",
"Upload a file to display": "Upload a file to display",
"Date Uploaded": "Date Uploaded",
"Original Name": "Original Name",
"Status": "Status",
"Actions": "Actions",
"Uploaded": "Uploaded",
"Waiting": "Waiting",
"Other Settings": "Other Settings",
"Infill Density": "Infill Density",
"Support": "Support",
"None": "None",
"Touching Buildplate": "Touching Buildplate",
"Everywhere": "Everywhere",
"Merging": "Merging",
"Waiting in queue for slicing": "Waiting in queue for slicing",
"Slicing": "Slicing",
"Sliced": "Sliced",
"Failed": "Failed",
"Download GCode": "Download GCode",
"GCode Preview": "GCode Preview",
"Delete": "Delete",
"No files uploaded yet.": "No files uploaded yet.",
"Drag & Drop STL files here or Click to Select": "Drag & Drop STL files here or Click to Select",
"Uploading...": "Uploading...",
"Simplifying": "Simplifying",
"Simplifying...": "Simplifying...",
"Proxy Skip Size (MB)": "Proxy Skip Size (MB)",
"Files smaller than this will not generate a simplified proxy.": "Files smaller than this will not generate a simplified proxy.",
"Slicing queued!": "Slicing queued!",
"Draft Quality": "Draft Quality",
"Standard Quality": "Standard Quality",
"High Quality": "High Quality",
"Dynamic Quality": "Dynamic Quality",
"Low Quality": "Low Quality",
"Super Quality": "Super Quality",
"Ultra Quality": "Ultra Quality",
"Plater": "Plater",
"Layer Progress:": "Layer Progress:",
"Loading and Parsing GCode Data...": "Loading and Parsing GCode Data...",
"Failed to load GCode preview.": "Failed to load GCode preview.",
"Outer Wall": "Outer Wall",
"Inner Wall": "Inner Wall",
"Infill": "Infill",
"Skin/TopBottom": "Skin/TopBottom",
"Travel (Move)": "Travel (Move)",
"Skirt": "Skirt",
"Support Interface": "Support Interface",
"Back": "Back",
"Layer": "Layer",
"Plater / Build Plate": "Plater / Build Plate",
"Translate (W)": "Translate (W)",
"Rotate (E)": "Rotate (E)",
"Scale (R)": "Scale (R)",
"Scale": "Scale",
"Uniform Scale": "Uniform Scale",
"Lay Flat": "Lay Flat",
"Remove Selected (Del)": "Remove Selected (Del)",
"Available Models": "Available Models",
"No STL models uploaded yet. Go upload some first.": "No STL models uploaded yet. Go upload some first.",
"Support Type": "Support Type",
"Tree": "Tree",
"Lines": "Lines",
"Grid": "Grid",
"Triangles": "Triangles",
"Concentric": "Concentric",
"Zig Zag": "Zig Zag",
"Cross": "Cross",
"Gyroid": "Gyroid",
"Honeycomb": "Honeycomb",
"Octagon": "Octagon",
"Clear Board": "Clear Board",
"Merge & Slice": "Merge & Slice",
"Error loading STL model file.": "Error loading STL model file.",
"Please add at least one model to the build plate.": "Please add at least one model to the build plate.",
"One or more models are outside the print area. Please adjust them before slicing.": "One or more models are outside the print area. Please adjust them before slicing.",
"Error:": "Error:",
"ID": "ID",
"Username": "Username",
"Role": "Role",
"Created At": "Created At",
"Admin": "Admin",
"User": "User",
"WARNING: Are you sure you want to permanently delete this user AND ALL their uploaded files and G-codes?": "WARNING: Are you sure you want to permanently delete this user AND ALL their uploaded files and G-codes?",
"CuraEngine Configurations": "CuraEngine Configurations",
"Plater Origin Offset X (mm)": "Plater Origin Offset X (mm)",
"Adjust the X-axis compilation offset for combined files on the build plate.": "Adjust the X-axis compilation offset for combined files on the build plate.",
"Plater Origin Offset Y (mm)": "Plater Origin Offset Y (mm)",
"Adjust the Y-axis compilation offset for combined files on the build plate.": "Adjust the Y-axis compilation offset for combined files on the build plate.",
"Default Plater Settings": "Default Plater Settings",
"Default Infill Density (%)": "Default Infill Density (%)",
"Default Support": "Default Support",
"Default Support Type": "Default Support Type",
"Default Quality Profile": "Default Quality Profile",
"Save Settings": "Save Settings"
}

123
app/assets/i18n/zh-cn.json Normal file
View File

@@ -0,0 +1,123 @@
{
"Language": "语言",
"English": "English",
"Chinese": "中文",
"Guest": "访客",
"Login": "登录",
"Logout": "退出",
"Home": "主页",
"New Slice": "新建切片",
"My Files": "我的文件",
"Admin Options": "管理员选项",
"System Settings": "系统设置",
"User Management": "用户管理",
"Dashboard": "仪表盘",
"Total Prints": "总打印数",
"You have sliced": "您已切片",
"files": "个文件。",
"Upload & Slice STL": "上传并切片 STL",
"Select STL File": "选择 STL 文件",
"Quality Profile": "质量配置",
"Upload & Slice": "上传 & 切片",
"3D Preview Area": "3D预览区",
"Upload a file to display": "上传文件以显示",
"Date Uploaded": "上传日期",
"Original Name": "原始名称",
"Status": "状态",
"Actions": "操作",
"Waiting": "等待中",
"Merging": "合并中",
"Waiting in queue for slicing": "在队列中排队等待切片",
"Slicing": "切片中",
"Sliced": "已切片",
"Uploaded": "已上传",
"Failed": "失败",
"This model has already been sliced. The existing GCode will be overwritten. Continue?": "该模型已经生成过切片重新切片会覆盖原有GCode文件是否继续",
"Upload STL": "上传STL",
"Download GCode": "下载 GCode",
"GCode Preview": "GCode 预览",
"Delete": "删除",
"No files uploaded yet.": "还没有上传文件。",
"Drag & Drop STL files here or Click to Select": "将 STL 文件拖放到此处或点击选择",
"Uploading...": "上传中...",
"Simplifying": "简化中",
"Simplifying...": "正在简化...",
"Proxy Skip Size (MB)": "代理免简化大小 (MB)",
"Files smaller than this will not generate a simplified proxy.": "极小体积的文件无需降维生成加速展现的代理文件。",
"Upload Complete!": "上传完成!",
"Upload error.": "上传出错。",
"Upload failed.": "上传失败。",
"Please upload a valid .stl file!": "请上传有效的 .stl 文件!",
"Slicing queued!": "切片已排队!",
"Draft Quality": "草稿质量",
"Standard Quality": "标准质量",
"High Quality": "高质量",
"Dynamic Quality": "动态质量",
"Low Quality": "低质量",
"Super Quality": "超高质量",
"Ultra Quality": "极高质量",
"Plater": "构建板",
"Layer Progress:": "单层打印进度:",
"Loading and Parsing GCode Data...": "正在加载和解析 GCode 数据...",
"Failed to load GCode preview.": "加载 GCode 预览失败。",
"Outer Wall": "外墙",
"Inner Wall": "内墙",
"Infill": "填充",
"Skin/TopBottom": "顶层/底层",
"Travel (Move)": "空驶",
"Skirt": " 裙边",
"Support Interface": "支撑界面",
"Back": "返回",
"Layer": "层数",
"Plater / Build Plate": "构建板",
"Translate (W)": "平移 (W)",
"Rotate (E)": "旋转 (E)",
"Scale (R)": "缩放 (R)",
"Scale": "缩放",
"Uniform Scale": "均匀缩放",
"Lay Flat": "平放",
"Remove Selected (Del)": "删除选中 (Del)",
"Available Models": "可用模型",
"No STL models uploaded yet. Go upload some first.": "还没有上传 STL 模型。请先上传。",
"Other Settings": "其它设置",
"Infill Density": "填充密度",
"Support": "支撑",
"None": "无",
"Touching Buildplate": "仅接触构建板",
"Everywhere": "无处不在",
"Support Type": "支撑类型",
"Tree": "树状",
"Lines": "直线",
"Grid": "网格",
"Triangles": "三角形",
"Concentric": "同心",
"Zig Zag": "之字形",
"Cross": "交叉",
"Gyroid": "螺旋",
"Honeycomb": "蜂窝",
"Octagon": "八边形",
"Clear Board": "清空画板",
"Merge & Slice": "合并并切片",
"Error loading STL model file.": "加载 STL 模型文件出错。",
"Please add at least one model to the build plate.": "请在构建板上至少放置一个模型。",
"One or more models are outside the print area. Please adjust them before slicing.": "有一个或多个模型超出了打印范围。切片前请调整它们的位置。",
"Error:": "错误:",
"ID": "ID",
"Username": "用户名",
"Role": "角色",
"Created At": "创建时间",
"Admin": "管理员",
"User": "普通用户",
"WARNING: Are you sure you want to permanently delete this user AND ALL their uploaded files and G-codes?": "警告确定要永久删除该用户以及TA上传的所有文件和切片吗",
"CuraEngine Configurations": "CuraEngine 配置",
"Plater Origin Offset X (mm)": "构建板原点偏移 X (mm)",
"Adjust the X-axis compilation offset for combined files on the build plate.": "调整多文件在构建板合并切片时的X坐标偏移。",
"Plater Origin Offset Y (mm)": "构建板原点偏移 Y (mm)",
"Adjust the Y-axis compilation offset for combined files on the build plate.": "调整多文件在构建板合并切片时的Y坐标偏移。",
"Default Plater Settings": "默认构建板设置",
"Default Infill Density (%)": "默认填充密度 (%)",
"Default Support": "默认支撑类型",
"Default Support Type": "默认支撑图案",
"Default Quality Profile": "默认质量配置",
"Save Settings": "保存设置"
}