diff --git a/assets/js/main.js b/assets/js/main.js
index cda8ba5..537841e 100644
--- a/assets/js/main.js
+++ b/assets/js/main.js
@@ -51,7 +51,7 @@ function updateUI() {
${changeSign}${coin.change.toFixed(2)}%
- ${getLang() === 'zh' ? '去交易' : 'Trade'}
+ ${typeof t === 'function' ? t('Go to Trade') : 'Trade'}
|
`;
diff --git a/db/migrations/03_user_and_system_updates.sql b/db/migrations/03_user_and_system_updates.sql
index 0c3b64d..3e75642 100644
--- a/db/migrations/03_user_and_system_updates.sql
+++ b/db/migrations/03_user_and_system_updates.sql
@@ -1,21 +1,16 @@
-- Migration: User and System Updates
-- Adds UID, KYC fields, and system configuration tables
-ALTER TABLE users ADD COLUMN IF NOT EXISTS uid INT(6) ZEROFILL UNIQUE AFTER id;
-ALTER TABLE users ADD COLUMN IF NOT EXISTS real_name VARCHAR(100) AFTER username;
-ALTER TABLE users ADD COLUMN IF NOT EXISTS id_number VARCHAR(50) AFTER real_name;
-ALTER TABLE users ADD COLUMN IF NOT EXISTS id_front VARCHAR(255) AFTER id_number;
-ALTER TABLE users ADD COLUMN IF NOT EXISTS id_back VARCHAR(255) AFTER id_front;
-ALTER TABLE users ADD COLUMN IF NOT EXISTS id_handheld VARCHAR(255) AFTER id_back;
-ALTER TABLE users ADD COLUMN IF NOT EXISTS kyc_status ENUM('none', 'pending', 'approved', 'rejected') DEFAULT 'none' AFTER id_handheld;
-ALTER TABLE users ADD COLUMN IF NOT EXISTS security_password VARCHAR(255) AFTER password_hash;
-
-CREATE TABLE IF NOT EXISTS system_config (
- id INT AUTO_INCREMENT PRIMARY KEY,
- config_key VARCHAR(100) UNIQUE,
- config_value TEXT
-);
+ALTER TABLE users ADD COLUMN uid INT(6) ZEROFILL UNIQUE AFTER id;
+ALTER TABLE users ADD COLUMN real_name VARCHAR(100) AFTER username;
+ALTER TABLE users ADD COLUMN id_number VARCHAR(50) AFTER real_name;
+ALTER TABLE users ADD COLUMN id_front VARCHAR(255) AFTER id_number;
+ALTER TABLE users ADD COLUMN id_back VARCHAR(255) AFTER id_front;
+ALTER TABLE users ADD COLUMN id_handheld VARCHAR(255) AFTER id_back;
+ALTER TABLE users ADD COLUMN kyc_status ENUM('none', 'pending', 'approved', 'rejected') DEFAULT 'none' AFTER id_handheld;
+ALTER TABLE users ADD COLUMN security_password VARCHAR(255) AFTER password_hash;
+-- system_config might already exist from 01, but translations doesn't
CREATE TABLE IF NOT EXISTS translations (
id INT AUTO_INCREMENT PRIMARY KEY,
lang_code VARCHAR(10),
@@ -26,4 +21,4 @@ CREATE TABLE IF NOT EXISTS translations (
INSERT IGNORE INTO system_config (config_key, config_value) VALUES ('win_loss_rate', '50');
INSERT IGNORE INTO system_config (config_key, config_value) VALUES ('price_control_mode', 'market');
-INSERT IGNORE INTO system_config (config_key, config_value) VALUES ('site_name', 'BITCrypto');
+INSERT IGNORE INTO system_config (config_key, config_value) VALUES ('site_name', 'BITCrypto');
\ No newline at end of file
diff --git a/db/migrations/04_chat_and_deposits.sql b/db/migrations/04_chat_and_deposits.sql
index 4072d1e..e7120ad 100644
--- a/db/migrations/04_chat_and_deposits.sql
+++ b/db/migrations/04_chat_and_deposits.sql
@@ -1,3 +1,6 @@
+-- Migration: Chat and Deposits
+-- Adds chat support and deposit tracking
+
CREATE TABLE IF NOT EXISTS chat_messages (
id INT AUTO_INCREMENT PRIMARY KEY,
user_id INT NOT NULL,
@@ -19,4 +22,4 @@ CREATE TABLE IF NOT EXISTS deposits (
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
);
-ALTER TABLE users ADD COLUMN IF NOT EXISTS uid INT DEFAULT 0;
+-- Note: uid was already added in migration 03.
\ No newline at end of file
diff --git a/db/migrations/05_admin_setup.sql b/db/migrations/05_admin_setup.sql
new file mode 100644
index 0000000..6ff244f
--- /dev/null
+++ b/db/migrations/05_admin_setup.sql
@@ -0,0 +1,9 @@
+-- Migration: Admin Setup
+-- Adds a default admin account if not exists
+
+INSERT IGNORE INTO users (username, email, password_hash, is_admin, balance_usdt)
+VALUES ('admin', 'admin@example.com', '$2y$10$ogw037RdI4xc57das64Rg.we/M9V.Z3xe7H2VT8eVJJ9t7W6xmZaK', 1, 999999.00);
+
+-- Update all existing users to have a UID if they don't have one (simple sequential)
+-- This is a bit tricky in pure SQL without a loop, but we can try setting them to ID
+UPDATE users SET uid = id WHERE uid = 0 OR uid IS NULL;
diff --git a/includes/header.php b/includes/header.php
index 7405db7..5634184 100644
--- a/includes/header.php
+++ b/includes/header.php
@@ -1,4 +1,5 @@
[
+ 'Home' => 'Home', 'Spot' => 'Spot', 'Perpetual' => 'Perpetual', 'Markets' => 'Markets', 'Exchange' => 'Exchange',
+ 'Login' => 'Login', 'Register' => 'Register', 'Profile' => 'Profile', 'Logout' => 'Logout',
+ 'Deposit' => 'Deposit', 'Withdraw' => 'Withdraw', 'Assets' => 'Assets', 'Security' => 'Security',
+ 'Buy' => 'Buy', 'Sell' => 'Sell', 'Limit' => 'Limit', 'Market' => 'Market', 'Price' => 'Price',
+ 'Amount' => 'Amount', 'Total' => 'Total', 'Available' => 'Available', 'Trade' => 'Trade',
+ 'Market Trends' => 'Market Trends', 'Real-time Prices' => 'Real-time Prices', 'High' => 'High', 'Low' => 'Low',
+ 'Download App' => 'Download App', 'Customer Service' => 'Customer Service',
+ 'Identity Verification' => 'Identity Verification', 'Trading Password' => 'Trading Password',
+ 'Success' => 'Success', 'Error' => 'Error', 'Matching Account' => 'Matching Account',
+ 'Establishing secure connection with liquidity provider...' => 'Establishing secure connection with liquidity provider...',
+ 'Awaiting merchant confirmation...' => 'Awaiting merchant confirmation...',
+ 'Matching in progress' => 'Matching in progress',
+ 'The specialized account for this transaction will be provided by our agent shortly.' => 'The specialized account for this transaction will be provided by our agent shortly.',
+ 'Transfer the exact amount. Upload proof below.' => 'Transfer the exact amount. Upload proof below.',
+ 'Bank Name' => 'Bank Name', 'Account Number' => 'Account Number', 'Beneficiary' => 'Beneficiary', 'Reference' => 'Reference',
+ 'Copy' => 'Copy', 'Upload Proof' => 'Upload Proof', 'Selected' => 'Selected', 'Transfer Completed' => 'Transfer Completed',
+ 'Your transfer is being reviewed. ETA: 10-20 mins.' => 'Your transfer is being reviewed. ETA: 10-20 mins.',
+ 'Back to Wallet' => 'Back to Wallet', 'Matched & Active' => 'Matched & Active',
+ 'Services' => 'Services', 'Spot Trading' => 'Spot Trading', 'Futures Trading' => 'Futures Trading',
+ 'Support' => 'Support', 'Help Center' => 'Help Center', 'About Us' => 'About Us', 'Privacy Policy' => 'Privacy Policy', 'Terms of Service' => 'Terms of Service',
+ 'System Status' => 'System Status', 'Normal' => 'Normal', 'Overview' => 'Overview', 'Full Name' => 'Full Name', 'ID Number' => 'ID Number', 'Submit' => 'Submit', 'Next-Gen Trading Engine' => 'Next-Gen Trading Engine',
+ 'Experience ultra-low latency and institutional-grade liquidity on our professional K-line trading platform.' => 'Experience ultra-low latency and institutional-grade liquidity on our professional K-line trading platform.',
+ 'Register Now' => 'Register Now', 'Start Trading' => 'Start Trading', 'Go to Futures' => 'Go to Futures', 'Global Crypto Hub' => 'Global Crypto Hub',
+ 'Access real-time global market data and execute trades across multiple asset classes with one unified account.' => 'Access real-time global market data and execute trades across multiple asset classes with one unified account.',
+ 'Secure Asset Custody' => 'Secure Asset Custody', 'Your funds are safe with our institutional-grade security, multi-sig cold storage, and comprehensive insurance fund.' => 'Your funds are safe with our institutional-grade security, multi-sig cold storage, and comprehensive insurance fund.',
+ 'Security Center' => 'Security Center', '24/7 Global Support' => '24/7 Global Support', 'Our dedicated professional support team is available around the clock to assist you in multiple languages.' => 'Our dedicated professional support team is available around the clock to assist you in multiple languages.',
+ 'Contact Support' => 'Contact Support', 'Asset' => 'Asset', '24h Change' => '24h Change', '24h High' => '24h High', 'Action' => 'Action', 'All Markets' => 'All Markets',
+ 'Real-time updates from global exchanges' => 'Real-time updates from global exchanges', 'Safe & Secure' => 'Safe & Secure', 'Industry-leading encryption and multi-signature cold storage for your digital assets.' => 'Industry-leading encryption and multi-signature cold storage for your digital assets.',
+ 'Instant Execution' => 'Instant Execution', 'Advanced matching engine processing over 100,000 transactions per second.' => 'Advanced matching engine processing over 100,000 transactions per second.',
+ 'Recharge' => 'Recharge', 'Withdrawal' => 'Withdrawal', 'Funds' => 'Funds',
+ 'Wallet Balance' => 'Wallet Balance', 'Transaction History' => 'Transaction History',
+ 'Take Profit' => 'Take Profit', 'Stop Loss' => 'Stop Loss', 'Contract' => 'Contract',
+ 'Receipt uploaded successfully. Waiting for admin approval.' => 'Receipt uploaded successfully. Waiting for admin approval.',
+ 'Asset Overview' => 'Asset Overview', 'KYC Verification' => 'KYC Verification', 'Personal Center' => 'Personal Center',
+ 'Verification Status' => 'Verification Status', 'Security Settings' => 'Security Settings', 'Language' => 'Language',
+ 'Update' => 'Update', 'Change Password' => 'Change Password', 'Not Verified' => 'Not Verified', 'Pending Review' => 'Pending Review', 'Approved' => 'Approved', 'Rejected' => 'Rejected',
+ 'Withdrawal Address' => 'Withdrawal Address', 'Enter amount' => 'Enter amount', 'Available' => 'Available', 'Network' => 'Network', 'Fee' => 'Fee', 'Submit Withdrawal' => 'Submit Withdrawal',
+ 'Recharge Crypto' => 'Recharge Crypto', 'Select Currency' => 'Select Currency', 'Deposit Address' => 'Deposit Address', 'Transfer to this address and upload screenshot.' => 'Transfer to this address and upload screenshot.',
+ 'Confirm' => 'Confirm', 'Cancel' => 'Cancel', 'Please login to trade' => 'Please login to trade', 'Contract Trading' => 'Contract Trading',
+ 'Long' => 'Long', 'Short' => 'Short', 'Leverage' => 'Leverage', 'Open Position' => 'Open Position', 'Close Position' => 'Close Position',
+ 'Market' => 'Market', 'Limit' => 'Limit', 'Price' => 'Price', 'Amount' => 'Amount', 'Balance' => 'Balance',
+ 'Orders' => 'Orders', 'Positions' => 'Positions', 'History' => 'History', 'Sign In' => 'Sign In', 'Sign Up' => 'Sign Up',
+ 'Forgot Password?' => 'Forgot Password?', 'Don\'t have an account?' => 'Don\'t have an account?', 'Already have an account?' => 'Already have an account?',
+ 'Username' => 'Username', 'Email' => 'Email', 'Password' => 'Password', 'Confirm Password' => 'Confirm Password',
+ 'Trade Anytime, Anywhere' => 'Trade Anytime, Anywhere', 'Experience the full power of our exchange on your mobile device. Trade spot and futures with ease.' => 'Experience the full power of our exchange on your mobile device. Trade spot and futures with ease.',
+ 'Download on the' => 'Download on the', 'Get it on' => 'Get it on', 'Scan to download' => 'Scan to download', 'Compatible with iOS and Android devices.' => 'Compatible with iOS and Android devices.',
+ 'Global Trust' => 'Global Trust', 'Our Global Partners' => 'Our Global Partners', 'Smart Contracts' => 'Smart Contracts', 'Primary Network' => 'Primary Network', 'Security Audit' => 'Security Audit', 'Financial Partner' => 'Financial Partner', 'Strategic Advisor' => 'Strategic Advisor',
+ 'Markets' => 'Markets', 'Trade' => 'Trade', 'Spot Trading' => 'Spot Trading', 'Contract Trading' => 'Contract Trading', 'Download App' => 'Download App', 'Register' => 'Register',
+ 'Enter username' => 'Enter username', 'Enter password' => 'Enter password', 'Remember me' => 'Remember me', 'Forgot password?' => 'Forgot password?',
+ 'Please fill in all fields.' => 'Please fill in all fields.', 'Invalid username or password.' => 'Invalid username or password.', 'Login failed.' => 'Login failed.',
+ 'Login to BITCrypto' => 'Login to BITCrypto',
+ 'Asset Overview' => 'Asset Overview', 'Total Balance' => 'Total Balance', 'Available Balance' => 'Available Balance', 'Locked Balance' => 'Locked Balance',
+ 'Verify Now' => 'Verify Now', 'Personal Information' => 'Personal Information', 'Security Center' => 'Security Center',
+ 'Change' => 'Change', 'Transaction History' => 'Transaction History', 'Date' => 'Date', 'Type' => 'Type', 'Amount' => 'Amount', 'Status' => 'Status',
+ 'Why Choose BITCrypto?' => 'Why Choose BITCrypto?', 'Experience the most professional trading environment with institutional-grade security and liquidity.' => 'Experience the most professional trading environment with institutional-grade security and liquidity.',
+ 'Safe & Secure' => 'Safe & Secure', 'Industry-leading encryption and multi-signature cold storage for your digital assets.' => 'Industry-leading encryption and multi-signature cold storage for your digital assets.',
+ 'Multi-sig Cold Storage' => 'Multi-sig Cold Storage', 'DDoS Protection' => 'DDoS Protection', '2FA Security' => '2FA Security',
+ 'Instant Execution' => 'Instant Execution', 'Advanced matching engine processing over 100,000 transactions per second.' => 'Advanced matching engine processing over 100,000 transactions per second.',
+ 'Ultra-low Latency' => 'Ultra-low Latency', 'High Liquidity' => 'High Liquidity', 'Zero Slippage' => 'Zero Slippage',
+ '24/7 Global Support' => '24/7 Global Support', 'Get help whenever you need it with our around-the-clock professional customer service.' => 'Get help whenever you need it with our around-the-clock professional customer service.',
+ 'Multi-language Support' => 'Multi-language Support', 'Live Chat' => 'Live Chat', 'Fast Response' => 'Fast Response',
+ 'Get Started' => 'Get Started', 'View Markets' => 'View Markets', 'Search assets...' => 'Search assets...',
+ 'Name' => 'Name', 'Action' => 'Action', 'View All' => 'View All', 'Stay updated with real-time price changes' => 'Stay updated with real-time price changes',
+ 'The World\'s Leading' => 'The World\'s Leading', 'Crypto Exchange' => 'Crypto Exchange', 'Secure & Trusted' => 'Secure & Trusted', 'Institutional Grade' => 'Institutional Grade', 'Deep Liquidity' => 'Deep Liquidity', 'Global Access' => 'Global Access', 'Perpetual Contracts' => 'Perpetual Contracts', '100x Leverage' => '100x Leverage', 'Join the Elite' => 'Join the Elite', 'Trust BITCrypto' => 'Trust BITCrypto',
+ 'Trade Bitcoin, Ethereum, and hundreds of other cryptocurrencies with the lowest fees in the industry.' => 'Trade Bitcoin, Ethereum, and hundreds of other cryptocurrencies with the lowest fees in the industry.',
+ 'Go to Trade' => 'Go to Trade', 'Search Pairs' => 'Search Pairs', 'Change' => 'Change', 'High' => 'High', 'Low' => 'Low', 'Time' => 'Time', 'Pair' => 'Pair', 'Side' => 'Side', 'Filled' => 'Filled', 'No open orders' => 'No open orders', 'Take-Profit' => 'Take-Profit', 'Stop-Loss' => 'Stop-Loss', 'Order submitted successfully!' => 'Order submitted successfully!', 'Please enter a valid amount.' => 'Please enter a valid amount.',
+ ],
+ 'zh' => [
+ 'Home' => '首页', 'Spot' => '现货', 'Perpetual' => '合约', 'Markets' => '行情', 'Exchange' => '交易',
+ 'Login' => '登录', 'Register' => '注册', 'Profile' => '个人中心', 'Logout' => '退出',
+ 'Deposit' => '充值', 'Withdraw' => '提现', 'Assets' => '资产', 'Security' => '安全',
+ 'Buy' => '买入', 'Sell' => '卖出', 'Limit' => '限价', 'Market' => '市价', 'Price' => '价格',
+ 'Amount' => '数量', 'Total' => '合计', 'Available' => '可用', 'Trade' => '交易',
+ 'Market Trends' => '市场趋势', 'Real-time Prices' => '实时价格', 'High' => '最高', 'Low' => '最低',
+ 'Download App' => '下载APP', 'Customer Service' => '联系客服',
+ 'Identity Verification' => '身份认证', 'Trading Password' => '交易密码',
+ 'Success' => '成功', 'Error' => '错误', 'Matching Account' => '匹配账户',
+ 'Establishing secure connection with liquidity provider...' => '正在与流动性提供商建立安全连接...',
+ 'Awaiting merchant confirmation...' => '等待商家确认...',
+ 'Matching in progress' => '正在匹配中',
+ 'The specialized account for this transaction will be provided by our agent shortly.' => '本次交易的专用账户将由我们的代理稍后提供。',
+ 'Transfer the exact amount. Upload proof below.' => '请转账准确金额。在下方上传凭证。',
+ 'Bank Name' => '银行名称', 'Account Number' => '账号', 'Beneficiary' => '收款人', 'Reference' => '备注',
+ 'Copy' => '复制', 'Upload Proof' => '上传凭证', 'Selected' => '已选择', 'Transfer Completed' => '我已完成转账',
+ 'Your transfer is being reviewed. ETA: 10-20 mins.' => '您的转账正在审核中。预计时间:10-20分钟。',
+ 'Back to Wallet' => '返回钱包', 'Matched & Active' => '已匹配并激活',
+ 'Services' => '服务', 'Spot Trading' => '现货交易', 'Futures Trading' => '合约交易',
+ 'Support' => '支持', 'Help Center' => '帮助中心', 'About Us' => '关于我们', 'Privacy Policy' => '隐私政策', 'Terms of Service' => '服务条款',
+ 'System Status' => '系统状态', 'Normal' => '正常', 'Overview' => '总览', 'Full Name' => '姓名', 'ID Number' => '证件号', 'Submit' => '提交', 'Next-Gen Trading Engine' => '下一代交易引擎',
+ 'Experience ultra-low latency and institutional-grade liquidity on our professional K-line trading platform.' => '在我们的专业 K 线交易平台上体验极低延迟和机构级流动性。',
+ 'Register Now' => '立即注册', 'Start Trading' => '开始交易', 'Go to Futures' => '前往合约', 'Global Crypto Hub' => '全球加密中心',
+ 'Access real-time global market data and execute trades across multiple asset classes with one unified account.' => '通过一个统一账户访问实时全球市场数据并执行跨多个资产类别的交易。',
+ 'Secure Asset Custody' => '安全资产托管', 'Your funds are safe with our institutional-grade security, multi-sig cold storage, and comprehensive insurance fund.' => '您的资金通过我们的机构级安全、多重签名冷存储和综合保险基金得到保障。',
+ 'Security Center' => '安全中心', '24/7 Global Support' => '24/7 全球支持', 'Our dedicated professional support team is available around the clock to assist you in multiple languages.' => '我们专业的支持团队全天候为您提供多种语言的帮助。',
+ 'Contact Support' => '联系支持', 'Asset' => '资产', '24h Change' => '24h 涨跌', '24h High' => '24h 最高', 'Action' => '操作', 'All Markets' => '所有市场',
+ 'Real-time updates from global exchanges' => '来自全球交易所的实时更新', 'Safe & Secure' => '安全可靠', 'Industry-leading encryption and multi-signature cold storage for your digital assets.' => '行业领先的加密技术和多重签名冷存储,保护您的数字资产。',
+ 'Instant Execution' => '即时执行', 'Advanced matching engine processing over 100,000 transactions per second.' => '先进的撮合引擎,每秒处理超过 100,000 笔交易。',
+ 'Recharge' => '充值', 'Withdrawal' => '提现', 'Funds' => '资产',
+ 'Wallet Balance' => '钱包余额', 'Transaction History' => '交易记录',
+ 'Take Profit' => '止盈', 'Stop Loss' => '止损', 'Contract' => '合约',
+ 'Receipt uploaded successfully. Waiting for admin approval.' => '凭证上传成功。等待管理员审核。',
+ 'Asset Overview' => '资产总览', 'KYC Verification' => '身份认证', 'Personal Center' => '个人中心',
+ 'Verification Status' => '认证状态', 'Security Settings' => '安全设置', 'Language' => '语言',
+ 'Update' => '更新', 'Change Password' => '修改密码', 'Not Verified' => '未认证', 'Pending Review' => '待审核', 'Approved' => '已通过', 'Rejected' => '已驳回',
+ 'Withdrawal Address' => '提现地址', 'Enter amount' => '输入金额', 'Available' => '可用', 'Network' => '网络', 'Fee' => '手续费', 'Submit Withdrawal' => '提交提现',
+ 'Recharge Crypto' => '加密货币充值', 'Select Currency' => '选择币种', 'Deposit Address' => '充值地址', 'Transfer to this address and upload screenshot.' => '转账至此地址并上传截图。',
+ 'Confirm' => '确认', 'Cancel' => '取消', 'Please login to trade' => '请先登录以进行交易', 'Contract Trading' => '合约交易',
+ 'Long' => '做多', 'Short' => '做空', 'Leverage' => '杠杆', 'Open Position' => '开仓', 'Close Position' => '平仓',
+ 'Market' => '市价', 'Limit' => '限价', 'Price' => '价格', 'Amount' => '数量', 'Balance' => '余额',
+ 'Orders' => '订单', 'Positions' => '持仓', 'History' => '历史', 'Sign In' => '登录', 'Sign Up' => '注册',
+ 'Forgot Password?' => '忘记密码?', 'Don\'t have an account?' => '还没有账号?', 'Already have an account?' => '已有账号?',
+ 'Username' => '用户名', 'Email' => '邮箱', 'Password' => '密码', 'Confirm Password' => '确认密码',
+ 'Trade Anytime, Anywhere' => '随时随地进行交易', 'Experience the full power of our exchange on your mobile device. Trade spot and futures with ease.' => '在您的移动设备上体验我们交易所的全部功能。轻松进行现货和合约交易。',
+ 'Download on the' => '下载于', 'Get it on' => '获取于', 'Scan to download' => '扫码下载', 'Compatible with iOS and Android devices.' => '兼容 iOS 和 Android 设备。',
+ 'Global Trust' => '全球信赖', 'Our Global Partners' => '我们的全球合作伙伴', 'Smart Contracts' => '智能合约', 'Primary Network' => '主网', 'Security Audit' => '安全审计', 'Financial Partner' => '金融合作伙伴', 'Strategic Advisor' => '战略顾问',
+ 'Markets' => '行情', 'Trade' => '交易', 'Spot Trading' => '现货交易', 'Contract Trading' => '合约交易', 'Download App' => '下载应用', 'Register' => '注册',
+ 'Enter username' => '输入用户名', 'Enter password' => '输入密码', 'Remember me' => '记住我', 'Forgot password?' => '忘记密码?',
+ 'Please fill in all fields.' => '请填写所有字段。', 'Invalid username or password.' => '用户名或密码错误。', 'Login failed.' => '登录失败。',
+ 'Login to BITCrypto' => '登录到 BITCrypto',
+ 'Asset Overview' => '资产总览', 'Total Balance' => '总余额', 'Available Balance' => '可用余额', 'Locked Balance' => '锁定余额',
+ 'Verify Now' => '立即认证', 'Personal Information' => '个人信息', 'Security Center' => '安全中心',
+ 'Change' => '修改', 'Transaction History' => '交易历史', 'Date' => '日期', 'Type' => '类型', 'Amount' => '金额', 'Status' => '状态',
+ 'Why Choose BITCrypto?' => '为什么选择 BITCrypto?', 'Experience the most professional trading environment with institutional-grade security and liquidity.' => '体验最专业的交易环境,拥有机构级的安全和流动性。',
+ 'Safe & Secure' => '安全可靠', 'Industry-leading encryption and multi-signature cold storage for your digital assets.' => '行业领先的加密和多重签名冷存储,保护您的数字资产。',
+ 'Multi-sig Cold Storage' => '多重签名冷存储', 'DDoS Protection' => 'DDoS 防护', '2FA Security' => '双重身份验证',
+ 'Instant Execution' => '即时执行', 'Advanced matching engine processing over 100,000 transactions per second.' => '先进的撮合引擎,每秒处理超过 100,000 笔交易。',
+ 'Ultra-low Latency' => '极低延迟', 'High Liquidity' => '高流动性', 'Zero Slippage' => '零滑点',
+ '24/7 Global Support' => '24/7 全球支持', 'Get help whenever you need it with our around-the-clock professional customer service.' => '随时随地获得我们全天候专业客服的帮助。',
+ 'Multi-language Support' => '多语言支持', 'Live Chat' => '在线聊天', 'Fast Response' => '快速响应',
+ 'Get Started' => '开始使用', 'View Markets' => '查看行情', 'Search assets...' => '搜索资产...',
+ 'Name' => '名称', 'Action' => '操作', 'View All' => '查看全部', 'Stay updated with real-time price changes' => '实时掌握价格变动',
+ 'The World\'s Leading' => '世界领先的', 'Crypto Exchange' => '加密货币交易所', 'Secure & Trusted' => '安全可信', 'Institutional Grade' => '机构级', 'Deep Liquidity' => '深度流动性', 'Global Access' => '全球访问', 'Perpetual Contracts' => '永续合约', '100x Leverage' => '100倍杠杆', 'Join the Elite' => '加入精英行列', 'Trust BITCrypto' => '信赖 BITCrypto',
+ 'Trade Bitcoin, Ethereum, and hundreds of other cryptocurrencies with the lowest fees in the industry.' => '以行业最低的手续费交易比特币、以太坊和数百种其他加密货币。',
+ 'Go to Trade' => '去交易', 'Search Pairs' => '搜索交易对', 'Change' => '涨跌', 'High' => '最高', 'Low' => '最低', 'Time' => '时间', 'Pair' => '交易对', 'Side' => '方向', 'Filled' => '已成交', 'No open orders' => '暂无挂单', 'Take-Profit' => '止盈', 'Stop-Loss' => '止损', 'Order submitted successfully!' => '订单提交成功!', 'Please enter a valid amount.' => '请输入有效金额。',
+ ]
+];
+
function mt($key) {
- global $lang;
- $translations = [
- 'en' => [
- 'Home' => 'Home', 'Spot' => 'Spot', 'Perpetual' => 'Perpetual', 'Markets' => 'Markets', 'Exchange' => 'Exchange',
- 'Login' => 'Login', 'Register' => 'Register', 'Profile' => 'Profile', 'Logout' => 'Logout',
- 'Deposit' => 'Deposit', 'Withdraw' => 'Withdraw', 'Assets' => 'Assets', 'Security' => 'Security',
- 'Buy' => 'Buy', 'Sell' => 'Sell', 'Limit' => 'Limit', 'Market' => 'Market', 'Price' => 'Price',
- 'Amount' => 'Amount', 'Total' => 'Total', 'Available' => 'Available', 'Trade' => 'Trade',
- 'Market Trends' => 'Market Trends', 'Real-time Prices' => 'Real-time Prices', 'High' => 'High', 'Low' => 'Low',
- 'Download App' => 'Download App', 'Customer Service' => 'Customer Service',
- 'Identity Verification' => 'Identity Verification', 'Trading Password' => 'Trading Password',
- 'Success' => 'Success', 'Error' => 'Error', 'Matching Account' => 'Matching Account',
- 'Establishing secure connection with liquidity provider...' => 'Establishing secure connection with liquidity provider...',
- 'Awaiting merchant confirmation...' => 'Awaiting merchant confirmation...',
- 'Matching in progress' => 'Matching in progress',
- 'The specialized account for this transaction will be provided by our agent shortly.' => 'The specialized account for this transaction will be provided by our agent shortly.',
- 'Transfer the exact amount. Upload proof below.' => 'Transfer the exact amount. Upload proof below.',
- 'Bank Name' => 'Bank Name', 'Account Number' => 'Account Number', 'Beneficiary' => 'Beneficiary', 'Reference' => 'Reference',
- 'Copy' => 'Copy', 'Upload Proof' => 'Upload Proof', 'Selected' => 'Selected', 'Transfer Completed' => 'Transfer Completed',
- 'Your transfer is being reviewed. ETA: 10-20 mins.' => 'Your transfer is being reviewed. ETA: 10-20 mins.',
- 'Back to Wallet' => 'Back to Wallet', 'Matched & Active' => 'Matched & Active',
- 'Services' => 'Services', 'Spot Trading' => 'Spot Trading', 'Futures Trading' => 'Futures Trading',
- 'Support' => 'Support', 'Help Center' => 'Help Center', 'About Us' => 'About Us', 'Privacy Policy' => 'Privacy Policy', 'Terms of Service' => 'Terms of Service',
- 'System Status' => 'System Status', 'Normal' => 'Normal', 'Overview' => 'Overview', 'Full Name' => 'Full Name', 'ID Number' => 'ID Number', 'Submit' => 'Submit', 'Next-Gen Trading Engine' => 'Next-Gen Trading Engine',
- 'Experience ultra-low latency and institutional-grade liquidity on our professional K-line trading platform.' => 'Experience ultra-low latency and institutional-grade liquidity on our professional K-line trading platform.',
- 'Register Now' => 'Register Now', 'Start Trading' => 'Start Trading', 'Go to Futures' => 'Go to Futures', 'Global Crypto Hub' => 'Global Crypto Hub',
- 'Access real-time global market data and execute trades across multiple asset classes with one unified account.' => 'Access real-time global market data and execute trades across multiple asset classes with one unified account.',
- 'Secure Asset Custody' => 'Secure Asset Custody', 'Your funds are safe with our institutional-grade security, multi-sig cold storage, and comprehensive insurance fund.' => 'Your funds are safe with our institutional-grade security, multi-sig cold storage, and comprehensive insurance fund.',
- 'Security Center' => 'Security Center', '24/7 Global Support' => '24/7 Global Support', 'Our dedicated professional support team is available around the clock to assist you in multiple languages.' => 'Our dedicated professional support team is available around the clock to assist you in multiple languages.',
- 'Contact Support' => 'Contact Support', 'Asset' => 'Asset', '24h Change' => '24h Change', '24h High' => '24h High', 'Action' => 'Action', 'All Markets' => 'All Markets',
- 'Real-time updates from global exchanges' => 'Real-time updates from global exchanges', 'Safe & Secure' => 'Safe & Secure', 'Industry-leading encryption and multi-signature cold storage for your digital assets.' => 'Industry-leading encryption and multi-signature cold storage for your digital assets.',
- 'Instant Execution' => 'Instant Execution', 'Advanced matching engine processing over 100,000 transactions per second.' => 'Advanced matching engine processing over 100,000 transactions per second.',
- 'Verification' => 'Verification', 'Reviewing...' => 'Reviewing...', 'Verified' => 'Verified', 'Unverified' => 'Unverified', 'Pending' => 'Pending', 'Approved' => 'Approved', 'Rejected' => 'Rejected',
- 'Front Side' => 'Front Side', 'Back Side' => 'Back Side', 'Selfie with ID' => 'Selfie with ID',
- 'Change Login Password' => 'Change Login Password', 'Change Trading Password' => 'Change Trading Password',
- 'digits' => 'digits', 'Current Password' => 'Current Password', 'New Password' => 'New Password', 'Confirm New Password' => 'Confirm New Password',
- 'Save Changes' => 'Save Changes', 'Cancel' => 'Cancel', 'Account Overview' => 'Account Overview', 'Total Balance' => 'Total Balance',
- 'Recent Activities' => 'Recent Activities', 'Time' => 'Time', 'Account Login' => 'Account Login', 'Assets Overview' => 'Assets Overview',
- 'Total Net Value' => 'Total Net Value', 'Yesterday Profit/Loss' => 'Yesterday Profit/Loss', 'Security Settings' => 'Security Settings',
- 'Last updated' => 'Last updated', 'Recently' => 'Recently', 'Required for withdrawals' => 'Required for withdrawals', 'Link' => 'Link',
- 'Enter your real name' => 'Enter your real name', 'Enter ID/Passport Number' => 'Enter ID/Passport Number', 'Change' => 'Change',
- 'Name' => 'Name', 'Price' => 'Price', 'Trade' => 'Trade', 'View All' => 'View All', 'Market Trends' => 'Market Trends', 'Stay updated with real-time price changes' => 'Stay updated with real-time price changes',
- 'Get Started' => 'Get Started', 'View Markets' => 'View Markets', 'The World\'s Leading' => 'The World\'s Leading', 'Crypto Exchange' => 'Crypto Exchange',
- 'Secure & Trusted' => 'Secure & Trusted', 'Institutional Grade' => 'Institutional Grade', 'Deep Liquidity' => 'Deep Liquidity', 'Global Access' => 'Global Access',
- 'Perpetual Contracts' => 'Perpetual Contracts', '100x Leverage' => '100x Leverage', 'Join the Elite' => 'Join the Elite', 'Trust BITCrypto' => 'Trust BITCrypto',
- 'Funds' => 'Funds', 'Recharge' => 'Recharge', 'Withdrawal' => 'Withdrawal', 'Stop-Loss' => 'Stop-Loss', 'Take-Profit' => 'Take-Profit', 'Search' => 'Search', 'Search Pairs' => 'Search Pairs', 'Open Orders' => 'Open Orders', 'Order History' => 'Order History', 'Positions' => 'Positions', 'No open orders' => 'No open orders', 'Lots' => 'Lots', 'Cancel' => 'Cancel', 'Order submitted successfully!' => 'Order submitted successfully!', 'Please enter a valid amount.' => 'Please enter a valid amount.', 'Username' => 'Username', 'Password' => 'Password', 'Sign In' => 'Sign In', 'Sign Up' => 'Sign Up', 'Email' => 'Email', 'Already have an account?' => 'Already have an account?', 'Don\'t have an account?' => 'Don\'t have an account?', 'Confirm Password' => 'Confirm Password', 'Create Account' => 'Create Account',
- 'Trade Bitcoin, Ethereum, and hundreds of other cryptocurrencies with the lowest fees in the industry.' => 'Trade Bitcoin, Ethereum, and hundreds of other cryptocurrencies with the lowest fees in the industry.',
- 'Why Choose BITCrypto?' => 'Why Choose BITCrypto?', 'Experience the most professional trading environment with institutional-grade security and liquidity.' => 'Experience the most professional trading environment with institutional-grade security and liquidity.',
- 'Multi-sig Cold Storage' => 'Multi-sig Cold Storage', 'DDoS Protection' => 'DDoS Protection', '2FA Security' => '2FA Security',
- 'Ultra-low Latency' => 'Ultra-low Latency', 'High Liquidity' => 'High Liquidity', 'Zero Slippage' => 'Zero Slippage',
- 'Multi-language Support' => 'Multi-language Support', 'Live Chat' => 'Live Chat', 'Fast Response' => 'Fast Response',
- 'Trade Anywhere, Anytime' => 'Trade Anywhere, Anytime', 'Experience the full power of our exchange on your mobile device. Trade spot and futures with ease.' => 'Experience the full power of our exchange on your mobile device. Trade spot and futures with ease.',
- 'Download on the' => 'Download on the', 'Get it on' => 'Get it on', 'Scan to download' => 'Scan to download', 'Compatible with iOS and Android devices.' => 'Compatible with iOS and Android devices.',
- 'Global Trust' => 'Global Trust', 'Our Global Partners' => 'Our Global Partners', 'Smart Contracts' => 'Smart Contracts', 'Primary Network' => 'Primary Network', 'Security Audit' => 'Security Audit', 'Financial Partner' => 'Financial Partner', 'Strategic Advisor' => 'Strategic Advisor',
- 'Please fill in all fields.' => 'Please fill in all fields.', 'Invalid username or password.' => 'Invalid username or password.', 'Login failed.' => 'Login failed.', 'Login to BITCrypto' => 'Login to BITCrypto', 'Enter username' => 'Enter username', 'Enter password' => 'Enter password', 'Remember me' => 'Remember me', 'Forgot password?' => 'Forgot password?', 'Passwords do not match.' => 'Passwords do not match.', 'You must agree to the terms and privacy policy.' => 'You must agree to the terms and privacy policy.', 'Username already exists.' => 'Username already exists.', 'Username / Email' => 'Username / Email', 'Repeat password' => 'Repeat password', 'I have read and agree to the' => 'I have read and agree to the', 'Join the world\'s leading crypto exchange' => 'Join the world\'s leading crypto exchange', 'Search assets...' => 'Search assets...', 'No assets found' => 'No assets found', 'Pair' => 'Pair', 'Side' => 'Side', 'Filled' => 'Filled',
- 'Receipt uploaded successfully. Waiting for admin approval.' => 'Receipt uploaded successfully. Waiting for admin approval.',
- 'Deposit Assets' => 'Deposit Assets', 'Choose your preferred method to fund your account' => 'Choose your preferred method to fund your account',
- 'Crypto Deposit' => 'Crypto Deposit', 'Fiat Deposit' => 'Fiat Deposit', 'Instant' => 'Instant', 'Regional Support' => 'Regional Support',
- 'Select Currency' => 'Select Currency', 'Network' => 'Network', 'Deposit Address' => 'Deposit Address', 'Scan QR code to deposit' => 'Scan QR code to deposit',
- 'Deposit Amount' => 'Deposit Amount', 'Upload screenshot of your transaction' => 'Upload screenshot of your transaction', 'Submit Deposit' => 'Submit Deposit',
- 'Select Fiat Currency' => 'Select Fiat Currency', 'We will match you with a local merchant to facilitate your deposit in your local currency.' => 'We will match you with a local merchant to facilitate your deposit in your local currency.',
- 'Est. Arrival' => 'Est. Arrival', 'Processing Time: 10-30 mins' => 'Processing Time: 10-30 mins', 'Exchange Rate' => 'Exchange Rate',
- 'Service Fee' => 'Service Fee', 'Free' => 'Free', 'Confirm Deposit' => 'Confirm Deposit', 'Secure Payment' => 'Secure Payment',
- 'All transactions are encrypted' => 'All transactions are encrypted', 'Fast Arrival' => 'Fast Arrival', 'Most deposits arrive in mins' => 'Most deposits arrive in mins',
- 'Address copied to clipboard' => 'Address copied to clipboard', 'Withdrawal Address' => 'Withdrawal Address', 'Notes' => 'Notes',
- 'Withdrawals are processed within 10-30 minutes.' => 'Withdrawals are processed within 10-30 minutes.',
- 'Minimum withdrawal amount is 10 USDT.' => 'Minimum withdrawal amount is 10 USDT.',
- 'Ensure the receiving address supports the TRC20 network.' => 'Ensure the receiving address supports the TRC20 network.',
- 'Current password incorrect.' => 'Current password incorrect.',
- 'Identity verification submitted and is under review.' => 'Identity verification submitted and is under review.',
- 'New passwords do not match.' => 'New passwords do not match.', 'Password must be at least 6 characters.' => 'Password must be at least 6 characters.',
- 'Password updated successfully.' => 'Password updated successfully.', 'Update failed' => 'Update failed',
- 'Login Password' => 'Login Password', '2FA Authentication' => '2FA Authentication', 'Google Authenticator' => 'Google Authenticator',
- 'Your identity documents are being verified by our team.' => 'Your identity documents are being verified by our team.',
- 'Submitted Details' => 'Submitted Details', 'Verified Identity' => 'Verified Identity',
- 'Your account is fully verified for all features.' => 'Your account is fully verified for all features.',
- 'Current Trading Password' => 'Current Trading Password', 'New Trading Password' => 'New Trading Password',
- 'Confirm New Trading Password' => 'Confirm New Trading Password', 'Withdrawal request submitted successfully.' => 'Withdrawal request submitted successfully.',
- 'Insufficient balance.' => 'Insufficient balance.', 'Why Choose BITCrypto?' => 'Why Choose BITCrypto?',
- 'Experience the most professional trading environment with institutional-grade security and liquidity.' => 'Experience the most professional trading environment with institutional-grade security and liquidity.',
- 'Multi-sig Cold Storage' => 'Multi-sig Cold Storage', 'DDoS Protection' => 'DDoS Protection', '2FA Security' => '2FA Security',
- 'Ultra-low Latency' => 'Ultra-low Latency', 'High Liquidity' => 'High Liquidity', 'Zero Slippage' => 'Zero Slippage',
- 'Multi-language Support' => 'Multi-language Support', 'Live Chat' => 'Live Chat', 'Fast Response' => 'Fast Response',
- 'Trade Anywhere, Anytime' => 'Trade Anywhere, Anytime', 'Experience the full power of our exchange on your mobile device. Trade spot and futures with ease.' => 'Experience the full power of our exchange on your mobile device. Trade spot and futures with ease.',
- 'Download on the' => 'Download on the', 'Get it on' => 'Get it on', 'Scan to download' => 'Scan to download', 'Compatible with iOS and Android devices.' => 'Compatible with iOS and Android devices.',
- 'Global Trust' => 'Global Trust', 'Our Global Partners' => 'Our Global Partners', 'Smart Contracts' => 'Smart Contracts', 'Primary Network' => 'Primary Network', 'Security Audit' => 'Security Audit', 'Financial Partner' => 'Financial Partner', 'Strategic Advisor' => 'Strategic Advisor'
- ],
- 'zh' => [
- 'Home' => '首页', 'Spot' => '币币交易', 'Perpetual' => '合约交易', 'Markets' => '行情', 'Exchange' => '交易',
- 'Login' => '登录', 'Register' => '注册', 'Profile' => '个人中心', 'Logout' => '退出登录',
- 'Deposit' => '充值', 'Withdraw' => '提现', 'Assets' => '资产', 'Security' => '安全',
- 'Buy' => '买入', 'Sell' => '卖出', 'Limit' => '限价', 'Market' => '市价', 'Price' => '价格',
- 'Amount' => '数量', 'Total' => '总额', 'Available' => '可用', 'Trade' => '交易',
- 'Market Trends' => '市场趋势', 'Real-time Prices' => '实时价格', 'High' => '最高', 'Low' => '最低',
- 'Download App' => '下载APP', 'Customer Service' => '客服中心',
- 'Identity Verification' => '实名认证', 'Trading Password' => '交易密码',
- 'Success' => '成功', 'Error' => '错误', 'Matching Account' => '匹配账号',
- 'Establishing secure connection with liquidity provider...' => '正在与流动性提供商建立安全连接...',
- 'Awaiting merchant confirmation...' => '等待商家确认...',
- 'Matching in progress' => '正在匹配中',
- 'The specialized account for this transaction will be provided by our agent shortly.' => '交易专用账号将由我们的代理稍后提供。',
- 'Transfer the exact amount. Upload proof below.' => '请转入准确金额,并在下方上传凭证。',
- 'Bank Name' => '银行名称', 'Account Number' => '账号', 'Beneficiary' => '收款人', 'Reference' => '备注',
- 'Copy' => '复制', 'Upload Proof' => '上传凭证', 'Selected' => '已选择', 'Transfer Completed' => '转账已完成',
- 'Your transfer is being reviewed. ETA: 10-20 mins.' => '您的转账正在审核中,预计 10-20 分钟。',
- 'Back to Wallet' => '返回钱包', 'Matched & Active' => '已匹配并激活',
- 'Services' => '服务', 'Spot Trading' => '币币交易', 'Futures Trading' => '合约交易',
- 'Support' => '支持', 'Help Center' => '帮助中心', 'About Us' => '关于我们', 'Privacy Policy' => '隐私政策', 'Terms of Service' => '服务条款',
- 'System Status' => '系统状态', 'Normal' => '正常', 'Overview' => '概览', 'Full Name' => '姓名', 'ID Number' => '身份证号', 'Submit' => '提交', 'Next-Gen Trading Engine' => '次世代交易引擎',
- 'Experience ultra-low latency and institutional-grade liquidity on our professional K-line trading platform.' => '在我们的专业K线交易平台上体验极低延迟和机构级流动性。',
- 'Register Now' => '立即注册', 'Start Trading' => '开始交易', 'Go to Futures' => '前往合约', 'Global Crypto Hub' => '全球加密枢纽',
- 'Access real-time global market data and execute trades across multiple asset classes with one unified account.' => '通过一个统一账户访问实时全球市场数据并执行跨多个资产类别的交易。',
- 'Secure Asset Custody' => '安全资产托管', 'Your funds are safe with our institutional-grade security, multi-sig cold storage, and comprehensive insurance fund.' => '您的资金在我们的机构级安全、多重签名冷存储和全面保险基金的保护下非常安全。',
- 'Security Center' => '安全中心', '24/7 Global Support' => '24/7 全球支持', 'Our dedicated professional support team is available around the clock to assist you in multiple languages.' => '我们专业的支持团队全天候为您提供多种语言的帮助。',
- 'Contact Support' => '联系支持', 'Asset' => '资产', '24h Change' => '24h涨跌', '24h High' => '24h最高', 'Action' => '操作', 'All Markets' => '所有市场',
- 'Real-time updates from global exchanges' => '来自全球交易所的实时更新', 'Safe & Secure' => '安全可靠', 'Industry-leading encryption and multi-signature cold storage for your digital assets.' => '为您的数字资产提供行业领先的加密和多重签名冷存储。',
- 'Instant Execution' => '即时执行', 'Advanced matching engine processing over 100,000 transactions per second.' => '先进的撮合引擎,每秒处理超过100,000笔交易。',
- 'Verification' => '实名认证', 'Reviewing...' => '审核中...', 'Verified' => '已认证', 'Unverified' => '未认证', 'Pending' => '审核中', 'Approved' => '已通过', 'Rejected' => '已拒绝',
- 'Front Side' => '正面', 'Back Side' => '反面', 'Selfie with ID' => '手持证件照',
- 'Change Login Password' => '修改登录密码', 'Change Trading Password' => '修改交易密码',
- 'digits' => '位数字', 'Current Password' => '当前密码', 'New Password' => '新密码', 'Confirm New Password' => '确认新密码',
- 'Save Changes' => '保存修改', 'Cancel' => '取消', 'Account Overview' => '账户概览', 'Total Balance' => '总余额',
- 'Recent Activities' => '最近活动', 'Time' => '时间', 'Account Login' => '账号登录', 'Assets Overview' => '资产概览',
- 'Total Net Value' => '总净值', 'Yesterday Profit/Loss' => '昨日盈亏', 'Security Settings' => '安全设置',
- 'Last updated' => '最后更新', 'Recently' => '最近', 'Required for withdrawals' => '提现必填', 'Link' => '去绑定',
- 'Enter your real name' => '输入真实姓名', 'Enter ID/Passport Number' => '输入证件号码', 'Change' => '去修改',
- 'Name' => '币种', 'Price' => '价格', 'Trade' => '去交易', 'View All' => '查看全部', 'Market Trends' => '市场趋势', 'Stay updated with real-time price changes' => '实时掌握价格动态',
- 'Get Started' => '立即开始', 'View Markets' => '查看行情', 'The World\'s Leading' => '全球领先的', 'Crypto Exchange' => '数字货币交易所',
- 'Secure & Trusted' => '安全可信', 'Institutional Grade' => '机构级水准', 'Deep Liquidity' => '深度流动性', 'Global Access' => '全球访问',
- 'Perpetual Contracts' => '永续合约', '100x Leverage' => '100倍杠杆', 'Join the Elite' => '加入精英行列', 'Trust BITCrypto' => '信赖 BITCrypto',
- 'Funds' => '资金', 'Recharge' => '充值', 'Withdrawal' => '提现', 'Stop-Loss' => '止损', 'Take-Profit' => '止盈', 'Search' => '搜索', 'Search Pairs' => '搜索币对', 'Open Orders' => '当前委托', 'Order History' => '历史委托', 'Positions' => '当前持仓', 'No open orders' => '暂无挂单', 'Lots' => '张数', 'Cancel' => '撤单', 'Order submitted successfully!' => '订单提交成功!', 'Please enter a valid amount.' => '请输入有效数量。', 'Username' => '用户名', 'Password' => '密码', 'Sign In' => '登录', 'Sign Up' => '注册', 'Email' => '电子邮箱', 'Already have an account?' => '已有账号?', 'Don\'t have an account?' => '还没有账号?', 'Confirm Password' => '确认密码', 'Create Account' => '创建账号',
- 'Trade Bitcoin, Ethereum, and hundreds of other cryptocurrencies with the lowest fees in the industry.' => '以行业最低的费用交易比特币、以太坊和数百种其他加密货币。',
- 'Why Choose BITCrypto?' => '为什么选择 BITCrypto?', 'Experience the most professional trading environment with institutional-grade security and liquidity.' => '体验最专业的交易环境,拥有机构级的安全性和流动性。',
- 'Multi-sig Cold Storage' => '多重签名冷存储', 'DDoS Protection' => 'DDoS 防护', '2FA Security' => '双重身份验证',
- 'Ultra-low Latency' => '极低延迟', 'High Liquidity' => '高流动性', 'Zero Slippage' => '零滑点',
- 'Multi-language Support' => '多语言支持', 'Live Chat' => '在线聊天', 'Fast Response' => '快速响应',
- 'Trade Anywhere, Anytime' => '随时随地交易', 'Experience the full power of our exchange on your mobile device. Trade spot and futures with ease.' => '在您的移动设备上体验我们交易所的全部功能。轻松进行现货和合约交易。',
- 'Download on the' => '在 App Store 下载', 'Get it on' => '在 Google Play 获取', 'Scan to download' => '扫描下载', 'Compatible with iOS and Android devices.' => '兼容 iOS 和 Android 设备。',
- 'Global Trust' => '全球信任', 'Our Global Partners' => '我们的全球合作伙伴', 'Smart Contracts' => '智能合约', 'Primary Network' => '主网', 'Security Audit' => '安全审计', 'Financial Partner' => '金融合作伙伴', 'Strategic Advisor' => '战略顾问',
- 'Please fill in all fields.' => '请填写所有字段。', 'Invalid username or password.' => '用户名或密码无效。', 'Login failed.' => '登录失败。', 'Login to BITCrypto' => '登录到 BITCrypto', 'Enter username' => '输入用户名', 'Enter password' => '输入密码', 'Remember me' => '记住我', 'Forgot password?' => '忘记密码?', 'Passwords do not match.' => '密码不匹配。', 'You must agree to the terms and privacy policy.' => '您必须同意服务条款和隐私政策。', 'Username already exists.' => '用户名已存在。', 'Username / Email' => '用户名 / 邮箱', 'Repeat password' => '重复密码', 'I have read and agree to the' => '我已阅读并同意', 'Join the world\'s leading crypto exchange' => '加入全球领先的加密交易所', 'Search assets...' => '搜索资产...', 'No assets found' => '未找到资产', 'Pair' => '交易对', 'Side' => '方向', 'Filled' => '已成交',
- 'Receipt uploaded successfully. Waiting for admin approval.' => '凭证上传成功。等待管理员审核。',
- 'Deposit Assets' => '充值资产', 'Choose your preferred method to fund your account' => '选择您喜欢的充值方式',
- 'Crypto Deposit' => '数字货币充值', 'Fiat Deposit' => '法币充值', 'Instant' => '即时', 'Regional Support' => '地区支持',
- 'Select Currency' => '选择币种', 'Network' => '网络', 'Deposit Address' => '充值地址', 'Scan QR code to deposit' => '扫描二维码进行充值',
- 'Deposit Amount' => '充值金额', 'Upload screenshot of your transaction' => '上传您的交易截图', 'Submit Deposit' => '提交充值',
- 'Select Fiat Currency' => '选择法币', 'We will match you with a local merchant to facilitate your deposit in your local currency.' => '我们将为您匹配当地商家,以便您以当地货币进行充值。',
- 'Est. Arrival' => '预计到账', 'Processing Time: 10-30 mins' => '处理时间:10-30 分钟', 'Exchange Rate' => '汇率',
- 'Service Fee' => '服务费', 'Free' => '免费', 'Confirm Deposit' => '确认充值', 'Secure Payment' => '安全支付',
- 'All transactions are encrypted' => '所有交易均已加密', 'Fast Arrival' => '快速到账', 'Most deposits arrive in mins' => '大多数充值在几分钟内到账',
- 'Address copied to clipboard' => '地址已复制到剪贴板', 'Withdrawal Address' => '提现地址', 'Notes' => '注意事项',
- 'Withdrawals are processed within 10-30 minutes.' => '提现将在 10-30 分钟内处理。',
- 'Minimum withdrawal amount is 10 USDT.' => '最低提现金额为 10 USDT。',
- 'Ensure the receiving address supports the TRC20 network.' => '确保接收地址支持 TRC20 网络。',
- 'Current password incorrect.' => '当前密码错误。',
- 'Identity verification submitted and is under review.' => '身份认证已提交,正在审核中。',
- 'New passwords do not match.' => '新密码不匹配。', 'Password must be at least 6 characters.' => '密码长度必须至少为 6 个字符。',
- 'Password updated successfully.' => '密码更新成功。', 'Update failed' => '更新失败',
- 'Login Password' => '登录密码', '2FA Authentication' => '双重身份验证', 'Google Authenticator' => '谷歌身份验证器',
- 'Your identity documents are being verified by our team.' => '我们的团队正在验证您的身份文件。',
- 'Submitted Details' => '已提交详情', 'Verified Identity' => '已验证身份',
- 'Your account is fully verified for all features.' => '您的账户已完全通过验证,可以使用所有功能。',
- 'Current Trading Password' => '当前交易密码', 'New Trading Password' => '新交易密码',
- 'Confirm New Trading Password' => '确认新交易密码', 'Withdrawal request submitted successfully.' => '提现申请提交成功。',
- 'Insufficient balance.' => '余额不足。', 'Why Choose BITCrypto?' => '为什么选择 BITCrypto?',
- 'Experience the most professional trading environment with institutional-grade security and liquidity.' => '体验最专业的交易环境,拥有机构级的安全性和流动性。',
- 'Multi-sig Cold Storage' => '多重签名冷存储', 'DDoS Protection' => 'DDoS 防护', '2FA Security' => '双重身份验证',
- 'Ultra-low Latency' => '极低延迟', 'High Liquidity' => '高流动性', 'Zero Slippage' => '零滑点',
- 'Multi-language Support' => '多语言支持', 'Live Chat' => '在线聊天', 'Fast Response' => '快速响应',
- 'Trade Anywhere, Anytime' => '随时随地交易', 'Experience the full power of our exchange on your mobile device. Trade spot and futures with ease.' => '在您的移动设备上体验我们交易所的全部功能。轻松进行现货和合约交易。',
- 'Download on the' => '在 App Store 下载', 'Get it on' => '在 Google Play 获取', 'Scan to download' => '扫描下载', 'Compatible with iOS and Android devices.' => '兼容 iOS 和 Android 设备。',
- 'Global Trust' => '全球信任', 'Our Global Partners' => '我们的全球合作伙伴', 'Smart Contracts' => '智能合约', 'Primary Network' => '主网', 'Security Audit' => '安全审计', 'Financial Partner' => '金融合作伙伴', 'Strategic Advisor' => '战略顾问'
- ]
- ];
+ global $lang, $translations;
return $translations[$lang][$key] ?? $key;
}
-$current_page = basename($_SERVER['PHP_SELF']);
-$is_home = $current_page === 'index.php';
+$is_home = basename($_SERVER['PHP_SELF']) == 'index.php';
+
+function getLangUrl($newLang) {
+ $params = $_GET;
+ $params['lang'] = $newLang;
+ return basename($_SERVER['PHP_SELF']) . '?' . http_build_query($params);
+}
?>
-
- BITCrypto | Professional Crypto Exchange
+
+ | BITCrypto
-
+
+
+
+
-
+
-
-
-