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,19 @@ export default {
|
||||
viewRequirements: '查看前置條件',
|
||||
requirementsNotMet: '前置條件未滿足',
|
||||
current: '當前',
|
||||
level: '等級'
|
||||
level: '等級',
|
||||
gmModeActivated: 'GM 模式已啟用!請查看導航選單。'
|
||||
},
|
||||
errors: {
|
||||
requirementsNotMet: '不滿足前置條件',
|
||||
insufficientResources: '資源不足',
|
||||
insufficientFleetStorage: '艦隊倉儲空間不足',
|
||||
shieldDomeLimit: '護盾罩數量限制',
|
||||
missileSiloLimit: '導彈發射井容量已滿',
|
||||
insufficientMissiles: '星際導彈數量不足',
|
||||
invalidMissileCount: '導彈數量無效',
|
||||
targetOutOfRange: '目標超出射程',
|
||||
cannotAttackOwnPlanet: '不能攻擊自己的星球',
|
||||
fleetMissionsFull: '艦隊任務槽位已滿',
|
||||
insufficientFleet: '艦隊數量不足',
|
||||
insufficientFuel: '燃料不足',
|
||||
@@ -166,8 +172,8 @@ export default {
|
||||
darkMatterCollector: '收集稀有的暗物質資源',
|
||||
darkMatterTank: '增加暗物質儲存上限',
|
||||
missileSilo: '存儲和發射導彈,每級可存儲10枚導彈',
|
||||
terraformer: '改造行星地形,每級增加5個可用空間',
|
||||
lunarBase: '增加月球可用空間,每級+5空間',
|
||||
terraformer: '改造行星地形,每級增加30個可用空間',
|
||||
lunarBase: '增加月球可用空間,每級+30空間',
|
||||
sensorPhalanx: '偵測周圍星系的艦隊活動',
|
||||
jumpGate: '瞬間傳送艦隊到其他月球',
|
||||
planetDestroyerFactory: '建造能夠摧毀行星的終極武器'
|
||||
@@ -285,7 +291,7 @@ export default {
|
||||
impulseDrive: '中級推進技術',
|
||||
hyperspaceDrive: '高級推進技術',
|
||||
darkMatterTechnology: '研究暗物質的性質和應用',
|
||||
terraformingTechnology: '研究行星地形改造技術,每級為所有行星增加3個可用空間',
|
||||
terraformingTechnology: '研究行星地形改造技術,每級為所有行星增加30個可用空間',
|
||||
planetDestructionTech: '研究如何摧毀整個行星的恐怖技術'
|
||||
},
|
||||
officers: {
|
||||
@@ -318,6 +324,7 @@ export default {
|
||||
cancelResearch: '取消研究',
|
||||
confirmCancel: '確定要取消嗎?將返還50%的資源。',
|
||||
level: '等級',
|
||||
gmModeActivated: '',
|
||||
upgradeToLevel: '升級到等級'
|
||||
},
|
||||
overview: {
|
||||
@@ -338,6 +345,7 @@ export default {
|
||||
usedSpace: '已用空間',
|
||||
spaceUsage: '佔用空間',
|
||||
level: '等級',
|
||||
gmModeActivated: '',
|
||||
upgradeCost: '升級消耗',
|
||||
buildTime: '建造時間',
|
||||
upgrade: '升級',
|
||||
@@ -349,8 +357,8 @@ export default {
|
||||
demolishRefund: '拆除返還',
|
||||
demolishFailed: '拆除失敗',
|
||||
demolishFailedMessage: '無法拆除該建築,請檢查建造隊列是否已滿或建築等級是否為0。',
|
||||
confirmDemolish: '',
|
||||
confirmDemolishMessage: ''
|
||||
confirmDemolish: '確認拆除',
|
||||
confirmDemolishMessage: '確定要拆除以下建築嗎?'
|
||||
},
|
||||
researchView: {
|
||||
title: '研究',
|
||||
@@ -362,6 +370,7 @@ export default {
|
||||
},
|
||||
shipyard: {
|
||||
attack: '攻擊力',
|
||||
missileAttack: '導彈攻擊',
|
||||
shield: '護盾',
|
||||
armor: '裝甲',
|
||||
speed: '速度',
|
||||
@@ -379,6 +388,7 @@ export default {
|
||||
title: '船塢',
|
||||
fleetStorage: '艦隊倉儲',
|
||||
attack: '攻擊力',
|
||||
missileAttack: '導彈攻擊',
|
||||
shield: '護盾',
|
||||
speed: '速度',
|
||||
cargoCapacity: '載貨量',
|
||||
@@ -393,6 +403,7 @@ export default {
|
||||
},
|
||||
defense: {
|
||||
attack: '攻擊力',
|
||||
missileAttack: '導彈攻擊',
|
||||
shield: '護盾',
|
||||
armor: '裝甲',
|
||||
buildCost: '建造成本',
|
||||
@@ -406,6 +417,7 @@ export default {
|
||||
defenseView: {
|
||||
title: '防禦設施',
|
||||
attack: '攻擊力',
|
||||
missileAttack: '導彈攻擊',
|
||||
shield: '護盾',
|
||||
armor: '裝甲',
|
||||
buildTime: '建造時間',
|
||||
@@ -415,6 +427,7 @@ export default {
|
||||
totalCost: '總成本',
|
||||
build: '建造',
|
||||
shieldDomeBuilt: '護盾罩已建造',
|
||||
missileCapacity: '導彈容量',
|
||||
inputError: '輸入錯誤',
|
||||
inputErrorMessage: '請輸入建造數量!',
|
||||
buildFailed: '建造失敗',
|
||||
@@ -427,6 +440,7 @@ export default {
|
||||
flightMissions: '飛行任務',
|
||||
currentPlanetFleet: '當前星球艦隊',
|
||||
attack: '攻擊',
|
||||
missileAttack: '導彈攻擊',
|
||||
shield: '護盾',
|
||||
armor: '裝甲',
|
||||
speed: '速度',
|
||||
@@ -521,25 +535,36 @@ export default {
|
||||
selectSystem: '選擇星系',
|
||||
view: '查看',
|
||||
myPlanet: '我的星球',
|
||||
myPlanets: '我的星球',
|
||||
myPlanets: '查看我的星系',
|
||||
npcPlanets: 'NPC星球',
|
||||
selectPlanetToView: '選擇要查看的星球',
|
||||
selectPlanetToView: '選擇星球以查看其所在星系',
|
||||
totalPositions: '共10個星球位置',
|
||||
mine: '我的',
|
||||
hostile: '敵對',
|
||||
emptySlot: '空位 - 可殖民',
|
||||
scout: '偵察',
|
||||
attack: '攻擊',
|
||||
missileAttack: '導彈攻擊',
|
||||
colonize: '殖民',
|
||||
switch: '切換',
|
||||
recycle: '回收',
|
||||
debrisField: '殘骸場',
|
||||
scoutPlanetTitle: '偵察星球',
|
||||
attackPlanetTitle: '攻擊星球',
|
||||
missileAttackTitle: '導彈攻擊',
|
||||
colonizePlanetTitle: '殖民星球',
|
||||
recyclePlanetTitle: '回收殘骸',
|
||||
scoutPlanetMessage: '確定要派遣間諜探測器偵察星球 [{coordinates}] 嗎?\n\n請前往艦隊頁面選擇艦船並派遣。',
|
||||
attackPlanetMessage: '確定要攻擊星球 [{coordinates}] 嗎?\n\n請前往艦隊頁面選擇艦船並派遣。',
|
||||
missileAttackMessage: '向星球 [{coordinates}] 發射星際導彈',
|
||||
missileCount: '導彈數量',
|
||||
availableMissiles: '可用導彈',
|
||||
missileRange: '導彈射程',
|
||||
systems: '星系',
|
||||
distance: '距離',
|
||||
flightTime: '飛行時間',
|
||||
launchMissile: '發射',
|
||||
cancel: '取消',
|
||||
colonizePlanetMessage: '確定要殖民位置 [{coordinates}] 嗎?\n\n請前往艦隊頁面派遣殖民船。',
|
||||
recyclePlanetMessage: '確定要回收位置 [{coordinates}] 的殘骸嗎?\n\n請前往艦隊頁面派遣回收船。',
|
||||
sendGift: '贈送禮物',
|
||||
@@ -692,10 +717,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 儲存庫',
|
||||
@@ -734,12 +773,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: '重置遊戲',
|
||||
@@ -791,9 +840,32 @@ export default {
|
||||
events: {
|
||||
gift: '已贈送禮物',
|
||||
attack: '攻擊',
|
||||
missileAttack: '導彈攻擊',
|
||||
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: {
|
||||
@@ -802,5 +874,10 @@ export default {
|
||||
first: '首頁',
|
||||
last: '末頁',
|
||||
page: '第 {page} 頁'
|
||||
},
|
||||
notFound: {
|
||||
title: '找不到頁面',
|
||||
description: '抱歉,您訪問的頁面不存在',
|
||||
goHome: '返回首頁'
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user