mirror of
https://github.com/setube/ogame-vue-ts.git
synced 2026-05-12 16:05:12 +08:00
feat(GMView): 添加预设管理功能,支持删除和覆盖确认
- 为所有语言文件添加删除预设、确认覆盖等翻译键 - 在预设选择器旁添加删除按钮,允许删除自定义预设 - 保存同名预设时弹出确认对话框,防止意外覆盖 - 禁止删除默认预设,并提供相应的错误提示
This commit is contained in:
@@ -1089,6 +1089,11 @@ export default {
|
||||
presetNameRequired: '請輸入預設名稱',
|
||||
presetSaved: '預設已儲存',
|
||||
presetApplied: '預設已套用',
|
||||
deletePreset: '刪除預設',
|
||||
presetDeleted: '預設已刪除',
|
||||
confirmOverwriteTitle: '預設已存在',
|
||||
confirmOverwriteMessage: '名為 "{name}" 的預設已存在,是否覆蓋?',
|
||||
cannotDeleteDefault: '無法刪除預設範本',
|
||||
adminOnly: '僅管理員',
|
||||
selectPlanet: '選擇星球',
|
||||
choosePlanet: '選擇一個星球',
|
||||
|
||||
Reference in New Issue
Block a user