diff --git a/android/app/capacitor.build.gradle b/android/app/capacitor.build.gradle index bbfb44f..a01eee2 100644 --- a/android/app/capacitor.build.gradle +++ b/android/app/capacitor.build.gradle @@ -9,7 +9,8 @@ android { apply from: "../capacitor-cordova-android-plugins/cordova.variables.gradle" dependencies { - + implementation project(':capacitor-app') + implementation project(':capacitor-filesystem') } diff --git a/android/capacitor.settings.gradle b/android/capacitor.settings.gradle index 61f03f3..d5fb66e 100644 --- a/android/capacitor.settings.gradle +++ b/android/capacitor.settings.gradle @@ -1,3 +1,9 @@ // DO NOT EDIT THIS FILE! IT IS GENERATED EACH TIME "capacitor update" IS RUN include ':capacitor-android' project(':capacitor-android').projectDir = new File('../node_modules/.pnpm/@capacitor+android@8.0.0_@capacitor+core@8.0.0/node_modules/@capacitor/android/capacitor') + +include ':capacitor-app' +project(':capacitor-app').projectDir = new File('../node_modules/.pnpm/@capacitor+app@8.0.0_@capacitor+core@8.0.0/node_modules/@capacitor/app/android') + +include ':capacitor-filesystem' +project(':capacitor-filesystem').projectDir = new File('../node_modules/.pnpm/@capacitor+filesystem@8.0.0_@capacitor+core@8.0.0/node_modules/@capacitor/filesystem/android') diff --git a/index.html b/index.html index 72d6bd7..0a2339f 100644 --- a/index.html +++ b/index.html @@ -6,6 +6,7 @@ + OGame-Vue-Ts diff --git a/package.json b/package.json index 6c5381c..c50aa86 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ }, "private": true, "version": "1.5.5", - "buildDate": "2025/12/26 01:02:13", + "buildDate": "2025/12/26 22:22:08", "main": "dist-electron/main.js", "type": "module", "scripts": { @@ -44,7 +44,8 @@ "tailwindcss": "^4.1.17", "vue": "^3.5.24", "vue-router": "4", - "vue-sonner": "^2.0.9" + "vue-sonner": "^2.0.9", + "lightningcss": "^1.30.2" }, "devDependencies": { "@types/crypto-js": "^4.2.2", @@ -52,7 +53,6 @@ "@types/node": "^24.10.2", "@vitejs/plugin-vue": "^6.0.1", "@vue/tsconfig": "^0.8.1", - "autoprefixer": "^10.4.23", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "cross-env": "^7.0.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 78f35e8..f09fd33 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -44,6 +44,9 @@ importers: finalhandler: specifier: ^2.1.1 version: 2.1.1 + lightningcss: + specifier: ^1.30.2 + version: 1.30.2 lucide-vue-next: specifier: ^0.556.0 version: 0.556.0(vue@3.5.25(typescript@5.9.3)) @@ -93,9 +96,6 @@ importers: '@vue/tsconfig': specifier: ^0.8.1 version: 0.8.1(typescript@5.9.3)(vue@3.5.25(typescript@5.9.3)) - autoprefixer: - specifier: ^10.4.23 - version: 10.4.23(postcss@8.5.6) class-variance-authority: specifier: ^0.7.1 version: 0.7.1 @@ -1672,13 +1672,6 @@ packages: resolution: {integrity: sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==} engines: {node: '>= 4.0.0'} - autoprefixer@10.4.23: - resolution: {integrity: sha512-YYTXSFulfwytnjAPlw8QHncHJmlvFKtczb8InXaAx9Q0LbfDnfEYDE55omerIJKihhmU61Ft+cAOSzQVaBUmeA==} - engines: {node: ^10 || ^12 || >=14} - hasBin: true - peerDependencies: - postcss: ^8.1.0 - available-typed-arrays@1.0.7: resolution: {integrity: sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==} engines: {node: '>= 0.4'} @@ -2215,9 +2208,6 @@ packages: resolution: {integrity: sha512-8RipRLol37bNs2bhoV67fiTEvdTrbMUYcFTiy3+wuuOnUog2QBHCZWXDRijWQfAkhBj2Uf5UnVaiWwA5vdd82w==} engines: {node: '>= 6'} - fraction.js@5.3.4: - resolution: {integrity: sha512-1X1NTtiJphryn/uLQz3whtY6jK3fTqoE3ohKs0tT+Ujr1W59oopxmoEh7Lu5p6vBaPbgoM0bzveAW4Qi5RyWDQ==} - framer-motion@12.23.12: resolution: {integrity: sha512-6e78rdVtnBvlEVgu6eFEAgG9v3wLnYEboM8I5O5EXvfKC8gxGQB8wXJdhkMy10iVcn05jl6CNw7/HTsTCfwcWg==} peerDependencies: @@ -3114,9 +3104,6 @@ packages: resolution: {integrity: sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg==} engines: {node: '>= 0.4'} - postcss-value-parser@4.2.0: - resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==} - postcss@8.5.6: resolution: {integrity: sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==} engines: {node: ^10 || ^12 || >=14} @@ -5680,15 +5667,6 @@ snapshots: at-least-node@1.0.0: {} - autoprefixer@10.4.23(postcss@8.5.6): - dependencies: - browserslist: 4.28.1 - caniuse-lite: 1.0.30001760 - fraction.js: 5.3.4 - picocolors: 1.1.1 - postcss: 8.5.6 - postcss-value-parser: 4.2.0 - available-typed-arrays@1.0.7: dependencies: possible-typed-array-names: 1.1.0 @@ -6395,8 +6373,6 @@ snapshots: hasown: 2.0.2 mime-types: 2.1.35 - fraction.js@5.3.4: {} - framer-motion@12.23.12: dependencies: motion-dom: 12.23.12 @@ -7267,8 +7243,6 @@ snapshots: possible-typed-array-names@1.1.0: {} - postcss-value-parser@4.2.0: {} - postcss@8.5.6: dependencies: nanoid: 3.3.11 diff --git a/public/favicon.ico b/public/favicon.ico deleted file mode 100644 index 6b3ead2..0000000 Binary files a/public/favicon.ico and /dev/null differ diff --git a/src/locales/de.ts b/src/locales/de.ts index 386ed64..9d525da 100644 --- a/src/locales/de.ts +++ b/src/locales/de.ts @@ -1961,25 +1961,42 @@ export default { spyAnyNPC: 'Spioniere einen NPC-Planeten aus', sendGiftToNPC: 'Sende ein Geschenk an einen NPC', researchAstrophysics: 'Erforsche Astrophysik auf Stufe 1', + researchAstrophysicsHigher: 'Erforsche Astrophysik auf Stufe 3', buildColonyShip: 'Baue ein Kolonieschiff', colonizeNewPlanet: 'Kolonisiere einen neuen Planeten', - completeExpedition: 'Schließe eine Expeditionsmission ab', + colonizeMultiple: 'Kolonisiere 5 Planeten', + completeExpedition: 'Schließe 3 Expeditionsmissionen ab', + expeditionDeepSpace: 'Schließe 2 Tiefenraum-Expeditionen ab', + expeditionUncharted: 'Erkunde 1 unbekannte Region', + expeditionDangerous: 'Schließe 3 gefährliche Nebel-Expeditionen ab', discoverRuins: 'Entdecke antike Ruinen', researchComputer: 'Erforsche Computertechnik auf Stufe 4', + researchImpulse: 'Erforsche Impulsantrieb auf Stufe 3', + researchLaser: 'Erforsche Lasertechnik auf Stufe 5', + researchIntergalactic: 'Erforsche Computertechnik auf Stufe 10', + researchGraviton: 'Erforsche Gravitontechnik auf Stufe 1', improveRelation: 'Verbessere Beziehungen zu einem NPC', reachFriendly: 'Erreiche freundlichen Status mit einem NPC', - spyHostileNPC: 'Spioniere einen feindlichen NPC aus', + reachFriendlyRelation: 'Erreiche freundlichen Status mit einem beliebigen NPC', + sendMultipleGifts: 'Sende 3 Geschenke an NPCs', + spyHostileNPC: 'Spioniere 2 feindliche NPCs aus', formAlliance: 'Schließe Allianz mit einem freundlichen NPC', buildDefenses: 'Baue Verteidigungsanlagen', + buildMissileSilo: 'Baue Raketensilo auf Stufe 2', + buildCruisers: 'Baue 10 Kreuzer', winDefenseBattle: 'Gewinne eine Verteidigungsschlacht', + defendAgainstAttack: 'Verteidige erfolgreich gegen 1 Angriff', spyEnemyPlanet: 'Spioniere Feindplaneten aus', + spyEnemyPlanets: 'Spioniere 5 Feindplaneten aus', + winAttackBattles: 'Gewinne 3 Angriffsschlachten', attackEnemy: 'Greife den Feind an', - recycleDebris: 'Recycel Trümmer', - buildBattleships: 'Baue 10 Schlachtschiffe', + recycleDebris: 'Recycel 5 Mal Trümmer', + buildBattleships: 'Baue 20 Schlachtschiffe', exploreDeepRuins: 'Erkunde tiefe Ruinen', - researchHyperspace: 'Erforsche Hyperraumtechnologie', - defeatBoss: 'Besiege den mysteriösen Feind', + researchHyperspace: 'Erforsche Hyperraumantrieb auf Stufe 3', + defeatBoss: 'Besiege den Antiken Wächter', colonizeSpecial: 'Kolonisiere besonderen Standort', + accumulateWealth: 'Sammle 1 Million Gesamtressourcen', continueDevelopment: 'Setze Entwicklung fort' }, dialogues: { diff --git a/src/locales/en.ts b/src/locales/en.ts index eb38deb..aca2ea4 100644 --- a/src/locales/en.ts +++ b/src/locales/en.ts @@ -1968,25 +1968,42 @@ export default { spyAnyNPC: 'Spy on any NPC planet', sendGiftToNPC: 'Send a gift to any NPC', researchAstrophysics: 'Research Astrophysics to level 1', + researchAstrophysicsHigher: 'Research Astrophysics to level 3', buildColonyShip: 'Build a Colony Ship', colonizeNewPlanet: 'Colonize a new planet', - completeExpedition: 'Complete an expedition mission', + colonizeMultiple: 'Colonize 5 planets', + completeExpedition: 'Complete 3 expedition missions', + expeditionDeepSpace: 'Complete 2 deep space expeditions', + expeditionUncharted: 'Explore 1 uncharted region', + expeditionDangerous: 'Complete 3 dangerous nebula expeditions', discoverRuins: 'Discover ancient ruins', researchComputer: 'Research Computer Technology to level 4', + researchImpulse: 'Research Impulse Drive to level 3', + researchLaser: 'Research Laser Technology to level 5', + researchIntergalactic: 'Research Computer Technology to level 10', + researchGraviton: 'Research Graviton Technology to level 1', improveRelation: 'Improve relations with an NPC', reachFriendly: 'Reach friendly status with an NPC', - spyHostileNPC: 'Spy on a hostile NPC', + reachFriendlyRelation: 'Reach friendly status with any NPC', + sendMultipleGifts: 'Send 3 gifts to NPCs', + spyHostileNPC: 'Spy on 2 hostile NPCs', formAlliance: 'Form alliance with a friendly NPC', buildDefenses: 'Build defense facilities', + buildMissileSilo: 'Build Missile Silo to level 2', + buildCruisers: 'Build 10 Cruisers', winDefenseBattle: 'Win a defensive battle', + defendAgainstAttack: 'Successfully defend against 1 attack', spyEnemyPlanet: 'Spy on enemy planet', + spyEnemyPlanets: 'Spy on 5 enemy planets', + winAttackBattles: 'Win 3 attack battles', attackEnemy: 'Attack the enemy', - recycleDebris: 'Recycle debris', - buildBattleships: 'Build 10 Battleships', + recycleDebris: 'Recycle debris 5 times', + buildBattleships: 'Build 20 Battleships', exploreDeepRuins: 'Explore deep ruins', - researchHyperspace: 'Research Hyperspace Technology', - defeatBoss: 'Defeat the mysterious enemy', + researchHyperspace: 'Research Hyperspace Drive to level 3', + defeatBoss: 'Defeat the Ancient Guardian', colonizeSpecial: 'Colonize special location', + accumulateWealth: 'Accumulate 1 million total resources', continueDevelopment: 'Continue development' }, dialogues: { diff --git a/src/locales/es-LA.ts b/src/locales/es-LA.ts index 3a88e83..9391954 100644 --- a/src/locales/es-LA.ts +++ b/src/locales/es-LA.ts @@ -1972,25 +1972,42 @@ export default { spyAnyNPC: 'Espiar cualquier planeta NPC', sendGiftToNPC: 'Enviar un regalo a cualquier NPC', researchAstrophysics: 'Investigar Astrofísica al nivel 1', + researchAstrophysicsHigher: 'Investigar Astrofísica al nivel 3', buildColonyShip: 'Construir una Nave Colonial', colonizeNewPlanet: 'Colonizar un nuevo planeta', - completeExpedition: 'Completar una misión de expedición', + colonizeMultiple: 'Colonizar 5 planetas', + completeExpedition: 'Completar 3 misiones de expedición', + expeditionDeepSpace: 'Completar 2 expediciones al espacio profundo', + expeditionUncharted: 'Explorar 1 región desconocida', + expeditionDangerous: 'Completar 3 expediciones a nebulosas peligrosas', discoverRuins: 'Descubrir ruinas antiguas', researchComputer: 'Investigar Tecnología de Computación al nivel 4', + researchImpulse: 'Investigar Motor de Impulso al nivel 3', + researchLaser: 'Investigar Tecnología Láser al nivel 5', + researchIntergalactic: 'Investigar Tecnología de Computación al nivel 10', + researchGraviton: 'Investigar Tecnología Gravitón al nivel 1', improveRelation: 'Mejorar relaciones con un NPC', reachFriendly: 'Alcanzar estatus amigable con un NPC', - spyHostileNPC: 'Espiar un NPC hostil', + reachFriendlyRelation: 'Alcanzar estatus amigable con cualquier NPC', + sendMultipleGifts: 'Enviar 3 regalos a NPCs', + spyHostileNPC: 'Espiar 2 NPCs hostiles', formAlliance: 'Formar alianza con un NPC amigable', buildDefenses: 'Construir instalaciones de defensa', + buildMissileSilo: 'Construir Silo de Misiles al nivel 2', + buildCruisers: 'Construir 10 Cruceros', winDefenseBattle: 'Ganar una batalla defensiva', + defendAgainstAttack: 'Defender exitosamente contra 1 ataque', spyEnemyPlanet: 'Espiar planeta enemigo', + spyEnemyPlanets: 'Espiar 5 planetas enemigos', + winAttackBattles: 'Ganar 3 batallas de ataque', attackEnemy: 'Atacar al enemigo', - recycleDebris: 'Reciclar escombros', - buildBattleships: 'Construir 10 Naves de Batalla', + recycleDebris: 'Reciclar escombros 5 veces', + buildBattleships: 'Construir 20 Naves de Batalla', exploreDeepRuins: 'Explorar ruinas profundas', - researchHyperspace: 'Investigar Tecnología de Hiperespacio', - defeatBoss: 'Derrotar al enemigo misterioso', + researchHyperspace: 'Investigar Motor de Hiperespacio al nivel 3', + defeatBoss: 'Derrotar al Guardián Antiguo', colonizeSpecial: 'Colonizar ubicación especial', + accumulateWealth: 'Acumular 1 millón de recursos totales', continueDevelopment: 'Continuar desarrollo' }, dialogues: { diff --git a/src/locales/ja.ts b/src/locales/ja.ts index 86a3778..cf7c0be 100644 --- a/src/locales/ja.ts +++ b/src/locales/ja.ts @@ -1993,25 +1993,42 @@ export default { spyAnyNPC: 'NPC惑星をスパイ', sendGiftToNPC: 'NPCに贈り物を送る', researchAstrophysics: '宇宙物理学をレベル1まで研究', + researchAstrophysicsHigher: '宇宙物理学をレベル3まで研究', buildColonyShip: 'コロニーシップを建造', colonizeNewPlanet: '新惑星を植民地化', - completeExpedition: '遠征ミッションを完了', + colonizeMultiple: '5つの惑星を植民地化', + completeExpedition: '3回の遠征ミッションを完了', + expeditionDeepSpace: '2回の深宇宙遠征を完了', + expeditionUncharted: '1回の未知領域探索', + expeditionDangerous: '3回の危険な星雲遠征を完了', discoverRuins: '古代遺跡を発見', researchComputer: 'コンピュータ技術をレベル4まで研究', + researchImpulse: 'インパルスドライブをレベル3まで研究', + researchLaser: 'レーザー技術をレベル5まで研究', + researchIntergalactic: 'コンピュータ技術をレベル10まで研究', + researchGraviton: 'グラビトン技術をレベル1まで研究', improveRelation: 'NPCとの関係を改善', reachFriendly: 'NPCと友好ステータスに到達', - spyHostileNPC: '敵対NPCをスパイ', + reachFriendlyRelation: '任意のNPCと友好ステータスに到達', + sendMultipleGifts: 'NPCに3回贈り物を送る', + spyHostileNPC: '2つの敵対NPCをスパイ', formAlliance: '友好NPCと同盟を結ぶ', buildDefenses: '防衛施設を建設', + buildMissileSilo: 'ミサイルサイロをレベル2に建設', + buildCruisers: 'クルーザー10隻を建造', winDefenseBattle: '防衛戦に勝利', + defendAgainstAttack: '1回の攻撃を防御成功', spyEnemyPlanet: '敵惑星をスパイ', + spyEnemyPlanets: '5つの敵惑星をスパイ', + winAttackBattles: '3回の攻撃戦に勝利', attackEnemy: '敵を攻撃', - recycleDebris: 'デブリをリサイクル', - buildBattleships: 'バトルシップ10隻を建造', + recycleDebris: '5回デブリをリサイクル', + buildBattleships: 'バトルシップ20隻を建造', exploreDeepRuins: '深部遺跡を探索', - researchHyperspace: 'ハイパースペース技術を研究', - defeatBoss: '謎の敵を撃破', + researchHyperspace: 'ハイパースペースドライブをレベル3まで研究', + defeatBoss: '古代の守護者を撃破', colonizeSpecial: '特別な場所を植民地化', + accumulateWealth: '総資源100万を蓄積', continueDevelopment: '発展を継続' }, dialogues: { diff --git a/src/locales/ko.ts b/src/locales/ko.ts index 948e717..c007952 100644 --- a/src/locales/ko.ts +++ b/src/locales/ko.ts @@ -1933,25 +1933,42 @@ export default { spyAnyNPC: 'NPC 행성 정찰', sendGiftToNPC: 'NPC에게 선물 보내기', researchAstrophysics: '천체물리학을 레벨 1까지 연구', + researchAstrophysicsHigher: '천체물리학을 레벨 3까지 연구', buildColonyShip: '식민선 건조', colonizeNewPlanet: '새 행성 식민지화', - completeExpedition: '탐험 임무 완료', + colonizeMultiple: '5개 행성 식민지화', + completeExpedition: '3회 탐험 임무 완료', + expeditionDeepSpace: '2회 심우주 탐험 완료', + expeditionUncharted: '1회 미지 영역 탐험', + expeditionDangerous: '3회 위험 성운 탐험 완료', discoverRuins: '고대 유적 발견', researchComputer: '컴퓨터 기술을 레벨 4까지 연구', + researchImpulse: '임펄스 드라이브를 레벨 3까지 연구', + researchLaser: '레이저 기술을 레벨 5까지 연구', + researchIntergalactic: '컴퓨터 기술을 레벨 10까지 연구', + researchGraviton: '그래비톤 기술을 레벨 1까지 연구', improveRelation: 'NPC와의 관계 개선', reachFriendly: 'NPC와 우호 상태 도달', - spyHostileNPC: '적대 NPC 정찰', + reachFriendlyRelation: '임의의 NPC와 우호 상태 도달', + sendMultipleGifts: 'NPC에게 3회 선물 보내기', + spyHostileNPC: '적대 NPC 2곳 정찰', formAlliance: '우호 NPC와 동맹 체결', buildDefenses: '방어 시설 건설', + buildMissileSilo: '미사일 사일로를 레벨 2로 건설', + buildCruisers: '순양함 10대 건조', winDefenseBattle: '방어전 승리', + defendAgainstAttack: '1회 공격 방어 성공', spyEnemyPlanet: '적 행성 정찰', + spyEnemyPlanets: '적 행성 5곳 정찰', + winAttackBattles: '3회 공격전 승리', attackEnemy: '적 공격', - recycleDebris: '잔해 재활용', - buildBattleships: '전함 10대 건조', + recycleDebris: '5회 잔해 재활용', + buildBattleships: '전함 20대 건조', exploreDeepRuins: '깊은 유적 탐험', - researchHyperspace: '하이퍼스페이스 기술 연구', - defeatBoss: '신비한 적 격파', + researchHyperspace: '하이퍼스페이스 드라이브를 레벨 3까지 연구', + defeatBoss: '고대 수호자 격파', colonizeSpecial: '특별한 장소 식민지화', + accumulateWealth: '총 자원 100만 축적', continueDevelopment: '개발 계속' }, dialogues: { diff --git a/src/locales/ru.ts b/src/locales/ru.ts index e5066f2..2cf4892 100644 --- a/src/locales/ru.ts +++ b/src/locales/ru.ts @@ -1990,25 +1990,42 @@ export default { spyAnyNPC: 'Разведать планету NPC', sendGiftToNPC: 'Отправить подарок NPC', researchAstrophysics: 'Исследовать Астрофизику до уровня 1', + researchAstrophysicsHigher: 'Исследовать Астрофизику до уровня 3', buildColonyShip: 'Построить Колониальный корабль', colonizeNewPlanet: 'Колонизировать новую планету', - completeExpedition: 'Завершить экспедиционную миссию', + colonizeMultiple: 'Колонизировать 5 планет', + completeExpedition: 'Завершить 3 экспедиционные миссии', + expeditionDeepSpace: 'Завершить 2 экспедиции в глубокий космос', + expeditionUncharted: 'Исследовать 1 неизвестный регион', + expeditionDangerous: 'Завершить 3 экспедиции в опасные туманности', discoverRuins: 'Обнаружить древние руины', researchComputer: 'Исследовать Компьютерную технологию до уровня 4', + researchImpulse: 'Исследовать Импульсный двигатель до уровня 3', + researchLaser: 'Исследовать Лазерную технологию до уровня 5', + researchIntergalactic: 'Исследовать Компьютерную технологию до уровня 10', + researchGraviton: 'Исследовать Гравитонную технологию до уровня 1', improveRelation: 'Улучшить отношения с NPC', reachFriendly: 'Достичь дружеского статуса с NPC', - spyHostileNPC: 'Разведать враждебного NPC', + reachFriendlyRelation: 'Достичь дружеского статуса с любым NPC', + sendMultipleGifts: 'Отправить 3 подарка NPC', + spyHostileNPC: 'Разведать 2 враждебных NPC', formAlliance: 'Заключить альянс с дружественным NPC', buildDefenses: 'Построить оборонительные сооружения', + buildMissileSilo: 'Построить Ракетную шахту до уровня 2', + buildCruisers: 'Построить 10 Крейсеров', winDefenseBattle: 'Выиграть оборонительное сражение', + defendAgainstAttack: 'Успешно отразить 1 атаку', spyEnemyPlanet: 'Разведать вражескую планету', + spyEnemyPlanets: 'Разведать 5 вражеских планет', + winAttackBattles: 'Выиграть 3 атакующих сражения', attackEnemy: 'Атаковать врага', - recycleDebris: 'Переработать обломки', - buildBattleships: 'Построить 10 Линкоров', + recycleDebris: 'Переработать обломки 5 раз', + buildBattleships: 'Построить 20 Линкоров', exploreDeepRuins: 'Исследовать глубокие руины', - researchHyperspace: 'Исследовать Гиперпространственную технологию', - defeatBoss: 'Победить загадочного врага', + researchHyperspace: 'Исследовать Гиперпространственный двигатель до уровня 3', + defeatBoss: 'Победить Древнего Стража', colonizeSpecial: 'Колонизировать особое место', + accumulateWealth: 'Накопить 1 миллион ресурсов', continueDevelopment: 'Продолжить развитие' }, dialogues: { diff --git a/src/locales/zh-CN.ts b/src/locales/zh-CN.ts index f988ede..eee41cd 100644 --- a/src/locales/zh-CN.ts +++ b/src/locales/zh-CN.ts @@ -1980,25 +1980,42 @@ export default { spyAnyNPC: '侦查任意NPC星球', sendGiftToNPC: '向任意NPC送礼', researchAstrophysics: '研究天体物理学到1级', + researchAstrophysicsHigher: '研究天体物理学到3级', buildColonyShip: '建造殖民船', colonizeNewPlanet: '殖民新星球', - completeExpedition: '完成远征任务', + colonizeMultiple: '殖民5个星球', + completeExpedition: '完成3次远征任务', + expeditionDeepSpace: '完成2次深空远征', + expeditionUncharted: '探索1次未知区域', + expeditionDangerous: '完成3次危险星云远征', discoverRuins: '发现古代遗迹', researchComputer: '研究电脑技术到4级', + researchImpulse: '研究脉冲驱动到3级', + researchLaser: '研究激光技术到5级', + researchIntergalactic: '研究电脑技术到10级', + researchGraviton: '研究引力子技术到1级', improveRelation: '提升与NPC的关系', reachFriendly: '与NPC达到友好关系', - spyHostileNPC: '侦查敌对NPC', + reachFriendlyRelation: '与任意NPC达到友好关系', + sendMultipleGifts: '向NPC发送3次礼物', + spyHostileNPC: '侦查2个敌对NPC', formAlliance: '与友好NPC结盟', buildDefenses: '建造防御设施', + buildMissileSilo: '建造导弹发射井到2级', + buildCruisers: '建造10艘巡洋舰', winDefenseBattle: '赢得防御战斗', + defendAgainstAttack: '成功防御1次攻击', spyEnemyPlanet: '侦查敌方星球', + spyEnemyPlanets: '侦查5个敌方星球', + winAttackBattles: '赢得3次进攻战斗', attackEnemy: '攻击敌方', - recycleDebris: '回收残骸', - buildBattleships: '建造10艘战列舰', + recycleDebris: '回收5次残骸场', + buildBattleships: '建造20艘战列舰', exploreDeepRuins: '探索遗迹深处', - researchHyperspace: '研究超空间技术', - defeatBoss: '击败神秘敌人', + researchHyperspace: '研究超空间驱动到3级', + defeatBoss: '击败古代守护者', colonizeSpecial: '殖民特殊位置', + accumulateWealth: '积累总资源达到100万', continueDevelopment: '继续发展' }, dialogues: { diff --git a/src/locales/zh-TW.ts b/src/locales/zh-TW.ts index b1fd272..b82f6c1 100644 --- a/src/locales/zh-TW.ts +++ b/src/locales/zh-TW.ts @@ -2156,25 +2156,42 @@ export default { spyAnyNPC: '偵查任意NPC星球', sendGiftToNPC: '向任意NPC送禮', researchAstrophysics: '研究天體物理學到1級', + researchAstrophysicsHigher: '研究天體物理學到3級', buildColonyShip: '建造殖民船', colonizeNewPlanet: '殖民新星球', - completeExpedition: '完成遠征任務', + colonizeMultiple: '殖民5個星球', + completeExpedition: '完成3次遠征任務', + expeditionDeepSpace: '完成2次深空遠征', + expeditionUncharted: '探索1次未知區域', + expeditionDangerous: '完成3次危險星雲遠征', discoverRuins: '發現古代遺跡', researchComputer: '研究電腦技術到4級', + researchImpulse: '研究脈衝驅動到3級', + researchLaser: '研究雷射技術到5級', + researchIntergalactic: '研究電腦技術到10級', + researchGraviton: '研究引力子技術到1級', improveRelation: '提升與NPC的關係', reachFriendly: '與NPC達到友好關係', - spyHostileNPC: '偵查敵對NPC', + reachFriendlyRelation: '與任意NPC達到友好關係', + sendMultipleGifts: '向NPC發送3次禮物', + spyHostileNPC: '偵查2個敵對NPC', formAlliance: '與友好NPC結盟', buildDefenses: '建造防禦設施', + buildMissileSilo: '建造飛彈發射井到2級', + buildCruisers: '建造10艘巡洋艦', winDefenseBattle: '贏得防禦戰鬥', + defendAgainstAttack: '成功防禦1次攻擊', spyEnemyPlanet: '偵查敵方星球', + spyEnemyPlanets: '偵查5個敵方星球', + winAttackBattles: '贏得3次進攻戰鬥', attackEnemy: '攻擊敵方', - recycleDebris: '回收殘骸', - buildBattleships: '建造10艘戰列艦', + recycleDebris: '回收5次殘骸場', + buildBattleships: '建造20艘戰列艦', exploreDeepRuins: '探索遺跡深處', - researchHyperspace: '研究超空間技術', - defeatBoss: '擊敗神秘敵人', + researchHyperspace: '研究超空間驅動到3級', + defeatBoss: '擊敗古代守護者', colonizeSpecial: '殖民特殊位置', + accumulateWealth: '積累總資源達到100萬', continueDevelopment: '繼續發展' }, dialogues: { diff --git a/vite.config.ts b/vite.config.ts index b8d77a7..2be8e01 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -4,11 +4,11 @@ import tailwindcss from '@tailwindcss/vite' import path from 'node:path' import { fileURLToPath } from 'node:url' import { VitePWA } from 'vite-plugin-pwa' -import autoprefixer from 'autoprefixer' import pkg from './package.json' const __dirname = path.dirname(fileURLToPath(import.meta.url)) +// @ts-expect-error - Vite CSS transformer type export default defineConfig(async () => { const plugins = [ vue(), @@ -110,12 +110,19 @@ export default defineConfig(async () => { plugins, resolve: { alias: { '@': path.resolve(__dirname, './src') } }, css: { - postcss: { - plugins: [ - autoprefixer({ - overrideBrowserslist: ['Android >= 4.1', 'iOS >= 7.1', 'Chrome >= 31', 'Firefox >= 31', 'ie >= 8'] - }) - ] + // 使用 lightningcss 处理 CSS,自动转换 oklch 等新语法为兼容格式 + transformer: 'lightningcss', + lightningcss: { + // 目标浏览器:Android 5+, iOS 10+, Chrome 60+ + targets: { + android: 5 << 16, // Android 5.0 + chrome: 60 << 16, // Chrome 60 + ios_saf: 10 << 16 // iOS Safari 10 + }, + // 禁用现代 CSS 特性,确保兼容旧版浏览器 + drafts: { + customMedia: false + } } }, // 优化依赖预构建