add heightmap to translation
Signed-off-by: Stefan Dej <meteyou@gmail.com>
This commit is contained in:
1 parent
3b5723d7ee
commit
641fcfb854
9 files changed
+798
-813
No files matched your search
@@ -16,6 +16,16 @@
|
||||
></v-text-field>
|
||||
</v-col>
|
||||
</v-row>
|
||||
<v-row>
|
||||
<v-col>
|
||||
<v-select
|
||||
v-model="currentLanguage"
|
||||
:items="availableLanguages"
|
||||
:label="$t('Settings.LanguagePanel.Language')"
|
||||
hide-details
|
||||
></v-select>
|
||||
</v-col>
|
||||
</v-row>
|
||||
<v-row>
|
||||
<v-col class="py-2">
|
||||
<v-switch v-model="displayCancelPrint" hide-details class="mt-0">
|
||||
@@ -109,6 +119,29 @@
|
||||
return this.$store.dispatch('gui/setSettings', { general: { printername: newName } })
|
||||
}
|
||||
},
|
||||
currentLanguage: {
|
||||
get() {
|
||||
return this.$store.state.gui.general.language;
|
||||
},
|
||||
set(newVal){
|
||||
return this.$store.dispatch('gui/setSettings', { general: { language: newVal } });
|
||||
}
|
||||
},
|
||||
availableLanguages: {
|
||||
get() {
|
||||
const locales = require.context('@/locales', true, /[A-Za-z0-9-_,\s]+\.js$/i)
|
||||
const languages = []
|
||||
|
||||
locales.keys().map(key=>{
|
||||
languages.push({
|
||||
text: locales(key).default.title,
|
||||
value: key.match(/([A-Za-z0-9-_]+)\./i)[1]
|
||||
})
|
||||
})
|
||||
|
||||
return languages
|
||||
}
|
||||
},
|
||||
displayCancelPrint: {
|
||||
get() {
|
||||
return this.$store.state.gui.general.displayCancelPrint;
|
||||
|
||||
@@ -1,62 +0,0 @@
|
||||
<style>
|
||||
|
||||
</style>
|
||||
|
||||
<template>
|
||||
<v-card>
|
||||
<v-toolbar flat dense >
|
||||
<v-toolbar-title>
|
||||
<span class="subheading"><v-icon left>mdi-translate</v-icon>{{ $t('Settings.LanguagePanel.Language') }}</span>
|
||||
</v-toolbar-title>
|
||||
</v-toolbar>
|
||||
<v-card-text class="pt-2 pb-0">
|
||||
<v-select
|
||||
v-model="lang"
|
||||
@change="changeLanguage"
|
||||
:items="Languages"
|
||||
:label="$t('Settings.LanguagePanel.Language')"
|
||||
></v-select>
|
||||
</v-card-text>
|
||||
</v-card>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
components: {
|
||||
|
||||
},
|
||||
data: function() {
|
||||
return {
|
||||
Languages: []
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
lang: {
|
||||
get() {
|
||||
return this.$store.state.gui.general.language;
|
||||
},
|
||||
set(newVal){
|
||||
return this.$store.dispatch('gui/setSettings', { general: { language: newVal } });
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
changeLanguage(val){
|
||||
this.lang = val
|
||||
},
|
||||
getLanguages(){
|
||||
const locales = require.context('@/locales', true, /[A-Za-z0-9-_,\s]+\.js$/i)
|
||||
this.Languages = []
|
||||
locales.keys().map(key=>{
|
||||
this.Languages.push({
|
||||
text: locales(key).default.title,
|
||||
value: key.match(/([A-Za-z0-9-_]+)\./i)[1]
|
||||
})
|
||||
})
|
||||
}
|
||||
},
|
||||
created(){
|
||||
this.getLanguages();
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -14,7 +14,6 @@ import LogfilesPanel from "./LogfilesPanel";
|
||||
import UpdatePanel from "./UpdatePanel";
|
||||
import RemotePrintersPanel from "./RemotePrintersPanel";
|
||||
import PresetsPanel from "./PresetsPanel";
|
||||
import LanguagePanel from "./LanguagePanel";
|
||||
|
||||
Vue.component('settings-general-panel', GeneralPanel);
|
||||
Vue.component('settings-control-panel', ControlPanel);
|
||||
@@ -30,7 +29,6 @@ Vue.component('settings-config-files-panel', ConfigFilesPanel);
|
||||
Vue.component('settings-update-panel', UpdatePanel);
|
||||
Vue.component('settings-remote-printers-panel', RemotePrintersPanel);
|
||||
Vue.component('settings-presets-panel', PresetsPanel);
|
||||
Vue.component('settings-language-panel', LanguagePanel);
|
||||
|
||||
export default {
|
||||
|
||||
|
||||
+368
-350
@@ -1,352 +1,370 @@
|
||||
export default {
|
||||
title: "English",
|
||||
App: {
|
||||
Connecting: "Connecting",
|
||||
To: "to",
|
||||
Failed: "failed",
|
||||
TryAgain: "try again",
|
||||
Printers: "Printers",
|
||||
CannotNotConnectTo: "Cannot not connect to",
|
||||
ConnectionTo: "Connection to",
|
||||
ConnectionFailed: "Connection failed",
|
||||
SelectPrinter: "Select Printer",
|
||||
AddPrinter: "Add Printer",
|
||||
EditPrinter: "Edit Printer",
|
||||
UpdatePrinter: "Update Printer",
|
||||
ChangePrinter: "Change Printer",
|
||||
Hello: "Hello and welcome to the remote mode of Mainsail!",
|
||||
PleaseRememberToAdd: "Please remember to add",
|
||||
InMoonrakerConf: "in moonraker.conf within 'cors_domains'.",
|
||||
YouCanFindMore: "You can find more details at",
|
||||
Remotemode: "https://docs.mainsail.xyz/remotemode",
|
||||
KlipperControl: "Klipper Control",
|
||||
Restart: "Restart",
|
||||
FirmwareRestart: "FIRMWARE Restart",
|
||||
RestartServices: "Restart Services",
|
||||
Klipper: "Klipper",
|
||||
Moonraker: "Moonraker",
|
||||
PowerDevices: "Power Devices",
|
||||
HostControl: "Host Control",
|
||||
Reboot: "Reboot",
|
||||
Shutdown: "Shutdown",
|
||||
Updating: "Updating",
|
||||
done: " done!",
|
||||
Empty: "Empty",
|
||||
Close: "Close",
|
||||
SAVECONFIG: "SAVE CONFIG",
|
||||
UploadPrint: "Upload & Print",
|
||||
EmergencyStop: "Emergency Stop",
|
||||
Uploading: "Uploading"
|
||||
},
|
||||
Router: {
|
||||
Dashboard: "Dashboard",
|
||||
Printers: "Printers",
|
||||
Settings: "Settings",
|
||||
Webcam: "Webcam",
|
||||
Console: "Console",
|
||||
Heightmap: "Heightmap",
|
||||
"G-Code Files": "G-Code Files",
|
||||
Machine: "Machine",
|
||||
Interface: "Interface"
|
||||
},
|
||||
Files: {
|
||||
GCodeFiles: "G-Code Files",
|
||||
UploadNewGcode: "Upload new Gcode",
|
||||
CreateNewDirectory: "Create new Directory",
|
||||
RefreshCurrentDirectory: "Refresh current Directory",
|
||||
SetupCurrentList: "Setup current list",
|
||||
HiddenFiles: "Hidden files",
|
||||
FreeDisk: "Free disk: ",
|
||||
Used: "Used: ",
|
||||
Free: "Free: ",
|
||||
Total: "Total: ",
|
||||
Files: "Files",
|
||||
Search: "Search",
|
||||
Empty: "Empty",
|
||||
blabla: "bla bla",
|
||||
DropFilesToAddGcode: "Drop files to add gcode.",
|
||||
PrintStart: "Print start",
|
||||
Preheat: "Preheat",
|
||||
Download: "Download",
|
||||
Rename: "Rename",
|
||||
Delete: "Delete",
|
||||
StartJob: "Start Job",
|
||||
DoYouWantToStart: "Do you want to start",
|
||||
No: "No",
|
||||
Yes: "Yes",
|
||||
NewDirectory: "New Directory",
|
||||
PleaseEnterANewDirectoryName: "Please enter a new directory name:",
|
||||
RenameFile: "Rename File",
|
||||
Name: "Name",
|
||||
Cancel: "Cancel",
|
||||
Create: "Create",
|
||||
RenameDirectory: "Rename Directory",
|
||||
Uploading: "Uploading",
|
||||
CurrentPath: "Current path",
|
||||
Filesize: "Filesize",
|
||||
LastModified: "Last modified",
|
||||
ObjectHeight: "Object Height",
|
||||
LayerHeight: "Layer Height",
|
||||
FilamentUsage: "Filament Usage",
|
||||
PrintTime: "Print Time",
|
||||
Slicer: "Slicer"
|
||||
},
|
||||
Console: {
|
||||
send: "send",
|
||||
SetupConsole: "Setup Console",
|
||||
SendCode: "Send code...",
|
||||
Empty: "Empty",
|
||||
HideTemperatures: "Hide temperatures",
|
||||
CustomFilters: "Custom filters",
|
||||
Date: "Date",
|
||||
Event: "Event"
|
||||
},
|
||||
Panels: {
|
||||
ControlPanel: {
|
||||
Controls: "Controls",
|
||||
SetupControls: "Setup Controls",
|
||||
AlternateControls: "Alternate controls",
|
||||
InvertX: "Invert X",
|
||||
InvertY: "Invert Y",
|
||||
InvertZ: "Invert Z",
|
||||
ALL: "ALL",
|
||||
QGL: "QGL",
|
||||
ZTilt: "Z Tilt",
|
||||
X: "X",
|
||||
Y: "Y",
|
||||
Z: "Z",
|
||||
PleaseConfigureSteps: "Please configure steps",
|
||||
SettingsInterfaceControl: "Settings > Interface > Control",
|
||||
Home: "Home",
|
||||
FeedAmountIn: "Feed amount in",
|
||||
FeedrateIn: "Feedrate in",
|
||||
Retract: "Retract",
|
||||
Extrude: "Extrude",
|
||||
Macros: "Macros"
|
||||
},
|
||||
FarmPrinterPanel: {
|
||||
|
||||
},
|
||||
KlippyStatePanel: {
|
||||
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.",
|
||||
Restart: "Restart",
|
||||
FirmwareRestart: "Firmware Restart"
|
||||
},
|
||||
MiniconsolePanel: {
|
||||
Console: "Console",
|
||||
SetupConsole: "Setup Console",
|
||||
HideTemperatures: "Hide temperatures",
|
||||
CustomFilters: "Custom filters",
|
||||
SendCode: "Send code...",
|
||||
Send: "Send",
|
||||
Empty: "Empty"
|
||||
},
|
||||
MinSettingsPanel: {
|
||||
MissingConfiguration: "Missing configuration",
|
||||
IsNotDefinedInConfig: "is not defined in config.",
|
||||
MoreInformation: "more information"
|
||||
},
|
||||
MiscellaneousPanel: {
|
||||
PrintSettings: "Print Settings",
|
||||
Miscellaneous: "Miscellaneous"
|
||||
},
|
||||
MoonrakerFailedComponentsPanel: {
|
||||
MoonrakerFailedComponents: "Moonraker Failed Components",
|
||||
MoonrakerErrorInfo: "An error was detected while loading the moonraker components. Please check the logfile and fix the issue.",
|
||||
FollowingPluginHasAnError: "Following plugin has an error:",
|
||||
DownloadLog: "Download Log"
|
||||
},
|
||||
PowerControlPanel: {
|
||||
PowerControl: "Power Control",
|
||||
Error: "Error",
|
||||
On: "On",
|
||||
Off: "Off"
|
||||
},
|
||||
StatusPanel: {
|
||||
Unknown: "Unknown",
|
||||
PausePrint: "Pause print",
|
||||
ResumePrint: "Resume print",
|
||||
CancelPrint: "Cancel print",
|
||||
ClearPrintStats: "Clear print stats",
|
||||
ReprintJob: "Reprint job",
|
||||
X: "X",
|
||||
Y: "Y",
|
||||
Z: "Z",
|
||||
Filament: "Filament",
|
||||
Print: "Print",
|
||||
Total: "Total",
|
||||
Speed: "Speed",
|
||||
Layer: "Layer",
|
||||
ObjectHeight: "Object Height:",
|
||||
ETA: "ETA",
|
||||
File: "File",
|
||||
Slicer: "Slicer"
|
||||
},
|
||||
ToolsPanel: {
|
||||
Temperatures: "Temperatures",
|
||||
Presets: "Presets",
|
||||
Cooldown: "Cooldown",
|
||||
SetupTemperatures: "Setup Temperatures",
|
||||
ShowChart: "Show Chart",
|
||||
AutoscaleChart: "Autoscale Chart",
|
||||
Name: "Name",
|
||||
Color: "Color",
|
||||
State: "State",
|
||||
Current: "Current",
|
||||
Target: "Target",
|
||||
Min: "min: ",
|
||||
Max: "max: ",
|
||||
UNKNOWN: "UNKNOWN",
|
||||
ShowCurrentTemperatureInChart: "Show current temperature in chart",
|
||||
ShowTargetTemperatureInChart: "Show target temperature in chart",
|
||||
ShowPWMPowerInChart: "Show PWM-power in chart",
|
||||
Show: "Show",
|
||||
InList: "in list"
|
||||
},
|
||||
WebcamPanel: {
|
||||
Webcam: "Webcam",
|
||||
FPS: "FPS"
|
||||
},
|
||||
ZOffsetPanel: {
|
||||
ZBabyStepping: "Z Baby Stepping",
|
||||
CurrentOffset: "Current Offset: "
|
||||
}
|
||||
},
|
||||
Settings: {
|
||||
ConfigFilesPanel: {
|
||||
ConfigFiles: "Config Files",
|
||||
SetupCurrentList: "Setup current list",
|
||||
HiddenFiles: "Hidden files",
|
||||
CurrentPath: "Current path: ",
|
||||
Files: "Files",
|
||||
Empty: "Empty",
|
||||
EditFile: "Edit file",
|
||||
Download: "Download",
|
||||
Rename: "Rename",
|
||||
Delete: "Delete",
|
||||
PleaseStandBy: "Please stand by",
|
||||
ConfigReference: "Config Reference",
|
||||
Save: "Save",
|
||||
SaveRestart: "Save & restart",
|
||||
RenameFile: "Rename File",
|
||||
Name: "Name",
|
||||
Cancel: "Cancel",
|
||||
Create: "Create",
|
||||
Edit: "Edit",
|
||||
CreateFile: "Create File",
|
||||
CreateFolder: "Create Folder",
|
||||
Uploading: "Uploading",
|
||||
Filesize: "Filesize",
|
||||
LastModified: "Last modified"
|
||||
},
|
||||
ConsolePanel: {
|
||||
Console: "Console",
|
||||
HideTemperatures: "Hide temperatures",
|
||||
CustomFilter: "Custom filter",
|
||||
Rules: "Rules"
|
||||
},
|
||||
ControlPanel: {
|
||||
Control: "Control",
|
||||
SpeedXY: "Speed XY",
|
||||
SpeedZ: "Speed Z",
|
||||
MoveDistancesInMm: "Move distances in mm",
|
||||
ReverseXMovement: "Reverse X movement",
|
||||
ReverseYMovement: "Reverse Y movement",
|
||||
ReverseZMovement: "Reverse Z movement",
|
||||
MoveDistancesXYInMm: "Move distances XY in mm",
|
||||
MoveDistancesZInMm: "Move distances Z in mm",
|
||||
MoveDistancesEInMm: "Move distances E in mm",
|
||||
Extruder: "Extruder",
|
||||
SpeedEInMms: "Speed E in mm/s"
|
||||
},
|
||||
DashboardPanel: {
|
||||
Dashboard: "Dashboard",
|
||||
Webcam: "Webcam",
|
||||
Tempchart: "Tempchart",
|
||||
Console: "Console",
|
||||
ChartUpdateInterval: "Chart update interval",
|
||||
DatapointInterval: "Datapoint interval"
|
||||
},
|
||||
EndstopPanel: {
|
||||
Endstops: "Endstops",
|
||||
Endstop: "Endstop",
|
||||
TRIGGERED: "TRIGGERED",
|
||||
open: "OPEN",
|
||||
EndstopInfo: "Press the sync-button on the right-bottom to load the current endstop status."
|
||||
},
|
||||
GeneralPanel: {
|
||||
General: "General",
|
||||
PrinterName: "Printer Name",
|
||||
DisplayCANCEL_PRINT: "Display CANCEL_PRINT",
|
||||
DisplayZOffset: "Display Z-Offset-Panel",
|
||||
ShowCANCEL_PRINT: "Shows the CANCEL_PRINT button permanently - no second layer confirmation needed.",
|
||||
ShowZOffset: "Shows the Z-Offset panel permanently.",
|
||||
FactoryReset: "Factory reset",
|
||||
FactoryInfo: "Do you really want to reset mainsail to factory settings?",
|
||||
ResetMainsail: "reset mainsail"
|
||||
},
|
||||
LanguagePanel: {
|
||||
Language: "Language"
|
||||
},
|
||||
LimitsPanel: {
|
||||
MachineLimits: "Machine Limits",
|
||||
Velocity: "Velocity",
|
||||
Acceleration: "Acceleration",
|
||||
Deceleration: "Deceleration",
|
||||
SquareCornerVelocity: "Square corner velocity"
|
||||
},
|
||||
LogfilesPanel: {
|
||||
Logfiles: "Logfiles"
|
||||
},
|
||||
MacrosPanel: {
|
||||
Macros: "Macros",
|
||||
NOMacros: "No macros found..."
|
||||
},
|
||||
PresetsPanel: {
|
||||
PreheatPresets: "Preheat Presets",
|
||||
Cooldown: "Cooldown",
|
||||
AddPreset: "add preset",
|
||||
Preset: "Preset",
|
||||
Create: "Create",
|
||||
Edit: "Edit",
|
||||
Name: "Name",
|
||||
CustomGCode: "Custom G-Code",
|
||||
PresetInfo: "You have to set minimum a target temperature or a custom gcode.",
|
||||
Store: "Store",
|
||||
Update: "Update",
|
||||
EditCooldown: "Edit Cooldown",
|
||||
UpdateCooldown: "Update Cooldown"
|
||||
},
|
||||
RemotePrintersPanel: {
|
||||
RemotePrinters: "Remote Printers",
|
||||
AddPrinter: "Add Printer",
|
||||
EditPrinter: "Edit Printer",
|
||||
UpdatePrinter: "Update Printer"
|
||||
},
|
||||
RunoutPanel: {
|
||||
Detected: "detected",
|
||||
Empty: "Empty"
|
||||
},
|
||||
UpdatePanel: {
|
||||
UpdateManager: "Update Manager",
|
||||
CheckForUpdates: "Check for updates",
|
||||
System: "System",
|
||||
PackagesCanBeUpgraded: "packages can be upgraded",
|
||||
OSPackages: "OS-Packages",
|
||||
Commits: "Commits",
|
||||
CommittedAt: "committed at",
|
||||
UpToDate: "up-to-date",
|
||||
ERROR: "ERROR"
|
||||
},
|
||||
WebcamPanel: {
|
||||
Webcam: "Webcam",
|
||||
WebcamURL: "Webcam URL",
|
||||
Rotate: "Rotate",
|
||||
FlipWebcamHorizontally: "Flip webcam horizontally",
|
||||
FlipWebcamVertically: "Flip webcam vertically",
|
||||
ShowInNavigation: "Show in navigation",
|
||||
Service: "Service"
|
||||
}
|
||||
}
|
||||
title: "English",
|
||||
App: {
|
||||
Connecting: "Connecting",
|
||||
To: "to",
|
||||
Failed: "failed",
|
||||
TryAgain: "try again",
|
||||
Printers: "Printers",
|
||||
CannotNotConnectTo: "Cannot not connect to",
|
||||
ConnectionTo: "Connection to",
|
||||
ConnectionFailed: "Connection failed",
|
||||
SelectPrinter: "Select Printer",
|
||||
AddPrinter: "Add Printer",
|
||||
EditPrinter: "Edit Printer",
|
||||
UpdatePrinter: "Update Printer",
|
||||
ChangePrinter: "Change Printer",
|
||||
Hello: "Hello and welcome to the remote mode of Mainsail!",
|
||||
PleaseRememberToAdd: "Please remember to add",
|
||||
InMoonrakerConf: "in moonraker.conf within 'cors_domains'.",
|
||||
YouCanFindMore: "You can find more details at",
|
||||
Remotemode: "https://docs.mainsail.xyz/remotemode",
|
||||
KlipperControl: "Klipper Control",
|
||||
Restart: "Restart",
|
||||
FirmwareRestart: "FIRMWARE Restart",
|
||||
RestartServices: "Restart Services",
|
||||
Klipper: "Klipper",
|
||||
Moonraker: "Moonraker",
|
||||
PowerDevices: "Power Devices",
|
||||
HostControl: "Host Control",
|
||||
Reboot: "Reboot",
|
||||
Shutdown: "Shutdown",
|
||||
Updating: "Updating",
|
||||
done: " done!",
|
||||
Empty: "Empty",
|
||||
Close: "Close",
|
||||
SAVECONFIG: "SAVE CONFIG",
|
||||
UploadPrint: "Upload & Print",
|
||||
EmergencyStop: "Emergency Stop",
|
||||
Uploading: "Uploading"
|
||||
},
|
||||
Router: {
|
||||
Dashboard: "Dashboard",
|
||||
Printers: "Printers",
|
||||
Settings: "Settings",
|
||||
Webcam: "Webcam",
|
||||
Console: "Console",
|
||||
Heightmap: "Heightmap",
|
||||
"G-Code Files": "G-Code Files",
|
||||
Machine: "Machine",
|
||||
Interface: "Interface"
|
||||
},
|
||||
Files: {
|
||||
GCodeFiles: "G-Code Files",
|
||||
UploadNewGcode: "Upload new Gcode",
|
||||
CreateNewDirectory: "Create new Directory",
|
||||
RefreshCurrentDirectory: "Refresh current Directory",
|
||||
SetupCurrentList: "Setup current list",
|
||||
HiddenFiles: "Hidden files",
|
||||
FreeDisk: "Free disk: ",
|
||||
Used: "Used: ",
|
||||
Free: "Free: ",
|
||||
Total: "Total: ",
|
||||
Files: "Files",
|
||||
Search: "Search",
|
||||
Empty: "Empty",
|
||||
blabla: "bla bla",
|
||||
DropFilesToAddGcode: "Drop files to add gcode.",
|
||||
PrintStart: "Print start",
|
||||
Preheat: "Preheat",
|
||||
Download: "Download",
|
||||
Rename: "Rename",
|
||||
Delete: "Delete",
|
||||
StartJob: "Start Job",
|
||||
DoYouWantToStart: "Do you want to start",
|
||||
No: "No",
|
||||
Yes: "Yes",
|
||||
NewDirectory: "New Directory",
|
||||
PleaseEnterANewDirectoryName: "Please enter a new directory name:",
|
||||
RenameFile: "Rename File",
|
||||
Name: "Name",
|
||||
Cancel: "Cancel",
|
||||
Create: "Create",
|
||||
RenameDirectory: "Rename Directory",
|
||||
Uploading: "Uploading",
|
||||
CurrentPath: "Current path",
|
||||
Filesize: "Filesize",
|
||||
LastModified: "Last modified",
|
||||
ObjectHeight: "Object Height",
|
||||
LayerHeight: "Layer Height",
|
||||
FilamentUsage: "Filament Usage",
|
||||
PrintTime: "Print Time",
|
||||
Slicer: "Slicer"
|
||||
},
|
||||
Console: {
|
||||
send: "send",
|
||||
SetupConsole: "Setup Console",
|
||||
SendCode: "Send code...",
|
||||
Empty: "Empty",
|
||||
HideTemperatures: "Hide temperatures",
|
||||
CustomFilters: "Custom filters",
|
||||
Date: "Date",
|
||||
Event: "Event"
|
||||
},
|
||||
Heightmap: {
|
||||
Heightmap: "Heightmap",
|
||||
Clear: "clear",
|
||||
Calibrate: "calibrate",
|
||||
NoBedMeshHasBeenLoadedYet: "No bed_mesh has been loaded yet.",
|
||||
Probed: "Probed",
|
||||
Mesh: "Mesh",
|
||||
Scale: "Scale",
|
||||
Profiles: "Profiles",
|
||||
Deleted: "deleted",
|
||||
RenameBedMeshProfile: "Rename Bed Mesh Profile",
|
||||
Name: "Name",
|
||||
Abort: "abort",
|
||||
Rename: "rename",
|
||||
BedMeshCalibrate: "Bed Mesh Calibrate",
|
||||
DoYouReallyWantToCalibrate: "Do you really want to start the bed calibration?",
|
||||
DeleteBedMeshProfile: "Delete Bed Mesh Profile",
|
||||
DoYouReallyWantToDelete: "Do you really want to delete the profile",
|
||||
Remove: "remove"
|
||||
},
|
||||
Panels: {
|
||||
ControlPanel: {
|
||||
Controls: "Controls",
|
||||
SetupControls: "Setup Controls",
|
||||
AlternateControls: "Alternate controls",
|
||||
InvertX: "Invert X",
|
||||
InvertY: "Invert Y",
|
||||
InvertZ: "Invert Z",
|
||||
ALL: "ALL",
|
||||
QGL: "QGL",
|
||||
ZTilt: "Z Tilt",
|
||||
X: "X",
|
||||
Y: "Y",
|
||||
Z: "Z",
|
||||
PleaseConfigureSteps: "Please configure steps",
|
||||
SettingsInterfaceControl: "Settings > Interface > Control",
|
||||
Home: "Home",
|
||||
FeedAmountIn: "Feed amount in",
|
||||
FeedrateIn: "Feedrate in",
|
||||
Retract: "Retract",
|
||||
Extrude: "Extrude",
|
||||
Macros: "Macros"
|
||||
},
|
||||
FarmPrinterPanel: {},
|
||||
KlippyStatePanel: {
|
||||
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.",
|
||||
Restart: "Restart",
|
||||
FirmwareRestart: "Firmware Restart"
|
||||
},
|
||||
MiniconsolePanel: {
|
||||
Console: "Console",
|
||||
SetupConsole: "Setup Console",
|
||||
HideTemperatures: "Hide temperatures",
|
||||
CustomFilters: "Custom filters",
|
||||
SendCode: "Send code...",
|
||||
Send: "Send",
|
||||
Empty: "Empty"
|
||||
},
|
||||
MinSettingsPanel: {
|
||||
MissingConfiguration: "Missing configuration",
|
||||
IsNotDefinedInConfig: "is not defined in config.",
|
||||
MoreInformation: "more information"
|
||||
},
|
||||
MiscellaneousPanel: {
|
||||
PrintSettings: "Print Settings",
|
||||
Miscellaneous: "Miscellaneous"
|
||||
},
|
||||
MoonrakerFailedComponentsPanel: {
|
||||
MoonrakerFailedComponents: "Moonraker Failed Components",
|
||||
MoonrakerErrorInfo: "An error was detected while loading the moonraker components. Please check the logfile and fix the issue.",
|
||||
FollowingPluginHasAnError: "Following plugin has an error:",
|
||||
DownloadLog: "Download Log"
|
||||
},
|
||||
PowerControlPanel: {
|
||||
PowerControl: "Power Control",
|
||||
Error: "Error",
|
||||
On: "On",
|
||||
Off: "Off"
|
||||
},
|
||||
StatusPanel: {
|
||||
Unknown: "Unknown",
|
||||
PausePrint: "Pause print",
|
||||
ResumePrint: "Resume print",
|
||||
CancelPrint: "Cancel print",
|
||||
ClearPrintStats: "Clear print stats",
|
||||
ReprintJob: "Reprint job",
|
||||
X: "X",
|
||||
Y: "Y",
|
||||
Z: "Z",
|
||||
Filament: "Filament",
|
||||
Print: "Print",
|
||||
Total: "Total",
|
||||
Speed: "Speed",
|
||||
Layer: "Layer",
|
||||
ObjectHeight: "Object Height:",
|
||||
ETA: "ETA",
|
||||
File: "File",
|
||||
Slicer: "Slicer"
|
||||
},
|
||||
ToolsPanel: {
|
||||
Temperatures: "Temperatures",
|
||||
Presets: "Presets",
|
||||
Cooldown: "Cooldown",
|
||||
SetupTemperatures: "Setup Temperatures",
|
||||
ShowChart: "Show Chart",
|
||||
AutoscaleChart: "Autoscale Chart",
|
||||
Name: "Name",
|
||||
Color: "Color",
|
||||
State: "State",
|
||||
Current: "Current",
|
||||
Target: "Target",
|
||||
Min: "min: ",
|
||||
Max: "max: ",
|
||||
UNKNOWN: "UNKNOWN",
|
||||
ShowCurrentTemperatureInChart: "Show current temperature in chart",
|
||||
ShowTargetTemperatureInChart: "Show target temperature in chart",
|
||||
ShowPWMPowerInChart: "Show PWM-power in chart",
|
||||
Show: "Show",
|
||||
InList: "in list"
|
||||
},
|
||||
WebcamPanel: {
|
||||
Webcam: "Webcam",
|
||||
FPS: "FPS"
|
||||
},
|
||||
ZOffsetPanel: {
|
||||
ZBabyStepping: "Z Baby Stepping",
|
||||
CurrentOffset: "Current Offset: "
|
||||
}
|
||||
},
|
||||
Settings: {
|
||||
ConfigFilesPanel: {
|
||||
ConfigFiles: "Config Files",
|
||||
SetupCurrentList: "Setup current list",
|
||||
HiddenFiles: "Hidden files",
|
||||
CurrentPath: "Current path: ",
|
||||
Files: "Files",
|
||||
Empty: "Empty",
|
||||
EditFile: "Edit file",
|
||||
Download: "Download",
|
||||
Rename: "Rename",
|
||||
Delete: "Delete",
|
||||
PleaseStandBy: "Please stand by",
|
||||
ConfigReference: "Config Reference",
|
||||
Save: "Save",
|
||||
SaveRestart: "Save & restart",
|
||||
RenameFile: "Rename File",
|
||||
Name: "Name",
|
||||
Cancel: "Cancel",
|
||||
Create: "Create",
|
||||
Edit: "Edit",
|
||||
CreateFile: "Create File",
|
||||
CreateFolder: "Create Folder",
|
||||
Uploading: "Uploading",
|
||||
Filesize: "Filesize",
|
||||
LastModified: "Last modified"
|
||||
},
|
||||
ConsolePanel: {
|
||||
Console: "Console",
|
||||
HideTemperatures: "Hide temperatures",
|
||||
CustomFilters: "Custom filter",
|
||||
Rules: "Rules"
|
||||
},
|
||||
ControlPanel: {
|
||||
Control: "Control",
|
||||
SpeedXY: "Speed XY",
|
||||
SpeedZ: "Speed Z",
|
||||
MoveDistancesInMm: "Move distances in mm",
|
||||
ReverseXMovement: "Reverse X movement",
|
||||
ReverseYMovement: "Reverse Y movement",
|
||||
ReverseZMovement: "Reverse Z movement",
|
||||
MoveDistancesXYInMm: "Move distances XY in mm",
|
||||
MoveDistancesZInMm: "Move distances Z in mm",
|
||||
MoveDistancesEInMm: "Move distances E in mm",
|
||||
Extruder: "Extruder",
|
||||
SpeedEInMms: "Speed E in mm/s"
|
||||
},
|
||||
DashboardPanel: {
|
||||
Dashboard: "Dashboard",
|
||||
Webcam: "Webcam",
|
||||
Tempchart: "Tempchart",
|
||||
Console: "Console",
|
||||
ChartUpdateInterval: "Chart update interval",
|
||||
DatapointInterval: "Datapoint interval"
|
||||
},
|
||||
EndstopPanel: {
|
||||
Endstops: "Endstops",
|
||||
Endstop: "Endstop",
|
||||
TRIGGERED: "TRIGGERED",
|
||||
open: "OPEN",
|
||||
EndstopInfo: "Press the sync-button on the right-bottom to load the current endstop status."
|
||||
},
|
||||
GeneralPanel: {
|
||||
General: "General",
|
||||
PrinterName: "Printer Name",
|
||||
DisplayCANCEL_PRINT: "Display CANCEL_PRINT",
|
||||
DisplayZOffset: "Display Z-Offset-Panel",
|
||||
ShowCANCEL_PRINT: "Shows the CANCEL_PRINT button permanently - no second layer confirmation needed.",
|
||||
ShowZOffset: "Shows the Z-Offset panel permanently.",
|
||||
FactoryReset: "Factory reset",
|
||||
FactoryInfo: "Do you really want to reset mainsail to factory settings?",
|
||||
ResetMainsail: "reset mainsail"
|
||||
},
|
||||
LanguagePanel: {
|
||||
Language: "Language"
|
||||
},
|
||||
LimitsPanel: {
|
||||
MachineLimits: "Machine Limits",
|
||||
Velocity: "Velocity",
|
||||
Acceleration: "Acceleration",
|
||||
Deceleration: "Deceleration",
|
||||
SquareCornerVelocity: "Square corner velocity"
|
||||
},
|
||||
LogfilesPanel: {
|
||||
Logfiles: "Logfiles"
|
||||
},
|
||||
MacrosPanel: {
|
||||
Macros: "Macros",
|
||||
NOMacros: "No macros found..."
|
||||
},
|
||||
PresetsPanel: {
|
||||
PreheatPresets: "Preheat Presets",
|
||||
Cooldown: "Cooldown",
|
||||
AddPreset: "add preset",
|
||||
Preset: "Preset",
|
||||
Create: "Create",
|
||||
Edit: "Edit",
|
||||
Name: "Name",
|
||||
CustomGCode: "Custom G-Code",
|
||||
PresetInfo: "You have to set minimum a target temperature or a custom gcode.",
|
||||
Store: "Store",
|
||||
Update: "Update",
|
||||
EditCooldown: "Edit Cooldown",
|
||||
UpdateCooldown: "Update Cooldown"
|
||||
},
|
||||
RemotePrintersPanel: {
|
||||
RemotePrinters: "Remote Printers",
|
||||
AddPrinter: "Add Printer",
|
||||
EditPrinter: "Edit Printer",
|
||||
UpdatePrinter: "Update Printer"
|
||||
},
|
||||
RunoutPanel: {
|
||||
Detected: "detected",
|
||||
Empty: "Empty"
|
||||
},
|
||||
UpdatePanel: {
|
||||
UpdateManager: "Update Manager",
|
||||
CheckForUpdates: "Check for updates",
|
||||
System: "System",
|
||||
PackagesCanBeUpgraded: "packages can be upgraded",
|
||||
OSPackages: "OS-Packages",
|
||||
Commits: "Commits",
|
||||
CommittedAt: "committed at",
|
||||
UpToDate: "up-to-date",
|
||||
ERROR: "ERROR"
|
||||
},
|
||||
WebcamPanel: {
|
||||
Webcam: "Webcam",
|
||||
WebcamURL: "Webcam URL",
|
||||
Rotate: "Rotate",
|
||||
FlipWebcamHorizontally: "Flip webcam horizontally",
|
||||
FlipWebcamVertically: "Flip webcam vertically",
|
||||
ShowInNavigation: "Show in navigation",
|
||||
Service: "Service"
|
||||
}
|
||||
}
|
||||
}
|
||||
+346
-348
@@ -1,350 +1,348 @@
|
||||
export default {
|
||||
title: "简体中文",
|
||||
App: {
|
||||
Connecting: "连接",
|
||||
To: "到",
|
||||
Failed: "失败",
|
||||
TryAgain: "重试",
|
||||
Printers: "Printers",
|
||||
CannotNotConnectTo: "无法连接到",
|
||||
ConnectionTo: "连接到",
|
||||
ConnectionFailed: "连接失败",
|
||||
SelectPrinter: "选择打印机",
|
||||
AddPrinter: "添加打印机",
|
||||
EditPrinter: "编辑打印机",
|
||||
UpdatePrinter: "更新打印机",
|
||||
ChangePrinter: "更换打印机",
|
||||
Hello: "大家好,欢迎来到主帆遥控模式!",
|
||||
PleaseRememberToAdd: "请记得添加",
|
||||
InMoonrakerConf: "在 moonraker.conf 的 'cors_domains' 中.",
|
||||
YouCanFindMore: "详情请浏览",
|
||||
Remotemode: "docs.mainsail.xyz/remotemode",
|
||||
KlipperControl: "Klipper 控制",
|
||||
Restart: "重启",
|
||||
FirmwareRestart: "固件重启",
|
||||
RestartServices: "重启服务",
|
||||
Klipper: "Klipper",
|
||||
Moonraker: "Moonraker",
|
||||
PowerDevices: "电力设备",
|
||||
HostControl: "主机控制",
|
||||
Reboot: "重启",
|
||||
Shutdown: "关机",
|
||||
Updating: "更新",
|
||||
done: " 完成!",
|
||||
Empty: "空的",
|
||||
Close: "关闭",
|
||||
SAVECONFIG: "保存配置",
|
||||
UploadPrint: "上传并打印",
|
||||
EmergencyStop: "紧急停止",
|
||||
Uploading: "上传"
|
||||
},
|
||||
Router: {
|
||||
Dashboard: "仪表盘",
|
||||
Printers: "打印机",
|
||||
Settings: "设置",
|
||||
Webcam: "摄像头",
|
||||
Console: "控制台",
|
||||
Heightmap: "Heightmap",
|
||||
"G-Code Files": "G-Code 文件",
|
||||
Machine: "机器",
|
||||
Interface: "界面"
|
||||
},
|
||||
Files: {
|
||||
GCodeFiles: "G-Code 文件",
|
||||
UploadNewGcode: "上传新 Gcode",
|
||||
CreateNewDirectory: "创建新目录",
|
||||
RefreshCurrentDirectory: "刷新当前目录",
|
||||
SetupCurrentList: "设置当前列表",
|
||||
HiddenFiles: "隐藏文件",
|
||||
FreeDisk: "可用磁盘: ",
|
||||
Used: "使用: ",
|
||||
Free: "空闲: ",
|
||||
Total: "总共: ",
|
||||
Files: "文件",
|
||||
Search: "搜索",
|
||||
Empty: "空的",
|
||||
blabla: "巴拉巴拉",
|
||||
DropFilesToAddGcode: "删除文件以添加gcode.",
|
||||
PrintStart: "开始打印",
|
||||
Preheat: "预热",
|
||||
Download: "下载",
|
||||
Rename: "重命名",
|
||||
Delete: "删除",
|
||||
StartJob: "开始作业",
|
||||
DoYouWantToStart: "你想开始吗",
|
||||
No: "否",
|
||||
Yes: "是",
|
||||
NewDirectory: "新建目录",
|
||||
PleaseEnterANewDirectoryName: "请输入新的目录名称:",
|
||||
RenameFile: "重命名文件",
|
||||
Name: "名称",
|
||||
Cancel: "取消",
|
||||
Create: "创建",
|
||||
RenameDirectory: "重命名目录",
|
||||
Uploading: "上传",
|
||||
CurrentPath: "当前路径",
|
||||
Filesize: "文件大小",
|
||||
LastModified: "上次修改",
|
||||
ObjectHeight: "对象高度",
|
||||
LayerHeight: "层高",
|
||||
FilamentUsage: "耗材使用",
|
||||
PrintTime: "打印时间",
|
||||
Slicer: "切片"
|
||||
},
|
||||
Console: {
|
||||
send: "发送",
|
||||
SetupConsole: "设置控制台",
|
||||
SendCode: "发送代码...",
|
||||
Empty: "空的",
|
||||
HideTemperatures: "隐藏温度",
|
||||
CustomFilters: "自定义筛选器",
|
||||
Date: "时间",
|
||||
Event: "事件"
|
||||
},
|
||||
Panels: {
|
||||
ControlPanel: {
|
||||
Controls: "控制台",
|
||||
SetupControls: "设置控件",
|
||||
AlternateControls: "备用控件",
|
||||
InvertX: "反转 X",
|
||||
InvertY: "反转 Y",
|
||||
InvertZ: "反转 Z",
|
||||
ALL: "全部",
|
||||
QGL: "QGL",
|
||||
ZTilt: "Z 倾斜",
|
||||
X: "X",
|
||||
Y: "Y",
|
||||
Z: "Z",
|
||||
PleaseConfigureSteps: "请配置步骤",
|
||||
SettingsInterfaceControl: "设置 > 界面 > 控制",
|
||||
Home: "家",
|
||||
FeedAmountIn: "进料量",
|
||||
FeedrateIn: "输入速度",
|
||||
Retract: "回抽",
|
||||
Extrude: "挤出",
|
||||
Macros: "宏"
|
||||
},
|
||||
FarmPrinterPanel: {
|
||||
|
||||
},
|
||||
KlippyStatePanel: {
|
||||
KlippyState: "Klippy-State: ",
|
||||
KlippyInfo: "Moonraker 无法连接到 Klippy!\n请检查Klipper服务是否正在运行,并且是否配置了UDS(Unix域套接字).",
|
||||
Restart: "重启",
|
||||
FirmwareRestart: "固件重启"
|
||||
},
|
||||
MiniconsolePanel: {
|
||||
Console: "控制台",
|
||||
SetupConsole: "设置控制台",
|
||||
HideTemperatures: "隐藏温度",
|
||||
CustomFilters: "自定义筛选器",
|
||||
SendCode: "发送代码...",
|
||||
Send: "发送",
|
||||
Empty: "空的"
|
||||
},
|
||||
MinSettingsPanel: {
|
||||
MissingConfiguration: "缺少配置",
|
||||
IsNotDefinedInConfig: "未在配置中定义.",
|
||||
MoreInformation: "更多信息"
|
||||
},
|
||||
MiscellaneousPanel: {
|
||||
PrintSettings: "打印设置",
|
||||
Miscellaneous: "其他"
|
||||
},
|
||||
MoonrakerFailedComponentsPanel: {
|
||||
MoonrakerFailedComponents: "Moonraker 失败的组件",
|
||||
MoonrakerErrorInfo: "加载moonraker组件时检测到一个错误. 请检查日志文件并修复这个问题.",
|
||||
FollowingPluginHasAnError: "以下插件有一个错误:",
|
||||
DownloadLog: "下载日志"
|
||||
},
|
||||
PowerControlPanel: {
|
||||
PowerControl: "功率控制",
|
||||
Error: "错误",
|
||||
On: "开",
|
||||
Off: "关"
|
||||
},
|
||||
StatusPanel: {
|
||||
Unknown: "未知",
|
||||
PausePrint: "暂停打印",
|
||||
CancelPrint: "取消打印",
|
||||
ResumePrint: "继续打印",
|
||||
ClearPrintStats: "清除打印统计信息",
|
||||
ReprintJob: "重新打印工作",
|
||||
X: "X",
|
||||
Y: "Y",
|
||||
Z: "Z",
|
||||
Filament: "耗材",
|
||||
Print: "打印",
|
||||
Total: "总计",
|
||||
Speed: "速度",
|
||||
Layer: "层",
|
||||
ObjectHeight: "对象高度:",
|
||||
ETA: "ETA",
|
||||
File: "文件",
|
||||
Slicer: "切片"
|
||||
},
|
||||
ToolsPanel: {
|
||||
Temperatures: "温度",
|
||||
Presets: "预设",
|
||||
Cooldown: "冷却",
|
||||
SetupTemperatures: "设置温度",
|
||||
ShowChart: "显示图表",
|
||||
AutoscaleChart: "自动缩放图表",
|
||||
Name: "名称",
|
||||
Color: "颜色",
|
||||
State: "状态",
|
||||
Current: "当前",
|
||||
Target: "目标",
|
||||
Min: "最小: ",
|
||||
Max: "最大: ",
|
||||
UNKNOWN: "未知",
|
||||
ShowCurrentTemperatureInChart: "在图表中显示当前温度",
|
||||
ShowTargetTemperatureInChart: "在图表中显示目标温度",
|
||||
ShowPWMPowerInChart: "在图表中显示PWM功率",
|
||||
Show: "Show",
|
||||
InList: "in list"
|
||||
},
|
||||
WebcamPanel: {
|
||||
Webcam: "摄像头",
|
||||
FPS: "FPS"
|
||||
},
|
||||
ZOffsetPanel: {
|
||||
ZBabyStepping: "Z 偏移",
|
||||
CurrentOffset: "当前偏移量: "
|
||||
}
|
||||
},
|
||||
Settings: {
|
||||
ConfigFilesPanel: {
|
||||
ConfigFiles: "配置文件",
|
||||
SetupCurrentList: "设置当前列表",
|
||||
HiddenFiles: "隐藏文件",
|
||||
CurrentPath: "当前路径",
|
||||
Files: "文件",
|
||||
Empty: "空的",
|
||||
EditFile: "编辑文件",
|
||||
Download: "下载",
|
||||
Rename: "重命名",
|
||||
Delete: "删除",
|
||||
PleaseStandBy: "请等待",
|
||||
ConfigReference: "配置参考",
|
||||
Save: "保存",
|
||||
SaveRestart: "保存 & 重启",
|
||||
RenameFile: "重命名文件",
|
||||
Name: "名称",
|
||||
Cancel: "取消",
|
||||
Create: "创建",
|
||||
Edit: "编辑",
|
||||
CreateFile: "创建文件",
|
||||
CreateFolder: "创建文件夹",
|
||||
Uploading: "上传",
|
||||
Filesize: "文件大小",
|
||||
LastModified: "上次修改"
|
||||
},
|
||||
ConsolePanel: {
|
||||
Console: "控制",
|
||||
HideTemperatures: "隐藏温度",
|
||||
CustomFilters: "自定义筛选器",
|
||||
Rules: "规则"
|
||||
},
|
||||
ControlPanel: {
|
||||
Control: "控制",
|
||||
SpeedXY: "XY 速度",
|
||||
SpeedZ: "Z 速度",
|
||||
MoveDistancesInMm: "移动距离(mm)",
|
||||
ReverseZMovement: "反向Z运动",
|
||||
MoveDistancesXYInMm: "XY移动距离(mm)",
|
||||
MoveDistancesZInMm: "Z移动距离(mm)",
|
||||
MoveDistancesEInMm: "E移动距离(mm)",
|
||||
Extruder: "挤出机",
|
||||
SpeedEInMms: "E速度(mm/s)"
|
||||
},
|
||||
DashboardPanel: {
|
||||
Dashboard: "仪表盘",
|
||||
Webcam: "摄像头",
|
||||
Tempchart: "温度图",
|
||||
Console: "控制台",
|
||||
ChartUpdateInterval: "图表更新间隔",
|
||||
DatapointInterval: "数据点间隔"
|
||||
},
|
||||
EndstopPanel: {
|
||||
Endstops: "限位开关",
|
||||
Endstop: "限位",
|
||||
TRIGGERED: "触发",
|
||||
open: "打开",
|
||||
EndstopInfo: "按右下角的同步按钮加载当前的限位状态。"
|
||||
},
|
||||
GeneralPanel: {
|
||||
General: "一般",
|
||||
PrinterName: "打印机名称",
|
||||
DisplayCANCEL_PRINT: "显示 CANCEL_PRINT",
|
||||
DisplayZOffset: "显示Z偏移面板",
|
||||
ShowCANCEL_PRINT: "永久显示CANCEL_PRINT按钮-无需第二层确认。",
|
||||
ShowZOffset: "永久显示Z偏移面板.",
|
||||
FactoryReset: "恢复出厂设置",
|
||||
FactoryInfo: "您是否真的要将主帆重置为出厂设置?",
|
||||
ResetMainsail: "重置主帆"
|
||||
},
|
||||
LanguagePanel: {
|
||||
Language: "语言"
|
||||
},
|
||||
LimitsPanel: {
|
||||
MachineLimits: "机器限制",
|
||||
Velocity: "速度",
|
||||
Acceleration: "加速",
|
||||
Deceleration: "减速",
|
||||
SquareCornerVelocity: "直角速度"
|
||||
},
|
||||
LogfilesPanel: {
|
||||
Logfiles: "日志文件"
|
||||
},
|
||||
MacrosPanel: {
|
||||
Macros: "宏",
|
||||
NOMacros: "没有找到宏..."
|
||||
},
|
||||
PresetsPanel: {
|
||||
PreheatPresets: "预热预设",
|
||||
Cooldown: "冷却",
|
||||
AddPreset: "添加预设",
|
||||
Preset: "预设",
|
||||
Create: "创建",
|
||||
Edit: "编辑",
|
||||
Name: "名称",
|
||||
CustomGCode: "自定义 G-Code",
|
||||
PresetInfo: "您必须设置最低目标温度或自定义gcode.",
|
||||
Store: "储存",
|
||||
Update: "更新",
|
||||
EditCooldown: "编辑冷却",
|
||||
UpdateCooldown: "更新冷却"
|
||||
},
|
||||
RemotePrintersPanel: {
|
||||
RemotePrinters: "远程打印机",
|
||||
AddPrinter: "添加打印机",
|
||||
EditPrinter: "编辑打印机",
|
||||
UpdatePrinter: "更新打印机"
|
||||
},
|
||||
RunoutPanel: {
|
||||
Detected: "发现",
|
||||
Empty: "空的"
|
||||
},
|
||||
UpdatePanel: {
|
||||
UpdateManager: "更新管理器",
|
||||
CheckForUpdates: "检查更新",
|
||||
System: "系统",
|
||||
PackagesCanBeUpgraded: "软件包可以升级",
|
||||
OSPackages: "OS包",
|
||||
Commits: "Commits",
|
||||
CommittedAt: "committed at",
|
||||
UpToDate: "最新的",
|
||||
ERROR: "错误"
|
||||
},
|
||||
WebcamPanel: {
|
||||
Webcam: "摄像头",
|
||||
WebcamURL: "摄像头地址",
|
||||
Rotate: "旋转",
|
||||
FlipWebcamHorizontally: "水平翻转摄像头 ",
|
||||
FlipWebcamVertically: "垂直翻转摄像头",
|
||||
ShowInNavigation: "在导航中显示 ",
|
||||
Service: "服务"
|
||||
}
|
||||
}
|
||||
title: "简体中文",
|
||||
App: {
|
||||
Connecting: "连接",
|
||||
To: "到",
|
||||
Failed: "失败",
|
||||
TryAgain: "重试",
|
||||
Printers: "Printers",
|
||||
CannotNotConnectTo: "无法连接到",
|
||||
ConnectionTo: "连接到",
|
||||
ConnectionFailed: "连接失败",
|
||||
SelectPrinter: "选择打印机",
|
||||
AddPrinter: "添加打印机",
|
||||
EditPrinter: "编辑打印机",
|
||||
UpdatePrinter: "更新打印机",
|
||||
ChangePrinter: "更换打印机",
|
||||
Hello: "大家好,欢迎来到主帆遥控模式!",
|
||||
PleaseRememberToAdd: "请记得添加",
|
||||
InMoonrakerConf: "在 moonraker.conf 的 'cors_domains' 中.",
|
||||
YouCanFindMore: "详情请浏览",
|
||||
Remotemode: "docs.mainsail.xyz/remotemode",
|
||||
KlipperControl: "Klipper 控制",
|
||||
Restart: "重启",
|
||||
FirmwareRestart: "固件重启",
|
||||
RestartServices: "重启服务",
|
||||
Klipper: "Klipper",
|
||||
Moonraker: "Moonraker",
|
||||
PowerDevices: "电力设备",
|
||||
HostControl: "主机控制",
|
||||
Reboot: "重启",
|
||||
Shutdown: "关机",
|
||||
Updating: "更新",
|
||||
done: " 完成!",
|
||||
Empty: "空的",
|
||||
Close: "关闭",
|
||||
SAVECONFIG: "保存配置",
|
||||
UploadPrint: "上传并打印",
|
||||
EmergencyStop: "紧急停止",
|
||||
Uploading: "上传"
|
||||
},
|
||||
Router: {
|
||||
Dashboard: "仪表盘",
|
||||
Printers: "打印机",
|
||||
Settings: "设置",
|
||||
Webcam: "摄像头",
|
||||
Console: "控制台",
|
||||
Heightmap: "Heightmap",
|
||||
"G-Code Files": "G-Code 文件",
|
||||
Machine: "机器",
|
||||
Interface: "界面"
|
||||
},
|
||||
Files: {
|
||||
GCodeFiles: "G-Code 文件",
|
||||
UploadNewGcode: "上传新 Gcode",
|
||||
CreateNewDirectory: "创建新目录",
|
||||
RefreshCurrentDirectory: "刷新当前目录",
|
||||
SetupCurrentList: "设置当前列表",
|
||||
HiddenFiles: "隐藏文件",
|
||||
FreeDisk: "可用磁盘: ",
|
||||
Used: "使用: ",
|
||||
Free: "空闲: ",
|
||||
Total: "总共: ",
|
||||
Files: "文件",
|
||||
Search: "搜索",
|
||||
Empty: "空的",
|
||||
blabla: "巴拉巴拉",
|
||||
DropFilesToAddGcode: "删除文件以添加gcode.",
|
||||
PrintStart: "开始打印",
|
||||
Preheat: "预热",
|
||||
Download: "下载",
|
||||
Rename: "重命名",
|
||||
Delete: "删除",
|
||||
StartJob: "开始作业",
|
||||
DoYouWantToStart: "你想开始吗",
|
||||
No: "否",
|
||||
Yes: "是",
|
||||
NewDirectory: "新建目录",
|
||||
PleaseEnterANewDirectoryName: "请输入新的目录名称:",
|
||||
RenameFile: "重命名文件",
|
||||
Name: "名称",
|
||||
Cancel: "取消",
|
||||
Create: "创建",
|
||||
RenameDirectory: "重命名目录",
|
||||
Uploading: "上传",
|
||||
CurrentPath: "当前路径",
|
||||
Filesize: "文件大小",
|
||||
LastModified: "上次修改",
|
||||
ObjectHeight: "对象高度",
|
||||
LayerHeight: "层高",
|
||||
FilamentUsage: "耗材使用",
|
||||
PrintTime: "打印时间",
|
||||
Slicer: "切片"
|
||||
},
|
||||
Console: {
|
||||
send: "发送",
|
||||
SetupConsole: "设置控制台",
|
||||
SendCode: "发送代码...",
|
||||
Empty: "空的",
|
||||
HideTemperatures: "隐藏温度",
|
||||
CustomFilters: "自定义筛选器",
|
||||
Date: "时间",
|
||||
Event: "事件"
|
||||
},
|
||||
Panels: {
|
||||
ControlPanel: {
|
||||
Controls: "控制台",
|
||||
SetupControls: "设置控件",
|
||||
AlternateControls: "备用控件",
|
||||
InvertX: "反转 X",
|
||||
InvertY: "反转 Y",
|
||||
InvertZ: "反转 Z",
|
||||
ALL: "全部",
|
||||
QGL: "QGL",
|
||||
ZTilt: "Z 倾斜",
|
||||
X: "X",
|
||||
Y: "Y",
|
||||
Z: "Z",
|
||||
PleaseConfigureSteps: "请配置步骤",
|
||||
SettingsInterfaceControl: "设置 > 界面 > 控制",
|
||||
Home: "家",
|
||||
FeedAmountIn: "进料量",
|
||||
FeedrateIn: "输入速度",
|
||||
Retract: "回抽",
|
||||
Extrude: "挤出",
|
||||
Macros: "宏"
|
||||
},
|
||||
FarmPrinterPanel: {},
|
||||
KlippyStatePanel: {
|
||||
KlippyState: "Klippy-State: ",
|
||||
KlippyInfo: "Moonraker 无法连接到 Klippy!\n请检查Klipper服务是否正在运行,并且是否配置了UDS(Unix域套接字).",
|
||||
Restart: "重启",
|
||||
FirmwareRestart: "固件重启"
|
||||
},
|
||||
MiniconsolePanel: {
|
||||
Console: "控制台",
|
||||
SetupConsole: "设置控制台",
|
||||
HideTemperatures: "隐藏温度",
|
||||
CustomFilters: "自定义筛选器",
|
||||
SendCode: "发送代码...",
|
||||
Send: "发送",
|
||||
Empty: "空的"
|
||||
},
|
||||
MinSettingsPanel: {
|
||||
MissingConfiguration: "缺少配置",
|
||||
IsNotDefinedInConfig: "未在配置中定义.",
|
||||
MoreInformation: "更多信息"
|
||||
},
|
||||
MiscellaneousPanel: {
|
||||
PrintSettings: "打印设置",
|
||||
Miscellaneous: "其他"
|
||||
},
|
||||
MoonrakerFailedComponentsPanel: {
|
||||
MoonrakerFailedComponents: "Moonraker 失败的组件",
|
||||
MoonrakerErrorInfo: "加载moonraker组件时检测到一个错误. 请检查日志文件并修复这个问题.",
|
||||
FollowingPluginHasAnError: "以下插件有一个错误:",
|
||||
DownloadLog: "下载日志"
|
||||
},
|
||||
PowerControlPanel: {
|
||||
PowerControl: "功率控制",
|
||||
Error: "错误",
|
||||
On: "开",
|
||||
Off: "关"
|
||||
},
|
||||
StatusPanel: {
|
||||
Unknown: "未知",
|
||||
PausePrint: "暂停打印",
|
||||
CancelPrint: "取消打印",
|
||||
ResumePrint: "继续打印",
|
||||
ClearPrintStats: "清除打印统计信息",
|
||||
ReprintJob: "重新打印工作",
|
||||
X: "X",
|
||||
Y: "Y",
|
||||
Z: "Z",
|
||||
Filament: "耗材",
|
||||
Print: "打印",
|
||||
Total: "总计",
|
||||
Speed: "速度",
|
||||
Layer: "层",
|
||||
ObjectHeight: "对象高度:",
|
||||
ETA: "ETA",
|
||||
File: "文件",
|
||||
Slicer: "切片"
|
||||
},
|
||||
ToolsPanel: {
|
||||
Temperatures: "温度",
|
||||
Presets: "预设",
|
||||
Cooldown: "冷却",
|
||||
SetupTemperatures: "设置温度",
|
||||
ShowChart: "显示图表",
|
||||
AutoscaleChart: "自动缩放图表",
|
||||
Name: "名称",
|
||||
Color: "颜色",
|
||||
State: "状态",
|
||||
Current: "当前",
|
||||
Target: "目标",
|
||||
Min: "最小: ",
|
||||
Max: "最大: ",
|
||||
UNKNOWN: "未知",
|
||||
ShowCurrentTemperatureInChart: "在图表中显示当前温度",
|
||||
ShowTargetTemperatureInChart: "在图表中显示目标温度",
|
||||
ShowPWMPowerInChart: "在图表中显示PWM功率",
|
||||
Show: "Show",
|
||||
InList: "in list"
|
||||
},
|
||||
WebcamPanel: {
|
||||
Webcam: "摄像头",
|
||||
FPS: "FPS"
|
||||
},
|
||||
ZOffsetPanel: {
|
||||
ZBabyStepping: "Z 偏移",
|
||||
CurrentOffset: "当前偏移量: "
|
||||
}
|
||||
},
|
||||
Settings: {
|
||||
ConfigFilesPanel: {
|
||||
ConfigFiles: "配置文件",
|
||||
SetupCurrentList: "设置当前列表",
|
||||
HiddenFiles: "隐藏文件",
|
||||
CurrentPath: "当前路径",
|
||||
Files: "文件",
|
||||
Empty: "空的",
|
||||
EditFile: "编辑文件",
|
||||
Download: "下载",
|
||||
Rename: "重命名",
|
||||
Delete: "删除",
|
||||
PleaseStandBy: "请等待",
|
||||
ConfigReference: "配置参考",
|
||||
Save: "保存",
|
||||
SaveRestart: "保存 & 重启",
|
||||
RenameFile: "重命名文件",
|
||||
Name: "名称",
|
||||
Cancel: "取消",
|
||||
Create: "创建",
|
||||
Edit: "编辑",
|
||||
CreateFile: "创建文件",
|
||||
CreateFolder: "创建文件夹",
|
||||
Uploading: "上传",
|
||||
Filesize: "文件大小",
|
||||
LastModified: "上次修改"
|
||||
},
|
||||
ConsolePanel: {
|
||||
Console: "控制",
|
||||
HideTemperatures: "隐藏温度",
|
||||
CustomFilters: "自定义筛选器",
|
||||
Rules: "规则"
|
||||
},
|
||||
ControlPanel: {
|
||||
Control: "控制",
|
||||
SpeedXY: "XY 速度",
|
||||
SpeedZ: "Z 速度",
|
||||
MoveDistancesInMm: "移动距离(mm)",
|
||||
ReverseZMovement: "反向Z运动",
|
||||
MoveDistancesXYInMm: "XY移动距离(mm)",
|
||||
MoveDistancesZInMm: "Z移动距离(mm)",
|
||||
MoveDistancesEInMm: "E移动距离(mm)",
|
||||
Extruder: "挤出机",
|
||||
SpeedEInMms: "E速度(mm/s)"
|
||||
},
|
||||
DashboardPanel: {
|
||||
Dashboard: "仪表盘",
|
||||
Webcam: "摄像头",
|
||||
Tempchart: "温度图",
|
||||
Console: "控制台",
|
||||
ChartUpdateInterval: "图表更新间隔",
|
||||
DatapointInterval: "数据点间隔"
|
||||
},
|
||||
EndstopPanel: {
|
||||
Endstops: "限位开关",
|
||||
Endstop: "限位",
|
||||
TRIGGERED: "触发",
|
||||
open: "打开",
|
||||
EndstopInfo: "按右下角的同步按钮加载当前的限位状态。"
|
||||
},
|
||||
GeneralPanel: {
|
||||
General: "一般",
|
||||
PrinterName: "打印机名称",
|
||||
DisplayCANCEL_PRINT: "显示 CANCEL_PRINT",
|
||||
DisplayZOffset: "显示Z偏移面板",
|
||||
ShowCANCEL_PRINT: "永久显示CANCEL_PRINT按钮-无需第二层确认。",
|
||||
ShowZOffset: "永久显示Z偏移面板.",
|
||||
FactoryReset: "恢复出厂设置",
|
||||
FactoryInfo: "您是否真的要将主帆重置为出厂设置?",
|
||||
ResetMainsail: "重置主帆"
|
||||
},
|
||||
LanguagePanel: {
|
||||
Language: "语言"
|
||||
},
|
||||
LimitsPanel: {
|
||||
MachineLimits: "机器限制",
|
||||
Velocity: "速度",
|
||||
Acceleration: "加速",
|
||||
Deceleration: "减速",
|
||||
SquareCornerVelocity: "直角速度"
|
||||
},
|
||||
LogfilesPanel: {
|
||||
Logfiles: "日志文件"
|
||||
},
|
||||
MacrosPanel: {
|
||||
Macros: "宏",
|
||||
NOMacros: "没有找到宏..."
|
||||
},
|
||||
PresetsPanel: {
|
||||
PreheatPresets: "预热预设",
|
||||
Cooldown: "冷却",
|
||||
AddPreset: "添加预设",
|
||||
Preset: "预设",
|
||||
Create: "创建",
|
||||
Edit: "编辑",
|
||||
Name: "名称",
|
||||
CustomGCode: "自定义 G-Code",
|
||||
PresetInfo: "您必须设置最低目标温度或自定义gcode.",
|
||||
Store: "储存",
|
||||
Update: "更新",
|
||||
EditCooldown: "编辑冷却",
|
||||
UpdateCooldown: "更新冷却"
|
||||
},
|
||||
RemotePrintersPanel: {
|
||||
RemotePrinters: "远程打印机",
|
||||
AddPrinter: "添加打印机",
|
||||
EditPrinter: "编辑打印机",
|
||||
UpdatePrinter: "更新打印机"
|
||||
},
|
||||
RunoutPanel: {
|
||||
Detected: "发现",
|
||||
Empty: "空的"
|
||||
},
|
||||
UpdatePanel: {
|
||||
UpdateManager: "更新管理器",
|
||||
CheckForUpdates: "检查更新",
|
||||
System: "系统",
|
||||
PackagesCanBeUpgraded: "软件包可以升级",
|
||||
OSPackages: "OS包",
|
||||
Commits: "Commits",
|
||||
CommittedAt: "committed at",
|
||||
UpToDate: "最新的",
|
||||
ERROR: "错误"
|
||||
},
|
||||
WebcamPanel: {
|
||||
Webcam: "摄像头",
|
||||
WebcamURL: "摄像头地址",
|
||||
Rotate: "旋转",
|
||||
FlipWebcamHorizontally: "水平翻转摄像头 ",
|
||||
FlipWebcamVertically: "垂直翻转摄像头",
|
||||
ShowInNavigation: "在导航中显示 ",
|
||||
Service: "服务"
|
||||
}
|
||||
}
|
||||
}
|
||||
+9
-9
@@ -192,19 +192,19 @@
|
||||
<v-icon class="mr-1">mdi-fire</v-icon> {{ $t('Files.Preheat')}}
|
||||
</v-list-item>
|
||||
<v-list-item @click="downloadFile" v-if="!contextMenu.item.isDirectory">
|
||||
<v-icon class="mr-1">mdi-cloud-download</v-icon> {{ $t('Filse.Download')}}
|
||||
<v-icon class="mr-1">mdi-cloud-download</v-icon> {{ $t('Files.Download')}}
|
||||
</v-list-item>
|
||||
<v-list-item @click="renameDirectory(contextMenu.item)" v-if="contextMenu.item.isDirectory">
|
||||
<v-icon class="mr-1">mdi-rename-box</v-icon> {{ $t('Filse.Rename')}}
|
||||
<v-icon class="mr-1">mdi-rename-box</v-icon> {{ $t('Files.Rename')}}
|
||||
</v-list-item>
|
||||
<v-list-item @click="renameFile(contextMenu.item)" v-if="!contextMenu.item.isDirectory">
|
||||
<v-icon class="mr-1">mdi-rename-box</v-icon> {{ $t('Filse.Rename')}}
|
||||
<v-icon class="mr-1">mdi-rename-box</v-icon> {{ $t('Files.Rename')}}
|
||||
</v-list-item>
|
||||
<v-list-item @click="removeFile" v-if="!contextMenu.item.isDirectory">
|
||||
<v-icon class="mr-1">mdi-delete</v-icon> {{ $t('Filse.Delete')}}
|
||||
<v-icon class="mr-1">mdi-delete</v-icon> {{ $t('Files.Delete')}}
|
||||
</v-list-item>
|
||||
<v-list-item @click="deleteDirectoryAction" v-if="contextMenu.item.isDirectory">
|
||||
<v-icon class="mr-1">mdi-delete</v-icon> {{ $t('Filse.Delete')}}
|
||||
<v-icon class="mr-1">mdi-delete</v-icon> {{ $t('Files.Delete')}}
|
||||
</v-list-item>
|
||||
</v-list>
|
||||
</v-menu>
|
||||
@@ -323,15 +323,15 @@
|
||||
item: {}
|
||||
},
|
||||
headers: [
|
||||
{ text: '', value: '', align: 'left', configable: false, visible: true, filterable: false },
|
||||
{ text: this.$t('Files.Name'), value: 'filename', align: 'left', configable: false, visible: true },
|
||||
{ text: this.$t('Files.Filesize'), value: 'size', align: 'right', configable: true, visible: true },
|
||||
{ text: '', value: '', align: 'left', configable: false, visible: true, filterable: false },
|
||||
{ text: this.$t('Files.Name'), value: 'filename', align: 'left', configable: false, visible: true },
|
||||
{ text: this.$t('Files.Filesize'), value: 'size', align: 'right', configable: true, visible: true },
|
||||
{ text: this.$t('Files.LastModified'), value: 'modified', align: 'right', configable: true, visible: true },
|
||||
{ text: this.$t('Files.ObjectHeight'), value: 'object_height', align: 'right', configable: true, visible: true },
|
||||
{ text: this.$t('Files.LayerHeight'), value: 'layer_height', align: 'right', configable: true, visible: true },
|
||||
{ text: this.$t('Files.FilamentUsage'), value: 'filament_total', align: 'right', configable: true, visible: true },
|
||||
{ text: this.$t('Files.PrintTime'), value: 'estimated_time', align: 'right', configable: true, visible: true },
|
||||
{ text: this.$t('Files.Slicer'), value: 'slicer', align: 'right', configable: true, visible: true },
|
||||
{ text: this.$t('Files.Slicer'), value: 'slicer', align: 'right', configable: true, visible: true },
|
||||
],
|
||||
options: {
|
||||
|
||||
|
||||
+23
-23
@@ -11,7 +11,7 @@
|
||||
<v-toolbar-title>
|
||||
<span class="subheading">
|
||||
<v-icon left>mdi-grid</v-icon>
|
||||
Heightmap
|
||||
{{ $t('Heightmap.Heightmap') }}
|
||||
</span>
|
||||
<v-btn
|
||||
text
|
||||
@@ -27,19 +27,19 @@
|
||||
@click="openRenameProfile()">{{ this.bed_mesh && this.bed_mesh.profile_name ? this.bed_mesh.profile_name : "" }}</v-btn>
|
||||
<v-item-group class="v-btn-toggle d-none d-sm-flex" name="controllers">
|
||||
<v-btn small class="px-2 minwidth-0" color="primary" @click="homePrinter" :loading="loadings.includes('homeAll')" title="Home All"><v-icon small>mdi-home</v-icon></v-btn>
|
||||
<v-btn small class="px-2 minwidth-0" color="primary" @click="clearBedMesh" :loading="loadings.includes('bedMeshClear')" v-if="this.bed_mesh && this.bed_mesh.profile_name" title="Clear bed mesh">Clear</v-btn>
|
||||
<v-btn small class="px-2 minwidth-0" color="primary" @click="calibrateDialog = true" :loading="loadings.includes('bedMeshCalibrate')" :disabled="is_printing" title="Calibrate new bed mesh">Calibrate</v-btn>
|
||||
<v-btn small class="px-2 minwidth-0" color="primary" @click="clearBedMesh" :loading="loadings.includes('bedMeshClear')" v-if="this.bed_mesh && this.bed_mesh.profile_name" title="Clear bed mesh">{{ $t('Heightmap.Clear') }}</v-btn>
|
||||
<v-btn small class="px-2 minwidth-0" color="primary" @click="calibrateDialog = true" :loading="loadings.includes('bedMeshCalibrate')" :disabled="is_printing" title="Calibrate new bed mesh">{{ $t('Heightmap.Calibrate') }}</v-btn>
|
||||
</v-item-group>
|
||||
</v-toolbar>
|
||||
<v-card-text class="d-sm-none text-center pb-0">
|
||||
<v-item-group class="v-btn-toggle" name="controllers">
|
||||
<v-btn small class="px-2 minwidth-0" color="primary" @click="homePrinter" :loading="loadings.includes('homeAll')" title="Home All"><v-icon small>mdi-home</v-icon></v-btn>
|
||||
<v-btn small class="px-2 minwidth-0" color="primary" @click="clearBedMesh" :loading="loadings.includes('bedMeshClear')" v-if="this.bed_mesh && this.bed_mesh.profile_name" title="Clear bed mesh">Clear</v-btn>
|
||||
<v-btn small class="px-2 minwidth-0" color="primary" @click="calibrateDialog = true" :loading="loadings.includes('bedMeshCalibrate')" :disabled="is_printing" title="Calibrate new bed mesh">Calibrate</v-btn>
|
||||
<v-btn small class="px-2 minwidth-0" color="primary" @click="clearBedMesh" :loading="loadings.includes('bedMeshClear')" v-if="this.bed_mesh && this.bed_mesh.profile_name" title="Clear bed mesh">{{ $t('Heightmap.Clear') }}</v-btn>
|
||||
<v-btn small class="px-2 minwidth-0" color="primary" @click="calibrateDialog = true" :loading="loadings.includes('bedMeshCalibrate')" :disabled="is_printing" title="Calibrate new bed mesh">{{ $t('Heightmap.Calibrate') }}</v-btn>
|
||||
</v-item-group>
|
||||
</v-card-text>
|
||||
<v-card-text v-if="!(this.bed_mesh && this.bed_mesh.profile_name)">
|
||||
No bed_mesh has been loaded yet.
|
||||
{{ $t('Heightmap.NoBedMeshHasBeenLoadedYet') }}
|
||||
</v-card-text>
|
||||
<v-card-text class="px-0 py-0 content" v-if="this.bed_mesh && this.bed_mesh.profile_name">
|
||||
<v-container class="px-0 py-0">
|
||||
@@ -52,10 +52,10 @@
|
||||
</v-card-text>
|
||||
<v-card-actions v-if="this.bed_mesh && this.bed_mesh.profile_name" class="py-0">
|
||||
<v-spacer></v-spacer>
|
||||
<v-btn text :color="(this.showMeshType === 'probed' ? 'primary accent-4' : 'grey lighten-2')" @click="switchToProbed">Probed</v-btn>
|
||||
<v-btn text :color="(this.showMeshType === 'mesh' ? 'primary accent-4' : 'grey lighten-2')" @click="switchToMesh">Mesh</v-btn>
|
||||
<v-btn text :color="(this.showMeshType === 'probed' ? 'primary accent-4' : 'grey lighten-2')" @click="switchToProbed">{{ $t('Heightmap.Probed') }}</v-btn>
|
||||
<v-btn text :color="(this.showMeshType === 'mesh' ? 'primary accent-4' : 'grey lighten-2')" @click="switchToMesh">{{ $t('Heightmap.Mesh') }}</v-btn>
|
||||
<v-spacer></v-spacer>
|
||||
<v-switch class="mr-3" v-model="colorbarType" label="Scale"></v-switch>
|
||||
<v-switch class="mr-3" v-model="colorbarType" :label="$t('Heightmap.Scale')"></v-switch>
|
||||
</v-card-actions>
|
||||
</v-card>
|
||||
</v-col>
|
||||
@@ -63,7 +63,7 @@
|
||||
<v-card>
|
||||
<v-toolbar flat dense>
|
||||
<v-toolbar-title>
|
||||
<span class="subheading"><v-icon left>mdi-stack-overflow</v-icon>Profile</span>
|
||||
<span class="subheading"><v-icon left>mdi-stack-overflow</v-icon>{{ $t('Heightmap.Profiles') }}</span>
|
||||
</v-toolbar-title>
|
||||
</v-toolbar>
|
||||
<v-card-text class="py-0 px-0">
|
||||
@@ -71,7 +71,7 @@
|
||||
<template v-slot:default>
|
||||
<tbody>
|
||||
<tr v-for="(profile, index) in profiles" :key="index" >
|
||||
<td><span @click="loadProfile(profile.name)" :class="('profile_name' in bed_mesh && bed_mesh.profile_name === profile.name) ? 'font-weight-bold' : ''" style="cursor: pointer;">{{ profile.name }}</span><small class="ml-2" v-if="'deleted' in profile.data">(deleted)</small></td>
|
||||
<td><span @click="loadProfile(profile.name)" :class="('profile_name' in bed_mesh && bed_mesh.profile_name === profile.name) ? 'font-weight-bold' : ''" style="cursor: pointer;">{{ profile.name }}</span><small class="ml-2" v-if="'deleted' in profile.data">({{ $t('Heightmap.Deleted') }})</small></td>
|
||||
<td>
|
||||
<v-tooltip top color="rgba(0,0,0,0.8)">
|
||||
<template v-slot:activator="{ on, attrs }">
|
||||
@@ -97,63 +97,63 @@
|
||||
<v-dialog v-model="renameDialog" persistent max-width="600px">
|
||||
<v-card>
|
||||
<v-card-title>
|
||||
<span class="headline">Rename Bed Mesh Profile</span>
|
||||
<span class="headline">{{ $t('Heightmap.RenameBedMeshProfile') }}</span>
|
||||
</v-card-title>
|
||||
<v-card-text>
|
||||
<v-container>
|
||||
<v-row>
|
||||
<v-col cols="12">
|
||||
<v-text-field label="Name" required v-model="newName"></v-text-field>
|
||||
<v-text-field :label="$t('Heightmap.Name')" required v-model="newName"></v-text-field>
|
||||
</v-col>
|
||||
</v-row>
|
||||
</v-container>
|
||||
</v-card-text>
|
||||
<v-card-actions>
|
||||
<v-spacer></v-spacer>
|
||||
<v-btn color="waring darken-1" text @click="renameDialog = false">abort</v-btn>
|
||||
<v-btn color="blue darken-1" text @click="renameProfile">rename</v-btn>
|
||||
<v-btn color="waring darken-1" text @click="renameDialog = false">{{ $t('Heightmap.Abort') }}</v-btn>
|
||||
<v-btn color="blue darken-1" text @click="renameProfile">{{ $t('Heightmap.Rename') }}</v-btn>
|
||||
</v-card-actions>
|
||||
</v-card>
|
||||
</v-dialog>
|
||||
<v-dialog v-model="calibrateDialog" persistent max-width="600px">
|
||||
<v-card>
|
||||
<v-card-title>
|
||||
<span class="headline">Bed Mesh Calibrate</span>
|
||||
<span class="headline">{{ $t('Heightmap.BedMeshCalibrate') }}</span>
|
||||
</v-card-title>
|
||||
<v-card-text>
|
||||
<v-container>
|
||||
<v-row>
|
||||
<v-col cols="12">
|
||||
<p>Do you really want to start the bed calibration?</p>
|
||||
<p>{{ $t('Heightmap.DoYouReallyWantToCalibrate') }}</p>
|
||||
</v-col>
|
||||
</v-row>
|
||||
</v-container>
|
||||
</v-card-text>
|
||||
<v-card-actions>
|
||||
<v-spacer></v-spacer>
|
||||
<v-btn color="waring darken-1" text @click="calibrateDialog = false">abort</v-btn>
|
||||
<v-btn color="blue darken-1" text @click="calibrateMesh">calibrate</v-btn>
|
||||
<v-btn color="waring darken-1" text @click="calibrateDialog = false">{{ $t('Heightmap.Abort') }}</v-btn>
|
||||
<v-btn color="blue darken-1" text @click="calibrateMesh">{{ $t('Heightmap.Calibrate') }}</v-btn>
|
||||
</v-card-actions>
|
||||
</v-card>
|
||||
</v-dialog>
|
||||
<v-dialog v-model="removeDialog" persistent max-width="600px">
|
||||
<v-card>
|
||||
<v-card-title>
|
||||
<span class="headline">Delete Bed Mesh Profile</span>
|
||||
<span class="headline"></span>
|
||||
</v-card-title>
|
||||
<v-card-text>
|
||||
<v-container>
|
||||
<v-row>
|
||||
<v-col cols="12">
|
||||
<p>Do you really want to delete the profile "{{ removeDialogProfile }}"?</p>
|
||||
<p>{{ $t('Heightmap.DoYouReallyWantToDelete') }} "{{ removeDialogProfile }}"?</p>
|
||||
</v-col>
|
||||
</v-row>
|
||||
</v-container>
|
||||
</v-card-text>
|
||||
<v-card-actions>
|
||||
<v-spacer></v-spacer>
|
||||
<v-btn color="waring darken-1" text @click="removeDialog = false">abort</v-btn>
|
||||
<v-btn color="blue darken-1" text @click="removeProfile">remove</v-btn>
|
||||
<v-btn color="waring darken-1" text @click="removeDialog = false">{{ $t('Heightmap.Abort') }}</v-btn>
|
||||
<v-btn color="blue darken-1" text @click="removeProfile">{{ $t('Heightmap.Remove') }}</v-btn>
|
||||
</v-card-actions>
|
||||
</v-card>
|
||||
</v-dialog>
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
<v-row>
|
||||
<v-col class="col-12 col-md-6 col-lg-4">
|
||||
<settings-general-panel></settings-general-panel>
|
||||
<settings-language-panel class="mt-6"></settings-language-panel>
|
||||
<settings-webcam-panel class="mt-6"></settings-webcam-panel>
|
||||
<settings-dashboard-panel class="mt-6"></settings-dashboard-panel>
|
||||
<settings-console-panel class="mt-6"></settings-console-panel>
|
||||
|
||||
+19
-18
@@ -2,22 +2,23 @@ import Vue from 'vue';
|
||||
import VueI18n from 'vue-i18n'
|
||||
Vue.use(VueI18n)
|
||||
|
||||
function loadLocaleMessages () {
|
||||
const locales = require.context('../locales', true, /[A-Za-z0-9-_,\s]+\.js$/i)
|
||||
const messages = {}
|
||||
locales.keys().forEach(key => {
|
||||
const matched = key.match(/([A-Za-z0-9-_]+)\./i)
|
||||
if (matched && matched.length > 1) {
|
||||
const locale = matched[1]
|
||||
messages[locale] = locales(key).default
|
||||
}
|
||||
})
|
||||
console.log(messages,666)
|
||||
return messages
|
||||
}
|
||||
function loadLocaleMessages() {
|
||||
const locales = require.context('../locales', true, /[A-Za-z0-9-_,\s]+\.js$/i)
|
||||
const messages = {}
|
||||
|
||||
export default new VueI18n({
|
||||
locale: process.env.VUE_APP_I18N_LOCALE || 'en',
|
||||
fallbackLocale: process.env.VUE_APP_I18N_FALLBACK_LOCALE || 'en',
|
||||
messages: loadLocaleMessages()
|
||||
})
|
||||
locales.keys().forEach(key => {
|
||||
const matched = key.match(/([A-Za-z0-9-_]+)\./i)
|
||||
if (matched && matched.length > 1) {
|
||||
const locale = matched[1]
|
||||
messages[locale] = locales(key).default
|
||||
}
|
||||
})
|
||||
|
||||
return messages
|
||||
}
|
||||
|
||||
export default new VueI18n({
|
||||
locale: process.env.VUE_APP_I18N_LOCALE || 'en',
|
||||
fallbackLocale: process.env.VUE_APP_I18N_FALLBACK_LOCALE || 'en',
|
||||
messages: loadLocaleMessages()
|
||||
})
|
||||
Reference in new issue
Block a user