Skip to content

Commit

Permalink
Fix some bug
Browse files Browse the repository at this point in the history
  • Loading branch information
CF3B5 committed Jul 14, 2024
1 parent b2afe89 commit caa370e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/components/TheEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@
:items="configFileStructure"
@update:active="activeChanges"
>
<template v-slot:label="{ item }">
<template #label="{ item }">
<div :class="item.type == 'item' ? 'ͼp' : 'ͼt'">{{ item.name }}</div>
</template>
<template v-slot:append="{ item }" v-if="restartServiceName === 'klipper'">
<template v-if="restartServiceName === 'klipper'" #append="{ item }">
<v-btn
v-if="item.type == 'section'"
icon
Expand Down
6 changes: 4 additions & 2 deletions src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -197,14 +197,14 @@
"Downloading": "Downloading",
"FailedSave": "{filename} could not be uploaded!",
"FileReadOnly": "read-only",
"FileStructure": "File Structure",
"SaveClose": "Save & close",
"SaveRestart": "Save & Restart",
"SuccessfullySaved": "{filename} successfully saved.",
"UnsavedChanges": "Unsaved Changes",
"UnsavedChangesMessage": "Do you want to save your changes made to {filename}?",
"UnsavedChangesSubMessage": "Your changes will be lost if you don't save them. You can disable this message in the editor settings.",
"Uploading": "Uploading",
"FileStructure": "File Structure"
"Uploading": "Uploading"
},
"EmergencyStopDialog": {
"AreYouSure": "Are you sure?",
Expand Down Expand Up @@ -376,6 +376,7 @@
"EntryNextPerform": "Next perform:",
"EntryPerformedAt": "Performed at {date}.",
"EntrySince": "Used since:",
"EstimatedFilament": "Estimated Filament",
"EstimatedFilamentWeight": "Estimated Filament Weight",
"EstimatedTime": "Estimated Time",
"FilamentBasedReminder": "Filament",
Expand Down Expand Up @@ -426,6 +427,7 @@
"SelectedJobs": "Selected Jobs",
"SelectedPrinttime": "Selected Print Time",
"Slicer": "Slicer",
"SlicerVersion": "Slicer Version",
"StartTime": "Start Time",
"Statistics": "Statistics",
"Status": "Status",
Expand Down
4 changes: 2 additions & 2 deletions src/locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -193,14 +193,14 @@
"Downloading": "正在下载",
"FailedSave": "上传{filename}失败!",
"FileReadOnly": "只读文件",
"FileStructure": "结构",
"SaveClose": "保存并关闭",
"SaveRestart": "保存并重启",
"SuccessfullySaved": "{filename}保存成功!",
"UnsavedChanges": "有未保存的更改",
"UnsavedChangesMessage": "是否保存对{filename}的更改?",
"UnsavedChangesSubMessage": "如果不保存,您的更改将丢失。您可以在编辑器设置中关闭此提示。",
"Uploading": "正在上传",
"FileStructure": "结构"
"Uploading": "正在上传"
},
"EmergencyStopDialog": {
"AreYouSure": "确定要执行此操作吗?",
Expand Down

0 comments on commit caa370e

Please sign in to comment.