From 94fa2ad57a0e78d523dee4e3311e8678afb58637 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A6=E5=90=9B?= <73606411+setube@users.noreply.github.com> Date: Fri, 26 Dec 2025 01:53:19 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A4=9A=E8=AF=AD=E8=A8=80=E5=AE=8C?= =?UTF-8?q?=E5=96=84=E9=80=A0=E8=88=B9=E5=8E=82=E4=B8=8E=E7=A0=94=E7=A9=B6?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 为de、en、es-LA、ko、ru、zh-CN、zh-TW等多语言文件补充和完善造船厂(shipyard)与研究(research)相关字段,包括攻击、防御、装甲、建造成本、总成本、批量计算等,提升界面一致性与本地化体验。同时优化通知弹窗滚动区域样式,增加overflow-y-auto,提升内容自适应性。 --- .../notifications/DiplomaticNotifications.vue | 2 +- .../notifications/EnemyAlertNotifications.vue | 2 +- .../notifications/QueueNotifications.vue | 10 +++--- src/locales/de.ts | 19 +++++++++++- src/locales/en.ts | 31 +++++++++++++++++-- src/locales/es-LA.ts | 16 +++++++++- src/locales/ko.ts | 12 ++++++- src/locales/ru.ts | 16 +++++++++- src/locales/zh-CN.ts | 15 ++++++++- src/locales/zh-TW.ts | 14 ++++++++- 10 files changed, 123 insertions(+), 14 deletions(-) diff --git a/src/components/notifications/DiplomaticNotifications.vue b/src/components/notifications/DiplomaticNotifications.vue index fe12e4c..c6bc691 100644 --- a/src/components/notifications/DiplomaticNotifications.vue +++ b/src/components/notifications/DiplomaticNotifications.vue @@ -19,7 +19,7 @@ {{ t('diplomacy.markAllRead') }} - + diff --git a/src/components/notifications/EnemyAlertNotifications.vue b/src/components/notifications/EnemyAlertNotifications.vue index e9e33c2..2558f00 100644 --- a/src/components/notifications/EnemyAlertNotifications.vue +++ b/src/components/notifications/EnemyAlertNotifications.vue @@ -19,7 +19,7 @@ {{ t('enemyAlert.markAllRead') }} - + diff --git a/src/components/notifications/QueueNotifications.vue b/src/components/notifications/QueueNotifications.vue index fb0dec7..1b6a0a5 100644 --- a/src/components/notifications/QueueNotifications.vue +++ b/src/components/notifications/QueueNotifications.vue @@ -32,7 +32,7 @@ - + @@ -63,7 +63,9 @@ class="text-[10px] sm:text-xs whitespace-nowrap" :class="isWaitingItemResourcesReady(item as WaitingQueueItem) ? 'text-green-500' : 'text-yellow-500'" > - {{ isWaitingItemResourcesReady(item as WaitingQueueItem) ? t('queue.resourcesReady') : t('queue.waitingResources') }} + {{ + isWaitingItemResourcesReady(item as WaitingQueueItem) ? t('queue.resourcesReady') : t('queue.waitingResources') + }}