feat: add routes, lang, tests, stubs, docs, and docker configurations

This commit is contained in:
2026-05-21 16:05:16 +07:00
parent fad70d096b
commit 28a06315b8
3385 changed files with 177070 additions and 0 deletions
@@ -0,0 +1,19 @@
<?php
return [
'notifications' => [
'blocked' => [
'title' => '電子郵件地址變更已阻止',
'body' => '您已成功阻止將電子郵件地址變更為 :email 的嘗試。如果您沒有提出原始請求,請立即聯繫我們。',
],
'failed' => [
'title' => '無法阻止電子郵件地址變更',
'body' => '很遺憾,您無法阻止電子郵件地址變更為 :email,因為它在您阻止之前已經過驗證。如果您沒有提出原始請求,請立即聯繫我們。',
],
],
];
@@ -0,0 +1,14 @@
<?php
return [
'notifications' => [
'verified' => [
'title' => '電子郵件地址已變更',
'body' => '您的電子郵件地址已成功變更為 :email。',
],
],
];
@@ -0,0 +1,88 @@
<?php
return [
'label' => '關閉',
'modal' => [
'heading' => '停用信箱驗證',
'description' => '您確定要停止使用信箱驗證嗎?停用此功能將會降低安全性。',
'form' => [
'code' => [
'label' => '輸入來自信箱的 6 位數驗證碼',
'validation_attribute' => '驗證碼',
'actions' => [
'resend' => [
'label' => '發送新的驗證碼至信箱',
'notifications' => [
'resent' => [
'title' => '我們已經發送了一封新的驗證碼到您的信箱',
],
'throttled' => [
'title' => '重新發送嘗試次數過多。請稍後再試。',
],
],
],
'use_recovery_code' => [
'label' => '改用復原碼',
],
],
'messages' => [
'invalid' => '您輸入的驗證碼無效。',
],
],
'recovery_code' => [
'label' => '或,輸入復原碼',
'validation_attribute' => '復原碼',
'messages' => [
'invalid' => '您輸入的復原碼無效。',
],
],
],
'actions' => [
'submit' => [
'label' => '停用信箱驗證',
],
],
],
'notifications' => [
'disabled' => [
'title' => '信箱驗證已停用',
],
],
];
@@ -0,0 +1,77 @@
<?php
return [
'label' => '重新生成復原碼',
'modal' => [
'heading' => '重新生成驗證器應用程式復原碼',
'description' => '如果您遺失了復原碼,可以在這裡重新生成它們。您的舊復原碼將立即失效。',
'form' => [
'code' => [
'label' => '輸入來自驗證器應用程式的 6 位數驗證碼',
'validation_attribute' => '驗證碼',
'messages' => [
'invalid' => '您輸入的驗證碼無效。',
],
],
'password' => [
'label' => '或輸入您目前的密碼',
'validation_attribute' => '密碼',
],
],
'actions' => [
'submit' => [
'label' => '重新生成復原碼',
],
],
],
'notifications' => [
'regenerated' => [
'title' => '已生成新的驗證器應用程式復原碼',
],
],
'show_new_recovery_codes' => [
'modal' => [
'heading' => '新復原碼',
'description' => '請將以下復原碼保存在安全的地方。它們只會顯示一次,但如果您無法存取驗證器應用程式,您將需要它們:',
'actions' => [
'submit' => [
'label' => '關閉',
],
],
],
],
];
@@ -0,0 +1,81 @@
<?php
return [
'label' => '設定',
'modal' => [
'heading' => '設定驗證器應用程式',
'description' => <<<'BLADE'
您需要像 Google Authenticator (<x-filament::link href="https://itunes.apple.com/us/app/google-authenticator/id388497605" target="_blank">iOS</x-filament::link>, <x-filament::link href="https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2" target="_blank">Android</x-filament::link>) 這樣的應用程式來完成此過程。
BLADE,
'content' => [
'qr_code' => [
'instruction' => '使用您的驗證器應用程式掃描此 QR 碼:',
'alt' => '使用驗證器應用程式掃描的 QR 碼',
],
'text_code' => [
'instruction' => '或手動輸入此代碼:',
'messages' => [
'copied' => '已複製',
],
],
'recovery_codes' => [
'instruction' => '請將以下復原碼保存在安全的地方。它們只會顯示一次,但如果您無法存取驗證器應用程式,您將需要它們:',
],
],
'form' => [
'code' => [
'label' => '輸入來自驗證器應用程式的 6 位數驗證碼',
'validation_attribute' => '驗證碼',
'below_content' => '您每次登入或執行敏感操作時,都需要輸入來自驗證器應用程式的 6 位數驗證碼。',
'messages' => [
'invalid' => '您輸入的驗證碼無效。',
],
],
],
'actions' => [
'submit' => [
'label' => '啟用驗證器應用程式',
],
],
],
'notifications' => [
'enabled' => [
'title' => '驗證器應用程式已啟用',
],
],
];
@@ -0,0 +1,64 @@
<?php
return [
'management_schema' => [
'actions' => [
'label' => '驗證器應用程式',
'below_content' => '使用安全應用程式生成臨時驗證碼以進行登入驗證。',
'messages' => [
'enabled' => '已啟用',
'disabled' => '已停用',
],
],
],
'login_form' => [
'label' => '使用驗證器應用程式中的驗證碼',
'code' => [
'label' => '輸入來自驗證器應用程式的 6 位數驗證碼',
'validation_attribute' => '驗證碼',
'actions' => [
'use_recovery_code' => [
'label' => '改用復原碼',
],
],
'messages' => [
'invalid' => '您輸入的驗證碼無效。',
],
],
'recovery_code' => [
'label' => '或,輸入復原碼',
'validation_attribute' => '復原碼',
'messages' => [
'invalid' => '您輸入的復原碼無效。',
],
],
],
];
@@ -0,0 +1,71 @@
<?php
return [
'label' => '關閉',
'modal' => [
'heading' => '停用電子郵件驗證碼',
'description' => '您確定要停止接收電子郵件驗證碼嗎?停用此功能將從您的帳戶中移除額外的安全層。',
'form' => [
'code' => [
'label' => '輸入我們透過電子郵件發送給您的 6 位數驗證碼',
'validation_attribute' => '驗證碼',
'actions' => [
'resend' => [
'label' => '透過電子郵件發送新驗證碼',
'notifications' => [
'resent' => [
'title' => '我們已透過電子郵件發送新驗證碼給您',
],
'throttled' => [
'title' => '重新發送嘗試次數過多。請在請求另一個驗證碼前稍候。',
],
],
],
],
'messages' => [
'invalid' => '您輸入的驗證碼無效。',
],
],
],
'actions' => [
'submit' => [
'label' => '停用電子郵件驗證碼',
],
],
],
'notifications' => [
'disabled' => [
'title' => '電子郵件驗證碼已停用',
],
],
];
@@ -0,0 +1,71 @@
<?php
return [
'label' => '設定',
'modal' => [
'heading' => '設定電子郵件驗證碼',
'description' => '您每次登入或執行敏感操作時,都需要輸入我們透過電子郵件發送給您的 6 位數驗證碼。請檢查您的電子郵件以獲取 6 位數驗證碼來完成設定。',
'form' => [
'code' => [
'label' => '輸入我們透過電子郵件發送給您的 6 位數驗證碼',
'validation_attribute' => '驗證碼',
'actions' => [
'resend' => [
'label' => '透過電子郵件發送新驗證碼',
'notifications' => [
'resent' => [
'title' => '我們已透過電子郵件發送新驗證碼給您',
],
'throttled' => [
'title' => '重新發送嘗試次數過多。請在請求另一個驗證碼前稍候。',
],
],
],
],
'messages' => [
'invalid' => '您輸入的驗證碼無效。',
],
],
],
'actions' => [
'submit' => [
'label' => '啟用電子郵件驗證碼',
],
],
],
'notifications' => [
'enabled' => [
'title' => '電子郵件驗證碼已啟用',
],
],
];
@@ -0,0 +1,12 @@
<?php
return [
'subject' => '這是您的登入驗證碼',
'lines' => [
'您的登入驗證碼是::code',
'此驗證碼將在一分鐘後過期。|此驗證碼將在 :minutes 分鐘後過期。',
],
];
@@ -0,0 +1,64 @@
<?php
return [
'management_schema' => [
'actions' => [
'label' => '電子郵件驗證碼',
'below_content' => '在您的電子郵件地址接收臨時驗證碼,以在登入時驗證您的身份。',
'messages' => [
'enabled' => '已啟用',
'disabled' => '已停用',
],
],
],
'login_form' => [
'label' => '發送驗證碼至您的電子郵件',
'code' => [
'label' => '輸入我們透過電子郵件發送給您的 6 位數驗證碼',
'validation_attribute' => '驗證碼',
'actions' => [
'resend' => [
'label' => '透過電子郵件發送新驗證碼',
'notifications' => [
'resent' => [
'title' => '我們已透過電子郵件發送新驗證碼給您',
],
'throttled' => [
'title' => '重新發送嘗試次數過多。請在請求另一個驗證碼前稍候。',
],
],
],
],
'messages' => [
'invalid' => '您輸入的驗證碼無效。',
],
],
],
];
@@ -0,0 +1,19 @@
<?php
return [
'title' => '設定雙因素驗證 (2FA)',
'heading' => '設定雙因素驗證',
'subheading' => '2FA 透過在登入時要求第二種驗證形式,為您的帳戶增加額外的安全層。',
'actions' => [
'continue' => [
'label' => '繼續',
],
],
];
@@ -0,0 +1,27 @@
<?php
return [
'actions' => [
'Click to',
'copy' => [
'label' => '複製',
],
'or',
'download' => [
'label' => '下載',
],
'all the codes at once.',
],
'messages' => [
'copied' => '已複製',
],
];
@@ -0,0 +1,16 @@
<?php
return [
'subject' => '您的電子郵件地址正在變更',
'lines' => [
'我們收到變更與您帳戶關聯的電子郵件地址的請求。您的密碼已用於確認此變更。',
'驗證後,您帳戶上的新電子郵件地址將為::email。',
'您可以透過點擊下方的按鈕在驗證前阻止變更。',
'如果您沒有提出此請求,請立即聯繫我們。',
],
'action' => '阻止電子郵件變更',
];
@@ -0,0 +1,68 @@
<?php
return [
'label' => '個人資料',
'form' => [
'email' => [
'label' => '電子郵件地址',
],
'name' => [
'label' => '姓名',
],
'password' => [
'label' => '新密碼',
'validation_attribute' => '密碼',
],
'password_confirmation' => [
'label' => '確認新密碼',
'validation_attribute' => '密碼確認',
],
'current_password' => [
'label' => '目前密碼',
'below_content' => '為了安全起見,請確認您的密碼以繼續。',
'validation_attribute' => '目前密碼',
],
'actions' => [
'save' => [
'label' => '儲存變更',
],
],
],
'multi_factor_authentication' => [
'label' => '雙因素驗證 (2FA)',
],
'notifications' => [
'email_change_verification_sent' => [
'title' => '電子郵件地址變更請求已發送',
'body' => '變更電子郵件地址的請求已發送至 :email。請檢查您的電子郵件以驗證變更。',
],
'saved' => [
'title' => '已儲存',
],
],
'actions' => [
'cancel' => [
'label' => '取消',
],
],
];
@@ -0,0 +1,35 @@
<?php
return [
'title' => '驗證您的電子郵件地址',
'heading' => '驗證您的電子郵件地址',
'actions' => [
'resend_notification' => [
'label' => '重新發送',
],
],
'messages' => [
'notification_not_received' => '沒有收到我們發送的電子郵件?',
'notification_sent' => '我們已發送一封電子郵件至 :email,其中包含如何驗證您的電子郵件地址的說明。',
],
'notifications' => [
'notification_resent' => [
'title' => '我們已重新發送電子郵件。',
],
'notification_resend_throttled' => [
'title' => '重新發送嘗試次數過多',
'body' => '請在 :seconds 秒後再試。',
],
],
];
+47
View File
@@ -0,0 +1,47 @@
<?php
return [
'title' => '登入',
'heading' => '登入帳號',
'form' => [
'email' => [
'label' => 'E-Mail 位址',
],
'password' => [
'label' => '密碼',
],
'remember' => [
'label' => '記住我',
],
'actions' => [
'authenticate' => [
'label' => '登入',
],
],
],
'messages' => [
'failed' => '所提供的帳號密碼與資料庫中的記錄不相符。',
],
'notifications' => [
'throttled' => [
'title' => '嘗試登入次數過多。請在 :seconds 秒後重試。',
],
],
];
@@ -0,0 +1,46 @@
<?php
return [
'title' => '重設您的密碼',
'heading' => '忘記密碼?',
'actions' => [
'login' => [
'label' => '返回登入',
],
],
'form' => [
'email' => [
'label' => '電子郵件地址',
],
'actions' => [
'request' => [
'label' => '發送電子郵件',
],
],
],
'notifications' => [
'sent' => [
'body' => '如果您的帳戶不存在,您將不會收到電子郵件。',
],
'throttled' => [
'title' => '請求次數過多',
'body' => '請在 :seconds 秒後再試。',
],
],
];
@@ -0,0 +1,43 @@
<?php
return [
'title' => '重設您的密碼',
'heading' => '重設您的密碼',
'form' => [
'email' => [
'label' => '電子郵件地址',
],
'password' => [
'label' => '密碼',
'validation_attribute' => '密碼',
],
'password_confirmation' => [
'label' => '確認密碼',
],
'actions' => [
'reset' => [
'label' => '重設密碼',
],
],
],
'notifications' => [
'throttled' => [
'title' => '重設嘗試次數過多',
'body' => '請在 :seconds 秒後再試。',
],
],
];
@@ -0,0 +1,56 @@
<?php
return [
'title' => '註冊',
'heading' => '註冊',
'actions' => [
'login' => [
'before' => '或',
'label' => '登入您的帳戶',
],
],
'form' => [
'email' => [
'label' => '電子郵件地址',
],
'name' => [
'label' => '姓名',
],
'password' => [
'label' => '密碼',
'validation_attribute' => '密碼',
],
'password_confirmation' => [
'label' => '確認密碼',
],
'actions' => [
'register' => [
'label' => '註冊',
],
],
],
'notifications' => [
'throttled' => [
'title' => '註冊嘗試次數過多',
'body' => '請在 :seconds 秒後再試。',
],
],
];
@@ -0,0 +1,9 @@
<?php
return [
'title' => '載入頁面時發生錯誤',
'body' => '嘗試載入此頁面時發生錯誤。請稍後再試。',
];
+12
View File
@@ -0,0 +1,12 @@
<?php
return [
'field' => [
'label' => '全域搜尋',
'placeholder' => '搜尋',
],
'no_results_message' => '無搜尋結果。',
];
+72
View File
@@ -0,0 +1,72 @@
<?php
return [
'direction' => 'ltr',
'actions' => [
'billing' => [
'label' => '管理訂閱',
],
'logout' => [
'label' => '登出',
],
'open_database_notifications' => [
'label' => '通知',
],
'open_user_menu' => [
'label' => '用戶菜單',
],
'sidebar' => [
'collapse' => [
'label' => '收起側邊欄',
],
'expand' => [
'label' => '展開側邊欄',
],
],
'theme_switcher' => [
'dark' => [
'label' => '切換至暗色模式',
],
'light' => [
'label' => '切換至亮色模式',
],
'system' => [
'label' => '切換至系統模式',
],
],
],
'avatar' => [
'alt' => ':name 的頭像',
],
'logo' => [
'alt' => ':name 標誌',
],
'tenant_menu' => [
'search_field' => [
'label' => '租戶搜尋',
'placeholder' => '搜尋',
],
],
];
+32
View File
@@ -0,0 +1,32 @@
<?php
return [
'title' => '主控台',
'actions' => [
'filter' => [
'label' => 'Filter',
'modal' => [
'heading' => 'Filter',
'actions' => [
'apply' => [
'label' => '套用',
],
],
],
],
],
];
@@ -0,0 +1,25 @@
<?php
return [
'form' => [
'actions' => [
'save' => [
'label' => '儲存變更',
],
],
],
'notifications' => [
'saved' => [
'title' => '已儲存',
],
],
];
@@ -0,0 +1,37 @@
<?php
return [
'title' => '建立 :label',
'breadcrumb' => '建立',
'form' => [
'actions' => [
'cancel' => [
'label' => '取消',
],
'create' => [
'label' => '建立',
],
'create_another' => [
'label' => '建立後再建立另一個',
],
],
],
'notifications' => [
'created' => [
'title' => '已建立',
],
],
];
@@ -0,0 +1,33 @@
<?php
return [
'title' => '編輯 :label',
'breadcrumb' => '編輯',
'form' => [
'actions' => [
'cancel' => [
'label' => '取消',
],
'save' => [
'label' => '保存',
],
],
],
'notifications' => [
'saved' => [
'title' => '已保存',
],
],
];
@@ -0,0 +1,7 @@
<?php
return [
'breadcrumb' => '清單',
];
@@ -0,0 +1,7 @@
<?php
return [
'title' => '管理 :label :relationship',
];
@@ -0,0 +1,9 @@
<?php
return [
'title' => '檢視 :label',
'breadcrumb' => '檢視',
];
@@ -0,0 +1,7 @@
<?php
return [
'body' => '您有未儲存的變更。確定要離開此頁面嗎?',
];
@@ -0,0 +1,15 @@
<?php
return [
'actions' => [
'logout' => [
'label' => '登出',
],
],
'welcome' => '歡迎',
];
@@ -0,0 +1,17 @@
<?php
return [
'actions' => [
'open_documentation' => [
'label' => '說明文件',
],
'open_github' => [
'label' => 'GitHub',
],
],
];