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,75 @@
<?php
return [
'label' => '無効化',
'modal' => [
'heading' => '認証アプリを無効化',
'description' => '本当に認証アプリの使用を停止しますか?この操作を行うと、アカウントのセキュリティが低下します。',
'form' => [
'code' => [
'label' => '認証アプリに表示されている6桁のコードを入力してください',
'validation_attribute' => 'コード',
'actions' => [
'use_recovery_code' => [
'label' => '代わりにリカバリーコードを使用する',
],
],
'messages' => [
'invalid' => '入力されたコードが正しくありません。',
'rate_limited' => '試行回数が多すぎます。しばらくしてから再度お試しください。',
],
],
'recovery_code' => [
'label' => 'または、リカバリーコードを入力',
'validation_attribute' => 'リカバリーコード',
'messages' => [
'invalid' => '入力されたリカバリーコードが正しくありません。',
'rate_limited' => '試行回数が多すぎます。しばらくしてから再度お試しください。',
],
],
],
'actions' => [
'submit' => [
'label' => '認証アプリを無効化',
],
],
],
'notifications' => [
'disabled' => [
'title' => '認証アプリを無効化しました',
],
],
];
@@ -0,0 +1,79 @@
<?php
return [
'label' => 'リカバリーコードを再生成',
'modal' => [
'heading' => '認証アプリのリカバリーコードを再生成',
'description' => 'リカバリーコードを紛失した場合は、ここで再生成できます。古いリカバリーコードはすぐに無効になります。',
'form' => [
'code' => [
'label' => '認証アプリの6桁のコードを入力',
'validation_attribute' => 'コード',
'messages' => [
'invalid' => '入力されたコードが無効です。',
'rate_limited' => '試行回数が多すぎます。しばらくしてから再度お試しください。',
],
],
'password' => [
'label' => 'または、現在のパスワードを入力',
'validation_attribute' => 'パスワード',
],
],
'actions' => [
'submit' => [
'label' => 'リカバリーコードを再生成',
],
],
],
'notifications' => [
'regenerated' => [
'title' => '新しいリカバリーコードを生成しました',
],
],
'show_new_recovery_codes' => [
'modal' => [
'heading' => '新しいリカバリーコード',
'description' => '以下のリカバリーコードを安全な場所に保存してください。これらは一度しか表示されませんが、認証アプリにアクセスできなくなった場合に必要となります。',
'actions' => [
'submit' => [
'label' => '閉じる',
],
],
],
],
];
@@ -0,0 +1,84 @@
<?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' => '入力されたコードが無効です。',
'rate_limited' => '試行回数が多すぎます。しばらくしてから再度お試しください。',
],
],
],
'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,73 @@
<?php
return [
'label' => '無効化',
'modal' => [
'heading' => 'メール認証コードを無効化',
'description' => 'メール認証コードの受信を停止してもよろしいですか?この機能を無効にすると、アカウントのセキュリティが一段階低下します。',
'form' => [
'code' => [
'label' => 'メールで送信された6桁のコードを入力',
'validation_attribute' => 'コード',
'actions' => [
'resend' => [
'label' => '新しいコードをメールで送信',
'notifications' => [
'resent' => [
'title' => '新しいコードをメールで送信しました',
],
'throttled' => [
'title' => '再送信の試行が多すぎます。しばらくしてから再度お試しください。',
],
],
],
],
'messages' => [
'invalid' => '入力されたコードが無効です。',
'rate_limited' => '試行回数が多すぎます。しばらくしてから再度お試しください。',
],
],
],
'actions' => [
'submit' => [
'label' => 'メール認証コードを無効化',
],
],
],
'notifications' => [
'disabled' => [
'title' => 'メール認証コードを無効化しました',
],
],
];
@@ -0,0 +1,73 @@
<?php
return [
'label' => '設定',
'modal' => [
'heading' => 'メール認証コードの設定',
'description' => 'サインイン時や機密性の高い操作を行う際に、メールで送信される6桁の認証コードを入力する必要があります。セットアップを完了するには、メールに記載された6桁のコードを確認してください。',
'form' => [
'code' => [
'label' => 'メールで送信された6桁のコードを入力',
'validation_attribute' => 'コード',
'actions' => [
'resend' => [
'label' => '新しいコードをメールで送信',
'notifications' => [
'resent' => [
'title' => '新しいコードをメールで送信しました',
],
'throttled' => [
'title' => '再送信の試行が多すぎます。しばらくしてから再度お試しください。',
],
],
],
],
'messages' => [
'invalid' => '入力されたコードが無効です。',
'rate_limited' => '試行回数が多すぎます。しばらくしてから再度お試しください。',
],
],
],
'actions' => [
'submit' => [
'label' => 'メール認証コードを有効化',
],
],
],
'notifications' => [
'enabled' => [
'title' => 'メール認証コードを有効化しました',
],
],
];
@@ -0,0 +1,12 @@
<?php
return [
'subject' => 'サインインコードのお知らせ',
'lines' => [
'あなたのサインインコードは次のとおりです::code',
'このコードの有効期限は1分です。|このコードの有効期限は:minutes分です。',
],
];
@@ -0,0 +1,64 @@
<?php
return [
'management_schema' => [
'actions' => [
'label' => 'Email verification codes',
'below_content' => 'Receive a temporary code at your email address to verify your identity during login.',
'messages' => [
'enabled' => 'Enabled',
'disabled' => 'Disabled',
],
],
],
'login_form' => [
'label' => 'Send a code to your email',
'code' => [
'label' => 'Enter the 6-digit code we sent you by email',
'validation_attribute' => 'code',
'actions' => [
'resend' => [
'label' => 'Send a new code by email',
'notifications' => [
'resent' => [
'title' => 'We\'ve sent you a new code by email',
],
'throttled' => [
'title' => 'Too many resend attempts. Please wait before requesting another code.',
],
],
],
],
'messages' => [
'invalid' => 'The code you entered is invalid.',
],
],
],
];
@@ -0,0 +1,19 @@
<?php
return [
'title' => '二要素認証(2FA)の設定',
'heading' => '二要素認証を設定',
'subheading' => '2FA を有効にすると、サインイン時に追加の確認手順が必要になり、アカウントのセキュリティが強化されます。',
'actions' => [
'continue' => [
'label' => '続行',
],
],
];
@@ -0,0 +1,27 @@
<?php
return [
'actions' => [
'クリック',
'copy' => [
'label' => 'コピー',
],
'または',
'download' => [
'label' => 'ダウンロード',
],
'すべてのコードをまとめて取得',
],
'messages' => [
'copied' => 'コピーしました',
],
];
@@ -0,0 +1,16 @@
<?php
return [
'subject' => 'メールアドレス変更の確認',
'lines' => [
'あなたのアカウントに登録されているメールアドレスの変更リクエストを受け取りました。この変更は、あなたのパスワードによって確認されました。',
'確認が完了すると、新しいメールアドレスは次のものになります::email',
'確認が完了する前に変更をブロックする場合は、下のボタンをクリックしてください。',
'このリクエストに心当たりがない場合は、ただちにお問い合わせください。',
],
'action' => 'メールアドレスの変更をブロック',
];
@@ -0,0 +1,73 @@
<?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' => '保存しました',
],
'throttled' => [
'title' => '試行回数が多すぎます。:seconds 秒後に再度お試しください。',
'body' => ':seconds 秒後に再度お試しください。',
],
],
'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 秒後に再試行してください。',
],
],
];
+85
View File
@@ -0,0 +1,85 @@
<?php
return [
'title' => 'ログイン',
'heading' => 'アカウントにログイン',
'actions' => [
'register' => [
'before' => 'または',
'label' => 'アカウントを登録',
],
'request_password_reset' => [
'label' => 'パスワードをお忘れですか?',
],
],
'form' => [
'email' => [
'label' => 'メールアドレス',
],
'password' => [
'label' => 'パスワード',
],
'remember' => [
'label' => 'ログインしたままにする',
],
'actions' => [
'authenticate' => [
'label' => 'ログイン',
],
],
],
'multi_factor' => [
'heading' => '本人確認',
'subheading' => 'ログインを続行するには、本人確認が必要です。',
'form' => [
'provider' => [
'label' => 'どの方法で認証しますか?',
],
'actions' => [
'authenticate' => [
'label' => 'ログイン認証',
],
],
],
],
'messages' => [
'failed' => '認証に失敗しました。',
],
'notifications' => [
'throttled' => [
'title' => 'ログインの試行回数が多すぎます',
'body' => ':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 秒後に再試行してください。',
],
],
];
+56
View File
@@ -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 秒後に再試行してください。',
],
],
];