4dc4127252
三端布局(mobile/tablet/desktop): - core/responsive/form_factor.dart 形态判定 + shell/ 分发器(home_shell→desktop/mobile) - desktop_shell 对照 ui_kits/desktop/dapp.jsx: 侧栏204·6项 + 套餐卡 + 顶栏(标题/状态/主题切换) + 连接页居中单列 - 新增组件 nav_sidebar / plan_badge_card / content_top_bar / bottom_tab_bar - 新增一级页 contact_page / settings_page; navigation_provider(NavView) - 删除旧 widgets/home_shell.dart(逻辑迁入 shell/) macOS 桌面端: - 窗口默认 920×600 + 最小 720×560(MainFlutterWindow.swift) - app 图标替换为穿山甲(AppIcon.appiconset 全套, 由 app-icon.svg 渲染) 其余(本会话): - Phase2 接线: auth_api/token_store/auth_provider/vpn_bridge_provider + 真实 connection/nodes - lucide_icons 兼容补丁(packages/lucide_icons_patched) 修复 IconData final 报错 - 测试修复: connect_passthrough(UTF-8) / harness / golden @Skip - l10n 新增 settingsTitle Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
250 lines
6.6 KiB
Dart
250 lines
6.6 KiB
Dart
// strings_en.dart — English copy resources (single-language display)
|
||
//
|
||
// Red-line words forbidden: VPN / 翻墙 / 科学上网 / 突破封锁 / 自由穿越 / Go anywhere.
|
||
// Positioning: network acceleration / experience optimization + privacy.
|
||
// Plan numbers follow design/CLAUDE.md §7.
|
||
import 'app_text.dart';
|
||
|
||
class StringsEn extends AppText {
|
||
const StringsEn();
|
||
|
||
@override
|
||
AppLang get lang => AppLang.en;
|
||
|
||
@override
|
||
String get brand => 'Pangolin';
|
||
@override
|
||
String get online => '● Online';
|
||
@override
|
||
String get offline => '○ Offline';
|
||
@override
|
||
String get capOff => 'Tap to connect';
|
||
@override
|
||
String get capConnecting => 'Connecting…';
|
||
@override
|
||
String get capOn => 'Connected · Encrypted';
|
||
@override
|
||
String get connectNow => 'CONNECT';
|
||
@override
|
||
String get secure => 'SECURE';
|
||
|
||
@override
|
||
String get tabConnect => 'Connect';
|
||
@override
|
||
String get tabServers => 'Servers';
|
||
@override
|
||
String get tabStats => 'Stats';
|
||
@override
|
||
String get tabMe => 'Account';
|
||
|
||
@override
|
||
String get currentNode => 'Current node';
|
||
@override
|
||
String get download => 'Down';
|
||
@override
|
||
String get upload => 'Up';
|
||
@override
|
||
String get latency => 'Ping';
|
||
|
||
@override
|
||
String get quotaToday => 'Left today';
|
||
@override
|
||
String get minutes => 'min';
|
||
@override
|
||
String get quotaFree => 'Free · 10 min/day';
|
||
@override
|
||
String get watchAd => 'Watch ad to start';
|
||
@override
|
||
String get adUnlocked => 'Unlocked for today';
|
||
|
||
@override
|
||
String get chooseNode => 'Choose server';
|
||
@override
|
||
String get searchPh => 'Search country / city';
|
||
@override
|
||
String get smartSelect => 'Smart select';
|
||
@override
|
||
String get smartSub => 'Picks the best node for your network';
|
||
@override
|
||
String get recommended => 'Recommended';
|
||
|
||
@override
|
||
String get statsTitle => 'Statistics';
|
||
@override
|
||
String get trafficMonth => 'Traffic';
|
||
@override
|
||
String get avgPing => 'Avg ping';
|
||
@override
|
||
String get durMonth => 'Time';
|
||
@override
|
||
String get weekTraffic => 'This week (GB)';
|
||
@override
|
||
List<String> get days7 => const ['M', 'T', 'W', 'T', 'F', 'S', 'S'];
|
||
|
||
@override
|
||
String get meTitle => 'Account';
|
||
@override
|
||
String get proMember => 'PRO member';
|
||
@override
|
||
String get freePlanName => 'Free';
|
||
@override
|
||
String get expires => 'Expires';
|
||
@override
|
||
String get upgradeBtn => 'Renew / Upgrade';
|
||
@override
|
||
String get accInfoTitle => 'Account info';
|
||
@override
|
||
String get accEmail => 'Email';
|
||
@override
|
||
String get accPassword => 'Password';
|
||
@override
|
||
String get accChange => 'Change';
|
||
@override
|
||
String get myDevices => 'My devices';
|
||
@override
|
||
String get devicesSub => 'Up to 5 devices on PRO';
|
||
@override
|
||
String get thisDevice => 'This device';
|
||
@override
|
||
String get remove => 'Remove';
|
||
@override
|
||
String get redeemEntry => 'Redeem & buy';
|
||
@override
|
||
String get contactEntry => 'Contact us';
|
||
@override
|
||
String get signOut => 'Sign out';
|
||
@override
|
||
String get language => 'Language';
|
||
@override
|
||
String get darkAppearance => 'Dark appearance';
|
||
@override
|
||
String get stateOn => 'On';
|
||
@override
|
||
String get followLight => 'Off';
|
||
@override
|
||
String get protocol => 'Protocol';
|
||
@override
|
||
String get settingsTitle => 'Settings';
|
||
|
||
@override
|
||
String get choosePlan => 'Choose plan';
|
||
@override
|
||
String get freePlan => 'Free';
|
||
@override
|
||
String get proPlan => 'Pro';
|
||
@override
|
||
String get teamPlan => 'Team';
|
||
@override
|
||
String get perMonth => '/mo';
|
||
@override
|
||
String get current => 'Current';
|
||
@override
|
||
String get upgrade => 'Upgrade';
|
||
@override
|
||
String get choose => 'Choose';
|
||
@override
|
||
String get mostPopular => 'Popular';
|
||
@override
|
||
List<String> get featsFree => const [
|
||
'1 basic node only',
|
||
'10 min per day',
|
||
'Watch an ad to start',
|
||
'7-day free trial on sign-up',
|
||
];
|
||
@override
|
||
List<String> get featsPro =>
|
||
const ['80+ locations', 'Unlimited · fast', '5 devices', 'Streaming optimized'];
|
||
@override
|
||
List<String> get featsTeam =>
|
||
const ['Everything in Pro', '10 seats', 'Central billing', 'Priority support'];
|
||
|
||
@override
|
||
String get redeemTitle => 'Redeem & buy';
|
||
@override
|
||
String get redeemCodeTitle => 'Redeem a code';
|
||
@override
|
||
String get redeemPh => 'Enter activation code';
|
||
@override
|
||
String get redeemBtn => 'Redeem';
|
||
@override
|
||
String get redeemOk => 'Activated · PRO unlocked';
|
||
@override
|
||
String get buyTitle => 'Where to buy';
|
||
@override
|
||
String get buySub => 'In-app payment is unavailable. Get a code via:';
|
||
@override
|
||
String get chStore => 'Self-serve store';
|
||
@override
|
||
String get chEmail => 'Email support';
|
||
|
||
@override
|
||
String get contactTitle => 'Contact us';
|
||
@override
|
||
String get contactIntro =>
|
||
'Need help? Reach us via any channel below — usually replies in minutes.';
|
||
@override
|
||
String get contactEmail => 'Email support';
|
||
@override
|
||
String get contactStore => 'Self-serve store';
|
||
@override
|
||
String get contactHoursTitle => 'Support hours';
|
||
@override
|
||
String get contactHours => 'Daily 9:00 – 24:00 (GMT+8)';
|
||
|
||
@override
|
||
String get authTagline => 'Fast · Stable · Effortless';
|
||
@override
|
||
String get tabLogin => 'Log in';
|
||
@override
|
||
String get tabRegister => 'Sign up';
|
||
@override
|
||
String get emailLabel => 'Email';
|
||
@override
|
||
String get emailPh => 'your@email.com';
|
||
@override
|
||
String get pwLabel => 'Password';
|
||
@override
|
||
String get pwPh => 'Enter password';
|
||
@override
|
||
String get setPwPh => 'Set a password (for multi-device login)';
|
||
@override
|
||
String get codeLabel => 'Verification code';
|
||
@override
|
||
String codeSentTo(String email) => 'Code sent to $email';
|
||
@override
|
||
String get sendCode => 'Send code';
|
||
@override
|
||
String get resend => 'Resend';
|
||
@override
|
||
String get doLogin => 'Log in';
|
||
@override
|
||
String get doNext => 'Next';
|
||
@override
|
||
String get doCreate => 'Create account';
|
||
@override
|
||
String get forgotPw => 'Forgot password?';
|
||
@override
|
||
String get tos => 'By continuing you agree to our Terms & Privacy Policy';
|
||
|
||
@override
|
||
String get obSkip => 'Skip';
|
||
@override
|
||
String get obNext => 'Next';
|
||
@override
|
||
String get obAllow => 'Allow & continue';
|
||
@override
|
||
String get obStart => 'Get started';
|
||
@override
|
||
String get ob1Title => 'Connect worldwide';
|
||
@override
|
||
String get ob1Sub => '80+ locations, auto-fastest routing, rock-solid.';
|
||
@override
|
||
String get ob2Title => 'Allow network setup';
|
||
@override
|
||
String get ob2Sub => 'The system will ask to add a network profile to build the encrypted tunnel.';
|
||
@override
|
||
String get ob3Title => 'Private by design';
|
||
@override
|
||
String get ob3Sub => 'End-to-end encrypted. We keep zero browsing logs.';
|
||
}
|