[PROMOTE] feat/slot-lock-expiry-bidirectional-sync → demo:貨道鎖定操作紀錄與多語系修正

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
sky121113 2026-06-24 14:36:27 +08:00
commit 7f4e67129f
4 changed files with 20 additions and 0 deletions

View File

@ -1050,11 +1050,13 @@
"Location found!": "Location found!",
"Location not found": "Location not found",
"Lock": "Lock",
"Lock (Pause Sale)": "Lock (Pause Sale)",
"Lock Now": "Lock Now",
"Lock Page": "Lock Page",
"Lock Page Lock": "Lock Page Lock",
"Lock Page Unlock": "Lock Page Unlock",
"Locked": "Locked",
"Locked (Sale Paused)": "Locked (Sale Paused)",
"Locked Page": "Locked Page",
"Log Details": "Log Details",
"Log Time": "Log Time",
@ -1423,6 +1425,7 @@
"Offline Machines": "Offline Machines",
"Old": "Old",
"Old Value": "Old Value",
"On Sale": "On Sale",
"Once": "Once",
"Once your account is deleted, all of its resources and data will be permanently deleted. Before deleting your account, please download any data or information that you wish to retain.": "Once your account is deleted, all of its resources and data will be permanently deleted. Before deleting your account, please download any data or information that you wish to retain.",
"Once your account is deleted, all of its resources and data will be permanently deleted. Please enter your password to confirm you would like to permanently delete your account.": "Once your account is deleted, all of its resources and data will be permanently deleted. Please enter your password to confirm you would like to permanently delete your account.",
@ -1827,6 +1830,7 @@
"SYSTEM": "SYSTEM",
"Safety Stock": "Safety Stock",
"Sale Price": "Sale Price",
"Sale Status": "Sale Status",
"Sales": "Sales",
"Sales Activity": "Sales Activity",
"Sales Amount": "Sales Amount",

View File

@ -1050,11 +1050,13 @@
"Location found!": "座標を取得しました!",
"Location not found": "場所が見つかりません。ランドマーク名(例:花蓮県庁)を使用してみてください",
"Lock": "ロック",
"Lock (Pause Sale)": "ロック(販売停止)",
"Lock Now": "今すぐロック",
"Lock Page": "ページロック",
"Lock Page Lock": "機器アプリロック",
"Lock Page Unlock": "機器アプリロック解除",
"Locked": "ロック中",
"Locked (Sale Paused)": "ロック中(販売停止)",
"Locked Page": "ロックページ",
"Log Details": "Log Details",
"Log Time": "記録時間",
@ -1423,6 +1425,7 @@
"Offline Machines": "オフライン機器",
"Old": "Old",
"Old Value": "Old Value",
"On Sale": "販売中",
"Once": "一回のみ",
"Once your account is deleted, all of its resources and data will be permanently deleted. Before deleting your account, please download any data or information that you wish to retain.": "アカウントが削除されると、すべてのリソースとデータは完全に削除されます。アカウントを削除する前に、保持したいデータや情報をダウンロードしてください。",
"Once your account is deleted, all of its resources and data will be permanently deleted. Please enter your password to confirm you would like to permanently delete your account.": "アカウントが削除されると、すべてのデータは永久に削除されます。完全に削除することを確認するためにパスワードを入力してください。",
@ -1827,6 +1830,7 @@
"SYSTEM": "システムレベル",
"Safety Stock": "安全在庫",
"Sale Price": "販売価格",
"Sale Status": "販売状態",
"Sales": "販売管理",
"Sales Activity": "販売活動",
"Sales Amount": "売上金額",

View File

@ -1050,11 +1050,13 @@
"Location found!": "已成功獲取座標!",
"Location not found": "找不到位置,您可以嘗試使用地標名稱(例如:花蓮縣政府)",
"Lock": "鎖定",
"Lock (Pause Sale)": "鎖定(暫停販售)",
"Lock Now": "立即鎖定",
"Lock Page": "頁面鎖定",
"Lock Page Lock": "機台 APP 鎖定",
"Lock Page Unlock": "機台 APP 解鎖",
"Locked": "尚未解鎖",
"Locked (Sale Paused)": "已鎖定(暫停販售)",
"Locked Page": "鎖定頁",
"Log Details": "操作紀錄詳情",
"Log Time": "記錄時間",
@ -1423,6 +1425,7 @@
"Offline Machines": "離線機台",
"Old": "舊值",
"Old Value": "舊資料",
"On Sale": "販售中",
"Once": "單次使用",
"Once your account is deleted, all of its resources and data will be permanently deleted. Before deleting your account, please download any data or information that you wish to retain.": "一旦您的帳號被刪除,其所有資源和數據將被永久刪除。在刪除帳號之前,請下載您希望保留的任何數據或資訊。",
"Once your account is deleted, all of its resources and data will be permanently deleted. Please enter your password to confirm you would like to permanently delete your account.": "帳號一旦刪除,所有關連數據將被永久移除。請輸入您的密碼以確認您希望永久刪除此帳號。",
@ -1827,6 +1830,7 @@
"SYSTEM": "系統層級",
"Safety Stock": "安全庫存",
"Sale Price": "售價",
"Sale Status": "銷售狀態",
"Sales": "銷售管理",
"Sales Activity": "銷售活動",
"Sales Amount": "銷售金額",

View File

@ -388,6 +388,14 @@
details += `{{ __('Batch') }} ${p.old.batch_no || 'N/A'} → ${p.new.batch_no || 'N/A'}`;
}
// 鎖定/解鎖暫停販售切換old/new 僅 is_locked 不同時,避免顯示空白徽章
if ((p.old.is_locked ?? false) !== (p.new.is_locked ?? false)) {
if (details !== `{{ __('Slot') }} ${p.slot_no}: `) details += ', ';
details += p.new.is_locked
? `{{ __('Lock (Pause Sale)') }}`
: `{{ __('Unlock') }}`;
}
return details;
}
return '';