[REFACTOR] 實作側邊欄與儀表板多語系化,修復 UI 位移與樣式優化
All checks were successful
star-cloud-deploy-demo / deploy-demo (push) Successful in 52s

This commit is contained in:
2026-03-12 17:42:57 +08:00
parent 8ee14eaa29
commit 773396fc90
43 changed files with 1928 additions and 650 deletions

20
lang/en/auth.php Normal file
View File

@@ -0,0 +1,20 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used during authentication for various
| messages that we need to display to the user. You are free to modify
| these language lines according to your application's requirements.
|
*/
'failed' => 'These credentials do not match our records.',
'password' => 'The provided password is incorrect.',
'throttle' => 'Too many login attempts. Please try again in :seconds seconds.',
];

19
lang/en/pagination.php Normal file
View File

@@ -0,0 +1,19 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Pagination Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used by the paginator library to build
| the simple pagination links. You are free to change them to anything
| you want to customize your views to better match your application.
|
*/
'previous' => '&laquo; Previous',
'next' => 'Next &raquo;',
];

22
lang/en/passwords.php Normal file
View File

@@ -0,0 +1,22 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Password Reset Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are the default lines which match reasons
| that are given by the password broker for a password update attempt
| outcome such as failure due to an invalid password / reset token.
|
*/
'reset' => 'Your password has been reset.',
'sent' => 'We have emailed your password reset link.',
'throttled' => 'Please wait before retrying.',
'token' => 'This password reset token is invalid.',
'user' => "We can't find a user with that email address.",
];

200
lang/en/validation.php Normal file
View File

@@ -0,0 +1,200 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator class. Some of these rules have multiple versions such
| as the size rules. Feel free to tweak each of these messages here.
|
*/
'accepted' => 'The :attribute field must be accepted.',
'accepted_if' => 'The :attribute field must be accepted when :other is :value.',
'active_url' => 'The :attribute field must be a valid URL.',
'after' => 'The :attribute field must be a date after :date.',
'after_or_equal' => 'The :attribute field must be a date after or equal to :date.',
'alpha' => 'The :attribute field must only contain letters.',
'alpha_dash' => 'The :attribute field must only contain letters, numbers, dashes, and underscores.',
'alpha_num' => 'The :attribute field must only contain letters and numbers.',
'any_of' => 'The :attribute field is invalid.',
'array' => 'The :attribute field must be an array.',
'ascii' => 'The :attribute field must only contain single-byte alphanumeric characters and symbols.',
'before' => 'The :attribute field must be a date before :date.',
'before_or_equal' => 'The :attribute field must be a date before or equal to :date.',
'between' => [
'array' => 'The :attribute field must have between :min and :max items.',
'file' => 'The :attribute field must be between :min and :max kilobytes.',
'numeric' => 'The :attribute field must be between :min and :max.',
'string' => 'The :attribute field must be between :min and :max characters.',
],
'boolean' => 'The :attribute field must be true or false.',
'can' => 'The :attribute field contains an unauthorized value.',
'confirmed' => 'The :attribute field confirmation does not match.',
'contains' => 'The :attribute field is missing a required value.',
'current_password' => 'The password is incorrect.',
'date' => 'The :attribute field must be a valid date.',
'date_equals' => 'The :attribute field must be a date equal to :date.',
'date_format' => 'The :attribute field must match the format :format.',
'decimal' => 'The :attribute field must have :decimal decimal places.',
'declined' => 'The :attribute field must be declined.',
'declined_if' => 'The :attribute field must be declined when :other is :value.',
'different' => 'The :attribute field and :other must be different.',
'digits' => 'The :attribute field must be :digits digits.',
'digits_between' => 'The :attribute field must be between :min and :max digits.',
'dimensions' => 'The :attribute field has invalid image dimensions.',
'distinct' => 'The :attribute field has a duplicate value.',
'doesnt_contain' => 'The :attribute field must not contain any of the following: :values.',
'doesnt_end_with' => 'The :attribute field must not end with one of the following: :values.',
'doesnt_start_with' => 'The :attribute field must not start with one of the following: :values.',
'email' => 'The :attribute field must be a valid email address.',
'encoding' => 'The :attribute field must be encoded in :encoding.',
'ends_with' => 'The :attribute field must end with one of the following: :values.',
'enum' => 'The selected :attribute is invalid.',
'exists' => 'The selected :attribute is invalid.',
'extensions' => 'The :attribute field must have one of the following extensions: :values.',
'file' => 'The :attribute field must be a file.',
'filled' => 'The :attribute field must have a value.',
'gt' => [
'array' => 'The :attribute field must have more than :value items.',
'file' => 'The :attribute field must be greater than :value kilobytes.',
'numeric' => 'The :attribute field must be greater than :value.',
'string' => 'The :attribute field must be greater than :value characters.',
],
'gte' => [
'array' => 'The :attribute field must have :value items or more.',
'file' => 'The :attribute field must be greater than or equal to :value kilobytes.',
'numeric' => 'The :attribute field must be greater than or equal to :value.',
'string' => 'The :attribute field must be greater than or equal to :value characters.',
],
'hex_color' => 'The :attribute field must be a valid hexadecimal color.',
'image' => 'The :attribute field must be an image.',
'in' => 'The selected :attribute is invalid.',
'in_array' => 'The :attribute field must exist in :other.',
'in_array_keys' => 'The :attribute field must contain at least one of the following keys: :values.',
'integer' => 'The :attribute field must be an integer.',
'ip' => 'The :attribute field must be a valid IP address.',
'ipv4' => 'The :attribute field must be a valid IPv4 address.',
'ipv6' => 'The :attribute field must be a valid IPv6 address.',
'json' => 'The :attribute field must be a valid JSON string.',
'list' => 'The :attribute field must be a list.',
'lowercase' => 'The :attribute field must be lowercase.',
'lt' => [
'array' => 'The :attribute field must have less than :value items.',
'file' => 'The :attribute field must be less than :value kilobytes.',
'numeric' => 'The :attribute field must be less than :value.',
'string' => 'The :attribute field must be less than :value characters.',
],
'lte' => [
'array' => 'The :attribute field must not have more than :value items.',
'file' => 'The :attribute field must be less than or equal to :value kilobytes.',
'numeric' => 'The :attribute field must be less than or equal to :value.',
'string' => 'The :attribute field must be less than or equal to :value characters.',
],
'mac_address' => 'The :attribute field must be a valid MAC address.',
'max' => [
'array' => 'The :attribute field must not have more than :max items.',
'file' => 'The :attribute field must not be greater than :max kilobytes.',
'numeric' => 'The :attribute field must not be greater than :max.',
'string' => 'The :attribute field must not be greater than :max characters.',
],
'max_digits' => 'The :attribute field must not have more than :max digits.',
'mimes' => 'The :attribute field must be a file of type: :values.',
'mimetypes' => 'The :attribute field must be a file of type: :values.',
'min' => [
'array' => 'The :attribute field must have at least :min items.',
'file' => 'The :attribute field must be at least :min kilobytes.',
'numeric' => 'The :attribute field must be at least :min.',
'string' => 'The :attribute field must be at least :min characters.',
],
'min_digits' => 'The :attribute field must have at least :min digits.',
'missing' => 'The :attribute field must be missing.',
'missing_if' => 'The :attribute field must be missing when :other is :value.',
'missing_unless' => 'The :attribute field must be missing unless :other is :value.',
'missing_with' => 'The :attribute field must be missing when :values is present.',
'missing_with_all' => 'The :attribute field must be missing when :values are present.',
'multiple_of' => 'The :attribute field must be a multiple of :value.',
'not_in' => 'The selected :attribute is invalid.',
'not_regex' => 'The :attribute field format is invalid.',
'numeric' => 'The :attribute field must be a number.',
'password' => [
'letters' => 'The :attribute field must contain at least one letter.',
'mixed' => 'The :attribute field must contain at least one uppercase and one lowercase letter.',
'numbers' => 'The :attribute field must contain at least one number.',
'symbols' => 'The :attribute field must contain at least one symbol.',
'uncompromised' => 'The given :attribute has appeared in a data leak. Please choose a different :attribute.',
],
'present' => 'The :attribute field must be present.',
'present_if' => 'The :attribute field must be present when :other is :value.',
'present_unless' => 'The :attribute field must be present unless :other is :value.',
'present_with' => 'The :attribute field must be present when :values is present.',
'present_with_all' => 'The :attribute field must be present when :values are present.',
'prohibited' => 'The :attribute field is prohibited.',
'prohibited_if' => 'The :attribute field is prohibited when :other is :value.',
'prohibited_if_accepted' => 'The :attribute field is prohibited when :other is accepted.',
'prohibited_if_declined' => 'The :attribute field is prohibited when :other is declined.',
'prohibited_unless' => 'The :attribute field is prohibited unless :other is in :values.',
'prohibits' => 'The :attribute field prohibits :other from being present.',
'regex' => 'The :attribute field format is invalid.',
'required' => 'The :attribute field is required.',
'required_array_keys' => 'The :attribute field must contain entries for: :values.',
'required_if' => 'The :attribute field is required when :other is :value.',
'required_if_accepted' => 'The :attribute field is required when :other is accepted.',
'required_if_declined' => 'The :attribute field is required when :other is declined.',
'required_unless' => 'The :attribute field is required unless :other is in :values.',
'required_with' => 'The :attribute field is required when :values is present.',
'required_with_all' => 'The :attribute field is required when :values are present.',
'required_without' => 'The :attribute field is required when :values is not present.',
'required_without_all' => 'The :attribute field is required when none of :values are present.',
'same' => 'The :attribute field must match :other.',
'size' => [
'array' => 'The :attribute field must contain :size items.',
'file' => 'The :attribute field must be :size kilobytes.',
'numeric' => 'The :attribute field must be :size.',
'string' => 'The :attribute field must be :size characters.',
],
'starts_with' => 'The :attribute field must start with one of the following: :values.',
'string' => 'The :attribute field must be a string.',
'timezone' => 'The :attribute field must be a valid timezone.',
'unique' => 'The :attribute has already been taken.',
'uploaded' => 'The :attribute failed to upload.',
'uppercase' => 'The :attribute field must be uppercase.',
'url' => 'The :attribute field must be a valid URL.',
'ulid' => 'The :attribute field must be a valid ULID.',
'uuid' => 'The :attribute field must be a valid UUID.',
/*
|--------------------------------------------------------------------------
| Custom Validation Language Lines
|--------------------------------------------------------------------------
|
| Here you may specify custom validation messages for attributes using the
| convention "attribute.rule" to name the lines. This makes it quick to
| specify a specific custom language line for a given attribute rule.
|
*/
'custom' => [
'attribute-name' => [
'rule-name' => 'custom-message',
],
],
/*
|--------------------------------------------------------------------------
| Custom Validation Attributes
|--------------------------------------------------------------------------
|
| The following language lines are used to swap our attribute placeholder
| with something more reader friendly such as "E-Mail Address" instead
| of "email". This simply helps us make our message more expressive.
|
*/
'attributes' => [],
];

150
lang/ja.json Normal file
View File

@@ -0,0 +1,150 @@
{
"Account Settings": "アカウント設定",
"Manage your profile information, security settings, and login history": "プロフィール情報、セキュリティ設定、ログイン履歴の管理",
"Profile Information": "プロフィール情報",
"Update your account's profile information and email address.": "アカウントの氏名、電話番号、メールアドレスを更新します。",
"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. Please enter your password to confirm you would like to permanently delete your account.": "アカウントが削除されると、すべての関連データが永久に削除されます。アカウントの永久削除を確定するため、パスワードを入力してください。",
"Login History": "ログイン履歴",
"Name": "氏名",
"Phone": "電話番号",
"Email": "メールアドレス",
"Current Password": "現在のパスワード",
"New Password": "新しいパスワード",
"Confirm Password": "新しいパスワード(確認)",
"Save": "変更を保存",
"Saved.": "保存されました",
"Update": "更新",
"Cancel": "キャンセル",
"Confirm": "確認",
"Danger Zone: Delete Account": "危険区域:アカウントの削除",
"Permanently Delete Account": "アカウントを永久に削除",
"Password": "パスワード",
"Enter your password to confirm": "確認のためパスワードを入力してください",
"Dashboard": "ダッシュボード",
"Connectivity Status": "接続ステータス",
"Real-time status monitoring": "リアルタイムステータス監視",
"LIVE": "ライブ",
"Online Machines": "オンライン機台",
"Offline Machines": "オフライン機台",
"Alerts Pending": "アラート待機中",
"Total Connected": "接続数合計",
"Monthly Transactions": "今月の取引",
"Monthly cumulative revenue overview": "今月の累計収益概要",
"Today's Transactions": "今日の取引",
"Yesterday's Transactions": "昨日の取引",
"Before Yesterday's Transactions": "一昨日の取引",
"vs Yesterday": "前日比",
"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": "アラート概要",
"Online": "オンライン",
"Offline": "オフライン",
"Low Stock": "在庫少",
"No alert summary": "アラートなし",
"No data available": "データがありません",
"Showing :from to :to of :total items": ":total 件中 :from から :to 件を表示",
"Previous": "前へ",
"Next": "次へ",
"Profile Settings": "個人設定",
"Profile": "プロフィール",
"Member Management": "会員管理",
"Member List": "会員リスト",
"Membership Tiers": "会員ランク",
"Deposit Bonus": "入金ボーナス",
"Point Rules": "ポイントルール",
"Gift Definitions": "ギフト設定",
"Machine Management": "機台管理",
"Machine Logs": "機台ログ",
"Machine List": "機台リスト",
"Machine Permissions": "機台権限",
"Utilization Rate": "稼働率",
"Expiry Management": "有効期限管理",
"Maintenance Records": "メンテナンス記録",
"APP Management": "APP管理",
"UI Elements": "UI要素",
"Helper": "ヘルパー",
"Questionnaire": "アンケート",
"Games": "ゲーム",
"Timer": "タイマー",
"Warehouse Management": "倉庫管理",
"Warehouse List (All)": "倉庫リスト(全)",
"Warehouse List (Individual)": "倉庫リスト(個)",
"Stock Management": "在庫管理",
"Transfers": "転送",
"Purchases": "購入",
"Replenishments": "補充",
"Replenishment Records": "補充記録",
"Machine Stock": "機台在庫",
"Staff Stock": "スタッフ在庫",
"Returns": "返品",
"Sales Management": "販売管理",
"Sales Records": "販売記録",
"Pickup Codes": "受取コード",
"Orders": "注文",
"Promotions": "プロモーション",
"Pass Codes": "パスクード",
"Store Gifts": "来店特典",
"Analysis Management": "分析管理",
"Change Stock": "小銭在庫",
"Machine Reports": "機台レポート",
"Product Reports": "商品レポート",
"Survey Analysis": "アンケート分析",
"Audit Management": "監査管理",
"Purchase Audit": "購入監査",
"Transfer Audit": "転送監査",
"Replenishment Audit": "補充監査",
"Data Configuration": "データ設定",
"Product Management": "商品管理",
"Advertisement Management": "広告管理",
"Admin Sellable Products": "管理者販売可能商品",
"Account Management": "アカウント管理",
"Sub Accounts": "サブアカウント",
"Sub Account Roles": "サブアカウントロール",
"Point Settings": "ポイント設定",
"Badge Settings": "バッジ設定",
"Remote Management": "リモート管理",
"Machine Restart": "機台再起動",
"Card Reader Restart": "カードリーダー再起動",
"Remote Checkout": "リモート決済",
"Remote Lock": "リモートロック",
"Remote Change": "リモートお釣り",
"Remote Dispense": "リモート出庫",
"Line Management": "Line管理",
"Line Members": "Line会員",
"Line Machines": "Line機台",
"Line Products": "Line商品",
"Line Official Account": "Line公式アカウント",
"Line Orders": "Line注文",
"Line Coupons": "Lineクーポン",
"Reservation System": "予約システム",
"Reservation Members": "予約会員",
"Store Management": "店舗管理",
"Time Slots": "タイムスロット",
"Venue Management": "会場管理",
"Coupons": "クーポン",
"Reservations": "予約",
"Order Management": "注文管理",
"Special Permission": "特別権限",
"Clear Stock": "在庫クリア",
"APK Versions": "APKバージョン",
"Discord Notifications": "Discord通知",
"Permission Settings": "権限設定",
"APP Features": "APP機能",
"Sales": "販売",
"Others": "その他",
"AI Prediction": "AI予測",
"Roles": "ロール"
}

150
lang/zh_TW.json Normal file
View File

@@ -0,0 +1,150 @@
{
"Account Settings": "帳戶設定",
"Manage your profile information, security settings, and login history": "管理您的個人資訊、安全設定與登入紀錄",
"Profile Information": "個人基本資料",
"Update your account's profile information and email address.": "更新您的帳號姓名、手機號碼與電子郵件地址。",
"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. Please enter your password to confirm you would like to permanently delete your account.": "帳號一旦刪除,所有關連數據將被永久移除。請輸入您的密碼以確認您希望永久刪除此帳號。",
"Login History": "登入歷史",
"Name": "姓名",
"Phone": "手機號碼",
"Email": "電子郵件",
"Current Password": "當前密碼",
"New Password": "新密碼",
"Confirm Password": "確認新密碼",
"Save": "儲存變更",
"Saved.": "已儲存",
"Update": "更新",
"Cancel": "取消",
"Confirm": "確認",
"Danger Zone: Delete Account": "危險區域:刪除帳號",
"Permanently Delete Account": "永久刪除帳號",
"Password": "密碼",
"Enter your password to confirm": "請輸入您的密碼以確認",
"Dashboard": "儀表板",
"Connectivity Status": "連網狀態",
"Real-time status monitoring": "即時運作狀態監控",
"LIVE": "即時",
"Online Machines": "在線機台",
"Offline Machines": "離線機台",
"Alerts Pending": "異常警報",
"Total Connected": "連線中總數",
"Monthly Transactions": "當月交易",
"Monthly cumulative revenue overview": "本月累計營收概況",
"Today's Transactions": "今日交易",
"Yesterday's Transactions": "昨日交易",
"Before Yesterday's Transactions": "前日交易",
"vs Yesterday": "比昨日",
"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": "警訊摘要",
"Online": "在線",
"Offline": "離線",
"Low Stock": "庫存偏低",
"No alert summary": "無異常摘要",
"No data available": "目前尚無數據",
"Showing :from to :to of :total items": "顯示第 :from 到 :to 筆,共 :total 筆",
"Previous": "上一頁",
"Next": "下一頁",
"Profile Settings": "個人設定",
"Profile": "個人檔案",
"Member Management": "會員管理",
"Member List": "會員列表",
"Membership Tiers": "會員等級",
"Deposit Bonus": "儲值回饋",
"Point Rules": "點數規則",
"Gift Definitions": "禮品設定",
"Machine Management": "機台管理",
"Machine Logs": "機台日誌",
"Machine List": "機台列表",
"Machine Permissions": "機台權限",
"Utilization Rate": "機台稼動率",
"Expiry Management": "效期管理",
"Maintenance Records": "維修管理單",
"APP Management": "APP管理",
"UI Elements": "UI元素",
"Helper": "小幫手",
"Questionnaire": "問卷",
"Games": "互動遊戲",
"Timer": "計時器",
"Warehouse Management": "倉庫管理",
"Warehouse List (All)": "倉庫列表(全)",
"Warehouse List (Individual)": "倉庫列表(個)",
"Stock Management": "庫存管理單",
"Transfers": "調撥單",
"Purchases": "採購單",
"Replenishments": "機台補貨單",
"Replenishment Records": "機台補貨紀錄",
"Machine Stock": "機台庫存",
"Staff Stock": "人員庫存",
"Returns": "回庫單",
"Sales Management": "銷售管理",
"Sales Records": "銷售紀錄",
"Pickup Codes": "取貨碼",
"Orders": "購買單",
"Promotions": "促銷時段",
"Pass Codes": "通行碼",
"Store Gifts": "來店禮",
"Analysis Management": "分析管理",
"Change Stock": "零錢庫存",
"Machine Reports": "機台報表",
"Product Reports": "商品報表",
"Survey Analysis": "問卷分析",
"Audit Management": "稽核管理",
"Purchase Audit": "採購單",
"Transfer Audit": "調撥單",
"Replenishment Audit": "補貨單",
"Data Configuration": "資料設定",
"Product Management": "商品管理",
"Advertisement Management": "廣告管理",
"Admin Sellable Products": "管理者可賣",
"Account Management": "帳號管理",
"Sub Accounts": "子帳號",
"Sub Account Roles": "子帳號角色",
"Point Settings": "點數設定",
"Badge Settings": "識別證",
"Remote Management": "遠端管理",
"Machine Restart": "機台重啟",
"Card Reader Restart": "卡機重啟",
"Remote Checkout": "遠端結帳",
"Remote Lock": "遠端鎖定",
"Remote Change": "遠端找零",
"Remote Dispense": "遠端出貨",
"Line Management": "Line管理",
"Line Members": "Line會員",
"Line Machines": "Line機台",
"Line Products": "Line商品",
"Line Official Account": "Line生活圈",
"Line Orders": "Line訂單",
"Line Coupons": "Line優惠券",
"Reservation System": "預約系統",
"Reservation Members": "預約會員",
"Store Management": "店家管理",
"Time Slots": "時段組合",
"Venue Management": "場地管理",
"Coupons": "優惠券",
"Reservations": "預約管理",
"Order Management": "訂單管理",
"Special Permission": "特殊權限",
"Clear Stock": "庫存清空",
"APK Versions": "APK版本",
"Discord Notifications": "Discord通知",
"Permission Settings": "權限設定",
"APP Features": "APP功能",
"Sales": "銷售管理",
"Others": "其他功能",
"AI Prediction": "AI智能預測",
"Roles": "角色設定"
}

20
lang/zh_TW/auth.php Normal file
View File

@@ -0,0 +1,20 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used during authentication for various
| messages that we need to display to the user. You are free to modify
| these language lines according to your application's requirements.
|
*/
'failed' => 'These credentials do not match our records.',
'password' => 'The provided password is incorrect.',
'throttle' => 'Too many login attempts. Please try again in :seconds seconds.',
];

19
lang/zh_TW/pagination.php Normal file
View File

@@ -0,0 +1,19 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Pagination Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used by the paginator library to build
| the simple pagination links. You are free to change them to anything
| you want to customize your views to better match your application.
|
*/
'previous' => '&laquo; Previous',
'next' => 'Next &raquo;',
];

22
lang/zh_TW/passwords.php Normal file
View File

@@ -0,0 +1,22 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Password Reset Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are the default lines which match reasons
| that are given by the password broker for a password update attempt
| outcome such as failure due to an invalid password / reset token.
|
*/
'reset' => 'Your password has been reset.',
'sent' => 'We have emailed your password reset link.',
'throttled' => 'Please wait before retrying.',
'token' => 'This password reset token is invalid.',
'user' => "We can't find a user with that email address.",
];

200
lang/zh_TW/validation.php Normal file
View File

@@ -0,0 +1,200 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator class. Some of these rules have multiple versions such
| as the size rules. Feel free to tweak each of these messages here.
|
*/
'accepted' => 'The :attribute field must be accepted.',
'accepted_if' => 'The :attribute field must be accepted when :other is :value.',
'active_url' => 'The :attribute field must be a valid URL.',
'after' => 'The :attribute field must be a date after :date.',
'after_or_equal' => 'The :attribute field must be a date after or equal to :date.',
'alpha' => 'The :attribute field must only contain letters.',
'alpha_dash' => 'The :attribute field must only contain letters, numbers, dashes, and underscores.',
'alpha_num' => 'The :attribute field must only contain letters and numbers.',
'any_of' => 'The :attribute field is invalid.',
'array' => 'The :attribute field must be an array.',
'ascii' => 'The :attribute field must only contain single-byte alphanumeric characters and symbols.',
'before' => 'The :attribute field must be a date before :date.',
'before_or_equal' => 'The :attribute field must be a date before or equal to :date.',
'between' => [
'array' => 'The :attribute field must have between :min and :max items.',
'file' => 'The :attribute field must be between :min and :max kilobytes.',
'numeric' => 'The :attribute field must be between :min and :max.',
'string' => 'The :attribute field must be between :min and :max characters.',
],
'boolean' => 'The :attribute field must be true or false.',
'can' => 'The :attribute field contains an unauthorized value.',
'confirmed' => 'The :attribute field confirmation does not match.',
'contains' => 'The :attribute field is missing a required value.',
'current_password' => 'The password is incorrect.',
'date' => 'The :attribute field must be a valid date.',
'date_equals' => 'The :attribute field must be a date equal to :date.',
'date_format' => 'The :attribute field must match the format :format.',
'decimal' => 'The :attribute field must have :decimal decimal places.',
'declined' => 'The :attribute field must be declined.',
'declined_if' => 'The :attribute field must be declined when :other is :value.',
'different' => 'The :attribute field and :other must be different.',
'digits' => 'The :attribute field must be :digits digits.',
'digits_between' => 'The :attribute field must be between :min and :max digits.',
'dimensions' => 'The :attribute field has invalid image dimensions.',
'distinct' => 'The :attribute field has a duplicate value.',
'doesnt_contain' => 'The :attribute field must not contain any of the following: :values.',
'doesnt_end_with' => 'The :attribute field must not end with one of the following: :values.',
'doesnt_start_with' => 'The :attribute field must not start with one of the following: :values.',
'email' => 'The :attribute field must be a valid email address.',
'encoding' => 'The :attribute field must be encoded in :encoding.',
'ends_with' => 'The :attribute field must end with one of the following: :values.',
'enum' => 'The selected :attribute is invalid.',
'exists' => 'The selected :attribute is invalid.',
'extensions' => 'The :attribute field must have one of the following extensions: :values.',
'file' => 'The :attribute field must be a file.',
'filled' => 'The :attribute field must have a value.',
'gt' => [
'array' => 'The :attribute field must have more than :value items.',
'file' => 'The :attribute field must be greater than :value kilobytes.',
'numeric' => 'The :attribute field must be greater than :value.',
'string' => 'The :attribute field must be greater than :value characters.',
],
'gte' => [
'array' => 'The :attribute field must have :value items or more.',
'file' => 'The :attribute field must be greater than or equal to :value kilobytes.',
'numeric' => 'The :attribute field must be greater than or equal to :value.',
'string' => 'The :attribute field must be greater than or equal to :value characters.',
],
'hex_color' => 'The :attribute field must be a valid hexadecimal color.',
'image' => 'The :attribute field must be an image.',
'in' => 'The selected :attribute is invalid.',
'in_array' => 'The :attribute field must exist in :other.',
'in_array_keys' => 'The :attribute field must contain at least one of the following keys: :values.',
'integer' => 'The :attribute field must be an integer.',
'ip' => 'The :attribute field must be a valid IP address.',
'ipv4' => 'The :attribute field must be a valid IPv4 address.',
'ipv6' => 'The :attribute field must be a valid IPv6 address.',
'json' => 'The :attribute field must be a valid JSON string.',
'list' => 'The :attribute field must be a list.',
'lowercase' => 'The :attribute field must be lowercase.',
'lt' => [
'array' => 'The :attribute field must have less than :value items.',
'file' => 'The :attribute field must be less than :value kilobytes.',
'numeric' => 'The :attribute field must be less than :value.',
'string' => 'The :attribute field must be less than :value characters.',
],
'lte' => [
'array' => 'The :attribute field must not have more than :value items.',
'file' => 'The :attribute field must be less than or equal to :value kilobytes.',
'numeric' => 'The :attribute field must be less than or equal to :value.',
'string' => 'The :attribute field must be less than or equal to :value characters.',
],
'mac_address' => 'The :attribute field must be a valid MAC address.',
'max' => [
'array' => 'The :attribute field must not have more than :max items.',
'file' => 'The :attribute field must not be greater than :max kilobytes.',
'numeric' => 'The :attribute field must not be greater than :max.',
'string' => 'The :attribute field must not be greater than :max characters.',
],
'max_digits' => 'The :attribute field must not have more than :max digits.',
'mimes' => 'The :attribute field must be a file of type: :values.',
'mimetypes' => 'The :attribute field must be a file of type: :values.',
'min' => [
'array' => 'The :attribute field must have at least :min items.',
'file' => 'The :attribute field must be at least :min kilobytes.',
'numeric' => 'The :attribute field must be at least :min.',
'string' => 'The :attribute field must be at least :min characters.',
],
'min_digits' => 'The :attribute field must have at least :min digits.',
'missing' => 'The :attribute field must be missing.',
'missing_if' => 'The :attribute field must be missing when :other is :value.',
'missing_unless' => 'The :attribute field must be missing unless :other is :value.',
'missing_with' => 'The :attribute field must be missing when :values is present.',
'missing_with_all' => 'The :attribute field must be missing when :values are present.',
'multiple_of' => 'The :attribute field must be a multiple of :value.',
'not_in' => 'The selected :attribute is invalid.',
'not_regex' => 'The :attribute field format is invalid.',
'numeric' => 'The :attribute field must be a number.',
'password' => [
'letters' => 'The :attribute field must contain at least one letter.',
'mixed' => 'The :attribute field must contain at least one uppercase and one lowercase letter.',
'numbers' => 'The :attribute field must contain at least one number.',
'symbols' => 'The :attribute field must contain at least one symbol.',
'uncompromised' => 'The given :attribute has appeared in a data leak. Please choose a different :attribute.',
],
'present' => 'The :attribute field must be present.',
'present_if' => 'The :attribute field must be present when :other is :value.',
'present_unless' => 'The :attribute field must be present unless :other is :value.',
'present_with' => 'The :attribute field must be present when :values is present.',
'present_with_all' => 'The :attribute field must be present when :values are present.',
'prohibited' => 'The :attribute field is prohibited.',
'prohibited_if' => 'The :attribute field is prohibited when :other is :value.',
'prohibited_if_accepted' => 'The :attribute field is prohibited when :other is accepted.',
'prohibited_if_declined' => 'The :attribute field is prohibited when :other is declined.',
'prohibited_unless' => 'The :attribute field is prohibited unless :other is in :values.',
'prohibits' => 'The :attribute field prohibits :other from being present.',
'regex' => 'The :attribute field format is invalid.',
'required' => 'The :attribute field is required.',
'required_array_keys' => 'The :attribute field must contain entries for: :values.',
'required_if' => 'The :attribute field is required when :other is :value.',
'required_if_accepted' => 'The :attribute field is required when :other is accepted.',
'required_if_declined' => 'The :attribute field is required when :other is declined.',
'required_unless' => 'The :attribute field is required unless :other is in :values.',
'required_with' => 'The :attribute field is required when :values is present.',
'required_with_all' => 'The :attribute field is required when :values are present.',
'required_without' => 'The :attribute field is required when :values is not present.',
'required_without_all' => 'The :attribute field is required when none of :values are present.',
'same' => 'The :attribute field must match :other.',
'size' => [
'array' => 'The :attribute field must contain :size items.',
'file' => 'The :attribute field must be :size kilobytes.',
'numeric' => 'The :attribute field must be :size.',
'string' => 'The :attribute field must be :size characters.',
],
'starts_with' => 'The :attribute field must start with one of the following: :values.',
'string' => 'The :attribute field must be a string.',
'timezone' => 'The :attribute field must be a valid timezone.',
'unique' => 'The :attribute has already been taken.',
'uploaded' => 'The :attribute failed to upload.',
'uppercase' => 'The :attribute field must be uppercase.',
'url' => 'The :attribute field must be a valid URL.',
'ulid' => 'The :attribute field must be a valid ULID.',
'uuid' => 'The :attribute field must be a valid UUID.',
/*
|--------------------------------------------------------------------------
| Custom Validation Language Lines
|--------------------------------------------------------------------------
|
| Here you may specify custom validation messages for attributes using the
| convention "attribute.rule" to name the lines. This makes it quick to
| specify a specific custom language line for a given attribute rule.
|
*/
'custom' => [
'attribute-name' => [
'rule-name' => 'custom-message',
],
],
/*
|--------------------------------------------------------------------------
| Custom Validation Attributes
|--------------------------------------------------------------------------
|
| The following language lines are used to swap our attribute placeholder
| with something more reader friendly such as "E-Mail Address" instead
| of "email". This simply helps us make our message more expressive.
|
*/
'attributes' => [],
];