Files
ttstd_family_care/lib/l10n/app_localizations_en.dart
T
tongtong e06e12fbbc feat(profile): 实现个人资料编辑与策略本地缓存
- 将资料编辑页重构为可交互表单,支持昵称、签名编辑与头像更换
- 新增 DioClient 本地缓存读取与写入方法,支持离线读取策略快照
- 设备策略切换后自动使本地缓存失效,避免数据不一致
- Home Tab 切换时选中态跟随可见页面,滑动过程中实时更新底栏高亮
- 系统设置页引入 loading 遮罩层,防止切换开关时重复操作
- 个人资料页接入 profileController 展示真实用户信息与加载状态
- 适配深色模式,修正 home_tab 中头像与文字颜色硬编码问题
2026-11-09 09:24:51 +08:00

1164 lines
26 KiB
Dart
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// ignore: unused_import
import 'package:intl/intl.dart' as intl;
import 'app_localizations.dart';
// ignore_for_file: type=lint
/// The translations for English (`en`).
class AppLocalizationsEn extends AppLocalizations {
AppLocalizationsEn([String locale = 'en']) : super(locale);
@override
String get appTitle => 'TongTong Family Care';
@override
String get tabHome => 'Home';
@override
String get tabMessages => 'Messages';
@override
String get tabProfile => 'Profile';
@override
String get homeContent => 'Home Content';
@override
String get messagesContent => 'Messages Content';
@override
String get logout => 'Sign Out';
@override
String get loginTitle => 'Sign in to TongTong Family Care';
@override
String get welcomeLoginTitle => 'Welcome';
@override
String get welcomeLoginSubtitle => 'Sign in to continue and discover more';
@override
String get registerTitle => 'Create Account';
@override
String get passwordLogin => 'Password';
@override
String get smsLogin => 'SMS Code';
@override
String get phoneHint => 'Phone';
@override
String get phoneHintDetailed => 'Enter phone number';
@override
String get passwordHint => 'Password';
@override
String get passwordHintDetailed => 'Enter password';
@override
String get codeHint => 'Code';
@override
String get getCode => 'Get Code';
@override
String get login => 'Sign In';
@override
String get register => 'Sign Up';
@override
String get noAccount => 'No account? Sign up';
@override
String get hasAccount => 'Have an account? Sign in';
@override
String get forgotPassword => 'Forgot password?';
@override
String get otherLoginMethods => 'Other ways to sign in';
@override
String get wechatLogin => 'WeChat Login';
@override
String get userAgreementPrefix => 'By signing in, you agree to ';
@override
String get userAgreement => 'Terms of Service';
@override
String get privacyPolicy => 'Privacy Policy';
@override
String get andConnector => ' and ';
@override
String get alertTitle => 'Notice';
@override
String get confirm => 'OK';
@override
String get sending => 'Sending';
@override
String get exitConfirmTitle => 'Exit App';
@override
String get exitConfirmContent => 'Are you sure you want to exit the app?';
@override
String get cancel => 'Cancel';
@override
String get exitApp => 'Exit';
@override
String get phoneEmpty => 'Please enter your phone number';
@override
String get phoneInvalid => 'Invalid phone number';
@override
String get forgotPasswordTitle => 'Forgot Password';
@override
String get codeEmpty => 'Please enter the code';
@override
String get passwordEmpty => 'Please enter a new password';
@override
String get newPasswordHint => 'Enter new password';
@override
String get resetPassword => 'Reset Password';
@override
String get resetPasswordSuccess =>
'Password reset successfully, please sign in with the new password';
@override
String get userAgreementContent =>
'Terms of Service\n\nWelcome to TongTong Family Care (the \"App\"). Please read the following terms carefully before using the App. By using the App, you acknowledge that you have read, understood, and agreed to all provisions of this agreement.\n\n1. Service Description\nThe App is a family care tool providing device connection, remote assistance, and messaging. We reserve the right to adjust, suspend, or terminate parts of the service at any time.\n\n2. Account Registration and Use\nYou must register with a valid phone number and are responsible for all activities under your account. Keep your credentials secure.\n\n3. User Conduct\nYou may not use the App for any unlawful, infringing, or disruptive activity.\n\n4. Intellectual Property\nAll intellectual property related to the App belongs to the developer. No reproduction or commercial use is permitted without permission.\n\n5. Limitation of Liability\nTo the extent permitted by law, we are not liable for indirect damages arising from use or inability to use the service.\n\n6. Changes\nWe may revise this agreement; continued use constitutes acceptance of the revised terms.';
@override
String get privacyPolicyContent =>
'Privacy Policy\n\nWe take your privacy seriously. This policy explains how we collect, use, store, and protect your personal information.\n\n1. Information We Collect\nWe may collect information you provide (e.g., phone number, nickname) and device/log data for security and troubleshooting.\n\n2. How We Use Information\nYour information is used solely to provide and improve the service, secure your account, and send necessary notices.\n\n3. Storage\nWe apply reasonable safeguards such as encryption and retain information only as long as necessary, then delete or anonymize it.\n\n4. Sharing\nWe do not disclose personal information to third parties except as required by law or to fulfill a service you requested.\n\n5. Your Rights\nYou may access, correct, or delete your personal information and withdraw granted consents.\n\n6. Changes\nWe will update this policy within the App; please review it periodically.';
@override
String get alarmTitle => 'Alarms';
@override
String get addAlarm => 'Add Alarm';
@override
String get alarmEditTitle => 'Edit Alarm';
@override
String get alarmEmpty => 'No alarms yet. Tap Add Alarm to create one';
@override
String get alarmTime => 'Time';
@override
String get alarmLabel => 'Label (e.g., Wake up)';
@override
String get alarmRepeat => 'Repeat';
@override
String get alarmRepeatOnce => 'Once';
@override
String get alarmRepeatEveryday => 'Daily';
@override
String get alarmRepeatWeekdays => 'Weekdays';
@override
String get alarmRepeatCustom => 'Custom';
@override
String get alarmEnabled => 'Enable Alarm';
@override
String get alarmDeleteConfirm => 'Delete this alarm?';
@override
String get alarmDelete => 'Delete Alarm';
@override
String get albumTitle => 'Album';
@override
String get albumSendToDevice => 'Send to Device';
@override
String get albumSendSuccess => 'Sent to device';
@override
String get albumSendGetFileFailed => 'Failed to load the image';
@override
String get albumUploadedEmpty =>
'No uploaded images yet. Pick a photo in Albums to send';
@override
String albumUploadedStats(int count, String size) {
return 'Uploaded images · $count · $size total';
}
@override
String get albumDeletePictureConfirm =>
'Remove this picture from uploaded images?';
@override
String get albumFavoriteEmpty =>
'No favorite images. Tap an image in All to favorite it';
@override
String albumFavoriteStats(int count, String size) {
return 'Favorite images · $count · $size total';
}
@override
String get albumPermissionTitle =>
'Photo library access is required to view your photos';
@override
String get albumPermissionSub =>
'Allow photo library access in the dialog to retry';
@override
String get albumPermissionPermanentSub =>
'Permission is permanently denied. Please enable it in system settings';
@override
String get albumOpenSettings => 'Settings';
@override
String get albumRetryRequest => 'Request Again';
@override
String get albumEmpty => 'No albums';
@override
String get albumFolderEmpty => 'No photos in this album';
@override
String get albumUnknownFolder => 'Untitled';
@override
String albumAssetCount(int count) {
return '$count items';
}
@override
String get albumLoadFailed => 'Failed to load albums, please retry';
@override
String get albumFolderLoadFailed =>
'Failed to load album contents, please retry';
@override
String get albumGotIt => 'Got it';
@override
String get appsTitle => 'Apps';
@override
String get appsLoadFailed => 'Failed to load apps';
@override
String get appsEmpty => 'No installed apps';
@override
String get appOpLaunch => 'Open';
@override
String get appOpStop => 'Stop';
@override
String get appOpUninstall => 'Uninstall';
@override
String get appOpClearData => 'Clear Data';
@override
String get appOpConfirmTitle => 'App Operation';
@override
String get appOpUninstallConfirm => 'Uninstall this app?';
@override
String get appOpClearDataConfirm => 'Clear this app\'s data?';
@override
String get appOpSent => 'App operation command sent';
@override
String get appsCommon => 'Common Apps';
@override
String get appsSystem => 'System Tools';
@override
String get appsEntertain => 'Entertainment';
@override
String get appsCamera => 'Camera';
@override
String get appsAdd => 'Add';
@override
String get menuAlbum => 'Album';
@override
String get menuAlarm => 'Alarm';
@override
String get menuContacts => 'Contacts';
@override
String get menuFiles => 'Files';
@override
String get menuApps => 'Apps';
@override
String get menuMore => 'More';
@override
String get cfRemoteCam => 'Remote Camera';
@override
String get cfTakePhotoTitle => 'Choose Camera';
@override
String get cfCamRear => 'Rear Camera';
@override
String get cfCamFront => 'Front Camera';
@override
String get cfMore => 'More';
@override
String get cfMoreOpsTitle => 'More Operations';
@override
String get cfRestore => 'Factory Reset';
@override
String get cfDeveloper => 'Developer Mode';
@override
String get contactsTitle => 'Contacts';
@override
String get contactName => 'Name';
@override
String get contactNick => 'Nickname (optional)';
@override
String get contactPhone => 'Phone';
@override
String get contactEmergency => 'Mark as emergency/favorite contact';
@override
String get contactListEmpty => 'No contacts yet';
@override
String get contactNoDevice => 'Please bind a device in \"My Device\" first';
@override
String get contactAdded => 'Contact added';
@override
String get contactUpdated => 'Saved';
@override
String get contactDeleted => 'Deleted';
@override
String get nameRequired => 'Please enter a name';
@override
String get phoneRequired => 'Please enter a phone number';
@override
String deleteConfirm(Object name) {
return 'Delete contact \"$name\"?';
}
@override
String get commonAdd => 'Add Contact';
@override
String get contactDetailTitle => 'Contact Details';
@override
String get contactEdit => 'Edit';
@override
String get contactCall => 'Make Call';
@override
String get contactReverseDial => 'Reverse Dial';
@override
String get contactReverseDialSent =>
'Dial command sent, the device will call this contact';
@override
String get contactIsEmergency => 'Emergency Contact';
@override
String get contactEmergencyYes => 'Yes';
@override
String get contactEmergencyNo => 'No';
@override
String get commonEdit => 'Edit Contact';
@override
String get commonDelete => 'Delete';
@override
String get grpFavorite => '★ Favorites';
@override
String get grpColleague => 'Colleagues';
@override
String get grpFamily => 'Family';
@override
String get tabManage => 'Manage';
@override
String get homeDeviceName => 'My Tablet';
@override
String get homeOnline => 'Online';
@override
String get homeNoDevice => 'No device bound yet';
@override
String get homeNoDeviceTip =>
'After binding, you can view the device location, screenshots and remote operations';
@override
String get homeBindDevice => 'Go to Bind';
@override
String get homeCommon => 'Common Apps';
@override
String get homeLocation => 'Live Location';
@override
String get homeLocating => 'Locating…';
@override
String get homeLocated => 'Located';
@override
String get homeNoLocation => 'No location';
@override
String get back => 'Back';
@override
String get snapshotLocationFailed =>
'Failed to get location, please try again later';
@override
String get noSnapshotLocation => 'No device location available yet';
@override
String get homeAddress => 'Wangjing SOHO · T3';
@override
String get mapTitle => 'Live Location';
@override
String get mapCurrentLocation => 'Current Location';
@override
String get mapAddress =>
'Wangjing SOHO · T3, Chaoyang District, Beijing · Floor 12';
@override
String get mapCoordinates => 'Lat 39.9965, Lng 116.4821';
@override
String get mapUpdatedAt => 'Updated at 14:02';
@override
String get mapAccuracy => 'Location accuracy approx. 10 m';
@override
String get mapLocateMe => 'Locate Me';
@override
String get mapLocatingSelf => 'Locating my position…';
@override
String get homeScreenshots => 'Recent Screenshots';
@override
String get homeViewAll => 'View All';
@override
String get homeViewDetail => 'View Detail';
@override
String get homeNoScreenshot => 'No screenshots yet';
@override
String get homeScreenshotClearAll => 'Clear';
@override
String get homeScreenshotDelete => 'Delete';
@override
String get homeScreenshotDeleteCurrent => 'Delete this screenshot';
@override
String get homeScreenshotDeleteConfirm => 'Delete this screenshot?';
@override
String get homeScreenshotClearConfirm => 'Clear all screenshots?';
@override
String get homeScreenshotDeleted => 'Deleted';
@override
String get homeScreenshotCleared => 'All screenshots cleared';
@override
String get homeScreenshotEmpty => 'All screenshots deleted';
@override
String get homeUsage => 'Today\'s Usage';
@override
String get homeUsageTrend => '↓12% from yesterday';
@override
String get homeUsageToday => 'Today';
@override
String get homeDeviceOps => 'Device Actions';
@override
String get opRestart => 'Restart';
@override
String get opShutdown => 'Shut Down';
@override
String get opScreenshot => 'Screenshot';
@override
String get opRefresh => 'Refresh';
@override
String get opLocate => 'Locate';
@override
String get opConfirmTitle => 'Confirm Operation';
@override
String get opRestartConfirm => 'Restart this device?';
@override
String get opShutdownConfirm => 'Shut down this device?';
@override
String get opCmdSent => 'Command sent';
@override
String get opCmdFailed => 'Operation failed, please try again later';
@override
String get opScreenshotHint =>
'The screenshot may appear black when the device screen is locked';
@override
String get cfFileTransfer => 'File Transfer';
@override
String get cfMsgSync => 'Message Sync';
@override
String get cfClean => 'Clean & Boost';
@override
String get cfMirror => 'Screen Mirror';
@override
String get cfLost => 'Lost Mode';
@override
String get cfScreenLock => 'Screen Lock';
@override
String get cfAppLock => 'App Lock';
@override
String get cfSystemSettings => 'System Settings';
@override
String get cfWallpaper => 'Wallpaper';
@override
String get wallpaperTitle => 'Wallpaper Settings';
@override
String get wallpaperSingle => 'Single';
@override
String get wallpaperRotate => 'Rotation';
@override
String get wallpaperChange => 'Change';
@override
String get wallpaperAdd => 'Add';
@override
String get wallpaperDragTip => 'Long press and drag to reorder';
@override
String get wallpaperMaxLimit => 'You can add up to 7 wallpapers';
@override
String get wallpaperEmpty => 'No wallpapers yet. Tap Add to pick one.';
@override
String get wallpaperEmptySingle =>
'No wallpaper yet. Tap Change to pick one.';
@override
String get wallpaperSaved => 'Wallpaper saved';
@override
String get ssTitle => 'System Settings';
@override
String get ssLoadFailed => 'Failed to load system settings';
@override
String get ssGrpNetwork => 'Network';
@override
String get ssGrpDisplay => 'Display';
@override
String get ssGrpSystem => 'System';
@override
String get ssGrpStorage => 'Storage & USB';
@override
String get ssGrpApp => 'Apps & Permissions';
@override
String get ssWifiHotspot => 'Wi-Fi Hotspot';
@override
String get ssBluetooth => 'Bluetooth';
@override
String get ssBluetoothSharing => 'Bluetooth Sharing';
@override
String get ssAirplaneMode => 'Airplane Mode';
@override
String get ssModifyApn => 'Modify Network/APN';
@override
String get ssResetNetwork => 'Reset Network Settings';
@override
String get ssWallpaper => 'Wallpaper';
@override
String get ssNotificationBar => 'Notification Bar';
@override
String get ssStatusBarPullDown => 'Status Bar Pull-down';
@override
String get ssAutoRotate => 'Auto-rotate';
@override
String get ssAutoBrightness => 'Auto Brightness';
@override
String get ssManualBrightness => 'Manual Brightness';
@override
String get ssEyeProtection => 'Eye Protection';
@override
String get ssDarkMode => 'Dark Mode';
@override
String get ssScreenTimeout => 'Screen Timeout';
@override
String get ssTimeSetting => 'Time Settings';
@override
String get ssManualTimeZone => 'Manual Time Zone';
@override
String get ssModifyTimeZone => 'Modify Time & Zone';
@override
String get ssModifyLanguage => 'Modify Language';
@override
String get ssNavBarShow => 'Show System Nav Bar';
@override
String get ssNavBarSetting => 'System Nav Bar Settings';
@override
String get ssNavBarOptions => 'Nav Bar Options';
@override
String get ssSafeBoot => 'Safe Mode';
@override
String get ssOtaUpgrade => 'OTA Upgrade';
@override
String get ssUsbData => 'USB Preference';
@override
String get ssUsbFileTransfer => 'USB File Transfer';
@override
String get ssStorageCard => 'Storage Card';
@override
String get ssMountPhysicalStorage => 'Mount External Storage';
@override
String get ssFactoryReset => 'Factory Reset';
@override
String get ssAdbUsbDebug => 'ADB/USB Debugging';
@override
String get ssInstallApps => 'Install Apps';
@override
String get ssUninstallApps => 'Uninstall Apps';
@override
String get ssCamera => 'Camera';
@override
String get ssModifyLocation => 'Modify Location Switch';
@override
String get ssGlobalVolume => 'Global Volume';
@override
String get msgOnline => 'Device Online Alert';
@override
String get msgScreenshot => 'Screenshot Sync';
@override
String get msgRemote => 'Remote Help';
@override
String get msgBattery => 'Battery Alert';
@override
String get msgUpdate => 'System Update';
@override
String get manageTitle => 'Manage';
@override
String get manageSubtitle => 'Device Content & Messages';
@override
String get msgAllRead => 'Mark All Read';
@override
String get profileEdit => 'Edit Profile';
@override
String get deviceBound => 'Bound Devices';
@override
String get currentDevice => 'Current Device';
@override
String get switchDevice => 'Switch';
@override
String get switchDeviceTitle => 'Switch Device';
@override
String get deviceCurrentTag => 'Current';
@override
String get deviceSwitchHint => 'Tap a device to make it the current one';
@override
String get deviceLoadFailed => 'Failed to load devices';
@override
String get deviceNone => 'No bound devices';
@override
String get deviceOnline => 'Online';
@override
String get deviceOffline => 'Offline';
@override
String get deviceNoInfo => 'No details';
@override
String get deviceManage => 'Manage';
@override
String get devTablet => 'My Tablet Pro';
@override
String get devWatch => 'Smart Watch';
@override
String get profileInfo => 'Profile Info';
@override
String get piAvatar => 'Avatar';
@override
String get piName => 'Nickname';
@override
String get piSign => 'Signature';
@override
String get settingsTitle => 'Settings';
@override
String get setNotify => 'Notifications';
@override
String get setPrivacy => 'Privacy';
@override
String get setSecurity => 'Account & Security';
@override
String get setHelp => 'Help & Feedback';
@override
String get setAbout => 'About';
@override
String get deviceManageTitle => 'Device Management';
@override
String get deviceManageAdd => 'Add Device';
@override
String get deviceUnbind => 'Unbind';
@override
String get deviceUnbindConfirmTitle => 'Confirm Unbind';
@override
String deviceUnbindConfirmMessage(String name) {
return 'After unbinding, you will no longer be able to view or manage this device ($name). Continue?';
}
@override
String get deviceUnbindSuccess => 'Device unbound';
@override
String get deviceBindTitle => 'Bind Device';
@override
String get deviceBindSnLabel => 'Serial Number (SN)';
@override
String get deviceBindSnCaseSensitive => 'Case sensitive';
@override
String get deviceBindSnHint => 'Enter the SN on the device or package';
@override
String get deviceBindRemarkLabel => 'Remark (optional)';
@override
String get deviceBindRemarkHint => 'e.g. Mom\'s tablet';
@override
String get deviceBindConfirm => 'Confirm Binding';
@override
String get deviceBindScan => 'Scan QR Code';
@override
String get deviceBindSnEmpty => 'Please enter the serial number';
@override
String get deviceBindSuccess =>
'Binding request sent, waiting for the device to confirm';
@override
String get deviceBindTip =>
'The SN is usually on the label on the back of the device or in Settings - About.';
@override
String get scanTitle => 'Scan QR Code';
@override
String get scanHint =>
'Place the device QR code inside the frame to scan automatically';
@override
String get scanFromGallery => 'From Gallery';
@override
String get scanTorch => 'Flashlight';
@override
String get scanNoCodeFound => 'No QR code detected, please try again';
@override
String get scanPermissionDenied =>
'Cannot access the camera. Please enable permission in system settings';
@override
String get scanCameraError => 'Failed to start the camera. Please try again';
@override
String get scanOpenSettings => 'Open Settings';
@override
String get securityTitle => 'Account & Security';
@override
String get securityLoginDevices => 'Login Devices';
@override
String get securityLoginDevicesSub => 'View and manage signed-in terminals';
@override
String get securityChangePassword => 'Change Password';
@override
String get securityChangePasswordSub =>
'Changing regularly improves account security';
@override
String get securityChangeMobile => 'Change Phone';
@override
String get securityChangeMobileSub => 'Used for login and verification codes';
@override
String get securityWechat => 'WeChat Binding';
@override
String get securityWechatSub => 'Bind to enable quick WeChat login';
@override
String get loginDevicesTitle => 'Login Devices';
@override
String get loginDevicesEmpty => 'No login records yet';
@override
String get loginDevicesCurrent => 'This device';
@override
String get loginDevicesRevoke => 'Sign out';
@override
String get loginDevicesRevokeConfirm =>
'Sign this device out of your account?';
@override
String get loginDevicesRevokeSuccess => 'The device has been signed out';
@override
String get changePasswordTitle => 'Change Password';
@override
String get changePasswordOld => 'Current password';
@override
String get changePasswordNew => 'New password';
@override
String get changePasswordConfirmField => 'Confirm new password';
@override
String get changePasswordRule =>
'8-20 characters, with both letters and numbers';
@override
String get changePasswordMismatch => 'The new passwords do not match';
@override
String get changePasswordInvalid =>
'The new password does not meet the rules';
@override
String get changePasswordSuccess => 'Password changed successfully';
@override
String get changePasswordUseSms => 'Use SMS code';
@override
String get changePasswordSmsHint =>
'The code will be sent to the phone number bound to this account';
@override
String get changePasswordSmsCode => 'SMS code';
@override
String get changePasswordSendCode => 'Get code';
@override
String changePasswordResendIn(int seconds) {
return 'Resend in ${seconds}s';
}
@override
String get changePasswordOldEmpty => 'Please enter your current password';
@override
String get changePasswordCodeEmpty => 'Please enter the SMS code';
@override
String get changeMobileTitle => 'Change Phone';
@override
String get changeMobileCurrent => 'Current phone number';
@override
String get changeMobileNew => 'New phone number';
@override
String get changeMobileCode => 'Verification code';
@override
String get changeMobilePassword => 'Account password';
@override
String get changeMobileSendCode => 'Get code';
@override
String changeMobileResendIn(int seconds) {
return 'Resend in ${seconds}s';
}
@override
String get changeMobileInvalid => 'Please enter a valid phone number';
@override
String get changeMobileCodeEmpty => 'Please enter the verification code';
@override
String get changeMobilePasswordEmpty => 'Please enter your account password';
@override
String get changeMobileSuccess => 'Phone number changed successfully';
@override
String get wechatTitle => 'WeChat Binding';
@override
String get wechatBound => 'Bound';
@override
String get wechatUnbound => 'Not bound';
@override
String get wechatBind => 'Bind WeChat';
@override
String get wechatUnbind => 'Unbind';
@override
String get wechatUnbindConfirm =>
'After unbinding you cannot use quick WeChat login. Continue?';
@override
String get wechatBindSuccess => 'WeChat bound successfully';
@override
String get wechatUnbindSuccess => 'WeChat unbound';
@override
String get wechatSdkUnavailable =>
'WeChat login is unavailable, please try again later';
@override
String get commonConfirm => 'OK';
@override
String get commonCancel => 'Cancel';
@override
String get commonSave => 'Save';
@override
String get commonRetry => 'Retry';
@override
String get commonLoadFailed => 'Failed to load';
@override
String get albumLoadMore => 'Load more';
@override
String get featureUnsupported =>
'This feature is not supported on this platform yet';
@override
String get profileChangeAvatar => 'Change avatar';
@override
String get profileNicknameInvalid => 'Enter a nickname with 1–64 characters';
@override
String get profileSignatureInvalid =>
'Your signature must be 200 characters or fewer';
@override
String get profileAvatarTooLarge => 'Choose an avatar no larger than 5 MB';
@override
String get profileAvatarUnsupported => 'Choose a JPEG or PNG image';
}