mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-07-25 22:27:05 -04:00
* refactor(login): rename methods and keys to camelCase, add initialization keys - Rename snake_case methods to camelCase in MY_Migration and callers: is_latest() → isLatest(), migrate_to_ci4() → migrateToCI4(), get_latest_migration() → getLatestMigration(), get_current_version() → getCurrentVersion() - Rename snake_case array keys to camelCase in Login controller: has_errors → hasErrors, is_new_install → isNewInstall, is_latest → isLatest, latest_version → latestVersion, gcaptcha_enabled → gcaptchaEnabled - Add initialization_required, initialization_message, initialize keys to all language files to support new install flow messaging Signed-off-by: Travis Garrison <travis@chiraqbookstore.com> * refactor(login): move auth validation before migration, reorder language keys alphabetically - Validate credentials with login_check rule before attempting migration - Return 401 with invalid credentials message on validation failure - Alphabetically reorder and align language file keys across all locales - Add new migration status keys: migrating_database, migration_complete, migration_complete_login, migration_complete_migrate - Remove deprecated keys: migration_needed, migration_initializing, migration_running, migration_required Signed-off-by: Travis Garrison <travis@chiraqbookstore.com> --------- Signed-off-by: Travis Garrison <travis@chiraqbookstore.com> Co-authored-by: Travis Garrison <travis@chiraqbookstore.com>
31 lines
1.5 KiB
PHP
31 lines
1.5 KiB
PHP
<?php
|
||
|
||
return [
|
||
"gcaptcha" => "我不是機器人。",
|
||
"go" => "登入",
|
||
"initialization_message" => "",
|
||
"initialization_required" => "",
|
||
"initialize" => "",
|
||
"invalid_gcaptcha" => "請確認您不是機器人。",
|
||
"invalid_installation" => "安裝不正確,請檢查您的php.ini文件。",
|
||
"invalid_username_and_password" => "帳號或密碼錯誤。",
|
||
"login" => "登入",
|
||
"logout" => "登出",
|
||
"migrating_database" => "正在遷移資料庫",
|
||
"migration_auth_message" => "",
|
||
"migration_complete" => "",
|
||
"migration_complete_login" => "",
|
||
"migration_complete_migrate" => "資料庫遷移成功!",
|
||
"migration_complete_redirect" => "",
|
||
"migration_error_connection" => "",
|
||
"migration_failed" => "",
|
||
"migration_initializing" => "",
|
||
"migration_needed" => "登錄後將開始向 {0} 的數據庫遷移。",
|
||
"migration_required" => "",
|
||
"migration_running" => "",
|
||
"password" => "密碼",
|
||
"required_username" => "",
|
||
"username" => "帳號",
|
||
"welcome" => "歡迎來到 {0}!"
|
||
];
|