mirror of
https://github.com/juewuy/ShellCrash.git
synced 2026-03-12 00:11:31 +00:00
feat(i18n): localize set_crashdir and bot_tg menus
This commit is contained in:
68
scripts/lang/en/bot_tg.lang
Normal file
68
scripts/lang/en/bot_tg.lang
Normal file
@@ -0,0 +1,68 @@
|
||||
BOT_TG_PRIVATE_HINT="Please apply for a Telegram bot via \033[32;4mhttps://t.me/BotFather\033[0m and get its \033[36mAPI TOKEN\033[0m first"
|
||||
BOT_TG_INPUT_TOKEN="Please enter your API TOKEN"
|
||||
BOT_TG_PRIVATE_TOP="Please send to \033[32myour bot\033[33m, NOT BotFather!\033[0m"
|
||||
BOT_TG_PUBLIC_HINT="Please message the bot: \033[32;4mhttps://t.me/ShellCrashtg_bot\033[0m"
|
||||
BOT_TG_SET_DONE="Telegram log push has been configured!"
|
||||
BOT_TG_CHATID_RETRY_PREFIX="Attempt"
|
||||
BOT_TG_CHATID_RETRY_SUFFIX="to get chat ID failed, retrying..."
|
||||
BOT_TG_SEND_KEY="Send this key:"
|
||||
BOT_TG_SENT_CONFIRM="I have sent it"
|
||||
BOT_TG_CHATID_FAIL="Unable to get chat ID. Please reconfigure or input ChatID manually!"
|
||||
BOT_TG_CHATID_MANUAL_HINT="Usually visit"
|
||||
BOT_TG_CHATID_MANUAL_HINT2="to find ChatID"
|
||||
BOT_TG_INPUT_CHATID="Please input ChatID manually"
|
||||
BOT_TG_CHATID_RECONFIG="Unable to get chat ID. Please reconfigure!"
|
||||
BOT_TG_CRON_NAME="TG_BOT watchdog"
|
||||
|
||||
BOT_TG_HELP_GROUP="Group chat:"
|
||||
BOT_TG_HELP_PROJECT="Project:"
|
||||
BOT_TG_HELP_GUIDE="Guide:"
|
||||
BOT_TG_HELP_COFFEE="Buy me a coffee:"
|
||||
BOT_TG_HELP_AIRPORT="Partner provider:"
|
||||
BOT_TG_RUN_ON="🟢Running"
|
||||
BOT_TG_RUN_OFF="🟡Stopped"
|
||||
BOT_TG_WELCOME="Welcome to ShellCrash!"
|
||||
BOT_TG_SERVICE=" service "
|
||||
BOT_TG_MEM_USED="Memory usage: "
|
||||
BOT_TG_RUNNING_TIME="Running: "
|
||||
BOT_TG_SELECT_ACTION="Please choose:"
|
||||
BOT_TG_SELECT_FILE="Please choose file upload/download action:"
|
||||
BOT_TG_BTN_START="✈️ Enable redirect"
|
||||
BOT_TG_BTN_PURE="💧 Pure mode"
|
||||
BOT_TG_BTN_RESTART="🕹 Restart service"
|
||||
BOT_TG_BTN_LOG="📄 View logs"
|
||||
BOT_TG_BTN_TRANSFER="🔃 File transfer"
|
||||
BOT_TG_BTN_GET_LOG="📥 Download log"
|
||||
BOT_TG_BTN_GET_BAK="💾 Backup settings"
|
||||
BOT_TG_BTN_GET_CFG="⬇️ Download config"
|
||||
BOT_TG_BTN_UP_CORE="🪐 Upload core"
|
||||
BOT_TG_BTN_UP_BAK="🔄 Restore settings"
|
||||
BOT_TG_BTN_UP_CFG="⬆️ Upload config"
|
||||
BOT_TG_NO_CURL="⚠️ curl is missing on this device, only upload is supported!"
|
||||
BOT_TG_UPLOAD_OK="success! Service will restart soon!"
|
||||
BOT_TG_UPLOAD_FAIL="failed, please check file and retry!"
|
||||
BOT_TG_CORE_UPDATE="Core update "
|
||||
BOT_TG_CFG_RESTORED="Config restored, please restart service manually!"
|
||||
BOT_TG_RESTORE_FAIL="Restore failed while extracting backup, please retry!"
|
||||
BOT_TG_CFG_UPLOADED="Config uploaded, please restart service manually!"
|
||||
BOT_TG_UPLOAD_FAIL2="Upload failed, please retry!"
|
||||
BOT_TG_NET_UPLOAD_FAIL="Network error, upload failed! Please retry!"
|
||||
BOT_TG_FILE_FORMAT_FAIL="File format mismatch, upload failed!"
|
||||
BOT_TG_FW_ENABLED="ShellCrash redirect mode "
|
||||
BOT_TG_FW_ENABLED_SUFFIX=" enabled!"
|
||||
BOT_TG_SWITCH_PURE="Switched to pure mode!"
|
||||
BOT_TG_SERVICE_RESTARTED="ShellCrash service restarted!"
|
||||
BOT_TG_UNFINISHED="Error: unfinished feature!"
|
||||
BOT_TG_SEND_CORE="Please send core file ending with tar.gz/.gz/.upx for ["
|
||||
BOT_TG_SEND_CORE_SUFFIX="]"
|
||||
BOT_TG_SEND_BAK="Please send backup file in [.tar.gz] format!"
|
||||
BOT_TG_SEND_CFG="Please send config file in ["
|
||||
BOT_TG_SEND_CFG_SUFFIX="] format, custom config is supported"
|
||||
BOT_TG_SWITCH_TO="Switched to "
|
||||
BOT_TG_ALREADY="Already in "
|
||||
BOT_TG_ALREADY_PURE="Already in pure mode!"
|
||||
BOT_TG_SERVICE_RESTARTED_SHORT="🔄 Service restarted"
|
||||
BOT_TG_LOG_CONTENT="📄 Logs (task logs filtered):"
|
||||
BOT_TG_TASK_WORD="Task"
|
||||
BOT_TG_INPUT_SUB="✏ Please enter new subscription URL:"
|
||||
BOT_TG_SUB_UPDATED="Subscription update finished:"
|
||||
3
scripts/lang/en/check_port.lang
Normal file
3
scripts/lang/en/check_port.lang
Normal file
@@ -0,0 +1,3 @@
|
||||
CHECK_PORT_RANGE_ERR="Invalid input! Please enter a valid value (1-65535)!"
|
||||
CHECK_PORT_DUP_ERR="Invalid input! Please do not enter duplicate ports!"
|
||||
CHECK_PORT_OCCUPIED_ERR="This port is already occupied by another process. Please enter a different one!"
|
||||
35
scripts/lang/en/ddns.lang
Normal file
35
scripts/lang/en/ddns.lang
Normal file
@@ -0,0 +1,35 @@
|
||||
DDNS_WELCOME="Welcome to DDNS!"
|
||||
DDNS_ADD_DONE="Service has been added!"
|
||||
DDNS_INPUT_DOMAIN="Please enter your domain"
|
||||
DDNS_INPUT_USER="Please enter username or email"
|
||||
DDNS_INPUT_PASS="Please enter password or token"
|
||||
DDNS_INPUT_CHECK_INTERVAL="Please enter check interval (minutes, default 10)"
|
||||
DDNS_INPUT_FORCE_INTERVAL="Please enter force update interval (hours, default 24)"
|
||||
DDNS_CONFIRM_INFO="Please confirm the following info:"
|
||||
DDNS_FIELD_SERVICE="Provider:"
|
||||
DDNS_FIELD_DOMAIN="Domain:"
|
||||
DDNS_FIELD_USER="Username:"
|
||||
DDNS_FIELD_INTERVAL="Check interval:"
|
||||
DDNS_CONFIRM_ADD="Confirm add:"
|
||||
DDNS_YES="Yes"
|
||||
DDNS_REINPUT="No, re-enter"
|
||||
DDNS_LIST_NOT_FOUND="DDNS list file not found, trying online update..."
|
||||
DDNS_DOWNLOAD_FAILED="Download failed, please retry!"
|
||||
DDNS_SELECT_PROVIDER="Please select provider:"
|
||||
DDNS_INPUT_ERROR="Invalid input, please retry!"
|
||||
DDNS_SELECT_NETMODE="Please select network mode:"
|
||||
DDNS_IPV4="IPV4"
|
||||
DDNS_IPV6="IPV6"
|
||||
DDNS_DISABLE="Disable"
|
||||
DDNS_ENABLE="Enable"
|
||||
DDNS_UPDATE_NOW="Update now"
|
||||
DDNS_EDIT_CURRENT="Edit current service"
|
||||
DDNS_CURRENT_SERVICE=" current service"
|
||||
DDNS_REMOVE_CURRENT="Remove current service"
|
||||
DDNS_VIEW_LOG="View logs"
|
||||
DDNS_NOT_SUPPORTED="This feature depends on OpenWrt built-in DDNS service; unsupported on current device."
|
||||
DDNS_LIST_HEADER=" List Domain On IP Address"
|
||||
DDNS_ADD_SERVICE="Add DDNS service"
|
||||
DDNS_EXIT="Exit"
|
||||
DDNS_INPUT_INDEX="Please enter index"
|
||||
DDNS_INPUT_NUM_ERROR="Please enter a valid number!"
|
||||
25
scripts/lang/en/providers.lang
Normal file
25
scripts/lang/en/providers.lang
Normal file
@@ -0,0 +1,25 @@
|
||||
PROVIDERS_MENU_GEN="Generate config including all providers"
|
||||
PROVIDERS_MENU_TEMPLATE="Select \033[33mrule template\033[0m"
|
||||
PROVIDERS_MENU_CLEAN="\033[33mClean\033[0m providers directory"
|
||||
PROVIDERS_INPUT="Please enter a letter or number"
|
||||
|
||||
PROVIDERS_EMPTY_HINT="No link or local config file has been added yet. Please add one first!"
|
||||
PROVIDERS_TEMPLATE_CURRENT="Current rule template: "
|
||||
PROVIDERS_TEMPLATE_SELECT="Please select an online template:"
|
||||
PROVIDERS_TEMPLATE_LOCAL="Use \033[36mlocal template\033[0m"
|
||||
PROVIDERS_TEMPLATE_PATH="Please enter template path (absolute path)"
|
||||
PROVIDERS_TEMPLATE_NOT_FOUND="Invalid input, template file not found!"
|
||||
|
||||
PROVIDERS_CLEAN_WARN="This will clear all files under"
|
||||
PROVIDERS_CLEAN_WARN_END=""
|
||||
PROVIDERS_CLEAN_CONFIRM="Continue?"
|
||||
|
||||
PROVIDERS_FETCHING_TEMPLATE="Fetching online template..."
|
||||
PROVIDERS_DOWNLOAD_FAILED="Download failed. Please try switching install source!"
|
||||
PROVIDERS_GEN_OK="Configuration file generated successfully!"
|
||||
PROVIDERS_GEN_OK_SINGBOX="Configuration generated successfully! If startup times out, install the Singbox-srs common database package from Update menu."
|
||||
PROVIDERS_GEN_FAILED="Failed to generate configuration file. Please check your input carefully!"
|
||||
PROVIDERS_RESTART_ASK="Start/Restart service now?"
|
||||
PROVIDERS_YES="Yes"
|
||||
PROVIDERS_NO="No"
|
||||
PROVIDERS_CRON_SUB_UPDATE="Update subscription"
|
||||
34
scripts/lang/en/set_crashdir.lang
Normal file
34
scripts/lang/en/set_crashdir.lang
Normal file
@@ -0,0 +1,34 @@
|
||||
SCD_SELECT_INSTALL_DIR="Please select install directory:"
|
||||
SCD_INPUT_NUM="Please enter a number"
|
||||
SCD_INPUT_ERROR="Invalid input! Please retry!"
|
||||
SCD_XIAOMI_DETECTED="Xiaomi stock firmware detected, select installation location:"
|
||||
SCD_CUSTOM_DIR_WARN="Custom directory (not recommended)"
|
||||
SCD_EXIT_INSTALL="Exit installation"
|
||||
SCD_SELECT_USB_DIR="Please select USB directory:"
|
||||
SCD_ASUS_DM_NOT_FOUND="Download Master startup file not found:"
|
||||
SCD_CHECK_SETTING="please check your settings!"
|
||||
SCD_ASUS_DETECTED="Asus firmware detected, please select installation method"
|
||||
SCD_ASUS_INSTALL_DM="Install via USB + Download Master (all firmwares, ARM only)"
|
||||
SCD_ASUS_INSTALL_SCRIPT="Install via startup script (some Merlin firmwares only)"
|
||||
SCD_ASUS_DM_HINT="Install and enable Download Master in router web UI first, then select external storage directory."
|
||||
SCD_ASUS_REINSTALL_HINT="If boot auto-start fails, please reinstall with USB + Download Master."
|
||||
SCD_PATH_FORMAT_HINT="Path must start with /. Files under virtual memory (/tmp,/opt,/sys...) will be lost after reboot!"
|
||||
SCD_PATH_FREE_SPACE="Available paths free space:"
|
||||
SCD_INPUT_CUSTOM_DIR="Please input custom path"
|
||||
SCD_PATH_ERROR="Invalid path! Please retry!"
|
||||
SCD_INSTALL_SPACE_HINT="Notice: ShellCrash requires at least ~1MB free space"
|
||||
SCD_INSTALL_ETC="Install in \033[32m/etc\033[0m (root users)"
|
||||
SCD_INSTALL_USR="Install in \033[32m/usr/share\033[0m (Linux systems)"
|
||||
SCD_INSTALL_HOME="Install in \033[32mcurrent user dir\033[0m (non-root users)"
|
||||
SCD_INSTALL_USB="Install in \033[32mexternal storage\033[0m"
|
||||
SCD_INSTALL_MANUAL="Set install directory manually"
|
||||
SCD_INSTALL_CANCELED="Installation canceled"
|
||||
SCD_NO_WRITE_PREFIX="No write permission on "
|
||||
SCD_NO_WRITE_SUFFIX=", please retry!"
|
||||
SCD_TARGET_DIR_PREFIX="Target directory "
|
||||
SCD_TARGET_DIR_SPACE=" free space: "
|
||||
SCD_CONFIRM_INSTALL="Confirm installation?"
|
||||
SCD_YES="Yes"
|
||||
SCD_NO="No"
|
||||
SCD_DIR_FREE=" dir, free: "
|
||||
SCD_SOFT_SOLID="(supports soft solidification)"
|
||||
33
scripts/lang/en/subconverter.lang
Normal file
33
scripts/lang/en/subconverter.lang
Normal file
@@ -0,0 +1,33 @@
|
||||
SUBCONVERTER_MENU_GEN="Generate config including all nodes and subscriptions"
|
||||
SUBCONVERTER_MENU_EXCLUDE="Set \033[31mexclude node regex\033[0m"
|
||||
SUBCONVERTER_MENU_INCLUDE="Set \033[32minclude node regex\033[0m"
|
||||
SUBCONVERTER_MENU_RULE="Select \033[33monline rule template\033[0m"
|
||||
SUBCONVERTER_MENU_SERVER="Select Subconverter server"
|
||||
SUBCONVERTER_MENU_UA="Custom browser UA"
|
||||
|
||||
SUBCONVERTER_INPUT="Please enter"
|
||||
SUBCONVERTER_BACK="or enter 0 to return"
|
||||
|
||||
SUBCONVERTER_EXCLUDE_HINT1="Nodes matching keywords will be blocked during import!"
|
||||
SUBCONVERTER_INCLUDE_HINT1="Only nodes matching keywords will be imported!!!"
|
||||
SUBCONVERTER_KEYWORD_SPLIT="Use \033[30;47m | \033[0m to separate multiple keywords"
|
||||
SUBCONVERTER_REGEX_HINT="\033[32mRegex is supported\033[0m. Use \033[30;47m + \033[0m instead of spaces"
|
||||
SUBCONVERTER_EXCLUDE_INPUT="Enter exclude keyword(s) directly"
|
||||
SUBCONVERTER_INCLUDE_INPUT="Enter include keyword(s) directly"
|
||||
SUBCONVERTER_EXCLUDE_CLEAR="or enter d to \033[31mclear\033[0m exclude keywords"
|
||||
SUBCONVERTER_INCLUDE_CLEAR="or enter d to \033[31mclear\033[0m include keywords"
|
||||
|
||||
SUBCONVERTER_RULE_CURRENT="Current rule: "
|
||||
SUBCONVERTER_SERVER_HINT="The following third-party servers are collected from the internet. Please evaluate their security by yourself!"
|
||||
SUBCONVERTER_SERVER_THANKS="Thanks to the contributors below for their great work!!!"
|
||||
SUBCONVERTER_SERVER_CURRENT="Current backend: "
|
||||
SUBCONVERTER_SET_OK="Settings saved. Returning to previous menu"
|
||||
|
||||
SUBCONVERTER_UA_HINT="Try this if the config file cannot be fetched correctly"
|
||||
SUBCONVERTER_UA_CURRENT="Current UA: "
|
||||
SUBCONVERTER_UA_AUTO="Use auto UA (default)"
|
||||
SUBCONVERTER_UA_NONE="Do not use UA"
|
||||
SUBCONVERTER_UA_CUSTOM="Use custom UA"
|
||||
SUBCONVERTER_UA_CLEAR="Clear UA"
|
||||
SUBCONVERTER_UA_CUSTOM_WARN="Note:\nCustom UA cannot contain spaces or special symbols!"
|
||||
SUBCONVERTER_UA_CUSTOM_INPUT="Enter custom UA"
|
||||
19
scripts/lang/en/task_cmd.lang
Normal file
19
scripts/lang/en/task_cmd.lang
Normal file
@@ -0,0 +1,19 @@
|
||||
TASK_CMD_EVERY="every"
|
||||
TASK_CMD_HOURLY="hourly"
|
||||
TASK_CMD_MIN="minute"
|
||||
TASK_CMD_CORE_SKIP="Task [Auto update core] skipped - no new version detected"
|
||||
TASK_CMD_CORE_DONE="Task [Auto update core] download complete, restarting service"
|
||||
TASK_CMD_CORE_DL_FAIL="Task [Auto update core] failed - download error"
|
||||
TASK_CMD_CORE_VERIFY_FAIL="Task [Auto update core] failed - core verification error"
|
||||
TASK_CMD_SCRIPT_SKIP="Task [Auto update script] skipped - no new version detected"
|
||||
TASK_CMD_SCRIPT_UNZIP_FAIL="Task [Auto update script] failed - extract error"
|
||||
TASK_CMD_DB_SKIP_PREFIX="Task [Auto update database] skipped - no new version for "
|
||||
TASK_CMD_DB_SKIP_SUFFIX=""
|
||||
TASK_CMD_DB_DL_FAIL_PREFIX="Task [Auto update database] failed downloading ["
|
||||
TASK_CMD_DB_DL_FAIL_SUFFIX="]"
|
||||
TASK_CMD_DB_OK_PREFIX="Task [Auto update database] updated ["
|
||||
TASK_CMD_DB_OK_SUFFIX="] successfully"
|
||||
TASK_CMD_RES_OK="success"
|
||||
TASK_CMD_RES_FAIL="failed"
|
||||
TASK_CMD_EXEC_PREFIX="Task ["
|
||||
TASK_CMD_EXEC_MID="] result: "
|
||||
13
scripts/lang/en/uninstall.lang
Normal file
13
scripts/lang/en/uninstall.lang
Normal file
@@ -0,0 +1,13 @@
|
||||
UNINSTALL_WARN="Warning: this action is irreversible!"
|
||||
UNINSTALL_CONFIRM="Are you sure you want to uninstall ShellCrash?"
|
||||
UNINSTALL_YES="Yes"
|
||||
UNINSTALL_NO="No"
|
||||
UNINSTALL_KEEP_CONFIRM="Keep script configs and subscription files?"
|
||||
UNINSTALL_ENV_ERROR="Environment variable configuration is incorrect. Please remove the installation directory manually!"
|
||||
UNINSTALL_DONE="ShellCrash related files have been removed. Goodbye!"
|
||||
UNINSTALL_CLOSE_HINT="Please close the current terminal window manually to reset environment variables!"
|
||||
UNINSTALL_CANCELED="Operation canceled!"
|
||||
UNINSTALL_CRON_CLASH="clash service"
|
||||
UNINSTALL_CRON_SUB="subscription link"
|
||||
UNINSTALL_CRON_INIT="ShellCrash initialization"
|
||||
UNINSTALL_SSH_MARK="Enable SSH access from WAN"
|
||||
Reference in New Issue
Block a user