From a9d44de98be3a7ffc8a337820f3b2c61cbcb60bf Mon Sep 17 00:00:00 2001 From: sky121113 Date: Thu, 14 May 2026 10:31:46 +0800 Subject: [PATCH] =?UTF-8?q?[STYLE]=20=E8=AA=BF=E6=95=B4=E5=95=86=E5=93=81?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E8=88=87=E9=81=A0=E7=AB=AF=E6=8E=A7=E5=88=B6?= =?UTF-8?q?=E9=A0=81=E9=9D=A2=E4=B9=8B=20UI=20=E4=BD=88=E5=B1=80=E8=88=87?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 修正商品管理頁面 (Products Index) 中多處語系標籤的換行問題。 2. 調整遠端控制頁面 (Remote Index) 中 Slot No 標籤的顯示格式。 3. 優化 UI 組件的 HTML 縮排與可讀性。 4. 補齊同步商品機制相關之繁體中文翻譯 (Connection error, Failed to send command)。 --- lang/zh_TW.json | 2 + .../views/admin/products/index.blade.php | 54 +++++++------------ resources/views/admin/remote/index.blade.php | 15 ++---- 3 files changed, 24 insertions(+), 47 deletions(-) diff --git a/lang/zh_TW.json b/lang/zh_TW.json index f91f5ef..d5279f6 100644 --- a/lang/zh_TW.json +++ b/lang/zh_TW.json @@ -1954,6 +1954,8 @@ "Uploading...": "上傳中...", "Upload failed, please try again": "上傳失敗,請重試", "Sync to All Machines": "同步到所有機台", + "Connection error": "連線錯誤", + "Failed to send command": "發送指令失敗", "Sync Products": "同步商品資料", "Reason for this sync...": "此次同步的原因...", "Select Target Company": "選擇目標公司", diff --git a/resources/views/admin/products/index.blade.php b/resources/views/admin/products/index.blade.php index 8c543a5..5a8454c 100644 --- a/resources/views/admin/products/index.blade.php +++ b/resources/views/admin/products/index.blade.php @@ -284,22 +284,19 @@ hover:bg-slate-100 dark:hover:bg-white/5 rounded-lg flex items-center justify-be
-

{{ __('Identity - & Codes') }}

+

{{ __('Identity & Codes') }}

{{ - __('Barcode') }} + class="text-xs font-bold text-slate-400 uppercase tracking-widest block mb-1.5">{{ __('Barcode') }}
{{ - __('Specification') }} + class="text-xs font-bold text-slate-400 uppercase tracking-widest block mb-1.5">{{ __('Specification') }}
@@ -307,8 +304,7 @@ hover:bg-slate-100 dark:hover:bg-white/5 rounded-lg flex items-center justify-be
{{ - __('Material Code') }} + class="text-xs font-bold text-slate-400 uppercase tracking-widest block mb-1.5">{{ __('Material Code') }}
@@ -316,8 +312,7 @@ hover:bg-slate-100 dark:hover:bg-white/5 rounded-lg flex items-center justify-be
{{ - __('Manufacturer') }} + class="text-xs font-bold text-slate-400 uppercase tracking-widest block mb-1.5">{{ __('Manufacturer') }}
@@ -325,8 +320,7 @@ hover:bg-slate-100 dark:hover:bg-white/5 rounded-lg flex items-center justify-be
{{ - __('Company') }} + class="text-xs font-bold text-slate-400 uppercase tracking-widest block mb-1.5">{{ __('Company') }}
@@ -336,8 +330,7 @@ hover:bg-slate-100 dark:hover:bg-white/5 rounded-lg flex items-center justify-be
-

{{ - __('Pricing Information') }}

+

{{ __('Pricing Information') }}

- {{ __('Member Price') - }} + {{ __('Member Price') }} $
@@ -364,21 +356,18 @@ hover:bg-slate-100 dark:hover:bg-white/5 rounded-lg flex items-center justify-be
-

{{ __('Channel - Limits Configuration') }}

+

{{ __('Channel Limits Configuration') }}

-

{{ - __('Track Limit') }}

+

{{ __('Track Limit') }}

-

{{ - __('Spring Limit') }}

+

{{ __('Spring Limit') }}

@@ -388,30 +377,26 @@ hover:bg-slate-100 dark:hover:bg-white/5 rounded-lg flex items-center justify-be
-

{{ __('Loyalty & - Features') }}

+

{{ __('Loyalty & Features') }}

{{ - __('Full Points') }} + class="text-xs font-black text-slate-400 uppercase tracking-widest block mb-1">{{ __('Full Points') }}
{{ - __('Half Points') }} + class="text-xs font-black text-slate-400 uppercase tracking-widest block mb-1">{{ __('Half Points') }}
{{ - __('Half Points Amount') }} + class="text-xs font-black text-slate-400 uppercase tracking-widest block mb-1">{{ __('Half Points Amount') }}
@@ -424,8 +409,7 @@ hover:bg-slate-100 dark:hover:bg-white/5 rounded-lg flex items-center justify-be
- +
@@ -499,8 +483,7 @@ hover:bg-slate-100 dark:hover:bg-white/5 rounded-lg flex items-center justify-be
-

{{ - __('Command Confirmation') }}

+

{{ __('Command Confirmation') }}

{{ __('Please confirm the details below') }}

@@ -531,8 +514,7 @@ hover:bg-slate-100 dark:hover:bg-white/5 rounded-lg flex items-center justify-be
+ class="text-[10px] font-black text-slate-500 dark:text-slate-400 uppercase tracking-[0.2em] ml-1">{{ __('Operation Note') }} diff --git a/resources/views/admin/remote/index.blade.php b/resources/views/admin/remote/index.blade.php index bc626a3..2bdf8cc 100644 --- a/resources/views/admin/remote/index.blade.php +++ b/resources/views/admin/remote/index.blade.php @@ -810,9 +810,7 @@
- + class="text-[10px] font-black text-slate-500 dark:text-slate-400 uppercase tracking-[0.2em] ml-1">{{ __('Select Target Slot') }}
@@ -942,8 +940,7 @@
-

{{ - __('Command Confirmation') }}

+

{{ __('Command Confirmation') }}

{{ __('Please confirm the details below') }}

@@ -960,10 +957,7 @@
-
- + class="text-[10px] font-black text-slate-500 dark:text-slate-400 uppercase tracking-[0.2em] ml-1">{{ __('Operation Note') }} @@ -980,8 +974,7 @@