mirror of
https://github.com/setube/ogame-vue-ts.git
synced 2026-05-12 07:55:11 +08:00
feat: 重构战报弹窗与模拟器视图,优化UI与逻辑
重构BattleReportDialog和BattleSimulatorView相关静态资源,替换旧版JS/CSS文件,提升界面一致性和交互体验。新增和优化空状态、滚动区域等通用UI组件,移除部分冗余composable,完善多语言内容。引入导弹逻辑,补充版本检测工具,提升整体代码结构和可维护性。
This commit is contained in:
@@ -33,13 +33,20 @@ export default {
|
||||
viewRequirements: '查看前置条件',
|
||||
requirementsNotMet: '前置条件未满足',
|
||||
current: '当前',
|
||||
level: '等级'
|
||||
level: '等级',
|
||||
gmModeActivated: 'GM 模式已激活!请查看导航菜单。'
|
||||
},
|
||||
errors: {
|
||||
requirementsNotMet: '不满足前置条件',
|
||||
insufficientResources: '资源不足',
|
||||
insufficientFleetStorage: '舰队仓储空间不足',
|
||||
shieldDomeLimit: '护盾罩数量限制',
|
||||
missileSiloLimit: '导弹发射井容量不足',
|
||||
insufficientMissiles: '星际导弹数量不足',
|
||||
invalidMissileCount: '导弹数量无效',
|
||||
targetOutOfRange: '目标超出射程',
|
||||
cannotAttackOwnPlanet: '不能攻击自己的星球',
|
||||
launchFailed: '发射失败',
|
||||
fleetMissionsFull: '舰队任务槽位已满',
|
||||
insufficientFleet: '舰队数量不足',
|
||||
insufficientFuel: '燃料不足',
|
||||
@@ -164,8 +171,8 @@ export default {
|
||||
darkMatterCollector: '收集稀有的暗物质资源',
|
||||
darkMatterTank: '增加暗物质存储上限',
|
||||
missileSilo: '存储和发射导弹,每级可存储10枚导弹',
|
||||
terraformer: '改造行星地形,每级增加5个可用空间',
|
||||
lunarBase: '增加月球可用空间,每级+5空间',
|
||||
terraformer: '改造行星地形,每级增加30个可用空间',
|
||||
lunarBase: '增加月球可用空间,每级+30空间',
|
||||
sensorPhalanx: '侦测周围星系的舰队活动',
|
||||
jumpGate: '瞬间传送舰队到其他月球',
|
||||
planetDestroyerFactory: '建造能够摧毁行星的终极武器'
|
||||
@@ -283,7 +290,7 @@ export default {
|
||||
impulseDrive: '中级推进技术',
|
||||
hyperspaceDrive: '高级推进技术',
|
||||
darkMatterTechnology: '研究暗物质的性质和应用',
|
||||
terraformingTechnology: '研究行星地形改造技术,每级为所有行星增加3个可用空间',
|
||||
terraformingTechnology: '研究行星地形改造技术,每级为所有行星增加30个可用空间',
|
||||
planetDestructionTech: '研究如何摧毁整个行星的恐怖技术'
|
||||
},
|
||||
officers: {
|
||||
@@ -415,6 +422,7 @@ export default {
|
||||
totalCost: '总成本',
|
||||
build: '建造',
|
||||
shieldDomeBuilt: '护盾罩已建造',
|
||||
missileCapacity: '导弹容量',
|
||||
inputError: '输入错误',
|
||||
inputErrorMessage: '请输入建造数量!',
|
||||
buildFailed: '建造失败',
|
||||
@@ -520,15 +528,16 @@ export default {
|
||||
selectSystem: '选择星系',
|
||||
view: '查看',
|
||||
myPlanet: '我的星球',
|
||||
myPlanets: '我的星球',
|
||||
myPlanets: '查看我的星系',
|
||||
npcPlanets: 'NPC星球',
|
||||
selectPlanetToView: '选择要查看的星球',
|
||||
selectPlanetToView: '选择星球以查看其所在星系',
|
||||
totalPositions: '共10个星球位置',
|
||||
mine: '我的',
|
||||
hostile: '敌对',
|
||||
emptySlot: '空位 - 可殖民',
|
||||
scout: '侦察',
|
||||
attack: '攻击',
|
||||
missileAttack: '导弹攻击',
|
||||
colonize: '殖民',
|
||||
switch: '切换',
|
||||
recycle: '回收',
|
||||
@@ -537,11 +546,22 @@ export default {
|
||||
debrisField: '残骸场',
|
||||
scoutPlanetTitle: '侦察星球',
|
||||
attackPlanetTitle: '攻击星球',
|
||||
missileAttackTitle: '导弹攻击',
|
||||
colonizePlanetTitle: '殖民星球',
|
||||
recyclePlanetTitle: '回收残骸',
|
||||
giftPlanetTitle: '赠送礼物',
|
||||
scoutPlanetMessage: '确定要派遣间谍探测器侦察星球 [{coordinates}] 吗?\n\n请前往舰队页面选择舰船并派遣。',
|
||||
attackPlanetMessage: '确定要攻击星球 [{coordinates}] 吗?\n\n请前往舰队页面选择舰船并派遣。',
|
||||
missileAttackMessage: '向星球 [{coordinates}] 发射导弹',
|
||||
missileCount: '导弹数量',
|
||||
availableMissiles: '可用导弹',
|
||||
missileRange: '射程',
|
||||
systems: '系统',
|
||||
distance: '距离',
|
||||
flightTime: '飞行时间',
|
||||
launchMissile: '发射',
|
||||
missileLaunched: '导弹已发射',
|
||||
cancel: '取消',
|
||||
colonizePlanetMessage: '确定要殖民位置 [{coordinates}] 吗?\n\n请前往舰队页面派遣殖民船。',
|
||||
recyclePlanetMessage: '确定要回收位置 [{coordinates}] 的残骸吗?\n\n请前往舰队页面派遣回收船。',
|
||||
giftPlanetMessage: '确定要向星球 [{coordinates}] 赠送资源吗?\n\n请前往舰队页面选择运输船并装载资源。'
|
||||
@@ -622,7 +642,11 @@ export default {
|
||||
recycleSuccess: '回收任务成功完成',
|
||||
recycleFailed: '回收任务失败,目标位置没有残骸',
|
||||
destroySuccess: '行星毁灭任务成功执行',
|
||||
destroyFailed: '行星毁灭任务失败'
|
||||
destroyFailed: '行星毁灭任务失败',
|
||||
missileAttackSuccess: '导弹攻击成功',
|
||||
missileAttackFailed: '导弹攻击失败,目标星球不存在',
|
||||
missileAttackIntercepted: '所有导弹被拦截',
|
||||
hits: '枚命中'
|
||||
},
|
||||
simulatorView: {
|
||||
title: '战斗模拟器',
|
||||
@@ -691,10 +715,24 @@ export default {
|
||||
gamePaused: '游戏已暂停',
|
||||
gameResumed: '游戏已恢复',
|
||||
playerName: '玩家名称',
|
||||
gameSpeed: '游戏速度',
|
||||
gameSpeedDesc: '当前游戏速度倍率',
|
||||
gameSpeed: '资源产出速度',
|
||||
gameSpeedDesc: '当前资源产出速度倍率',
|
||||
speedChanged: '资源产出速度已更改为 {speed}x',
|
||||
speedReset: '资源产出速度已重置为 1x',
|
||||
reset: '重置',
|
||||
about: '关于',
|
||||
version: '版本',
|
||||
latestVersion: '最新版本',
|
||||
checkUpdate: '检查更新',
|
||||
checking: '检查中...',
|
||||
newVersionAvailable: '发现新版本 {version}',
|
||||
upToDate: '已是最新版本',
|
||||
checkUpdateCooldown: '请稍后再试(5分钟冷却时间)',
|
||||
checkUpdateFailed: '检查更新失败,请检查网络连接',
|
||||
viewUpdate: '查看更新',
|
||||
updateAvailable: '有新版本可用。点击查看更新内容。',
|
||||
download: '下载',
|
||||
goToDownload: '前往下载',
|
||||
buildDate: '构建日期',
|
||||
community: '社区',
|
||||
github: 'GitHub 仓库',
|
||||
@@ -733,12 +771,22 @@ export default {
|
||||
testSpy: '测试侦查',
|
||||
testAttack: '测试攻击',
|
||||
testSpyAndAttack: '测试侦查&攻击',
|
||||
testSpyMessage: '点击确认以加速侦查任务',
|
||||
testAttackMessage: '点击确认以加速攻击任务',
|
||||
testSpyAndAttackMessage: '点击确认以加速任务执行',
|
||||
initializeFleet: '初始化NPC舰队',
|
||||
accelerateMissions: '加速所有任务(5秒)',
|
||||
selectNPCFirst: '请先选择一个NPC',
|
||||
npcNoProbes: 'NPC没有间谍探测器',
|
||||
npcNoSpyReport: 'NPC需要先侦查',
|
||||
npcMissionFailed: '创建任务失败',
|
||||
npcNoPlanets: 'NPC没有星球',
|
||||
npcWillSpyIn5s: '{npcName}将在5秒后侦查',
|
||||
npcWillAttackIn5s: '{npcName}将在5秒后攻击',
|
||||
npcWillSpyAndAttack: '{npcName}将在5秒后侦查,10秒后攻击',
|
||||
acceleratedMissions: '已加速{count}个任务至5秒后',
|
||||
npcFleetInitialized: '{npcName}舰队已初始化',
|
||||
npcFleetDetails: '100 间谍探测器\n500 轻型战机\n300 重型战机\n200 巡洋舰\n100 战列舰\n50 轰炸机\n30 毁灭者\n20 战列巡洋舰',
|
||||
dangerZone: '危险区域',
|
||||
dangerZoneDesc: '以下操作不可撤销,请谨慎操作',
|
||||
resetGame: '重置游戏',
|
||||
@@ -793,6 +841,28 @@ export default {
|
||||
allyAttacked: '攻击盟友',
|
||||
spy: '侦查',
|
||||
stealDebris: '抢夺残骸'
|
||||
},
|
||||
reports: {
|
||||
giftedResources: '赠送了 {metal}金属 {crystal}晶体 {deuterium}氘',
|
||||
receivedGiftFromPlayer: '收到玩家的礼物',
|
||||
giftedToNpc: '你向{npcName}赠送了资源。好感度+{reputation}',
|
||||
rejectedPlayerGift: '拒绝了玩家的礼物',
|
||||
npcRejectedGift: '{npcName}拒绝了你的礼物。好感度{reputation}',
|
||||
attackedNpc: '攻击了{npcName}',
|
||||
wasAttackedByPlayer: '被玩家攻击',
|
||||
youAttackedNpc: '你攻击了{npcName}',
|
||||
playerAttackedAlly: '玩家攻击了盟友{allyName}',
|
||||
allyDispleased: '{allyName}对你攻击盟友{targetName}感到不满',
|
||||
wasSpiedByPlayer: '被玩家侦查(被发现:{detected})',
|
||||
spyDetected: '你的侦查被{npcName}发现了',
|
||||
stoleDebrisFromTerritory: '从{npcName}的领地抢夺了残骸',
|
||||
playerStoleDebris: '玩家从领地抢夺了残骸',
|
||||
recycledDebrisNearNpc: '你在{npcName}的星球附近回收了残骸。他们很不高兴。',
|
||||
giftedResourcesToPlayer: '向玩家赠送了资源',
|
||||
receivedGiftFromNpc: '收到了{npcName}的礼物',
|
||||
acceptedGiftFromNpc: '你接受了{npcName}的礼物:{metal}金属 {crystal}晶体 {deuterium}氘',
|
||||
playerRejectedGift: '玩家拒绝了礼物',
|
||||
rejectedGiftFromNpc: '你拒绝了{npcName}的礼物。好感度{reputation}'
|
||||
}
|
||||
},
|
||||
pagination: {
|
||||
@@ -801,5 +871,10 @@ export default {
|
||||
first: '首页',
|
||||
last: '末页',
|
||||
page: '第 {page} 页'
|
||||
},
|
||||
notFound: {
|
||||
title: '页面未找到',
|
||||
description: '抱歉,您访问的页面不存在',
|
||||
goHome: '返回首页'
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user