add translation
This commit is contained in:
@@ -48,11 +48,9 @@
|
|||||||
const locales = require.context('@/locales', true, /[A-Za-z0-9-_,\s]+\.json$/i)
|
const locales = require.context('@/locales', true, /[A-Za-z0-9-_,\s]+\.json$/i)
|
||||||
this.Languages = []
|
this.Languages = []
|
||||||
locales.keys().map(key=>{
|
locales.keys().map(key=>{
|
||||||
let value = key.match(/([A-Za-z0-9-_]+)\./i)[1];
|
|
||||||
let text = locales(key).title
|
|
||||||
this.Languages.push({
|
this.Languages.push({
|
||||||
text: text,
|
text: locales(key).title,
|
||||||
value: value
|
value: key.match(/([A-Za-z0-9-_]+)\./i)[1]
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@@ -64,7 +64,7 @@
|
|||||||
"Search":"搜索",
|
"Search":"搜索",
|
||||||
"Empty": "空的",
|
"Empty": "空的",
|
||||||
"blabla": "巴拉巴拉",
|
"blabla": "巴拉巴拉",
|
||||||
"DropFilesToAddGcode": "Drop files to add gcode.",
|
"DropFilesToAddGcode": "删除文件以添加gcode.",
|
||||||
"PrintStart": "开始打印",
|
"PrintStart": "开始打印",
|
||||||
"Preheat": "预热",
|
"Preheat": "预热",
|
||||||
"Download": "下载",
|
"Download": "下载",
|
||||||
@@ -104,18 +104,18 @@
|
|||||||
"Panels": {
|
"Panels": {
|
||||||
"ControlPanel":{
|
"ControlPanel":{
|
||||||
"Controls": "控制台",
|
"Controls": "控制台",
|
||||||
"SetupControls": "Setup Controls",
|
"SetupControls": "设置控件",
|
||||||
"AlternateControls": "Alternate controls",
|
"AlternateControls": "备用控件",
|
||||||
"InvertZ": "Invert Z",
|
"InvertZ": "反转 Z",
|
||||||
"ALL": "全部",
|
"ALL": "全部",
|
||||||
"QGL": "QGL",
|
"QGL": "QGL",
|
||||||
"ZTilt": "Z 倾斜",
|
"ZTilt": "Z 倾斜",
|
||||||
"X": "X",
|
"X": "X",
|
||||||
"Y": "Y",
|
"Y": "Y",
|
||||||
"Z": "Z",
|
"Z": "Z",
|
||||||
"PleaseConfigureSteps": "Please configure steps",
|
"PleaseConfigureSteps": "请配置步骤",
|
||||||
"SettingsInterfaceControl": "Settings > Interface > Control",
|
"SettingsInterfaceControl": "设置 > 界面 > 控制",
|
||||||
"Home":"Home",
|
"Home":"家",
|
||||||
"Retract": "回抽",
|
"Retract": "回抽",
|
||||||
"Extrude": "挤出",
|
"Extrude": "挤出",
|
||||||
"Macros": "宏"
|
"Macros": "宏"
|
||||||
@@ -131,7 +131,7 @@
|
|||||||
},
|
},
|
||||||
"KlippyStatePanel": {
|
"KlippyStatePanel": {
|
||||||
"KlippyState": "Klippy-State: ",
|
"KlippyState": "Klippy-State: ",
|
||||||
"KlippyInfo": "Moonraker can't connect to Klippy!\nPlease check if the Klipper service is running and an UDS (Unix Domain Socket) is configured.",
|
"KlippyInfo": "Moonraker 无法连接到 Klippy!\n请检查Klipper服务是否正在运行,并且是否配置了UDS(Unix域套接字).",
|
||||||
"Restart": "重启",
|
"Restart": "重启",
|
||||||
"FirmwareRestart": "固件重启"
|
"FirmwareRestart": "固件重启"
|
||||||
},
|
},
|
||||||
@@ -160,10 +160,10 @@
|
|||||||
"DownloadLog": "下载日志"
|
"DownloadLog": "下载日志"
|
||||||
},
|
},
|
||||||
"PowerControlPanel": {
|
"PowerControlPanel": {
|
||||||
"PowerControl": "Power Control",
|
"PowerControl": "功率控制",
|
||||||
"Error": "Error",
|
"Error": "错误",
|
||||||
"On": "On",
|
"On": "开",
|
||||||
"Off": "Off"
|
"Off": "关"
|
||||||
},
|
},
|
||||||
"StatusPanel": {
|
"StatusPanel": {
|
||||||
"Unknown": "未知",
|
"Unknown": "未知",
|
||||||
@@ -251,21 +251,21 @@
|
|||||||
"Control": "控制",
|
"Control": "控制",
|
||||||
"SpeedXY": "XY 速度",
|
"SpeedXY": "XY 速度",
|
||||||
"SpeedZ": "Z 速度",
|
"SpeedZ": "Z 速度",
|
||||||
"MoveDistancesInMm": "Move distances in mm",
|
"MoveDistancesInMm": "移动距离(mm)",
|
||||||
"ReverseZMovement": "Reverse Z movement",
|
"ReverseZMovement": "反向Z运动",
|
||||||
"MoveDistancesXYInMm": "Move distances XY in mm",
|
"MoveDistancesXYInMm": "XY移动距离(mm)",
|
||||||
"MoveDistancesZInMm": "Move distances Z in mm",
|
"MoveDistancesZInMm": "Z移动距离(mm)",
|
||||||
"MoveDistancesEInMm": "Move distances E in mm",
|
"MoveDistancesEInMm": "E移动距离(mm)",
|
||||||
"Extruder": "挤出机",
|
"Extruder": "挤出机",
|
||||||
"SpeedEInMms": "Speed E in mm/s"
|
"SpeedEInMms": "E速度(mm/s)"
|
||||||
},
|
},
|
||||||
"DashboardPanel": {
|
"DashboardPanel": {
|
||||||
"Dashboard": "仪表盘",
|
"Dashboard": "仪表盘",
|
||||||
"Webcam": "摄像头",
|
"Webcam": "摄像头",
|
||||||
"Tempchart": "温度图",
|
"Tempchart": "温度图",
|
||||||
"Console": "控制台",
|
"Console": "控制台",
|
||||||
"ChartUpdateInterval": "Chart update interval",
|
"ChartUpdateInterval": "图表更新间隔",
|
||||||
"DatapointInterval": "Datapoint interval"
|
"DatapointInterval": "数据点间隔"
|
||||||
},
|
},
|
||||||
"EndstopPanel": {
|
"EndstopPanel": {
|
||||||
"Endstops": "限位开关",
|
"Endstops": "限位开关",
|
||||||
@@ -277,11 +277,11 @@
|
|||||||
"GeneralPanel": {
|
"GeneralPanel": {
|
||||||
"General": "一般",
|
"General": "一般",
|
||||||
"PrinterName": "打印机名称",
|
"PrinterName": "打印机名称",
|
||||||
"DisplayCANCEL_PRINT": "Display CANCEL_PRINT",
|
"DisplayCANCEL_PRINT": "显示 CANCEL_PRINT",
|
||||||
"ShowCANCEL_PRINT": "Shows the CANCEL_PRINT button permanently - no second layer confirmation needed.",
|
"ShowCANCEL_PRINT": "永久显示CANCEL_PRINT按钮-无需第二层确认。",
|
||||||
"FactoryReset": "Factory reset",
|
"FactoryReset": "恢复出厂设置",
|
||||||
"FactoryInfo": "Do you really want to reset mainsail to factory settings?",
|
"FactoryInfo": "您是否真的要将主帆重置为出厂设置?",
|
||||||
"ResetMainsail": "reset mainsail"
|
"ResetMainsail": "重置主帆"
|
||||||
},
|
},
|
||||||
"LanguagePanel": {
|
"LanguagePanel": {
|
||||||
"Language": "语言"
|
"Language": "语言"
|
||||||
|
Reference in New Issue
Block a user