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.7 KiB
PHP
31 lines
1.7 KiB
PHP
<?php
|
|
|
|
return [
|
|
"gcaptcha" => "Tôi không phải là robot.",
|
|
"go" => "Đăng nhập",
|
|
"initialization_message" => "",
|
|
"initialization_required" => "",
|
|
"initialize" => "",
|
|
"invalid_gcaptcha" => "Xin vui lòng xác nhận bạn không phải là robot.",
|
|
"invalid_installation" => "Phần cài đặt chưa đúng, kiểm tra tập tin php.ini của bạn.",
|
|
"invalid_username_and_password" => "Tài khoản hoặc mật khẩu không hợp lệ.",
|
|
"login" => "Đăng nhập",
|
|
"logout" => "Đăng xuất",
|
|
"migrating_database" => "Đang di chuyển cơ sở dữ liệu",
|
|
"migration_auth_message" => "",
|
|
"migration_complete" => "",
|
|
"migration_complete_login" => "",
|
|
"migration_complete_migrate" => "Di chuyển cơ sở dữ liệu thành công!",
|
|
"migration_complete_redirect" => "",
|
|
"migration_error_connection" => "",
|
|
"migration_failed" => "",
|
|
"migration_initializing" => "",
|
|
"migration_needed" => "Di chuyển cơ sở dữ liệu sang {0} sẽ được bắt đầu sau khi đăng nhập.",
|
|
"migration_required" => "",
|
|
"migration_running" => "",
|
|
"password" => "Mật khẩu",
|
|
"required_username" => "",
|
|
"username" => "Tài khoản",
|
|
"welcome" => "Chào mừng đến với {0}!"
|
|
];
|