i18n: crowdin integration

This commit is contained in:
春河晴
2026-03-12 17:23:17 +09:00
parent 33c5cb57ad
commit c470fdfd1e
18 changed files with 1110 additions and 0 deletions

39
locales/en-US/config.json Normal file
View File

@@ -0,0 +1,39 @@
{
"config.added_count": "Added config items: {count}",
"config.added_item": "Added config entry: {attribute}",
"config.api_base_url_empty": "The API base URL cannot be empty. Please configure a valid base URL.",
"config.api_key_empty": "The API key cannot be empty. Please configure a valid API key.",
"config.api_provider_name_duplicate": "Duplicate API provider names were found. Please check the config file.",
"config.api_provider_name_empty": "The API provider name cannot be empty. Please configure a valid name.",
"config.api_providers_empty": "The API provider list cannot be empty. Please configure at least one valid API provider.",
"config.change_summary_header": "-------- Config File Change Summary --------",
"config.current_version": "Current MaiCore version: {version}",
"config.file_change_detected": "Detected config file changes and triggered hot reload",
"config.file_updated": "The {file_name} config file has been updated. Old: {old_version} -> New: {new_version}. Please review the new file to avoid losing important settings.",
"config.file_watcher_started": "Config file watcher started",
"config.file_watcher_stop_stats": "Config file watcher stop stats: batches={batches}, changes={changes}, ok={ok}, failed={failed}, timeout={timeout}, cooldown_skip={cooldown_skip}, restart={restart}",
"config.global_not_initialized": "global_config is not initialized",
"config.hot_reload_completed": "Config hot reload completed",
"config.invalid_inner_version": "The config file inner.version field has an invalid type",
"config.legacy_migrated": "A legacy config structure was detected and automatically migrated: {reason}. Please review and save the regenerated config file later.",
"config.loaded": "Fresh and delicious!",
"config.loading": "Tasting the config files...",
"config.missing_inner_version": "The config file is missing inner version information",
"config.model_api_provider_empty": "The API provider cannot be empty. Please configure a valid API provider.",
"config.model_api_provider_missing": "Model '{model_name}' references a missing api_provider '{api_provider}'",
"config.model_identifier_empty": "Model '{model_name}' must not have an empty model_identifier",
"config.model_identifier_empty_generic": "The model identifier cannot be empty. Please configure a valid model identifier.",
"config.model_name_duplicate": "Duplicate model names were found. Please check the config file.",
"config.model_name_empty": "The model name cannot be empty. Please configure a valid model name.",
"config.model_not_initialized": "model_config is not initialized",
"config.models_empty": "The model list cannot be empty. Please configure at least one valid model.",
"config.parse_failed": "Failed to parse config file {file_name}",
"config.reload_callback_failed": "A config reload callback failed: {error}",
"config.reload_failed": "Config reload failed: {error}",
"config.reload_skipped_too_frequent": "Config file changes happened too frequently, so this reload was skipped",
"config.reload_timeout": "Config hot reload timed out (>{timeout_seconds}s)",
"config.removed_count": "Removed config items: {count}",
"config.removed_item": "Removed config entry: {attribute}",
"config.version_update_detected": "A config version update was detected. Hot reload only refreshed in-memory data.",
"config.write_unsupported_type": "Config writing only supports ConfigBase subclasses"
}

7
locales/en-US/core.json Normal file
View File

@@ -0,0 +1,7 @@
{
"core.operation_failed": "Operation failed: {error}",
"core.tasks_cancelled": {
"one": "Cancelled {count} task",
"other": "Cancelled {count} tasks"
}
}

View File

@@ -0,0 +1,58 @@
{
"startup.agreement_confirm_prompt": "Type \"confirmed\" or the Chinese word \"同意\", or set environment variables \"EULA_AGREE={eula_hash}\" and \"PRIVACY_AGREE={privacy_hash}\" to continue",
"startup.agreement_confirm_retry": "Please type \"confirmed\" or \"同意\" to continue",
"startup.agreement_reconfirm": "The EULA or Privacy Policy has been updated. Please review and confirm again before continuing.",
"startup.agreement_updated": "Updated the {agreement_name} confirmation file {file_hash}",
"startup.brain_external_world_failed": "Failed to start the brain and external world: {error}",
"startup.chat_manager_initialized": "Chat manager initialized successfully",
"startup.child_process_force_kill": "The child process did not respond and was forcefully terminated...",
"startup.compiling_shaders": "Compiling shaders: 1/114514",
"startup.dev_branch_warning": "Warning: the Dev branch is in an unstable development state. Plugins and the WebUI may not work properly.",
"startup.easter_egg": "Many years later, facing the AI execution squad, Zhang San would recall that afternoon in 2023 when he discussed artificial intelligence at a meeting.",
"startup.emoji_manager_initialized": "Emoji manager initialized successfully",
"startup.env_auto_create_failed": "Failed to auto-create .env: {error}",
"startup.env_created": "No .env file was found. One has been created from template/template.env",
"startup.env_file_missing": "The .env file does not exist. Please create it and configure the required environment variables.",
"startup.env_template_missing": "No .env file was found, and template/template.env is also missing",
"startup.eula_name": "EULA",
"startup.eula_privacy_checked": "Finished checking the EULA and Privacy Policy",
"startup.event_loop_closed": "[Main] Event loop closed",
"startup.file_not_found": "{file_type} file does not exist",
"startup.graceful_shutdown_error": "An error occurred during graceful shutdown: {error}",
"startup.initialization_completed_banner": "\n--------------------------------\nAll systems have been initialized. {nickname} is now awake.\n--------------------------------\nIf you want to customize {nickname}, please visit: https://docs.mai-mai.org/manual/usage/\nIf you run into issues, please check the docs: https://docs.mai-mai.org/\n--------------------------------\nIf you want to write or learn about plugins, see the developer docs: https://docs.mai-mai.org/develop/\n--------------------------------\nIf you need model usage or MaiBot statistics, open the maibot_statistics.html file in the project root.\n",
"startup.initialization_completed_cycles": "Initialization completed after {init_time} neural firing cycles",
"startup.interrupt_received": "Interrupt signal received. Starting graceful shutdown...",
"startup.launching_script": "Starting {script_file}...",
"startup.logging_shutdown_error": "Failed to shut down logging: {error}",
"startup.main_error": "The main program encountered an exception: {error}",
"startup.opensource_free_notice": " This project is fully free and open source under the GPL-3.0 license",
"startup.opensource_group": " Official group chat: ",
"startup.opensource_group_value": "1006149251",
"startup.opensource_repo": " Official repository: ",
"startup.opensource_repo_value": "https://github.com/MaiM-with-u/MaiBot",
"startup.opensource_resale_warning": " Reselling this software or hiding its open source nature violates the license!",
"startup.opensource_scamming_notice": " If someone sold you this software, you were scammed!",
"startup.opensource_title": " ★ MaiBot - Open Source AI Chat Bot ★",
"startup.opensource_docs": " Official docs: ",
"startup.opensource_docs_value": "https://docs.mai-mai.org",
"startup.prepare_exit": "[Main] Preparing to exit...",
"startup.privacy_name": "Privacy Policy",
"startup.program_exited": "Program exited (exit code {return_code})",
"startup.remaining_tasks_cancelling": {
"one": "Cancelling {count} remaining task...",
"other": "Cancelling {count} remaining tasks..."
},
"startup.remaining_tasks_cancelled": "All remaining tasks were cancelled successfully",
"startup.remaining_tasks_cancel_error": "An error occurred while waiting for tasks to cancel: {error}",
"startup.remaining_tasks_cancel_timeout": "Timed out while waiting for task cancellation. Continuing shutdown.",
"startup.restart_requested": "Restart requested (exit code {exit_code}). Restarting...",
"startup.restart_signal_received": "Restart signal received. Exiting and requesting restart...",
"startup.schedule_cancelled": "Scheduled tasks were cancelled",
"startup.shutdown_completed": "MaiBot shut down gracefully",
"startup.shutdown_failed": "MaiBot failed to shut down: {error}",
"startup.shutdown_started": "Starting graceful shutdown for MaiBot...",
"startup.waking_up": "Waking up {nickname}......",
"startup.webui_disabled": "WebUI is disabled",
"startup.webui_server_init_failed": "Failed to initialize the WebUI server: {error}",
"startup.worker_dir_set": "Working directory set to: {script_dir}"
}