diff --git a/config/language.php b/config/language.php index 0b71f716a..12a617da4 100644 --- a/config/language.php +++ b/config/language.php @@ -115,7 +115,7 @@ return [ | */ - 'allowed' => ['en-GB', 'de-DE', 'es-ES', 'fr-FR', 'pt-BR', 'tr-TR'], + 'allowed' => ['en-GB', 'de-DE', 'es-ES', 'fr-FR', 'pt-BR', 'tr-TR', 'zh-TW'], /* |-------------------------------------------------------------------------- diff --git a/resources/lang/zh-TW/accounts.php b/resources/lang/zh-TW/accounts.php new file mode 100644 index 000000000..5215f97ea --- /dev/null +++ b/resources/lang/zh-TW/accounts.php @@ -0,0 +1,15 @@ + '帳戶名稱', + 'number' => '編號', + 'opening_balance' => '期初餘額', + 'current_balance' => '目前餘額', + 'bank_name' => '銀行名稱', + 'bank_phone' => '銀行電話', + 'bank_address' => '銀行地址', + 'default_account' => '預設帳戶', + 'all' => '所有帳戶', + +]; diff --git a/resources/lang/zh-TW/auth.php b/resources/lang/zh-TW/auth.php new file mode 100644 index 000000000..2503d58e3 --- /dev/null +++ b/resources/lang/zh-TW/auth.php @@ -0,0 +1,29 @@ + '個人檔案', + 'logout' => '登出', + 'login' => '登入', + 'login_to' => '登入以開始您的工作', + 'remember_me' => '記住登入資訊', + 'forgot_password' => '忘記密碼', + 'reset_password' => '重設密碼', + 'enter_email' => '輸入您的電子郵件', + 'current_email' => '目前的電子郵件', + 'reset' => '重設', + 'never' => '永遠不要', + 'password' => [ + 'current' => '密碼', + 'current_confirm' => '確認密碼', + 'new' => '新的密碼', + 'new_confirm' => '確認新的密碼', + ], + 'error' => [ + 'self_delete' => '錯誤:無法刪除自己!' + ], + + 'failed' => '使用者名稱或密碼錯誤', + 'throttle' => '嘗試登入太多次,請在 :seconds 秒後再試。', + +]; diff --git a/resources/lang/zh-TW/bills.php b/resources/lang/zh-TW/bills.php new file mode 100644 index 000000000..73b3cc722 --- /dev/null +++ b/resources/lang/zh-TW/bills.php @@ -0,0 +1,36 @@ + '帳單編號', + 'bill_date' => '帳單日期', + 'total_price' => '總價', + 'due_date' => '到期日', + 'order_number' => '訂單編號', + 'bill_from' => '帳單來自', + + 'quantity' => '數量', + 'price' => '售價', + 'sub_total' => '小計', + 'tax_total' => '稅額', + 'total' => '總計', + + 'item_name' => '項目名稱 | 項目名稱', + + 'payment_due' => '付款到期日', + 'amount_due' => '到期金額', + 'paid' => '已付款', + 'histories' => '歷史記錄', + 'payments' => '付款方式', + 'add_payment' => '新增付款方式', + 'download_pdf' => '下載 PDF格式', + 'send_mail' => '傳送電子郵件', + + 'status' => [ + 'new' => '新增', + 'updated' => '更新', + 'partial' => '部分', + 'paid' => '已付款', + ], + +]; diff --git a/resources/lang/zh-TW/categories.php b/resources/lang/zh-TW/categories.php new file mode 100644 index 000000000..81a443622 --- /dev/null +++ b/resources/lang/zh-TW/categories.php @@ -0,0 +1,7 @@ + '所有類別', + 'all_types' => '所有類型' +]; diff --git a/resources/lang/zh-TW/companies.php b/resources/lang/zh-TW/companies.php new file mode 100644 index 000000000..0ba2aa441 --- /dev/null +++ b/resources/lang/zh-TW/companies.php @@ -0,0 +1,13 @@ + '網域', + 'logo' => '商標', + 'manage' => '管理公司', + 'all' => '所有公司', + 'error' => [ + 'delete_active' => '錯誤:不能刪除使用中的公司,請先修改!', + ], + +]; diff --git a/resources/lang/zh-TW/currencies.php b/resources/lang/zh-TW/currencies.php new file mode 100644 index 000000000..420a1c658 --- /dev/null +++ b/resources/lang/zh-TW/currencies.php @@ -0,0 +1,9 @@ + '代碼', + 'rate' => '稅率', + 'default' => '預設貨幣', + +]; diff --git a/resources/lang/zh-TW/customer.php b/resources/lang/zh-TW/customer.php new file mode 100644 index 000000000..ddc07fa27 --- /dev/null +++ b/resources/lang/zh-TW/customer.php @@ -0,0 +1,5 @@ + '所有客戶', +]; diff --git a/resources/lang/zh-TW/dashboard.php b/resources/lang/zh-TW/dashboard.php new file mode 100644 index 000000000..723b84389 --- /dev/null +++ b/resources/lang/zh-TW/dashboard.php @@ -0,0 +1,24 @@ + '總收入', + 'receivables' => '應收帳款', + 'open_invoices' => '未結發票', + 'overdue_invoices' => '逾期發票', + 'total_expenses' => '總費用', + 'payables' => '應付帳款', + 'open_bills' => '未結帳單', + 'overdue_bills' => '逾期帳單', + 'total_profit' => '總利潤', + 'open_profit' => '初始利潤', + 'overdue_profit' => '逾期利潤', + 'cash_flow' => '金流', + 'no_profit_loss' => '無利潤損失', + 'incomes_by_category' => '分類收入', + 'expenses_by_category' => '分類支出', + 'account_balance' => '帳戶餘額', + 'latest_incomes' => '近期收入', + 'latest_expenses' => '近期支出', + +]; diff --git a/resources/lang/zh-TW/demo.php b/resources/lang/zh-TW/demo.php new file mode 100644 index 000000000..7c2c8493f --- /dev/null +++ b/resources/lang/zh-TW/demo.php @@ -0,0 +1,17 @@ + '現金', + 'categories_uncat' => '未分類', + 'categories_deposit' => '存款', + 'categories_sales' => '業務人員', + 'currencies_usd' => '美金', + 'currencies_eur' => '歐元', + 'currencies_gbp' => '英鎊', + 'currencies_try' => '土耳其里拉', + 'taxes_exempt' => '免稅', + 'taxes_normal' => '一般', + 'taxes_sales' => '銷售稅', + +]; diff --git a/resources/lang/zh-TW/footer.php b/resources/lang/zh-TW/footer.php new file mode 100644 index 000000000..cee1104aa --- /dev/null +++ b/resources/lang/zh-TW/footer.php @@ -0,0 +1,9 @@ + '版本', + 'powered' => 'Powered By Akaunting', + 'software' => '免費會計軟體', + +]; diff --git a/resources/lang/zh-TW/general.php b/resources/lang/zh-TW/general.php new file mode 100644 index 000000000..e7d4344a3 --- /dev/null +++ b/resources/lang/zh-TW/general.php @@ -0,0 +1,110 @@ + '項目 | 項目', + 'incomes' => '收入 | 收入', + 'invoices' => '發票 | 發票', + 'revenues' => '營利 | 營利', + 'customers' => '客戶 | 客戶', + 'expenses' => '支出 | 支出', + 'bills' => '帳單 | 帳單', + 'payments' => '付款 | 付款', + 'vendors' => '供應商 | 供應商', + 'accounts' => '帳戶 | 帳戶', + 'transfers' => '移轉 | 移轉', + 'transactions' => '交易 | 交易', + 'reports' => '報告 | 報告', + 'settings' => '設定 | 設定', + 'categories' => '分類 | 分類', + 'currencies' => '幣別 | 幣別', + 'tax_rates' => '稅率 | 稅率', + 'users' => '使用者 | 使用者', + 'roles' => '角色 | 角色', + 'permissions' => '權限 | 權限', + 'modules' => 'App|Apps', + 'companies' => '公司 | 公司', + 'profits' => '利潤 | 利潤', + 'taxes' => '稅額 | 稅額', + 'pictures' => '圖片 | 圖片', + 'types' => '類型 | 類型', + 'payment_methods' => '付款方式 | 付款方式', + 'compares' => '收入vs支出 | 收入vs支出', + 'notes' => '備註 | 備註', + 'totals' => '總計 | 總計', + 'languages' => '語言 | 語言', + 'updates' => '更新 | 更新', + 'numbers' => '編號 | 編號', + + 'dashboard' => '控制面板', + 'banking' => '銀行', + 'general' => '一般', + 'no_records' => '尚無記錄。', + 'date' => '日期', + 'amount' => '金額', + 'enabled' => '啟用', + 'disabled' => '停用', + 'yes' => '是', + 'no' => '否', + 'na' => 'N/A', + 'daily' => '每日', + 'monthly' => '每月', + 'yearly' => '每年', + 'add' => '新增', + 'add_new' => '新增', + 'show' => '顯示', + 'edit' => '編輯', + 'delete' => '刪除', + 'send' => '傳送', + 'download' => '下載', + 'delete_confirm' => '確認刪除 :name :type ?', + 'name' => '名稱', + 'email' => '電子郵件', + 'tax_number' => '統一編號', + 'phone' => '電話', + 'address' => '地址', + 'website' => '網站', + 'actions' => '操作', + 'description' => '描述', + 'manage' => '管理', + 'code' => '代碼', + 'alias' => '別名', + 'balance' => '餘額', + 'reference' => '参考', + 'attachment' => '附件', + 'change' => '修改', + 'color' => '顏色', + 'save' => '儲存', + 'cancel' => '取消', + 'status' => '狀態', + 'from' => '來自', + 'to' => '收件人', + 'print' => '列印', + 'search' => '搜尋', + 'search_placeholder' => '輸入搜尋..', + 'filter' => '篩選', + 'create_user' => '建立使用者', + 'created_user' => '已建立使用者', + 'all_statuses' => '所有狀態', + 'bank' => '銀行轉帳', + 'cash' => '現金', + 'paypal' => 'PayPal', + 'help' => '說明', + 'all' => '全部', + 'upcoming' => '即將到來', + 'created' => '已建立', + + 'title' => [ + 'new' => '新增 :type', + 'edit' => '編輯 :type', + ], + 'form' => [ + 'enter' => '輸入 :field', + 'select' => [ + 'field' => '- 選擇 :field -', + 'file' => '選擇檔案', + ], + 'no_file_selected' => '尚未選擇檔案...', + ], + +]; diff --git a/resources/lang/zh-TW/header.php b/resources/lang/zh-TW/header.php new file mode 100644 index 000000000..3f1405f22 --- /dev/null +++ b/resources/lang/zh-TW/header.php @@ -0,0 +1,14 @@ + '變更語系', + 'last_login' => '上次登入時間 :time', + 'notifications' => [ + 'counter' => '{0} 您沒有任何通知 | {1} 您有 :count 個通知 | [2,*] 您有 :count個通知', + 'overdue_invoices' => '{1} :count 張逾期發票 | [2,*] :count 張逾期發票', + 'upcoming_bills' => '{1} :count 張即將到來的帳單 | [2,*] :count 張即將到來的帳單', + 'view_all' => '檢視全部' + ], + +]; diff --git a/resources/lang/zh-TW/install.php b/resources/lang/zh-TW/install.php new file mode 100644 index 000000000..2f992a0c1 --- /dev/null +++ b/resources/lang/zh-TW/install.php @@ -0,0 +1,45 @@ + '下一步', + 'refresh' => '重新整理', + + 'steps' => [ + 'requirements' => '請檢查以下系統需求!', + 'language' => '步驟一:選擇語系', + 'database' => '步驟二:設定資料庫', + 'settings' => '步驟三:公司與管理員資訊', + ], + + 'language' => [ + 'select' => '選擇語系', + ], + + 'requirements' => [ + 'php_version' => '請使用 PHP 5.6.4 或更新的版本!', + 'enabled' => ':feature 必須啟動!', + 'disabled' => ':feature 必須關閉!', + 'extension' => ':extension 必須載入!', + 'directory' => ':directory 必須可寫入!', + ], + + 'database' => [ + 'hostname' => '主機名稱', + 'username' => '使用者名稱', + 'password' => '密碼', + 'name' => '資料庫', + ], + + 'settings' => [ + 'company_name' => '公司名稱', + 'company_email' => '公司電子郵件', + 'admin_email' => '管理員電子郵件', + 'admin_password' => '管理員密碼', + ], + + 'error' => [ + 'connection' => '錯誤:無法連線到資料庫!請確認所提供的資訊正確無誤。', + ], + +]; diff --git a/resources/lang/zh-TW/invoices.php b/resources/lang/zh-TW/invoices.php new file mode 100644 index 000000000..804fad9ac --- /dev/null +++ b/resources/lang/zh-TW/invoices.php @@ -0,0 +1,37 @@ + '發票號碼', + 'invoice_date' => '發票日期', + 'total_price' => '總價', + 'due_date' => '到期日', + 'order_number' => '訂單編號', + 'bill_to' => '帳單收件人', + + 'quantity' => '數量', + 'price' => '售價', + 'sub_total' => '小計', + 'tax_total' => '稅額', + 'total' => '總計', + + 'item_name' => '項目名稱 | 項目名稱', + + 'payment_due' => '付款到期日', + 'paid' => '已付款', + 'histories' => '歷史記錄', + 'payments' => '付款方式', + 'add_payment' => '新增付款方式', + 'download_pdf' => '下載 PDF格式', + 'send_mail' => '傳送電子郵件', + + 'status' => [ + 'draft' => '草稿', + 'sent' => '已傳送', + 'viewed' => '已瀏覽', + 'approved' => '已批准', + 'partial' => '部分', + 'paid' => '已付款', + ], + +]; diff --git a/resources/lang/zh-TW/items.php b/resources/lang/zh-TW/items.php new file mode 100644 index 000000000..567868992 --- /dev/null +++ b/resources/lang/zh-TW/items.php @@ -0,0 +1,10 @@ + '數量 | 數量', + 'sales_price' => '定價', + 'purchase_price' => '售價', + 'sku' => '庫存', + +]; diff --git a/resources/lang/zh-TW/messages.php b/resources/lang/zh-TW/messages.php new file mode 100644 index 000000000..0632359dd --- /dev/null +++ b/resources/lang/zh-TW/messages.php @@ -0,0 +1,17 @@ + [ + 'added' => '已新增:type !', + 'updated' => '已更新:type !', + 'deleted' => '已刪除:type !', + ], + 'error' => [ + 'not_user_company' => '錯誤:您不允許管理此公司!', + ], + 'warning' => [ + 'deleted' => '注意:由於 :type 包含 :text,因此您無法刪除。', + ], + +]; diff --git a/resources/lang/zh-TW/modules.php b/resources/lang/zh-TW/modules.php new file mode 100644 index 000000000..f60236194 --- /dev/null +++ b/resources/lang/zh-TW/modules.php @@ -0,0 +1,43 @@ + 'API Token', + 'api_token' => 'Token', + 'top_paid' => '最佳銷售', + 'new' => '新增', + 'top_free' => '最佳免費', + 'free' => '免費', + 'install' => '安裝', + 'buy_now' => '現在購買', + 'faq' => '常見問題', + 'changelog' => '更新日誌', + 'installed' => '已安裝', + 'uninstalled' => '已移除', + 'token_link' => '點這裡取得您的 API token.', + + 'enabled' => '已啟用:module', + 'disabled' => ':module已停用', + + 'installation' => [ + 'header' => '模組安裝', + 'start' => '安裝:module中。', + 'download' => '下載模組檔案中::module', + 'unzip' => '解開模組封裝中::module', + 'install' => '上傳模組檔案中::module', + ], + + 'history' => [ + 'installed' => '已安裝:module', + 'uninstalled' => '已移除:module', + 'updated' => '已更新:module', + 'enabled' => '已啟用:module', + 'disabled' => '已停用:module', + ], + + 'button' => [ + 'uninstall' => '移除', + 'disable' => '停用', + 'enable' => '啟用', + ], +]; diff --git a/resources/lang/zh-TW/pagination.php b/resources/lang/zh-TW/pagination.php new file mode 100644 index 000000000..ca04fdb00 --- /dev/null +++ b/resources/lang/zh-TW/pagination.php @@ -0,0 +1,9 @@ + '« 上一頁', + 'next' => '下一頁 »', + 'showing' => '顯示 :first 至 :last 的 :total :type', + +]; diff --git a/resources/lang/zh-TW/passwords.php b/resources/lang/zh-TW/passwords.php new file mode 100644 index 000000000..f1b382f9f --- /dev/null +++ b/resources/lang/zh-TW/passwords.php @@ -0,0 +1,22 @@ + '密碼至少要有六個字元且與密碼確認欄位一致。', + 'reset' => '密碼已成功重設!', + 'sent' => '密碼重設郵件已發送!', + 'token' => '密碼重設隨機碼 (token) 無效。', + 'user' => "找不到該電子郵件信箱對應的使用者。", + +]; diff --git a/resources/lang/zh-TW/reports.php b/resources/lang/zh-TW/reports.php new file mode 100644 index 000000000..70f99a3ff --- /dev/null +++ b/resources/lang/zh-TW/reports.php @@ -0,0 +1,11 @@ + [ + 'income' => '收入概要', + 'expense' => '支出概要', + 'income_expense' => '收入 vs 支出', + ], + +]; diff --git a/resources/lang/zh-TW/roles.php b/resources/lang/zh-TW/roles.php new file mode 100644 index 000000000..7cf36a798 --- /dev/null +++ b/resources/lang/zh-TW/roles.php @@ -0,0 +1,7 @@ + '所有角色', + +]; diff --git a/resources/lang/zh-TW/settings.php b/resources/lang/zh-TW/settings.php new file mode 100644 index 000000000..1bbf6d846 --- /dev/null +++ b/resources/lang/zh-TW/settings.php @@ -0,0 +1,85 @@ + [ + 'name' => '名稱', + 'email' => '電子郵件', + 'phone' => '電話', + 'address' => '地址', + 'logo' => '商標', + ], + 'localisation' => [ + 'tab' => '本地化', + 'date' => [ + 'format' => '日期格式', + 'separator' => '日期分隔', + 'dash' => '破折號 (-)', + 'dot' => '點 (.)', + 'comma' => '逗號 (,)', + 'slash' => '斜線 (/)', + 'space' => '空格 ( )', + ], + 'timezone' => '時區', + ], + 'invoice' => [ + 'tab' => '發票', + 'prefix' => '發票字軌', + 'digit' => '發票號碼', + 'start' => '發票起始號碼', + 'logo' => '發票 Logo', + ], + 'default' => [ + 'tab' => '預設', + 'account' => '預設帳號', + 'currency' => '預設貨幣', + 'tax' => '預設稅率', + 'payment' => '預設付款方式', + 'language' => '預設語言', + ], + 'email' => [ + 'protocol' => '協定', + 'php' => 'PHP Mail', + 'smtp' => [ + 'name' => 'SMTP', + 'host' => 'SMTP 主機', + 'port' => 'SMTP 通訊埠', + 'username' => 'SMTP 帳號', + 'password' => 'SMTP 密碼', + 'encryption' => 'SMTP 安全性', + 'none' => '無', + ], + 'sendmail' => 'Sendmail', + 'sendmail_path' => 'Sendmail 路徑', + 'log' => '郵件日誌', + ], + 'scheduling' => [ + 'tab' => '排程', + 'send_invoice' => '傳送發票提醒', + 'invoice_days' => '於到期日後傳送', + 'send_bill' => '傳送帳單提醒', + 'bill_days' => '於到期日前傳送', + 'cron_command' => 'Cron指令', + 'schedule_time' => '執行時間', + ], + 'appearance' => [ + 'tab' => '外觀', + 'theme' => '主題', + 'light' => '明亮', + 'dark' => '暗色', + 'list_limit' => '每頁記錄', + 'use_gravatar' => '使用 Gravatar', + ], + 'system' => [ + 'tab' => '系統', + 'session' => [ + 'lifetime' => '工作階段保存 (分鐘)', + 'handler' => '工作階段管理員', + 'file' => '檔案', + 'database' => '資料庫', + ], + 'file_size' => '最大檔案容量 (MB)', + 'file_types' => '允許檔案格式', + ], + +]; diff --git a/resources/lang/zh-TW/taxes.php b/resources/lang/zh-TW/taxes.php new file mode 100644 index 000000000..32fc24d33 --- /dev/null +++ b/resources/lang/zh-TW/taxes.php @@ -0,0 +1,8 @@ + '稅率', + 'rate_percent' => '稅率 (%)', + +]; diff --git a/resources/lang/zh-TW/transfers.php b/resources/lang/zh-TW/transfers.php new file mode 100644 index 000000000..b06e9c9cb --- /dev/null +++ b/resources/lang/zh-TW/transfers.php @@ -0,0 +1,8 @@ + '來自帳戶', + 'to_account' => '收件帳戶', + +]; diff --git a/resources/lang/zh-TW/updates.php b/resources/lang/zh-TW/updates.php new file mode 100644 index 000000000..5bc3c8679 --- /dev/null +++ b/resources/lang/zh-TW/updates.php @@ -0,0 +1,13 @@ + '已安裝版本', + 'latest_version' => '最新版本', + 'update' => '更新 Akaunting 至 :version 版', + 'changelog' => '更新日誌', + 'check' => '檢查', + 'new_core' => '新版 Akaunting 已準備好。', + 'latest_core' => '太好了!你已經使用最新版 Akaunting,未來將會自動套用安全性更新。', + +]; diff --git a/resources/lang/zh-TW/validation.php b/resources/lang/zh-TW/validation.php new file mode 100644 index 000000000..758ab3385 --- /dev/null +++ b/resources/lang/zh-TW/validation.php @@ -0,0 +1,119 @@ + '必須接受 :attribute。', + 'active_url' => ':attribute 並非一個有效的網址。', + 'after' => ':attribute 必須要晚於 :date。', + 'after_or_equal' => ':attribute 必須要等於 :date 或更晚', + 'alpha' => ':attribute 只能以字母組成。', + 'alpha_dash' => ':attribute 只能以字母、數字及斜線組成。', + 'alpha_num' => ':attribute 只能以字母及數字組成。', + 'array' => ':attribute 必須為陣列。', + 'before' => ':attribute 必須要早於 :date。', + 'before_or_equal' => ':attribute 必須要等於 :date 或更早。', + 'between' => [ + 'numeric' => ':attribute 必須介於 :min 至 :max 之間。', + 'file' => ':attribute 必須介於 :min 至 :max kb 之間。 ', + 'string' => ':attribute 必須介於 :min 至 :max 個字元之間。', + 'array' => ':attribute: 必須有 :min - :max 個元素。', + ], + 'boolean' => ':attribute 必須為布林值。', + 'confirmed' => ':attribute 確認欄位的輸入不一致。', + 'date' => ':attribute 並非一個有效的日期。', + 'date_format' => ':attribute 不符合 :format 的格式。', + 'different' => ':attribute 與 :other 必須不同。', + 'digits' => ':attribute 必須是 :digits 位數字。', + 'digits_between' => ':attribute 必須介於 :min 至 :max 位數字。', + 'dimensions' => ':attribute 圖片尺寸不正確。', + 'distinct' => ':attribute 已經存在。', + 'email' => ':attribute 必須是有效的電子郵件位址。', + 'exists' => '所選擇的 :attribute 選項無效。', + 'file' => ':attribute 必須是一個檔案。', + 'filled' => ':attribute 不能留空。', + 'image' => ':attribute 必須是一張圖片。', + 'in' => '所選擇的 :attribute 選項無效。', + 'in_array' => ':attribute 沒有在 :other 中。', + 'integer' => ':attribute 必須是一個整數。', + 'ip' => ':attribute 必須是一個有效的 IP 位址。', + 'json' => ':attribute 必須是正確的 JSON 字串。', + 'max' => [ + 'numeric' => ':attribute 不能大於 :max。', + 'file' => ':attribute 不能大於 :max kb。', + 'string' => ':attribute 不能多於 :max 個字元。', + 'array' => ':attribute 最多有 :max 個元素。', + ], + 'mimes' => ':attribute 必須為 :values 的檔案。', + 'mimetypes' => ':attribute 必須為 :values 的檔案。', + 'min' => [ + 'numeric' => ':attribute 不能小於 :min。', + 'file' => ':attribute 不能小於 :min kb。', + 'string' => ':attribute 不能小於 :min 個字元。', + 'array' => ':attribute 至少有 :min 個元素。', + ], + 'not_in' => '所選擇的 :attribute 選項無效。', + 'numeric' => ':attribute 必須為一個數字。', + 'present' => ':attribute 必須存在。', + 'regex' => ':attribute 的格式錯誤。', + 'required' => ':attribute 不能留空。', + 'required_if' => '當 :other 是 :value 時 :attribute 不能留空。', + 'required_unless' => '當 :other 不是 :value 時 :attribute 不能留空。', + 'required_with' => '當 :values 出現時 :attribute 不能留空。', + 'required_with_all' => '當 :values 出現時 :attribute 不能為空。', + 'required_without' => '當 :values 留空時 :attribute field 不能留空。', + 'required_without_all' => '當 :values 都不出現時 :attribute 不能留空。', + 'same' => ':attribute 與 :other 必須相同。', + 'size' => [ + 'numeric' => ':attribute 的大小必須是 :size。', + 'file' => ':attribute 的大小必須是 :size kb。', + 'string' => ':attribute 必須是 :size 個字元。', + 'array' => ':attribute 必須是 :size 個元素。', + ], + 'string' => ':attribute 必須是一個字串。', + 'timezone' => ':attribute 必須是一個正確的時區值。', + 'unique' => ':attribute 已經存在。', + 'uploaded' => ':attribute 上傳失敗。', + 'url' => ':attribute 的格式錯誤。', + + /* + |-------------------------------------------------------------------------- + | 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 Validation Attributes + |-------------------------------------------------------------------------- + | + | The following language lines are used to swap attribute place-holders + | with something more reader friendly such as E-Mail Address instead + | of "email". This simply helps us make messages a little cleaner. + | + */ + + 'attributes' => [], + +];