[FEAT] 優化部署流程:加入 RoleSeeder 與 AdminUserSeeder,並實作權限系統基礎架構與多租戶隔離機制
All checks were successful
star-cloud-deploy-demo / deploy-demo (push) Successful in 48s

This commit is contained in:
2026-03-13 17:35:22 +08:00
parent 39d25ed1d4
commit 56daf8940b
41 changed files with 3052 additions and 358 deletions

248
lang/en.json Normal file
View File

@@ -0,0 +1,248 @@
{
"Account Settings": "Account Settings",
"Manage your profile information, security settings, and login history": "Manage your profile information, security settings, and login history",
"Profile Information": "Profile Information",
"Update your account's profile information and email address.": "Update your account's profile information and email address.",
"Update Password": "Update Password",
"Ensure your account is using a long, random password to stay secure.": "Ensure your account is using a long, random password to stay secure.",
"Delete Account": "Delete Account",
"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.",
"Are you sure you want to delete your account?": "Are you sure you want to 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.": "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.",
"Login History": "Login History",
"Name": "Name",
"Phone": "Phone",
"Email": "Email",
"Current Password": "Current Password",
"New Password": "New Password",
"Confirm Password": "Confirm Password",
"Save": "Save",
"Saved.": "Saved.",
"Update": "Update",
"Cancel": "Cancel",
"Confirm": "Confirm",
"Danger Zone: Delete Account": "Danger Zone: Delete Account",
"Permanently Delete Account": "Permanently Delete Account",
"Password": "Password",
"Enter your password to confirm": "Enter your password to confirm",
"Dashboard": "Dashboard",
"Connectivity Status": "Connectivity Status",
"Real-time status monitoring": "Real-time status monitoring",
"LIVE": "LIVE",
"Online Machines": "Online Machines",
"Offline Machines": "Offline Machines",
"Alerts Pending": "Alerts Pending",
"Total Connected": "Total Connected",
"Monthly Transactions": "Monthly Transactions",
"Monthly cumulative revenue overview": "Monthly cumulative revenue overview",
"Today's Transactions": "Today's Transactions",
"vs Yesterday": "vs Yesterday",
"Yesterday": "Yesterday",
"Day Before": "Day Before",
"Machine Status List": "Machine Status List",
"Total items": "Total items: :count",
"Real-time monitoring across all machines": "Real-time monitoring across all machines",
"Quick search...": "Quick search...",
"Machine Info": "Machine Info",
"Running Status": "Running Status",
"Today Cumulative Sales": "Today Cumulative Sales",
"Current Stock": "Current Stock",
"Last Signal": "Last Signal",
"Alert Summary": "Alert Summary",
"Online": "Online",
"Offline": "Offline",
"Low Stock": "Low Stock",
"No alert summary": "No alert summary",
"No data available": "No data available",
"Showing :from to :to of :total items": "Showing :from to :to of :total items",
"Previous": "Previous",
"Next": "Next",
"Profile Settings": "Profile Settings",
"Profile": "Profile",
"Member Management": "Member Management",
"Member List": "Member List",
"Membership Tiers": "Membership Tiers",
"Deposit Bonus": "Deposit Bonus",
"Point Rules": "Point Rules",
"Gift Definitions": "Gift Definitions",
"Machine Management": "Machine Management",
"Machine Logs": "Machine Logs",
"Machine List": "Machine List",
"Machine Permissions": "Machine Permissions",
"Utilization Rate": "Utilization Rate",
"Expiry Management": "Expiry Management",
"Maintenance Records": "Maintenance Records",
"APP Management": "APP Management",
"UI Elements": "UI Elements",
"Helper": "Helper",
"Questionnaire": "Questionnaire",
"Games": "Games",
"Timer": "Timer",
"Warehouse Management": "Warehouse Management",
"Warehouse List (All)": "Warehouse List (All)",
"Warehouse List (Individual)": "Warehouse List (Individual)",
"Stock Management": "Stock Management",
"Transfers": "Transfers",
"Purchases": "Purchases",
"Replenishments": "Replenishments",
"Replenishment Records": "Replenishment Records",
"Machine Stock": "Machine Stock",
"Staff Stock": "Staff Stock",
"Returns": "Returns",
"Sales Management": "Sales Management",
"Sales Records": "Sales Records",
"Pickup Codes": "Pickup Codes",
"Orders": "Orders",
"Promotions": "Promotions",
"Pass Codes": "Pass Codes",
"Store Gifts": "Store Gifts",
"Analysis Management": "Analysis Management",
"Change Stock": "Change Stock",
"Machine Reports": "Machine Reports",
"Product Reports": "Product Reports",
"Survey Analysis": "Survey Analysis",
"Audit Management": "Audit Management",
"Purchase Audit": "Purchase Audit",
"Transfer Audit": "Transfer Audit",
"Replenishment Audit": "Replenishment Audit",
"Data Configuration": "Data Configuration",
"Product Management": "Product Management",
"Advertisement Management": "Advertisement Management",
"Admin Sellable Products": "Admin Sellable Products",
"Account Management": "Account Management",
"Sub Accounts": "Sub Accounts",
"Sub Account Roles": "Sub Account Roles",
"Point Settings": "Point Settings",
"Badge Settings": "Badge Settings",
"Remote Management": "Remote Management",
"Machine Restart": "Machine Restart",
"Card Reader Restart": "Card Reader Restart",
"Remote Checkout": "Remote Checkout",
"Remote Lock": "Remote Lock",
"Remote Change": "Remote Change",
"Remote Dispense": "Remote Dispense",
"Line Management": "Line Management",
"Line Members": "Line Members",
"Line Machines": "Line Machines",
"Line Products": "Line Products",
"Line Official Account": "Line Official Account",
"Line Orders": "Line Orders",
"Line Coupons": "Line Coupons",
"Reservation System": "Reservation System",
"Reservation Members": "Reservation Members",
"Store Management": "Store Management",
"Time Slots": "Time Slots",
"Venue Management": "Venue Management",
"Coupons": "Coupons",
"Reservations": "Reservations",
"Order Management": "Order Management",
"Special Permission": "Special Permission",
"Clear Stock": "Clear Stock",
"APK Versions": "APK Versions",
"Discord Notifications": "Discord Notifications",
"Permission Settings": "Permission Settings",
"APP Features": "APP Features",
"Sales": "Sales",
"Others": "Others",
"AI Prediction": "AI Prediction",
"Roles": "Roles",
"Role Management": "Role Management",
"Define and manage security roles for the system.": "Define and manage security roles for the system.",
"Add Role": "Add Role",
"Role Name": "Role Name",
"Type": "Type",
"Users": "Users",
"System Role": "System Role",
"System": "System",
"Custom": "Custom",
"Edit": "Edit",
"Are you sure you want to delete this role?": "Are you sure you want to delete this role?",
"Delete": "Delete",
"Protected": "Protected",
"No roles found.": "No roles found.",
"Create Role": "Create Role",
"Edit Role": "Edit Role",
"Enter role name": "Enter role name",
"No login history yet": "No login history yet",
"Signed in as": "Signed in as",
"Logout": "Logout",
"Joined": "Joined",
"Recent Login": "Recent Login",
"Total Logins": "Total Logins",
"Account Status": "Account Status",
"Active": "Active",
"Customer Management": "Customer Management",
"Manage all tenant accounts and validity": "Manage all tenant accounts and validity",
"Add Customer": "Add Customer",
"Total Customers": "Total Customers",
"Expired / Disabled": "Expired / Disabled",
"Search customers...": "Search customers...",
"All": "All",
"Disabled": "Disabled",
"Customer Info": "Customer Info",
"Accounts / Machines": "Accounts / Machines",
"Valid Until": "Valid Until",
"Actions": "Actions",
"Permanent": "Permanent",
"Are you sure to delete this customer?": "Are you sure to delete this customer?",
"No customers found": "No customers found",
"Edit Customer": "Edit Customer",
"Update Customer": "Update Customer",
"Create": "Create",
"Company Name": "Company Name",
"Company Code": "Company Code",
"Tax ID (Optional)": "Tax ID (Optional)",
"Status": "Status",
"Contact Name": "Contact Name",
"Contact Phone": "Contact Phone",
"Contact Email": "Contact Email",
"Notes": "Notes",
"Customer created successfully.": "Customer created successfully.",
"Customer updated successfully.": "Customer updated successfully.",
"Customer deleted successfully.": "Customer deleted successfully.",
"Cannot delete company with active accounts.": "Cannot delete company with active accounts.",
"Contract Until (Optional)": "Contract Until (Optional)",
"Company Information": "Company Information",
"Initial Admin Account": "Initial Admin Account",
"Optional": "Optional",
"Username": "Username",
"Enter login ID": "Enter login ID",
"Min 8 characters": "Min 8 characters",
"Admin display name": "Admin display name",
"Contact & Details": "Contact & Details",
"e.g. Taiwan Star": "e.g. Taiwan Star",
"e.g. TWSTAR": "e.g. TWSTAR",
"Manage administrative and tenant accounts": "Manage administrative and tenant accounts",
"Add Account": "Add Account",
"All Companies": "All Companies",
"User Info": "User Info",
"Belongs To": "Belongs To",
"Role": "Role",
"SYSTEM": "SYSTEM",
"No users found": "No users found",
"Data Configuration Permissions": "Data Configuration Permissions",
"Sales Permissions": "Sales Permissions",
"Machine Management Permissions": "Machine Management Permissions",
"Warehouse Permissions": "Warehouse Permissions",
"Analysis Permissions": "Analysis Permissions",
"Audit Permissions": "Audit Permissions",
"Remote Permissions": "Remote Permissions",
"Line Permissions": "Line Permissions",
"Company": "Company",
"Save Changes": "Save Changes",
"User": "User",
"Admin": "Admin",
"Super Admin": "Super Admin",
"e.g. John Doe": "e.g. John Doe",
"e.g. johndoe": "e.g. johndoe",
"Search users...": "Search users...",
"Admin Name": "Admin Name",
"New Password (leave blank to keep current)": "New Password (leave blank to keep current)",
"Are you sure you want to delete this account?": "Are you sure you want to delete this account?",
"Show": "Show",
"to": "to",
"of": "of",
"items": "items",
"Showing": "Showing"
}

View File

@@ -6,8 +6,8 @@
"Update Password": "パスワードの更新",
"Ensure your account is using a long, random password to stay secure.": "セキュリティを維持するため、アカウントには長くランダムなパスワードを使用してください。",
"Delete Account": "アカウントの削除",
"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.": "アカウントが削除されると、そのすべてのリソースデータが永久に削除されます。アカウントを削除する前に、保持したいデータや情報をダウンロードしてください。",
"Are you sure you want to delete your account?": "本当にアカウントを削除してもよろしいですか?",
"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.": "アカウントが削除されると、そのすべてのリソースデータが永久に削除されます。アカウントを削除する前に、保持したいデータや情報をダウンロードしてください。",
"Are you sure you want to 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.": "アカウントが削除されると、すべての関連データが永久に削除されます。アカウントの永久削除を確定するため、パスワードを入力してください。",
"Login History": "ログイン履歴",
"Name": "氏名",
@@ -27,34 +27,34 @@
"Enter your password to confirm": "確認のためパスワードを入力してください",
"Dashboard": "ダッシュボード",
"Connectivity Status": "接続ステータス",
"Connectivity Status": "接続ステータス概況",
"Real-time status monitoring": "リアルタイムステータス監視",
"LIVE": "ライブ",
"Online Machines": "オンライン機台",
"Offline Machines": "オフライン機台",
"Alerts Pending": "アラート待機中",
"Total Connected": "接続数合計",
"Monthly Transactions": "今月の取引",
"Monthly Transactions": "今月の取引統計",
"Monthly cumulative revenue overview": "今月の累計収益概要",
"Today's Transactions": "今日の取引",
"Yesterday's Transactions": "昨日の取引",
"Before Yesterday's Transactions": "一昨日の取引",
"Today's Transactions": "今日の取引",
"vs Yesterday": "前日比",
"Machine Status List": "機台ステータスリスト",
"Yesterday": "昨日",
"Day Before": "一昨日",
"Machine Status List": "機台稼働状況リスト",
"Total items": "合計 :count 件",
"Real-time monitoring across all machines": "全機台のリアルタイム監視",
"Quick search...": "クイック検索...",
"Machine Info": "機台情報",
"Running Status": "運行ステータス",
"Today Cumulative Sales": "日累計売",
"Running Status": "稼働状況",
"Today Cumulative Sales": "日累計売",
"Current Stock": "現在の在庫",
"Last Communication": "最終信",
"Last Signal": "最終信号時間",
"Alert Summary": "アラート概要",
"Online": "オンライン",
"Offline": "オフライン",
"Low Stock": "在庫少",
"No alert summary": "アラートなし",
"No data available": "データがありません",
"No data available": "データなし",
"Showing :from to :to of :total items": ":total 件中 :from から :to 件を表示",
"Previous": "前へ",
"Next": "次へ",
@@ -108,7 +108,7 @@
"Replenishment Audit": "補充監査",
"Data Configuration": "データ設定",
"Product Management": "商品管理",
"Advertisement Management": "告管理",
"Advertisement Management": "告管理",
"Admin Sellable Products": "管理者販売可能商品",
"Account Management": "アカウント管理",
"Sub Accounts": "サブアカウント",
@@ -147,8 +147,23 @@
"Others": "その他",
"AI Prediction": "AI予測",
"Roles": "ロール",
"Yesterday": "昨日",
"Day Before": "一昨日",
"Role Management": "ロール管理",
"Define and manage security roles for the system.": "システムのセキュリティロールを定義および管理します。",
"Add Role": "ロールを追加",
"Role Name": "ロール名",
"Type": "タイプ",
"Users": "ユーザー数",
"System Role": "システムロール",
"System": "システム",
"Custom": "カスタム",
"Edit": "編集",
"Are you sure you want to delete this role?": "このロールを削除してもよろしいですか?",
"Delete": "削除",
"Protected": "保護済み",
"No roles found.": "ロールが見見つかりません。",
"Create Role": "ロールの作成",
"Edit Role": "ロールの編集",
"Enter role name": "ロール名を入力してください",
"No login history yet": "ログイン履歴はまだありません",
"Signed in as": "ログイン中",
"Logout": "ログアウト",
@@ -156,5 +171,78 @@
"Recent Login": "最近のログイン",
"Total Logins": "総ログイン数",
"Account Status": "アカウント状態",
"Active": "アクティブ"
"Active": "アクティブ",
"Customer Management": "客戶管理",
"Manage all tenant accounts and validity": "すべてのテナントアカウントと有効期限を管理します",
"Add Customer": "客戶を追加",
"Total Customers": "客戶総数",
"Expired / Disabled": "期限切れ / 停止中",
"Search customers...": "客戶を検索...",
"All": "すべて",
"Disabled": "停止中",
"Customer Info": "客戶情報",
"Accounts / Machines": "アカウント / 機台",
"Valid Until": "有効期限",
"Actions": "操作",
"Permanent": "永久認可",
"Are you sure to delete this customer?": "この客戶を削除してもよろしいですか?",
"No customers found": "客戶が見つかりません",
"Edit Customer": "客戶を編集",
"Update Customer": "客戶を更新",
"Create": "作成",
"Company Name": "会社名",
"Company Code": "会社コード",
"Tax ID (Optional)": "納税者番号 (任意)",
"Status": "ステータス",
"Contact Name": "連絡担当者名",
"Contact Phone": "連絡先電話番号",
"Contact Email": "連絡先メールアドレス",
"Notes": "備考",
"Customer created successfully.": "客戶が正常に作成されました。",
"Customer updated successfully.": "客戶が正常に更新されました。",
"Customer deleted successfully.": "客戶が正常に削除されました。",
"Cannot delete company with active accounts.": "アクティブなアカウントを持つ会社は削除できません。",
"Contract Until (Optional)": "契約期限 (任意)",
"Company Information": "会社情報",
"Initial Admin Account": "初期管理者アカウント",
"Optional": "任意",
"Username": "ユーザー名",
"Enter login ID": "ログインIDを入力してください",
"Min 8 characters": "最低8文字",
"Admin display name": "管理者表示名",
"Contact & Details": "連絡先と詳細",
"e.g. Taiwan Star": "例:台湾スター",
"e.g. TWSTAR": "例TWSTAR",
"Manage administrative and tenant accounts": "管理者およびテナントアカウントを管理します",
"Add Account": "アカウントを追加",
"All Companies": "すべての会社",
"User Info": "ユーザー情報",
"Belongs To": "所属",
"Role": "ロール",
"SYSTEM": "システムレベル",
"No users found": "ユーザーが見つかりません",
"Data Configuration Permissions": "データ設定権限",
"Sales Permissions": "販売管理権限",
"Machine Management Permissions": "機台管理權限",
"Warehouse Permissions": "倉庫管理權限",
"Analysis Permissions": "分析管理權限",
"Audit Permissions": "監査管理權限",
"Remote Permissions": "リモート管理權限",
"Line Permissions": "Line管理權限",
"Company": "所属客戶",
"Save Changes": "変更を保存",
"User": "一般ユーザー",
"Admin": "管理者",
"Super Admin": "スーパー管理者",
"e.g. John Doe": "例:山田太郎",
"e.g. johndoe": "例yamadataro",
"Search users...": "ユーザーを検索...",
"Admin Name": "管理者名",
"New Password (leave blank to keep current)": "新しいパスワード (変更しない場合は空欄)",
"Are you sure you want to delete this account?": "このアカウントを削除してもよろしいですか?",
"Show": "表示",
"to": "から",
"of": "件中",
"items": "個の項目",
"Showing": "表示中"
}

View File

@@ -27,37 +27,35 @@
"Enter your password to confirm": "請輸入您的密碼以確認",
"Dashboard": "儀表板",
"Connectivity Status": "連狀態",
"Real-time status monitoring": "即時運作狀態監控",
"LIVE": "時",
"Connectivity Status": "連狀態概況",
"Real-time status monitoring": "即時監控機台連線動態",
"LIVE": "時",
"Online Machines": "在線機台",
"Offline Machines": "離線機台",
"Alerts Pending": "異常警報",
"Total Connected": "連線中總數",
"Monthly Transactions": "月交易",
"Alerts Pending": "待處理告警",
"Total Connected": "總計連線數",
"Monthly Transactions": "月交易統計",
"Monthly cumulative revenue overview": "本月累計營收概況",
"Today's Transactions": "今日交易",
"Yesterday's Transactions": "昨日交易",
"Before Yesterday's Transactions": "前日交易",
"Today's Transactions": "今日交易",
"vs Yesterday": "昨日",
"Yesterday": "昨日",
"Day Before": "前日",
"vs Yesterday": "比昨日",
"Machine Status List": "機台狀態列表",
"Total items": "共 :count 筆",
"Real-time monitoring across all machines": "全線機台即時監控",
"Machine Status List": "機台運行狀態列表",
"Total items": "總計 :count 項",
"Real-time monitoring across all machines": "跨機台即時狀態監控",
"Quick search...": "快速搜尋...",
"Machine Info": "機台資訊",
"Running Status": "運行狀態",
"Today Cumulative Sales": "日累積銷售",
"Current Stock": "前庫存",
"Last Communication": "最後訊",
"Alert Summary": "警摘要",
"Today Cumulative Sales": "日累積銷售",
"Current Stock": "前庫存",
"Last Signal": "最後訊號時間",
"Alert Summary": "警摘要",
"Online": "在線",
"Offline": "離線",
"Low Stock": "庫存低",
"No alert summary": "無異常摘要",
"No data available": "目前尚無數據",
"Showing :from to :to of :total items": "顯示第 :from 到 :to ,共 :total ",
"Low Stock": "庫存低",
"No alert summary": "暫無告警記錄",
"No data available": "暫無資料",
"Showing :from to :to of :total items": "顯示第 :from 到 :to ,共 :total ",
"Previous": "上一頁",
"Next": "下一頁",
"Profile Settings": "個人設定",
@@ -149,6 +147,23 @@
"Others": "其他功能",
"AI Prediction": "AI智能預測",
"Roles": "角色設定",
"Role Management": "角色管理",
"Define and manage security roles for the system.": "定義與管理系統的安全角色。",
"Add Role": "新增角色",
"Role Name": "角色名稱",
"Type": "類型",
"Users": "使用者人數",
"System Role": "系統角色",
"System": "系統",
"Custom": "自定義",
"Edit": "編輯",
"Are you sure you want to delete this role?": "您確定要刪除此角色嗎?",
"Delete": "刪除",
"Protected": "受保護",
"No roles found.": "找不到角色資料。",
"Create Role": "建立角色",
"Edit Role": "編輯角色",
"Enter role name": "請輸入角色名稱",
"No login history yet": "尚無登入紀錄",
"Signed in as": "登入身份",
"Logout": "登出",
@@ -156,5 +171,78 @@
"Recent Login": "最近登入",
"Total Logins": "總登入次數",
"Account Status": "帳號狀態",
"Active": "使用中"
"Active": "使用中",
"Customer Management": "客戶管理",
"Manage all tenant accounts and validity": "管理所有租戶帳號與合約效期",
"Add Customer": "新增客戶",
"Total Customers": "客戶總數",
"Expired / Disabled": "已過期 / 停用",
"Search customers...": "搜尋客戶...",
"All": "全部",
"Disabled": "已停用",
"Customer Info": "客戶資訊",
"Accounts / Machines": "帳號 / 機台",
"Valid Until": "合約到期日",
"Actions": "操作",
"Permanent": "永久授權",
"Are you sure to delete this customer?": "您確定要刪除此客戶嗎?",
"No customers found": "找不到客戶資料",
"Edit Customer": "編輯客戶",
"Update Customer": "更新客戶",
"Create": "建立",
"Company Name": "公司名稱",
"Company Code": "公司代碼",
"Tax ID (Optional)": "統一編號 (選填)",
"Status": "狀態",
"Contact Name": "聯絡人姓名",
"Contact Phone": "聯絡人電話",
"Contact Email": "聯絡人信箱",
"Notes": "備註",
"Customer created successfully.": "客戶新增成功",
"Customer updated successfully.": "客戶更新成功",
"Customer deleted successfully.": "客戶刪除成功",
"Cannot delete company with active accounts.": "無法刪除仍有帳號的客戶",
"Contract Until (Optional)": "合約到期日 (選填)",
"Company Information": "公司資訊",
"Initial Admin Account": "初始管理帳號",
"Optional": "選填",
"Username": "使用者帳號",
"Enter login ID": "請輸入登入帳號",
"Min 8 characters": "至少 8 個字元",
"Admin display name": "管理員顯示名稱",
"Contact & Details": "聯絡資訊與詳情",
"e.g. Taiwan Star": "例如:台灣之星",
"e.g. TWSTAR": "例如TWSTAR",
"Manage administrative and tenant accounts": "管理系統管理者與租戶帳號",
"Add Account": "新增帳號",
"All Companies": "所有公司",
"User Info": "用戶資訊",
"Company": "所屬客戶",
"Belongs To": "所屬單位",
"Role": "角色",
"SYSTEM": "系統層級",
"No users found": "找不到用戶資料",
"Data Configuration Permissions": "資料設定權限",
"Sales Permissions": "銷售管理權限",
"Machine Management Permissions": "機台管理權限",
"Warehouse Permissions": "倉庫管理權限",
"Analysis Permissions": "分析管理權限",
"Audit Permissions": "稽核管理權限",
"Remote Permissions": "遠端管理權限",
"Line Permissions": "Line 管理權限",
"Save Changes": "儲存變更",
"User": "一般用戶",
"Admin": "管理員",
"Super Admin": "超級管理員",
"e.g. John Doe": "例如:張曉明",
"e.g. johndoe": "例如xiaoming",
"Search users...": "搜尋用戶...",
"Admin Name": "管理員姓名",
"New Password (leave blank to keep current)": "新密碼 (若不修改請留空)",
"Are you sure you want to delete this account?": "您確定要刪除此帳號嗎?",
"Show": "顯示",
"to": "至",
"of": "總計",
"items": "筆項目",
"Showing": "顯示第"
}