<?php

namespace Database\Seeders;

use App\Models\Language;
use Illuminate\Database\Seeder;

class LanguageSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        Language::truncate();

        /**
         * Language String
         */
        Language::insert([

            #region string.button
            [
                'key' => 'button.cancel',
                'en' => 'Cancel',
                'ja' => 'キャンセル',
            ],
            #endregion

            #region string.common
            [
                'key' => 'common.error',
                'en' => 'Database error. Please try again.',
                'ja' => 'データベースのエラーが発生しました。 もう一度やり直してください。',
            ],
            [
                'key' => 'server.common.error',
                'en' => 'Poor connection. Please try again.',
                'ja' => '通信エラーが発生しました。再度やり直してください。',
            ],
            #endregion

            #region string.login
            [
                'key' => 'login.guide_to_login',
                'en' => 'You can login by clicking in login button by entering user ID and password.',
                'ja' => 'ユーザーIDとパスワードを入力してログインボタンを押すとログインできます。',
            ], [
                'key' => 'login.user_id',
                'en' => 'User ID',
                'ja' => 'ユーザーID',
            ], [
                'key' => 'login.enter_user_id',
                'en' => 'User ID entry field',
                'ja' => 'ユーザーID入力欄',
            ], [
                'key' => 'login.enter_password',
                'en' => 'Password entry field',
                'ja' => 'パスワード入力欄',
            ], [
                'key' => 'login.password',
                'en' => 'Password',
                'ja' => 'パスワード',
            ], [
                'key' => 'login.login',
                'en' => 'Login',
                'ja' => 'ログイン',
            ],  [
                'key' => 'login.button_login',
                'en' => 'Login',
                'ja' => 'ログイン',
            ], [
                'key' => 'login.login_failed',
                'en' => 'Incorrect User ID and/or Password. Please try again.',
                'ja' => 'ユーザーIDまたはパスワードに誤りがあります。もう一度お試しください。',
            ], [
                'key' => 'login.password_required',
                'en' => 'The password is required.',
                'ja' => 'パスワードを入力してください。',
            ], [
                'key' => 'login.password_max',
                'en' => 'Please enter a password in less than 20 characters long.',
                'ja' => 'パスワードを20文字以下で入力してください。',
            ], [
                'key' => 'login.username_max',
                'en' => 'Enter a user name in less than 20 characters long.',
                'ja' => 'ユーザー名を20文字以下で入力してください。',
            ],
            [
                'key' => 'login.setting-lang',
                'en' => 'Language setting:',
                'ja' => '言語設定：',
            ],
            [
                'key' => 'login.lang-en',
                'en' => 'English',
                'ja' => '英語',
            ],
            [
                'key' => 'login.lang-ja',
                'en' => 'Japanese',
                'ja' => '日本語',
            ],
            #endregion

            #region string.user.search
            [
                'key' => 'user.search.title',
                'en' => 'User search',
                'ja' => 'ユーザー検索',
            ], [
                'key' => 'user.search.description',
                'en' => 'Enter a user name and click the search button to display the users.',
                'ja' => 'ユーザー名を入力して検索ボタンを押すとユーザーが表示されます。',
            ], [
                'key' => 'user.search.placeholder',
                'en' => 'Enter the name of the user you want to search for.',
                'ja' => '検索するユーザーの名前を入力してください。',
            ], [
                'key' => 'user.search.no_data',
                'en' => 'No data available.',
                'ja' => 'まだデータはありません。',
            ], [
                'key' => 'user.search.error',
                'en' => '検索キーワードは全角20文字以内で入力してください。',
                'ja' => '検索キーワードは全角20文字以内で入力してください。',
            ], [
                'key' => 'user.search.required',
                'en' => '検索キーワードは入力必須です。',
                'ja' => '検索キーワードは入力必須です。',
            ], [
                'key' => 'user.search.max',
                'en' => 'Please enter search keyword in less than 20 characters long',
                'ja' => '検索キーワードを20文字以下で入力してください。',
            ],
            #endregion

            #region string.user.table
            [
                'key' => 'user.table.id',
                'en' => 'ID',
                'ja' => 'ID',
            ], [
                'key' => 'user.table.name',
                'en' => 'User Name',
                'ja' => 'ユーザー名',
            ], [
                'key' => 'user.table.menu',
                'en' => 'Menu',
                'ja' => 'メニュー',
            ],
            #endregion

            #region string.user.button
            [
                'key' => 'user.button.add',
                'en' => 'Register a New User',
                'ja' => '新規登録',
            ], [
                'key' => 'user.button.edit',
                'en' => 'Edit a User',
                'ja' => 'ユーザー編集',
            ], [
                'key' => 'user.button.delete',
                'en' => 'Delete a User',
                'ja' => 'ユーザー削除',
            ], [
                'key' => 'user.button.camera',
                'en' => 'Registered Face Image',
                'ja' => '登録済顔画像',
            ], [
                'key' => 'user.button.history',
                'en' => 'View Face Identification History',
                'ja' => '認証履歴閲覧',
            ], [
                'key' => 'user.button.search',
                'en' => 'Search',
                'ja' => '検索',
            ], [
                'key' => 'user.button.update',
                'en' => 'Change',
                'ja' => '変更',
            ],
            #endregion

            #region user/change-password
            [
                'key' => 'user.change-password.title',
                'en' => 'Change password',
                'ja' => 'パスワード変更',
            ], [
                'key' => 'user.change-password.description',
                'en' => 'Password can be changed by entering the current'
                    . ' password and a new password and press "Change" button.',
                'ja' => '現パスワードと新パスワードを入力して変更ボタンを押すと、パスワードを変更できます。',
            ], [
                'key' => 'user.change-password.success',
                'en' => 'Successfully changed the password ',
                'ja' => 'パスワード変更が成功しました。',
            ], [
                'key' => 'user.change-password.failed',
                'en' => 'Failed to change the password',
                'ja' => 'パスワード変更が失敗しました。',
            ],

            #region string.user.change-password.label
            [
                'key' => 'user.change-password.label.user-id',
                'en' => 'User-ID',
                'ja' => 'ユーザーID',
            ],
            [
                'key' => 'user.change-password.label.user-name',
                'en' => 'User-name',
                'ja' => 'ユーザー名',
            ],
            [
                'key' => 'user.change-password.label.current-password',
                'en' => 'Current password',
                'ja' => '現パスワード',
            ],
            [
                'key' => 'user.change-password.label.new-password',
                'en' => 'New password',
                'ja' => '新パスワード',
            ],
            [
                'key' => 'user.change-password.label.new-password-confirm',
                'en' => 'New password (confirmation)',
                'ja' => '新パスワード(確認)',
            ],
            #endregion
            #endregion

            #region string.user.change-password.placeholder
            [
                'key' => 'user.change-password.placeholder.current-password',
                'en' => 'Current password entry field',
                'ja' => '現在のパスワード入力欄',
            ],
            [
                'key' => 'user.change-password.placeholder.new-password',
                'en' => 'New password entry field',
                'ja' => '新規のパスワード入力欄',
            ],
            [
                'key' => 'user.change-password.placeholder.new-password-confirm',
                'en' => 'New password entry field',
                'ja' => '新規のパスワード入力欄',
            ],
            #endregion

            #region string.capture_face.label
            [
                'key' => 'capture_face.label.user-id',
                'en' => 'User-ID',
                'ja' => 'ユーザーID',
            ],
            [
                'key' => 'capture_face.label.user-name',
                'en' => 'User-name',
                'ja' => 'ユーザー名',
            ],
            #endregion

            #region string.create_user
            [
                'key' => 'create_user.header',
                'en' => 'Register a user',
                'ja' => 'ユーザー登録',
            ],
            [
                'key' => 'create_user.header_guide',
                'en' => 'A new user can be registered by entering the user information and press "register".',
                'ja' => 'ユーザー情報を入力して登録ボタンを押すと、新規ユーザーを登録できます。',
            ],
            [
                'key' => 'create_user.username',
                'en' => 'User ID',
                'ja' => 'ユーザーID',
            ],
            [
                'key' => 'create_user.username_placeholder',
                'en' => 'User ID',
                'ja' => 'ユーザー名入力欄',
            ],
            [
                'key' => 'create_user.password',
                'en' => 'Password',
                'ja' => 'パスワード',
            ],
            [
                'key' => 'create_user.password_placeholder',
                'en' => 'Password entry field',
                'ja' => 'パスワード入力欄',
            ],
            [
                'key' => 'create_user.name',
                'en' => 'User Name',
                'ja' => 'ユーザー名',
            ],
            [
                'key' => 'create_user.name_placeholder',
                'en' => 'User Name entry field',
                'ja' => 'ユーザー名入力欄',
            ],
            [
                'key' => 'create_user.pronunciation_ja',
                'en' => 'Calling name',
                'ja' => '読み方',
            ],
            [
                'key' => 'create_user.pronunciation_ja_placeholder',
                'en' => '"Calling name" entry field (alphabet)',
                'ja' => '読み方入力欄（アルファベット）',
            ],
            [
                'key' => 'create_user.is_admin',
                'en' => 'Administrator Authorization',
                'ja' => '管理者権限',
            ],
            [
                'key' => 'create_user.submit',
                'en' => 'Register',
                'ja' => '登録',
            ],
            [
                'key' => 'create_user.cancel',
                'en' => 'Back',
                'ja' => '戻る',
            ],
            [
                'key' => 'create_user.create_success',
                'en' => 'User registration is succeeded.',
                'ja' => 'ユーザーの登録に成功しました。',
            ],
            [
                'key' => 'create_user.create_fail',
                'en' => 'User registration is failed.',
                'ja' => 'ユーザーの登録に失敗しました。',
            ],
            #endregion

            #region string.update_user
            [
                'key' => 'update_user.header',
                'en' => 'Edit user',
                'ja' => 'ユーザー編集',
            ],
            [
                'key' => 'update_user.header_guide',
                'en' => 'Update user information by pressing edit button upon re-entering user information.',
                'ja' => 'ユーザー情報を再入力して編集ボタンを押すと、ユーザー情報を修正できます。',
            ],
            [
                'key' => 'update_user.username',
                'en' => 'User ID',
                'ja' => 'ユーザーID',
            ],
            [
                'key' => 'update_user.password',
                'en' => 'Password',
                'ja' => 'パスワード',
            ],
            [
                'key' => 'update_user.password_placeholder',
                'en' => 'Show password & entry field',
                'ja' => 'パスワード表示＆入力欄',
            ],
            [
                'key' => 'update_user.name',
                'en' => 'User Name',
                'ja' => 'ユーザー名',
            ],
            [
                'key' => 'update_user.name_placeholder',
                'en' => 'Show user name & entry field',
                'ja' => 'ユーザー名表示＆入力欄',
            ],
            [
                'key' => 'update_user.pronunciation_ja',
                'en' => 'Calling name',
                'ja' => '読み方',
            ],
            [
                'key' => 'update_user.pronunciation_ja_placeholder',
                'en' => 'Show calling name & entry field (alphabet)',
                'ja' => '読み方表示＆入力欄　（アルファベット）',
            ],
            [
                'key' => 'update_user.is_admin',
                'en' => 'Administrator Authorization',
                'ja' => '管理者権限',
            ],
            [
                'key' => 'update_user.edit',
                'en' => 'Edit',
                'ja' => '編集',
            ],
            [
                'key' => 'update_user.cancel',
                'en' => 'Back',
                'ja' => '戻る',
            ],
            [
                'key' => 'update_user.update_success',
                'en' => 'User information update is successfully completed.',
                'ja' => 'ユーザ情報の編集が成功しました。',
            ],
            [
                'key' => 'update_user.update_fail',
                'en' => 'User information update is failed.',
                'ja' => 'ユーザ情報の編集が失敗しました。',
            ],
            [
                'key' => 'update_user.update_admin_success',
                'en' => 'Administrator information update is successfully completed.',
                'ja' => '管理者情報の編集が成功しました。',
            ],
            [
                'key' => 'update_user.update_admin_fail',
                'en' => 'Administrator information update is failed.',
                'ja' => '管理者情報の編集が失敗しました。',
            ],
            #endregion

            #region string.delete_user
            [
                'key' => 'delete_user.header',
                'en' => 'Delete user',
                'ja' => 'ユーザー削除',
            ],
            [
                'key' => 'delete_user.header_guided',
                'en' => 'Following user will be deleted by pressing "Delete" button.',
                'ja' => '削除ボタンを押すと以下のユーザーが削除されます。',
            ],
            [
                'key' => 'delete_user.username',
                'en' => 'User ID',
                'ja' => 'ユーザーID',
            ],
            [
                'key' => 'delete_user.name',
                'en' => 'User Name',
                'ja' => 'ユーザー名',
            ],
            [
                'key' => 'delete_user.cancel',
                'en' => 'Back',
                'ja' => '戻る',
            ],
            [
                'key' => 'delete_user.submit',
                'en' => 'Delete',
                'ja' => '削除',
            ],
            [
                'key' => 'delete_user.you_can_not_delete_yourself',
                'en' => 'Your account can not be deleted.',
                'ja' => '自分のアカウントが削除できません。',
            ],
            [
                'key' => 'delete_user.delete_success',
                'en' => 'Successfully deleted the User',
                'ja' => 'ユーザーの削除が成功しました。',
            ],
            [
                'key' => 'delete_user.delete_admin_success',
                'en' => 'Successfully deleted the Administrator',
                'ja' => '管理者の削除が成功しました。',
            ],
            [
                'key' => 'delete_user.problem_try_again',
                'en' => 'A problem occurred for deleting the user. Please try again.',
                'ja' => 'このユーザーの削除で問題が発生しました。 もう一度やり直してください。',
            ],
            [
                'key' => 'delete_user.delete_fail',
                'en' => 'Failed to delete the User',
                'ja' => 'ユーザーの削除が失敗しました。',
            ],
            #endregion

            #region string.logout
            [
                'key' => 'logout.title',
                'en' => 'Logout confirmation',
                'ja' => 'ログアウト確認',
            ],
            [
                'key' => 'logout.content',
                'en' => 'Is it OK to logout?',
                'ja' => 'ログアウトしてもよろしいですか？',
            ],
            [
                'key' => 'logout.btn-logout',
                'en' => 'Logout',
                'ja' => 'ログアウト',
            ],
            #endregion

            #region string.sidebar
            [
                'key' => 'sidebar.menu',
                'en' => 'Menu',
                'ja' => 'メニュー',
            ],
            [
                'key' => 'sidebar.menu-admin',
                'en' => 'Menu (Administrator)',
                'ja' => 'メニュー（管理者用）',
            ],
            [
                'key' => 'sidebar.setting-lang',
                'en' => 'Language setting:',
                'ja' => '言語設定：',
            ],
            [
                'key' => 'sidebar.change-pass',
                'en' => 'Change Password',
                'ja' => 'パスワード変更',
            ],
            [
                'key' => 'sidebar.logout',
                'en' => 'Logout',
                'ja' => 'ログアウト',
            ],
            [
                'key' => 'sidebar.export-history',
                'en' => 'Output Identification History',
                'ja' => '認証履歴出力',
            ],
            [
                'key' => 'sidebar.api-documentation',
                'en' => 'Api Documentation',
                'ja' => 'APIドキュメント',
            ],
            [
                'key' => 'sidebar.export-history-use',
                'en' => 'Output System Usage History',
                'ja' => '利用履歴出力',
            ],
            [
                'key' => 'sidebar.user-manual',
                'en' => 'Operation Manual',
                'ja' => '操作説明書',
            ],
            [
                'key' => 'sidebar.info',
                'en' => 'Product Information',
                'ja' => '製品情報',
            ],
            [
                'key' => 'sidebar.close',
                'en' => 'Close Menu',
                'ja' => 'メニューを閉じる',
            ],
            [
                'key' => 'sidebar.lang-en',
                'en' => 'English',
                'ja' => '英語',
            ],
            [
                'key' => 'sidebar.lang-ja',
                'en' => 'Japanese',
                'ja' => '日本語',
            ],
            #endregion

            #region string.capture_face
            [
                'key' => 'capture_face.no_change',
                'en' => 'No face detected',
                'ja' => '顔が検出されませんでした',
            ],
            #endregion

            #region string.capture_face
            [
                'key' => 'capture_face.header',
                'en' => 'Registered Face Image',
                'ja' => '登録済顔画像',
            ],
            [
                'key' => 'capture_face.description',
                'en' => 'Face image can be registered by pressing'
                    .' "Register" button upon capturing directed images ',
                'ja' => '向きを指定して撮影ボタンの押して撮影後、登録ボタンを押すと顔画像を登録できます。',
            ],
            [
                'key' => 'capture_face.top-left',
                'en' => 'Left top',
                'ja' => '左上向き',
            ],
            [
                'key' => 'capture_face.top',
                'en' => 'Upward',
                'ja' => '上向き',
            ],
            [
                'key' => 'capture_face.top-right',
                'en' => 'Right upward',
                'ja' => '右上向き',
            ],
            [
                'key' => 'capture_face.left',
                'en' => 'Left profile',
                'ja' => '左横向き',
            ],
            [
                'key' => 'capture_face.center',
                'en' => 'Front',
                'ja' => '正面向き',
            ],
            [
                'key' => 'capture_face.right',
                'en' => 'Right straight',
                'ja' => '右向き',
            ],
            [
                'key' => 'capture_face.bottom-left',
                'en' => 'Left downward',
                'ja' => '左下向き',
            ],
            [
                'key' => 'capture_face.bottom',
                'en' => 'Down',
                'ja' => '下向き',
            ],
            [
                'key' => 'capture_face.bottom-right',
                'en' => 'Right downward',
                'ja' => '右下向き',
            ],
            [
                'key' => 'capture_face.camera-title',
                'en' => 'Web camera image',
                'ja' => 'Webカメラ映像',
            ],
            [
                'key' => 'capture_face.camera-not-found',
                'en' => '(Not Found Camera)',
                'ja' => '(Not Found Camera)',
            ],
            [
                'key' => 'capture_face.camera-not-found-ja',
                'en' => 'Can not use the web camera',
                'ja' => 'Webカメラが使用できません',
            ],
            [
                'key' => 'capture_face.no-image',
                'en' => 'Unregistered',
                'ja' => '未登録',
            ],
            [
                'key' => 'capture_face.create_success',
                'en' => 'Image registration has been successfully completed',
                'ja' => '画像の登録が成功しました。',
            ],
            [
                'key' => 'capture_face.create_fail',
                'en' => 'Image registration has been failed',
                'ja' => '画像の登録が失敗しました。',
            ],
            [
                'key' => 'capture_face.button.capture',
                'en' => 'Capture',
                'ja' => '撮影',
            ],
            [
                'key' => 'capture_face.button.submit',
                'en' => 'Register',
                'ja' => '登録',
            ],
            [
                'key' => 'capture_face.button.cancel',
                'en' => 'Back',
                'ja' => '戻る',
            ],

            ### quang 09/09/2024
            [
                'key' => 'capture_face.label.image',
                'en' => 'Captured face images',
                'ja' => '撮影した顔画像',
            ],

            #endregion

            #region string.export_activity_log
            [
                'key' => 'export_activity_log.title_header',
                'en' => 'Output system usage history',
                'ja' => '利用履歴出力',

            ],
            [
                'key' => 'export_activity_log.title_helper',
                'en' => "Specified month's WebUI usage history can be produced by pressing "
                    . '"CSV output"' . ' button upon selecting the month.',
                'ja' => '月を選択してCSV出力ボタンを押すと、指定月のWebUI利用履歴を出力できます。',
            ],
            [
                'key' => 'export_activity_log.button_export_csv',
                'en' => 'CSV output',
                'ja' => 'CSV出力',
            ],
            [
                'key' => 'export_activity_log.button_back',
                'en' => 'Back',
                'ja' => '戻る',
            ],
            #endregion

            #region string.checkin
            [
                'key' => 'checkin.title',
                'en' => 'View Identification History',
                'ja' => '認証履歴閲覧',
            ],
            [
                'key' => 'checkin.description',
                'en' => 'List of Face Identification History is shown by selecting Month or Day',
                'ja' => '月または日を選択すると顔認証の履歴が一覧表示されます。',
            ],
            [
                'key' => 'checkin.button_back',
                'en' => 'Back',
                'ja' => '戻る',
            ],
            #endregion

            #region string.checkin.search
            [
                'key' => 'checkin.search.date_year',
                'en' => 'Term (month)',
                'ja' => '期間(月)',
            ],
            [
                'key' => 'checkin.search.date_month_year',
                'en' => 'Term (day)',
                'ja' => '期間(日)',
            ],
            [
                'key' => 'checkin.search.no_data',
                'en' => 'No data available.',
                'ja' => '該当データが存在しません。',
            ],
            #endregion

            #region string.checkin.columns
            [
                'key' => 'checkin.columns.checkin_at_time',
                'en' => 'Identification date and time',
                'ja' => '認証日時',
            ],
            [
                'key' => 'checkin.columns.checkin_out',
                'en' => 'Entry or Exit',
                'ja' => '入室/退室',
            ],
            [
                'key' => 'checkin.columns.image',
                'en' => 'Image',
                'ja' => '画像',
            ],
            #endregion

            #region string.checkin.cell
            [
                'key' => 'checkin.cell.view_image',
                'en' => 'Image',
                'ja' => '画像',
            ],
            [
                'key' => 'checkin.cell.in',
                'en' => 'Entry',
                'ja' => '入室',
            ],
            [
                'key' => 'checkin.cell.out',
                'en' => 'Exit',
                'ja' => '退室',
            ],
            #endregion

            #region string.checkin.create
            [
                'key' => 'checkin.create.success',
                'en' => 'Saved the data successfully',
                'ja' => 'データの保存が成功しました。',
            ],
            [
                'key' => 'checkin.create.fail',
                'en' => 'Failed to save the data',
                'ja' => 'データの保存が失敗しました。',
            ],
            #endregion

            #region string.export_checkin
            [
                'key' => 'export_checkin.title',
                'en' => 'Identification History Output',
                'ja' => '認証履歴出力',
            ],
            [
                'key' => 'export_checkin.description',
                'en' => "Specified month's face identification history can be outputted by pressing "
                    . '"CSV output"' . ' button upon selecting the month.',
                'ja' => '月を選択してCSV出力ボタンを押すと、指定月の顔認証履歴を出力できます。',
            ],
            [
                'key' => 'export_checkin.button_back',
                'en' => 'Back',
                'ja' => '戻る',
            ],
            [
                'key' => 'export_checkin.button_export',
                'en' => 'CSV output',
                'ja' => 'CSV出力',
            ],
            ### quang Aug 1st 2024
            [
                'key' => 'export_checkin.month',
                'en' => 'Select month',
                'ja' => '月を選択',
            ],
            [
                'key' => 'header.userid',
                'en' => 'User ID',
                'ja' => 'ユーザーID',
            ],
            [
                'key' => 'header.username',
                'en' => 'User Name',
                'ja' => 'ユーザー名',
            ],
            [
                'key' => 'checkin.label.user',
                'en' => 'User',
                'ja' => 'ユーザー',
            ],
            [
                'key' => 'checkin.label.date',
                'en' => 'Date',
                'ja' => '日付を',
            ],
            [
                'key' => 'checkin.columns.temperature',
                'en' => '',
                'ja' => '',
            ],
            [
                'key' => 'checkin.temperature.in.nothing',
                'en' => '',
                'ja' => '',
            ],
            [
                'key' => 'checkin.temperature.out.nothing',
                'en' => '',
                'ja' => '',
            ],
            [
                'key' => 'sidebar.admin-user',
                'en' => 'User List',
                'ja' => 'ユーザー一覧',
            ],
            ###
            #endregion
           
        ]);

        /**
         * Language Validator
         */
        Language::insert([
            #region validation.create_user
            [
                'type' => 'validation',
                'key' => 'create_user.username',
                'en' => 'User name is required',
                'ja' => 'ユーザーIDを空白のままにすることはできません。',
            ],
            [
                'type' => 'validation',
                'key' => 'create_user.password',
                'en' => 'The password is required.',
                'ja' => 'パスワードは入力必須です。',
            ],
            [
                'type' => 'validation',
                'key' => 'create_user.password_max',
                'en' => 'Please enter a password in less than 20 characters long.',
                'ja' => 'パスワードを20文字以下で入力してください。',
            ],
            [
                'type' => 'validation',
                'key' => 'create_user.password_min',
                'en' => 'Please enter password in over 8 characters long.',
                'ja' => 'パスワードを8文字以上で入力してください。',
            ],
            [
                'type' => 'validation',
                'key' => 'create_user.password_rule',
                'en' => 'Please enter password in half-width character.',
                'ja' => 'パスワードを半角文字で入力してください。',
            ],
            [
                'type' => 'validation',
                'key' => 'create_user.name',
                'en' => 'User name is required.',
                'ja' => 'ユーザー名は入力必須です。',
            ],
            [
                'type' => 'validation',
                'key' => 'create_user.name_max',
                'en' => 'Enter a user name in less than 20 characters long.',
                'ja' => 'ユーザー名を20文字以下で入力してください。',
            ],
            [
                'type' => 'validation',
                'key' => 'create_user.name_rule',
                'en' => 'ユーザー名を全角文字で入力してください。',
                'ja' => 'ユーザー名を全角文字で入力してください。',
            ],
            [
                'type' => 'validation',
                'key' => 'create_user.pronunciation_ja',
                'en' => 'It is required to enter "Calling name".',
                'ja' => '読み方は入力必須です。',
            ],
            [
                'type' => 'validation',
                'key' => 'create_user.pronunciation_ja_max',
                'en' => 'Please enter the "Calling name" less than 20 characters long.',
                'ja' => '読み方を20文字以下で入力してください。',
            ],
            [
                'type' => 'validation',
                'key' => 'create_user.pronunciation_ja_ipa_rule',
                'en' => 'Please enter the "calling name" in alphabet characters only.',
                'ja' => '読み方をアルファベットのみで入力してください。',
            ],
            #endregion

            #region validation.change_password.current_password
            [
                'type' => 'validation',
                'key' => 'change_password.current_password.required',
                'en' => 'Entering the current password is required',
                'ja' => '現パスワードは入力必須です。',
            ],
            [
                'type' => 'validation',
                'key' => 'change_password.current_password.not_correct',
                'en' => 'Please enter the current password correctly',
                'ja' => '現パスワードを正しく入力してください。',
            ],
            [
                'type' => 'validation',
                'key' => 'change_password.current_password.max',
                'en' => 'Please enter the current password less than 20 characters long',
                'ja' => '現パスワードを20文字以下で入力してください。',
            ],
            [
                'type' => 'validation',
                'key' => 'change_password.current_password.min',
                'en' => 'Please enter the current password over 8 characters long',
                'ja' => '現パスワードを8文字以上で入力してください。',
            ],
            [
                'type' => 'validation',
                'key' => 'change_password.current_password.format_error',
                'en' => 'Please enter the current password with half-width characters',
                'ja' => '現パスワードを半角文字で入力してください。',
            ],
            #endregion

            #region validation.change_password.new_password
            [
                'type' => 'validation',
                'key' => 'change_password.new_password.required',
                'en' => 'New password is required',
                'ja' => '新パスワードは入力必須です。',
            ],
            [
                'type' => 'validation',
                'key' => 'change_password.new_password.max',
                'en' => 'Please enter a new password in less than 20 characters long',
                'ja' => '新パスワードを20文字以下で入力してください。',
            ],
            [
                'type' => 'validation',
                'key' => 'change_password.new_password.min',
                'en' => 'Please enter a new password in over 8 characters long',
                'ja' => '新パスワードを8文字以上で入力してください。',
            ],
            [
                'type' => 'validation',
                'key' => 'change_password.new_password.format_error',
                'en' => 'Please enter a new password with half-width characters',
                'ja' => '新パスワードを半角文字で入力してください。',
            ],
            #endregion

            #region validation.change_password.new_password_confirm
            [
                'type' => 'validation',
                'key' => 'change_password.new_password_confirm.required',
                'en' => 'New password (confirmation) is required',
                'ja' => '新パスワード(確認)は入力必須です。',
            ],
            [
                'type' => 'validation',
                'key' => 'change_password.new_password_confirm.max',
                'en' => 'New password (confirmation) in less than 20 characters long',
                'ja' => '新パスワード(確認)を20文字以下で入力してください。',
            ],
            [
                'type' => 'validation',
                'key' => 'change_password.new_password_confirm.min',
                'en' => 'Please enter a new password in over 8 characters long',
                'ja' => '新パスワード(確認)を8文字以上で入力してください。',
            ],
            [
                'type' => 'validation',
                'key' => 'change_password.new_password_confirm.format_error',
                'en' => 'Please enter a new password (confirmation) with  half-width characters',
                'ja' => '新パスワード(確認)を半角文字で入力してください。',
            ],
            [
                'type' => 'validation',
                'key' => 'change_password.new_password_confirm.same',
                'en' => 'Please enter a new password (confirmation) in a same value with the new password',
                'ja' => '新パスワード(確認)を新パスワードと同じ値で入力してください。',
            ],
            #endregion

            #region validation.capture_face
            [
                'type' => 'validation',
                'key' => 'capture_face.image_required',
                'en' => 'All nine angles needs to be captured',
                'ja' => '9方向すべてを撮影する必要があります。',
            ],
//K.Nakazaki 2021/12/28 開始
            [
                'type' => 'validation',
                'key' => 'capture_face.no_face',
                'en' => 'no face',
                'ja' => '顔を検出出来ません。',
            ],
//K.Nakazaki 2021/12/28　終了
            #endregion

            #region validation.checkin
            [
                'type' => 'validation',
                'key' => 'checkin.decode_base64_to_image',
                'en' => 'This is not the base64 format string of the image',
                'ja' => 'これは画像のbase64形式の文字列ではありません。',
            ],
            [
                'type' => 'validation',
                'key' => 'checkin.user_not_exist',
                'en' => 'The user do not exist.',
                'ja' => 'このユーザーは存在しません。',
            ],
            #endregion

            #region validation.checkin.required
            [
                'type' => 'validation',
                'key' => 'checkin.required.id',
                'en' => 'Please enter the user ID (*required)',
                'ja' => 'ユーザーIDを空にすることはできません。',
            ],
            [
                'type' => 'validation',
                'key' => 'checkin.required.flag',
                'en' => 'Please enter the flag (*required)',
                'ja' => 'フラグを空にすることはできません。',
            ],
            [
                'type' => 'validation',
                'key' => 'checkin.required.face_image',
                'en' => 'Please enter images. (*required)',
                'ja' => '顔画像を空にすることはできません。',
            ],
            [
                'type' => 'validation',
                'key' => 'checkin.required.time',
                'en' => 'Please enter dates. (*required)',
                'ja' => '日付を空にすることはできません。',
            ],
            [
                'type' => 'validation',
                'key' => 'checkin.required.format_time',
                'en' => 'Please enter dates in "yyyy-mm-dd-hh-ii-ss.sss" format',
                'ja' => '日付を「yyyy-mm-dd-hh-ii-ss.sss」フォーマットにしてください。',
            ],
            #endregion

            #region validation.export
            [
                'type' => 'validation',
                'key' => 'export.time.required',
                'en' => 'Please select the month for outputting the CSV data',
                'ja' => 'CSVデータ出力したい月を選択してください。',
            ],
            #endregion
            #region validation.export.checkin
            [
                'type' => 'validation',
                'key' => 'export.time.checkin.required',
                'en' => 'Please select the month to produce the CSV data',
                'ja' => 'CSVデータ出力したい月を選択してください。',
            ],
            #endregion
        ]);
    }
}
