import 'dart:async'; import 'package:flutter/foundation.dart'; import 'package:flutter/widgets.dart'; import 'package:flutter_localizations/flutter_localizations.dart'; import 'package:intl/intl.dart' as intl; import 'app_localizations_en.dart'; import 'app_localizations_zh.dart'; // ignore_for_file: type=lint /// Callers can lookup localized strings with an instance of AppLocalizations /// returned by `AppLocalizations.of(context)`. /// /// Applications need to include `AppLocalizations.delegate()` in their app's /// `localizationDelegates` list, and the locales they support in the app's /// `supportedLocales` list. For example: /// /// ```dart /// import 'l10n/app_localizations.dart'; /// /// return MaterialApp( /// localizationsDelegates: AppLocalizations.localizationsDelegates, /// supportedLocales: AppLocalizations.supportedLocales, /// home: MyApplicationHome(), /// ); /// ``` /// /// ## Update pubspec.yaml /// /// Please make sure to update your pubspec.yaml to include the following /// packages: /// /// ```yaml /// dependencies: /// # Internationalization support. /// flutter_localizations: /// sdk: flutter /// intl: any # Use the pinned version from flutter_localizations /// /// # Rest of dependencies /// ``` /// /// ## iOS Applications /// /// iOS applications define key application metadata, including supported /// locales, in an Info.plist file that is built into the application bundle. /// To configure the locales supported by your app, you’ll need to edit this /// file. /// /// First, open your project’s ios/Runner.xcworkspace Xcode workspace file. /// Then, in the Project Navigator, open the Info.plist file under the Runner /// project’s Runner folder. /// /// Next, select the Information Property List item, select Add Item from the /// Editor menu, then select Localizations from the pop-up menu. /// /// Select and expand the newly-created Localizations item then, for each /// locale your application supports, add a new item and select the locale /// you wish to add from the pop-up menu in the Value field. This list should /// be consistent with the languages listed in the AppLocalizations.supportedLocales /// property. abstract class AppLocalizations { AppLocalizations(String locale) : localeName = intl.Intl.canonicalizedLocale(locale.toString()); final String localeName; static AppLocalizations of(BuildContext context) { return Localizations.of(context, AppLocalizations)!; } static const LocalizationsDelegate delegate = _AppLocalizationsDelegate(); /// A list of this localizations delegate along with the default localizations /// delegates. /// /// Returns a list of localizations delegates containing this delegate along with /// GlobalMaterialLocalizations.delegate, GlobalCupertinoLocalizations.delegate, /// and GlobalWidgetsLocalizations.delegate. /// /// Additional delegates can be added by appending to this list in /// MaterialApp. This list does not have to be used at all if a custom list /// of delegates is preferred or required. static const List> localizationsDelegates = >[ delegate, GlobalMaterialLocalizations.delegate, GlobalCupertinoLocalizations.delegate, GlobalWidgetsLocalizations.delegate, ]; /// A list of this localizations delegate's supported locales. static const List supportedLocales = [ Locale('en'), Locale('zh'), Locale('zh', 'TW') ]; /// No description provided for @appTitle. /// /// In zh, this message translates to: /// **'我智能体'** String get appTitle; /// No description provided for @appSubtitle. /// /// In zh, this message translates to: /// **'服务器集群运维智能体'** String get appSubtitle; /// No description provided for @navHome. /// /// In zh, this message translates to: /// **'主页'** String get navHome; /// No description provided for @navMyAgents. /// /// In zh, this message translates to: /// **'我的智能体'** String get navMyAgents; /// No description provided for @navBilling. /// /// In zh, this message translates to: /// **'账单'** String get navBilling; /// No description provided for @navProfile. /// /// In zh, this message translates to: /// **'我'** String get navProfile; /// No description provided for @cancelButton. /// /// In zh, this message translates to: /// **'取消'** String get cancelButton; /// No description provided for @confirmButton. /// /// In zh, this message translates to: /// **'确认'** String get confirmButton; /// No description provided for @saveButton. /// /// In zh, this message translates to: /// **'保存'** String get saveButton; /// No description provided for @retryButton. /// /// In zh, this message translates to: /// **'重试'** String get retryButton; /// No description provided for @loadingLabel. /// /// In zh, this message translates to: /// **'加载中...'** String get loadingLabel; /// No description provided for @unknownLabel. /// /// In zh, this message translates to: /// **'未知'** String get unknownLabel; /// No description provided for @unnamedLabel. /// /// In zh, this message translates to: /// **'未命名'** String get unnamedLabel; /// No description provided for @homeGreeting. /// /// In zh, this message translates to: /// **'{greeting},{name}'** String homeGreeting(String greeting, String name); /// No description provided for @homeSubtitle. /// /// In zh, this message translates to: /// **'我智能体 随时为你服务'** String get homeSubtitle; /// No description provided for @greetingEarlyMorning. /// /// In zh, this message translates to: /// **'早上好'** String get greetingEarlyMorning; /// No description provided for @greetingNoon. /// /// In zh, this message translates to: /// **'中午好'** String get greetingNoon; /// No description provided for @greetingAfternoon. /// /// In zh, this message translates to: /// **'下午好'** String get greetingAfternoon; /// No description provided for @greetingEvening. /// /// In zh, this message translates to: /// **'晚上好'** String get greetingEvening; /// No description provided for @greetingLateNight. /// /// In zh, this message translates to: /// **'夜深了'** String get greetingLateNight; /// No description provided for @agentStatusIdle. /// /// In zh, this message translates to: /// **'空闲中'** String get agentStatusIdle; /// No description provided for @agentStatusThinking. /// /// In zh, this message translates to: /// **'正在思考...'** String get agentStatusThinking; /// No description provided for @agentStatusExecuting. /// /// In zh, this message translates to: /// **'执行指令中...'** String get agentStatusExecuting; /// No description provided for @agentStatusAwaitingApproval. /// /// In zh, this message translates to: /// **'等待审批'** String get agentStatusAwaitingApproval; /// No description provided for @agentStatusError. /// /// In zh, this message translates to: /// **'发生错误'** String get agentStatusError; /// No description provided for @officialAgentsSection. /// /// In zh, this message translates to: /// **'IT0 官方智能体'** String get officialAgentsSection; /// No description provided for @myAgentsSection. /// /// In zh, this message translates to: /// **'我的智能体'** String get myAgentsSection; /// No description provided for @officialBadge. /// /// In zh, this message translates to: /// **'官方'** String get officialBadge; /// No description provided for @officialAgent1Name. /// /// In zh, this message translates to: /// **'我智能体 运维助手'** String get officialAgent1Name; /// No description provided for @officialAgent1Desc. /// /// In zh, this message translates to: /// **'服务器管理、SSH 执行、日志分析'** String get officialAgent1Desc; /// No description provided for @officialAgent2Name. /// /// In zh, this message translates to: /// **'安全审计助手'** String get officialAgent2Name; /// No description provided for @officialAgent2Desc. /// /// In zh, this message translates to: /// **'漏洞扫描、权限审查、合规检查'** String get officialAgent2Desc; /// No description provided for @officialAgent3Name. /// /// In zh, this message translates to: /// **'数据库巡检'** String get officialAgent3Name; /// No description provided for @officialAgent3Desc. /// /// In zh, this message translates to: /// **'慢查询分析、索引优化、备份验证'** String get officialAgent3Desc; /// No description provided for @officialAgent4Name. /// /// In zh, this message translates to: /// **'日常办公助手'** String get officialAgent4Name; /// No description provided for @officialAgent4Desc. /// /// In zh, this message translates to: /// **'起草邮件、整理文档、安排会议、管理待办事项'** String get officialAgent4Desc; /// No description provided for @officialAgent5Name. /// /// In zh, this message translates to: /// **'在线客服智能体'** String get officialAgent5Name; /// No description provided for @officialAgent5Desc. /// /// In zh, this message translates to: /// **'7×24 小时自动回复、常见问题处理、工单与投诉转接'** String get officialAgent5Desc; /// No description provided for @officialAgent6Name. /// /// In zh, this message translates to: /// **'市场营销助手'** String get officialAgent6Name; /// No description provided for @officialAgent6Desc. /// /// In zh, this message translates to: /// **'文案撰写、社媒内容、营销策划、广告脚本生成'** String get officialAgent6Desc; /// No description provided for @officialAgent7Name. /// /// In zh, this message translates to: /// **'外语学习助手'** String get officialAgent7Name; /// No description provided for @officialAgent7Desc. /// /// In zh, this message translates to: /// **'对话练习、语法纠错、词汇积累、发音指导'** String get officialAgent7Desc; /// No description provided for @noOwnAgentsTitle. /// /// In zh, this message translates to: /// **'还没有自己的智能体'** String get noOwnAgentsTitle; /// No description provided for @noOwnAgentsDesc. /// /// In zh, this message translates to: /// **'点击下方机器人按钮,告诉 我智能体\n\"帮我招募一个 小龙虾 智能体\"'** String get noOwnAgentsDesc; /// No description provided for @quickTipsHeader. /// /// In zh, this message translates to: /// **'你可以这样说...'** String get quickTipsHeader; /// No description provided for @quickTip1. /// /// In zh, this message translates to: /// **'💬 \"帮我招募一个监控 GitHub Actions 的智能体\"'** String get quickTip1; /// No description provided for @quickTip2. /// /// In zh, this message translates to: /// **'🔧 \"把我的 小龙虾 配置导出为 JSON\"'** String get quickTip2; /// No description provided for @quickTip3. /// /// In zh, this message translates to: /// **'📊 \"分析我的服务器最近7天的负载情况\"'** String get quickTip3; /// No description provided for @quickTip4. /// /// In zh, this message translates to: /// **'🛡️ \"帮我设置每天凌晨2点自动备份数据库\"'** String get quickTip4; /// No description provided for @myAgentsTitle. /// /// In zh, this message translates to: /// **'我的智能体'** String get myAgentsTitle; /// No description provided for @myAgentsEmptyTitle. /// /// In zh, this message translates to: /// **'招募你的专属智能体'** String get myAgentsEmptyTitle; /// No description provided for @myAgentsEmptyDesc. /// /// In zh, this message translates to: /// **'通过与 我智能体 对话,你可以招募各种智能体:\n小龙虾 编程助手、运维机器人、数据分析师...'** String get myAgentsEmptyDesc; /// No description provided for @myAgentsStep1Title. /// /// In zh, this message translates to: /// **'点击下方机器人'** String get myAgentsStep1Title; /// No description provided for @myAgentsStep1Desc. /// /// In zh, this message translates to: /// **'打开与 我智能体 的对话窗口'** String get myAgentsStep1Desc; /// No description provided for @myAgentsStep2Title. /// /// In zh, this message translates to: /// **'描述你想要的智能体'** String get myAgentsStep2Title; /// No description provided for @myAgentsStep2Desc. /// /// In zh, this message translates to: /// **'例如:\"帮我招募一个 小龙虾 编程助手\"'** String get myAgentsStep2Desc; /// No description provided for @myAgentsStep3Title. /// /// In zh, this message translates to: /// **'我智能体 自动部署'** String get myAgentsStep3Title; /// No description provided for @myAgentsStep3Desc. /// /// In zh, this message translates to: /// **'部署完成后出现在这里,通过 Telegram/WhatsApp 等渠道与它对话'** String get myAgentsStep3Desc; /// No description provided for @myAgentsTemplatesHeader. /// /// In zh, this message translates to: /// **'热门模板(告诉 我智能体 你想要哪种)'** String get myAgentsTemplatesHeader; /// No description provided for @summaryTotal. /// /// In zh, this message translates to: /// **'总计 {count}'** String summaryTotal(int count); /// No description provided for @summaryRunning. /// /// In zh, this message translates to: /// **'运行中 {count}'** String summaryRunning(int count); /// No description provided for @summaryStopped. /// /// In zh, this message translates to: /// **'已停止 {count}'** String summaryStopped(int count); /// No description provided for @statusRunning. /// /// In zh, this message translates to: /// **'运行中'** String get statusRunning; /// No description provided for @statusDeploying. /// /// In zh, this message translates to: /// **'部署中'** String get statusDeploying; /// No description provided for @statusStopped. /// /// In zh, this message translates to: /// **'已停止'** String get statusStopped; /// No description provided for @statusError. /// /// In zh, this message translates to: /// **'错误'** String get statusError; /// No description provided for @dismissTitle. /// /// In zh, this message translates to: /// **'解聘智能体'** String get dismissTitle; /// No description provided for @dismissConfirmContent. /// /// In zh, this message translates to: /// **'确认要解聘「{name}」吗?\n\n解聘后将停止并删除该智能体容器,此操作不可撤销。'** String dismissConfirmContent(String name); /// No description provided for @dismissButton. /// /// In zh, this message translates to: /// **'解聘'** String get dismissButton; /// No description provided for @renameButton. /// /// In zh, this message translates to: /// **'重命名'** String get renameButton; /// No description provided for @renameTitle. /// /// In zh, this message translates to: /// **'重命名'** String get renameTitle; /// No description provided for @renameHint. /// /// In zh, this message translates to: /// **'输入新名称'** String get renameHint; /// No description provided for @dismissSuccessMessage. /// /// In zh, this message translates to: /// **'已解聘「{name}」'** String dismissSuccessMessage(String name); /// No description provided for @dismissErrorMessage. /// /// In zh, this message translates to: /// **'解聘失败:{error}'** String dismissErrorMessage(String error); /// No description provided for @renameSuccessMessage. /// /// In zh, this message translates to: /// **'重命名成功'** String get renameSuccessMessage; /// No description provided for @renameErrorMessage. /// /// In zh, this message translates to: /// **'重命名失败:{error}'** String renameErrorMessage(String error); /// No description provided for @loginPasswordTab. /// /// In zh, this message translates to: /// **'密码登录'** String get loginPasswordTab; /// No description provided for @loginOtpTab. /// /// In zh, this message translates to: /// **'验证码登录'** String get loginOtpTab; /// No description provided for @emailLabel. /// /// In zh, this message translates to: /// **'邮箱'** String get emailLabel; /// No description provided for @emailHint. /// /// In zh, this message translates to: /// **'user@example.com'** String get emailHint; /// No description provided for @emailRequiredError. /// /// In zh, this message translates to: /// **'请输入邮箱地址'** String get emailRequiredError; /// No description provided for @invalidEmailError. /// /// In zh, this message translates to: /// **'请输入有效的邮箱地址'** String get invalidEmailError; /// No description provided for @passwordLabel. /// /// In zh, this message translates to: /// **'密码'** String get passwordLabel; /// No description provided for @passwordRequiredError. /// /// In zh, this message translates to: /// **'请输入密码'** String get passwordRequiredError; /// No description provided for @phoneLabel. /// /// In zh, this message translates to: /// **'手机号'** String get phoneLabel; /// No description provided for @phoneHint. /// /// In zh, this message translates to: /// **'+86 138 0000 0000'** String get phoneHint; /// No description provided for @phoneRequiredError. /// /// In zh, this message translates to: /// **'请输入手机号'** String get phoneRequiredError; /// No description provided for @otpLabel. /// /// In zh, this message translates to: /// **'验证码'** String get otpLabel; /// No description provided for @otpHint. /// /// In zh, this message translates to: /// **'6 位数字'** String get otpHint; /// No description provided for @otpRequiredError. /// /// In zh, this message translates to: /// **'请输入验证码'** String get otpRequiredError; /// No description provided for @sendingLabel. /// /// In zh, this message translates to: /// **'发送中'** String get sendingLabel; /// No description provided for @getOtpButton. /// /// In zh, this message translates to: /// **'获取验证码'** String get getOtpButton; /// No description provided for @enterPhoneFirstError. /// /// In zh, this message translates to: /// **'请先输入手机号'** String get enterPhoneFirstError; /// No description provided for @loginButton. /// /// In zh, this message translates to: /// **'登录'** String get loginButton; /// No description provided for @accountCreationNote. /// /// In zh, this message translates to: /// **'账号由管理员在后台创建或通过邀请链接注册'** String get accountCreationNote; /// No description provided for @chatNewConversationTooltip. /// /// In zh, this message translates to: /// **'新对话'** String get chatNewConversationTooltip; /// No description provided for @chatStopTooltip. /// /// In zh, this message translates to: /// **'停止'** String get chatStopTooltip; /// No description provided for @chatVoiceCallTooltip. /// /// In zh, this message translates to: /// **'语音通话'** String get chatVoiceCallTooltip; /// No description provided for @chatSelectFromAlbum. /// /// In zh, this message translates to: /// **'从相册选择'** String get chatSelectFromAlbum; /// No description provided for @chatMultiSelectSupport. /// /// In zh, this message translates to: /// **'支持多选'** String get chatMultiSelectSupport; /// No description provided for @chatTakePhoto. /// /// In zh, this message translates to: /// **'拍照'** String get chatTakePhoto; /// No description provided for @chatSelectFile. /// /// In zh, this message translates to: /// **'选择文件'** String get chatSelectFile; /// No description provided for @chatImagesPdfLabel. /// /// In zh, this message translates to: /// **'图片、PDF'** String get chatImagesPdfLabel; /// No description provided for @chatThinkingLabel. /// /// In zh, this message translates to: /// **'思考中...'** String get chatThinkingLabel; /// No description provided for @chatNeedsApprovalLabel. /// /// In zh, this message translates to: /// **'需要审批'** String get chatNeedsApprovalLabel; /// No description provided for @chatExecutionFailedLabel. /// /// In zh, this message translates to: /// **'执行失败'** String get chatExecutionFailedLabel; /// No description provided for @chatExecutionResultLabel. /// /// In zh, this message translates to: /// **'执行结果'** String get chatExecutionResultLabel; /// No description provided for @chatStandingOrderDraftLabel. /// /// In zh, this message translates to: /// **'常驻指令草案'** String get chatStandingOrderDraftLabel; /// No description provided for @chatProcessingLabel. /// /// In zh, this message translates to: /// **'处理中...'** String get chatProcessingLabel; /// No description provided for @chatReplyingLabel. /// /// In zh, this message translates to: /// **'回复中...'** String get chatReplyingLabel; /// No description provided for @chatReplyLabel. /// /// In zh, this message translates to: /// **'回复'** String get chatReplyLabel; /// No description provided for @chatStartConversationPrompt. /// /// In zh, this message translates to: /// **'开始与 我智能体 对话'** String get chatStartConversationPrompt; /// No description provided for @chatInputInstructionHint. /// /// In zh, this message translates to: /// **'输入指令或拨打语音通话'** String get chatInputInstructionHint; /// No description provided for @chatAdditionalInstructionHint. /// /// In zh, this message translates to: /// **'追加指令...'** String get chatAdditionalInstructionHint; /// No description provided for @chatInstructionHint. /// /// In zh, this message translates to: /// **'输入指令...'** String get chatInstructionHint; /// No description provided for @chatAddImageTooltip. /// /// In zh, this message translates to: /// **'添加图片'** String get chatAddImageTooltip; /// No description provided for @chatInjectionTooltip. /// /// In zh, this message translates to: /// **'追加指令'** String get chatInjectionTooltip; /// No description provided for @chatCollapseLabel. /// /// In zh, this message translates to: /// **'收起'** String get chatCollapseLabel; /// No description provided for @chatExpandLabel. /// /// In zh, this message translates to: /// **'展开 ({lineCount} 行)'** String chatExpandLabel(int lineCount); /// No description provided for @chatRecognizingLabel. /// /// In zh, this message translates to: /// **'识别中…'** String get chatRecognizingLabel; /// No description provided for @chatSpeechRecognitionError. /// /// In zh, this message translates to: /// **'语音识别失败,请重试'** String get chatSpeechRecognitionError; /// No description provided for @chatTargetsLabel. /// /// In zh, this message translates to: /// **'目标: '** String get chatTargetsLabel; /// No description provided for @agentCallVoiceCallTitle. /// /// In zh, this message translates to: /// **'语音通话'** String get agentCallVoiceCallTitle; /// No description provided for @agentCallRingingStatus. /// /// In zh, this message translates to: /// **'我智能体 语音通话'** String get agentCallRingingStatus; /// No description provided for @agentCallActiveStatus. /// /// In zh, this message translates to: /// **'我智能体'** String get agentCallActiveStatus; /// No description provided for @agentCallConnectingStatus. /// /// In zh, this message translates to: /// **'连接中...'** String get agentCallConnectingStatus; /// No description provided for @agentCallEndedStatus. /// /// In zh, this message translates to: /// **'通话结束'** String get agentCallEndedStatus; /// No description provided for @agentCallThinking. /// /// In zh, this message translates to: /// **'思考中...'** String get agentCallThinking; /// No description provided for @terminalTitle. /// /// In zh, this message translates to: /// **'远程终端'** String get terminalTitle; /// No description provided for @terminalInitMessage. /// /// In zh, this message translates to: /// **'我智能体 远程终端'** String get terminalInitMessage; /// No description provided for @terminalSelectServerMessage. /// /// In zh, this message translates to: /// **'请选择服务器并点击连接。'** String get terminalSelectServerMessage; /// No description provided for @terminalSelectServerFirst. /// /// In zh, this message translates to: /// **'请先选择服务器'** String get terminalSelectServerFirst; /// No description provided for @terminalConnectingMessage. /// /// In zh, this message translates to: /// **'正在连接服务器'** String get terminalConnectingMessage; /// No description provided for @terminalConnectedLabel. /// /// In zh, this message translates to: /// **'已连接'** String get terminalConnectedLabel; /// No description provided for @terminalConnectingLabel. /// /// In zh, this message translates to: /// **'连接中...'** String get terminalConnectingLabel; /// No description provided for @terminalDisconnectedLabel. /// /// In zh, this message translates to: /// **'未连接'** String get terminalDisconnectedLabel; /// No description provided for @terminalSelectServerHint. /// /// In zh, this message translates to: /// **'选择服务器...'** String get terminalSelectServerHint; /// No description provided for @terminalNoAvailableServers. /// /// In zh, this message translates to: /// **'暂无可用服务器'** String get terminalNoAvailableServers; /// No description provided for @terminalLoadServersError. /// /// In zh, this message translates to: /// **'加载服务器失败'** String get terminalLoadServersError; /// No description provided for @terminalConnectButton. /// /// In zh, this message translates to: /// **'连接'** String get terminalConnectButton; /// No description provided for @terminalDisconnectButton. /// /// In zh, this message translates to: /// **'断开'** String get terminalDisconnectButton; /// No description provided for @terminalDisconnectMessage. /// /// In zh, this message translates to: /// **'已断开连接'** String get terminalDisconnectMessage; /// No description provided for @tasksPageTitle. /// /// In zh, this message translates to: /// **'任务'** String get tasksPageTitle; /// No description provided for @opsTasksTab. /// /// In zh, this message translates to: /// **'运维任务'** String get opsTasksTab; /// No description provided for @standingOrdersTab. /// /// In zh, this message translates to: /// **'常驻指令'** String get standingOrdersTab; /// No description provided for @noTasksTitle. /// /// In zh, this message translates to: /// **'暂无任务'** String get noTasksTitle; /// No description provided for @createNewTaskHint. /// /// In zh, this message translates to: /// **'点击 + 创建新任务'** String get createNewTaskHint; /// No description provided for @noStandingOrdersTitle. /// /// In zh, this message translates to: /// **'暂无常驻指令'** String get noStandingOrdersTitle; /// No description provided for @standingOrdersHint. /// /// In zh, this message translates to: /// **'通过 我智能体 对话新增常驻指令'** String get standingOrdersHint; /// No description provided for @createTaskTitle. /// /// In zh, this message translates to: /// **'新建任务'** String get createTaskTitle; /// No description provided for @taskTitleLabel. /// /// In zh, this message translates to: /// **'标题'** String get taskTitleLabel; /// No description provided for @taskTitleHint. /// /// In zh, this message translates to: /// **'例如: 重启 web-01 的 nginx'** String get taskTitleHint; /// No description provided for @taskDescriptionLabel. /// /// In zh, this message translates to: /// **'描述'** String get taskDescriptionLabel; /// No description provided for @taskDescriptionHint. /// /// In zh, this message translates to: /// **'可选详情...'** String get taskDescriptionHint; /// No description provided for @taskPriorityLabel. /// /// In zh, this message translates to: /// **'优先级'** String get taskPriorityLabel; /// No description provided for @taskServerOptionalLabel. /// /// In zh, this message translates to: /// **'服务器(可选)'** String get taskServerOptionalLabel; /// No description provided for @taskNoServerSelection. /// /// In zh, this message translates to: /// **'不指定'** String get taskNoServerSelection; /// No description provided for @createTaskButton. /// /// In zh, this message translates to: /// **'创建任务'** String get createTaskButton; /// No description provided for @createTaskError. /// /// In zh, this message translates to: /// **'创建任务失败: {error}'** String createTaskError(String error); /// No description provided for @notificationInboxTitle. /// /// In zh, this message translates to: /// **'站内消息'** String get notificationInboxTitle; /// No description provided for @notificationMarkAllRead. /// /// In zh, this message translates to: /// **'全部已读'** String get notificationMarkAllRead; /// No description provided for @notificationLoadingFailed. /// /// In zh, this message translates to: /// **'加载失败'** String get notificationLoadingFailed; /// No description provided for @noMessagesTitle. /// /// In zh, this message translates to: /// **'暂无消息'** String get noMessagesTitle; /// No description provided for @operationFailedError. /// /// In zh, this message translates to: /// **'操作失败,请重试'** String get operationFailedError; /// No description provided for @linkLabel. /// /// In zh, this message translates to: /// **'链接:'** String get linkLabel; /// No description provided for @notificationPreferencesTitle. /// /// In zh, this message translates to: /// **'通知偏好设置'** String get notificationPreferencesTitle; /// No description provided for @noNotificationChannels. /// /// In zh, this message translates to: /// **'暂无可配置的通知频道'** String get noNotificationChannels; /// No description provided for @notificationPreferencesInfo. /// /// In zh, this message translates to: /// **'您可以选择接收哪些类型的通知。强制通知(如安全告警)无法关闭。'** String get notificationPreferencesInfo; /// No description provided for @mandatoryNotificationsSection. /// /// In zh, this message translates to: /// **'重要通知(不可关闭)'** String get mandatoryNotificationsSection; /// No description provided for @optionalNotificationsSection. /// /// In zh, this message translates to: /// **'可选通知'** String get optionalNotificationsSection; /// No description provided for @savePreferencesButton. /// /// In zh, this message translates to: /// **'保存偏好设置'** String get savePreferencesButton; /// No description provided for @requiredLabel. /// /// In zh, this message translates to: /// **'必需'** String get requiredLabel; /// No description provided for @preferencesSavedMessage. /// /// In zh, this message translates to: /// **'通知偏好已保存'** String get preferencesSavedMessage; /// No description provided for @saveFailedMessage. /// /// In zh, this message translates to: /// **'保存失败: {error}'** String saveFailedMessage(String error); /// No description provided for @referralScreenTitle. /// /// In zh, this message translates to: /// **'邀请有礼'** String get referralScreenTitle; /// No description provided for @yourReferralCodeLabel. /// /// In zh, this message translates to: /// **'你的推荐码'** String get yourReferralCodeLabel; /// No description provided for @copyReferralCodeTooltip. /// /// In zh, this message translates to: /// **'复制推荐码'** String get copyReferralCodeTooltip; /// No description provided for @copyInviteLinkButton. /// /// In zh, this message translates to: /// **'复制邀请链接'** String get copyInviteLinkButton; /// No description provided for @shareButton. /// /// In zh, this message translates to: /// **'分享'** String get shareButton; /// No description provided for @copiedToClipboard. /// /// In zh, this message translates to: /// **'已复制到剪贴板'** String get copiedToClipboard; /// No description provided for @referralRecordsSection. /// /// In zh, this message translates to: /// **'推荐记录'** String get referralRecordsSection; /// No description provided for @viewAllReferralsLink. /// /// In zh, this message translates to: /// **'查看全部 >'** String get viewAllReferralsLink; /// No description provided for @pendingRewardsSection. /// /// In zh, this message translates to: /// **'待领积分'** String get pendingRewardsSection; /// No description provided for @viewAllRewardsLink. /// /// In zh, this message translates to: /// **'查看全部 >'** String get viewAllRewardsLink; /// No description provided for @referredLabel. /// /// In zh, this message translates to: /// **'已推荐'** String get referredLabel; /// No description provided for @peopleUnit. /// /// In zh, this message translates to: /// **'人'** String get peopleUnit; /// No description provided for @activatedLabel. /// /// In zh, this message translates to: /// **'已激活'** String get activatedLabel; /// No description provided for @pendingCreditsLabel. /// /// In zh, this message translates to: /// **'待领积分'** String get pendingCreditsLabel; /// No description provided for @rewardRulesTitle. /// /// In zh, this message translates to: /// **'奖励规则'** String get rewardRulesTitle; /// No description provided for @proReferralReward. /// /// In zh, this message translates to: /// **'推荐 Pro 套餐:你获得 \$15 积分,对方获得 \$5 积分'** String get proReferralReward; /// No description provided for @enterpriseReferralReward. /// /// In zh, this message translates to: /// **'推荐 Enterprise 套餐:你获得 \$50 积分,对方获得 \$20 积分'** String get enterpriseReferralReward; /// No description provided for @renewalBonusReward. /// /// In zh, this message translates to: /// **'对方续订后,你持续获得每月付款额 10% 的积分,最长 12 个月'** String get renewalBonusReward; /// No description provided for @creditDeductionNote. /// /// In zh, this message translates to: /// **'积分自动抵扣你的下期账单'** String get creditDeductionNote; /// No description provided for @noReferralsMessage. /// /// In zh, this message translates to: /// **'暂无推荐记录,分享推荐码邀请好友吧'** String get noReferralsMessage; /// No description provided for @pendingPaymentStatus. /// /// In zh, this message translates to: /// **'待付款'** String get pendingPaymentStatus; /// No description provided for @activeStatus. /// /// In zh, this message translates to: /// **'已激活'** String get activeStatus; /// No description provided for @rewardedStatus. /// /// In zh, this message translates to: /// **'已奖励'** String get rewardedStatus; /// No description provided for @expiredStatus. /// /// In zh, this message translates to: /// **'已过期'** String get expiredStatus; /// No description provided for @registeredAt. /// /// In zh, this message translates to: /// **'注册于'** String get registeredAt; /// No description provided for @noPendingRewardsMessage. /// /// In zh, this message translates to: /// **'暂无待领积分'** String get noPendingRewardsMessage; /// No description provided for @noReferralRecordsMessage. /// /// In zh, this message translates to: /// **'暂无推荐记录'** String get noReferralRecordsMessage; /// No description provided for @noRewardRecordsMessage. /// /// In zh, this message translates to: /// **'暂无奖励记录'** String get noRewardRecordsMessage; /// No description provided for @pendingDeductionStatus. /// /// In zh, this message translates to: /// **'待抵扣'** String get pendingDeductionStatus; /// No description provided for @billingTitle. /// /// In zh, this message translates to: /// **'订阅与用量'** String get billingTitle; /// No description provided for @upgradeButton. /// /// In zh, this message translates to: /// **'升级套餐'** String get upgradeButton; /// No description provided for @upgradeDialogTitle. /// /// In zh, this message translates to: /// **'升级套餐'** String get upgradeDialogTitle; /// No description provided for @upgradeDialogMessage. /// /// In zh, this message translates to: /// **'请前往 Web 管理后台 → 账单 → 套餐 完成升级。'** String get upgradeDialogMessage; /// No description provided for @acknowledgeButton. /// /// In zh, this message translates to: /// **'知道了'** String get acknowledgeButton; /// No description provided for @currentPlanLabel. /// /// In zh, this message translates to: /// **'当前套餐'** String get currentPlanLabel; /// No description provided for @periodEndLabel. /// /// In zh, this message translates to: /// **'当期结束:'** String get periodEndLabel; /// No description provided for @tokenUsageLabel. /// /// In zh, this message translates to: /// **'本月 Token 用量'** String get tokenUsageLabel; /// No description provided for @unlimitedLabel. /// /// In zh, this message translates to: /// **'不限量'** String get unlimitedLabel; /// No description provided for @billingStatusActive. /// /// In zh, this message translates to: /// **'正常'** String get billingStatusActive; /// No description provided for @billingStatusTrialing. /// /// In zh, this message translates to: /// **'试用期'** String get billingStatusTrialing; /// No description provided for @billingStatusPastDue. /// /// In zh, this message translates to: /// **'待付款'** String get billingStatusPastDue; /// No description provided for @billingStatusCancelled. /// /// In zh, this message translates to: /// **'已取消'** String get billingStatusCancelled; /// No description provided for @billingStatusExpired. /// /// In zh, this message translates to: /// **'已过期'** String get billingStatusExpired; /// No description provided for @invoicePaidStatus. /// /// In zh, this message translates to: /// **'已付款'** String get invoicePaidStatus; /// No description provided for @invoiceUnpaidStatus. /// /// In zh, this message translates to: /// **'待付款'** String get invoiceUnpaidStatus; /// No description provided for @serversPageTitle. /// /// In zh, this message translates to: /// **'服务器'** String get serversPageTitle; /// No description provided for @noServersTitle. /// /// In zh, this message translates to: /// **'未找到服务器'** String get noServersTitle; /// No description provided for @noServersFiltered. /// /// In zh, this message translates to: /// **'没有匹配当前筛选条件的服务器'** String get noServersFiltered; /// No description provided for @allEnvironments. /// /// In zh, this message translates to: /// **'全部'** String get allEnvironments; /// No description provided for @ipAddressLabel. /// /// In zh, this message translates to: /// **'IP 地址'** String get ipAddressLabel; /// No description provided for @osLabel. /// /// In zh, this message translates to: /// **'操作系统'** String get osLabel; /// No description provided for @cpuLabel. /// /// In zh, this message translates to: /// **'CPU'** String get cpuLabel; /// No description provided for @memoryLabel. /// /// In zh, this message translates to: /// **'内存'** String get memoryLabel; /// No description provided for @regionLabel. /// /// In zh, this message translates to: /// **'区域'** String get regionLabel; /// No description provided for @cloudProviderLabel. /// /// In zh, this message translates to: /// **'云厂商'** String get cloudProviderLabel; /// No description provided for @createdAtLabel. /// /// In zh, this message translates to: /// **'创建时间'** String get createdAtLabel; /// No description provided for @standingOrdersPageTitle. /// /// In zh, this message translates to: /// **'常驻指令'** String get standingOrdersPageTitle; /// No description provided for @standingOrdersEmptyHint. /// /// In zh, this message translates to: /// **'配置后常驻指令将显示在此处'** String get standingOrdersEmptyHint; /// No description provided for @executionHistoryLabel. /// /// In zh, this message translates to: /// **'执行历史 ({count})'** String executionHistoryLabel(int count); /// No description provided for @unnamedOrderName. /// /// In zh, this message translates to: /// **'未命名指令'** String get unnamedOrderName; /// No description provided for @neverExecuted. /// /// In zh, this message translates to: /// **'从未执行'** String get neverExecuted; /// No description provided for @updateStatusError. /// /// In zh, this message translates to: /// **'更新状态失败: {error}'** String updateStatusError(String error); /// No description provided for @settingsPageTitle. /// /// In zh, this message translates to: /// **'设置'** String get settingsPageTitle; /// No description provided for @appearanceThemeLabel. /// /// In zh, this message translates to: /// **'外观主题'** String get appearanceThemeLabel; /// No description provided for @languageLabel. /// /// In zh, this message translates to: /// **'语言'** String get languageLabel; /// No description provided for @languageZh. /// /// In zh, this message translates to: /// **'简体中文'** String get languageZh; /// No description provided for @languageZhTW. /// /// In zh, this message translates to: /// **'繁體中文'** String get languageZhTW; /// No description provided for @languageEn. /// /// In zh, this message translates to: /// **'English'** String get languageEn; /// No description provided for @languageAuto. /// /// In zh, this message translates to: /// **'自动(跟随系统)'** String get languageAuto; /// No description provided for @referralTabTenant. /// /// In zh, this message translates to: /// **'企业推荐'** String get referralTabTenant; /// No description provided for @referralTabPersonal. /// /// In zh, this message translates to: /// **'我的圈子'** String get referralTabPersonal; /// No description provided for @loadFailed. /// /// In zh, this message translates to: /// **'加载失败'** String get loadFailed; /// No description provided for @myPersonalInviteCode. /// /// In zh, this message translates to: /// **'我的个人邀请码'** String get myPersonalInviteCode; /// No description provided for @pointsBalanceTitle. /// /// In zh, this message translates to: /// **'积分余额'** String get pointsBalanceTitle; /// No description provided for @currentBalanceLabel. /// /// In zh, this message translates to: /// **'当前余额'** String get currentBalanceLabel; /// No description provided for @circleMembersCountLabel. /// /// In zh, this message translates to: /// **'圈子成员'** String get circleMembersCountLabel; /// No description provided for @totalEarnedLabel. /// /// In zh, this message translates to: /// **'累计获得'** String get totalEarnedLabel; /// No description provided for @circleRewardRulesTitle. /// /// In zh, this message translates to: /// **'圈子奖励规则'** String get circleRewardRulesTitle; /// No description provided for @circleRule1. /// /// In zh, this message translates to: /// **'新成员加入你的圈子,你和对方各获 200 积分欢迎礼'** String get circleRule1; /// No description provided for @circleRule2. /// /// In zh, this message translates to: /// **'圈子成员订阅 Pro 时,你获 1500 pts,对方获 500 pts'** String get circleRule2; /// No description provided for @circleRule3. /// /// In zh, this message translates to: /// **'圈子成员订阅 Enterprise 时,你获 5000 pts,对方获 2000 pts'** String get circleRule3; /// No description provided for @circleRule4. /// /// In zh, this message translates to: /// **'每月续订时你持续获得付款额 10% 的积分,最长 12 个月'** String get circleRule4; /// No description provided for @circleRule5. /// /// In zh, this message translates to: /// **'二级圈子续订,你获 5% 积分,最长 6 个月'** String get circleRule5; /// No description provided for @circleRule6. /// /// In zh, this message translates to: /// **'积分可兑换额外使用配额或解锁智能体'** String get circleRule6; /// No description provided for @myCircleMembersSection. /// /// In zh, this message translates to: /// **'我的圈子成员'** String get myCircleMembersSection; /// No description provided for @pointsHistorySection. /// /// In zh, this message translates to: /// **'积分记录'** String get pointsHistorySection; /// No description provided for @noCircleMembersMessage. /// /// In zh, this message translates to: /// **'暂无圈子成员,快去邀请好友吧!'** String get noCircleMembersMessage; /// No description provided for @noPointsHistoryMessage. /// /// In zh, this message translates to: /// **'暂无积分记录'** String get noPointsHistoryMessage; /// No description provided for @activatedStatus. /// /// In zh, this message translates to: /// **'已激活'** String get activatedStatus; /// No description provided for @joinedAtLabel. /// /// In zh, this message translates to: /// **'加入于'** String get joinedAtLabel; /// No description provided for @viewAllButton. /// /// In zh, this message translates to: /// **'查看全部'** String get viewAllButton; /// No description provided for @rewardHistoryPageTitle. /// /// In zh, this message translates to: /// **'奖励历史'** String get rewardHistoryPageTitle; /// No description provided for @noRewardsHistoryMessage. /// /// In zh, this message translates to: /// **'暂无奖励记录'** String get noRewardsHistoryMessage; /// No description provided for @creditDeductionReward. /// /// In zh, this message translates to: /// **'积分自动抵扣你的下期账单'** String get creditDeductionReward; /// No description provided for @selectLanguageTitle. /// /// In zh, this message translates to: /// **'选择语言'** String get selectLanguageTitle; /// No description provided for @pushNotificationsLabel. /// /// In zh, this message translates to: /// **'推送通知'** String get pushNotificationsLabel; /// No description provided for @soundLabel. /// /// In zh, this message translates to: /// **'提示音'** String get soundLabel; /// No description provided for @hapticFeedbackLabel. /// /// In zh, this message translates to: /// **'震动反馈'** String get hapticFeedbackLabel; /// No description provided for @conversationEngineLabel. /// /// In zh, this message translates to: /// **'对话引擎'** String get conversationEngineLabel; /// No description provided for @ttsVoiceLabel. /// /// In zh, this message translates to: /// **'语音音色'** String get ttsVoiceLabel; /// No description provided for @ttsStyleLabel. /// /// In zh, this message translates to: /// **'语音风格'** String get ttsStyleLabel; /// No description provided for @subscriptionLabel. /// /// In zh, this message translates to: /// **'订阅与用量'** String get subscriptionLabel; /// No description provided for @changePasswordLabel. /// /// In zh, this message translates to: /// **'修改密码'** String get changePasswordLabel; /// No description provided for @versionLabel. /// /// In zh, this message translates to: /// **'版本'** String get versionLabel; /// No description provided for @checkUpdateLabel. /// /// In zh, this message translates to: /// **'检查更新'** String get checkUpdateLabel; /// No description provided for @tenantLabel. /// /// In zh, this message translates to: /// **'租户'** String get tenantLabel; /// No description provided for @logoutButton. /// /// In zh, this message translates to: /// **'退出登录'** String get logoutButton; /// No description provided for @selectThemeTitle. /// /// In zh, this message translates to: /// **'选择主题'** String get selectThemeTitle; /// No description provided for @darkModeLabel. /// /// In zh, this message translates to: /// **'深色模式'** String get darkModeLabel; /// No description provided for @lightModeLabel. /// /// In zh, this message translates to: /// **'浅色模式'** String get lightModeLabel; /// No description provided for @followSystemLabel. /// /// In zh, this message translates to: /// **'跟随系统'** String get followSystemLabel; /// No description provided for @selectVoiceTitle. /// /// In zh, this message translates to: /// **'选择语音音色'** String get selectVoiceTitle; /// No description provided for @voiceCoralDesc. /// /// In zh, this message translates to: /// **'女 · 温暖'** String get voiceCoralDesc; /// No description provided for @voiceNovaDesc. /// /// In zh, this message translates to: /// **'女 · 活泼'** String get voiceNovaDesc; /// No description provided for @voiceSageDesc. /// /// In zh, this message translates to: /// **'女 · 知性'** String get voiceSageDesc; /// No description provided for @voiceShimmerDesc. /// /// In zh, this message translates to: /// **'女 · 柔和'** String get voiceShimmerDesc; /// No description provided for @voiceMarinDesc. /// /// In zh, this message translates to: /// **'女 · 清澈'** String get voiceMarinDesc; /// No description provided for @voiceAshDesc. /// /// In zh, this message translates to: /// **'男 · 沉稳'** String get voiceAshDesc; /// No description provided for @voiceEchoDesc. /// /// In zh, this message translates to: /// **'男 · 清朗'** String get voiceEchoDesc; /// No description provided for @voiceOnyxDesc. /// /// In zh, this message translates to: /// **'男 · 低沉'** String get voiceOnyxDesc; /// No description provided for @voiceVerseDesc. /// /// In zh, this message translates to: /// **'男 · 磁性'** String get voiceVerseDesc; /// No description provided for @voiceBalladDesc. /// /// In zh, this message translates to: /// **'男 · 浑厚'** String get voiceBalladDesc; /// No description provided for @voiceCedarDesc. /// /// In zh, this message translates to: /// **'男 · 自然'** String get voiceCedarDesc; /// No description provided for @voiceAlloyDesc. /// /// In zh, this message translates to: /// **'中性'** String get voiceAlloyDesc; /// No description provided for @voiceFableDesc. /// /// In zh, this message translates to: /// **'中性 · 叙事'** String get voiceFableDesc; /// No description provided for @selectEngineTitle. /// /// In zh, this message translates to: /// **'选择对话引擎'** String get selectEngineTitle; /// No description provided for @agentSdkDesc. /// /// In zh, this message translates to: /// **'支持工具审批、技能注入、会话恢复'** String get agentSdkDesc; /// No description provided for @claudeApiDesc. /// /// In zh, this message translates to: /// **'直连 API,响应更快'** String get claudeApiDesc; /// No description provided for @selectStyleTitle. /// /// In zh, this message translates to: /// **'选择语音风格'** String get selectStyleTitle; /// No description provided for @defaultStyleLabel. /// /// In zh, this message translates to: /// **'默认'** String get defaultStyleLabel; /// No description provided for @customStyleLabel. /// /// In zh, this message translates to: /// **'自定义风格'** String get customStyleLabel; /// No description provided for @customStyleHint. /// /// In zh, this message translates to: /// **'例如:用东北话说话,幽默风趣'** String get customStyleHint; /// No description provided for @resetToDefaultButton. /// /// In zh, this message translates to: /// **'恢复默认'** String get resetToDefaultButton; /// No description provided for @styleProfessionalName. /// /// In zh, this message translates to: /// **'专业干练'** String get styleProfessionalName; /// No description provided for @styleProfessionalDesc. /// /// In zh, this message translates to: /// **'用专业、简洁、干练的语气说话,不拖泥带水。'** String get styleProfessionalDesc; /// No description provided for @styleGentleName. /// /// In zh, this message translates to: /// **'温柔耐心'** String get styleGentleName; /// No description provided for @styleGentleDesc. /// /// In zh, this message translates to: /// **'用温柔、耐心的语气说话,像一个贴心的朋友。'** String get styleGentleDesc; /// No description provided for @styleRelaxedName. /// /// In zh, this message translates to: /// **'轻松活泼'** String get styleRelaxedName; /// No description provided for @styleRelaxedDesc. /// /// In zh, this message translates to: /// **'用轻松、活泼的语气说话,带一点幽默感。'** String get styleRelaxedDesc; /// No description provided for @styleFormalName. /// /// In zh, this message translates to: /// **'严肃正式'** String get styleFormalName; /// No description provided for @styleFormalDesc. /// /// In zh, this message translates to: /// **'用严肃、正式的语气说话,像在正式会议中发言。'** String get styleFormalDesc; /// No description provided for @styleScifiName. /// /// In zh, this message translates to: /// **'科幻AI'** String get styleScifiName; /// No description provided for @styleScifiDesc. /// /// In zh, this message translates to: /// **'用科幻电影中AI的语气说话,冷静、理性、略带未来感。'** String get styleScifiDesc; /// No description provided for @editNameDialogTitle. /// /// In zh, this message translates to: /// **'修改显示名称'** String get editNameDialogTitle; /// No description provided for @displayNameLabel. /// /// In zh, this message translates to: /// **'显示名称'** String get displayNameLabel; /// No description provided for @displayNameHint. /// /// In zh, this message translates to: /// **'输入新的显示名称'** String get displayNameHint; /// No description provided for @changePasswordTitle. /// /// In zh, this message translates to: /// **'修改密码'** String get changePasswordTitle; /// No description provided for @currentPasswordLabel. /// /// In zh, this message translates to: /// **'当前密码'** String get currentPasswordLabel; /// No description provided for @newPasswordLabel. /// /// In zh, this message translates to: /// **'新密码'** String get newPasswordLabel; /// No description provided for @confirmPasswordLabel. /// /// In zh, this message translates to: /// **'确认新密码'** String get confirmPasswordLabel; /// No description provided for @passwordMismatchError. /// /// In zh, this message translates to: /// **'两次输入的密码不一致'** String get passwordMismatchError; /// No description provided for @passwordMinLengthError. /// /// In zh, this message translates to: /// **'新密码至少6个字符'** String get passwordMinLengthError; /// No description provided for @confirmChangeButton. /// /// In zh, this message translates to: /// **'确认修改'** String get confirmChangeButton; /// No description provided for @passwordChangedMessage. /// /// In zh, this message translates to: /// **'密码已修改'** String get passwordChangedMessage; /// No description provided for @nameUpdatedMessage. /// /// In zh, this message translates to: /// **'名称已更新'** String get nameUpdatedMessage; /// No description provided for @updateFailedMessage. /// /// In zh, this message translates to: /// **'更新失败'** String get updateFailedMessage; /// No description provided for @changeFailedMessage. /// /// In zh, this message translates to: /// **'修改失败'** String get changeFailedMessage; /// No description provided for @logoutDialogTitle. /// /// In zh, this message translates to: /// **'退出登录'** String get logoutDialogTitle; /// No description provided for @logoutConfirmMessage. /// /// In zh, this message translates to: /// **'确定要退出登录吗?'** String get logoutConfirmMessage; /// No description provided for @logoutConfirmButton. /// /// In zh, this message translates to: /// **'退出'** String get logoutConfirmButton; /// No description provided for @profileSubscriptionLabel. /// /// In zh, this message translates to: /// **'订阅套餐与用量'** String get profileSubscriptionLabel; /// No description provided for @profileFreePlanLabel. /// /// In zh, this message translates to: /// **'Free'** String get profileFreePlanLabel; /// No description provided for @profileReferralLabel. /// /// In zh, this message translates to: /// **'邀请有礼'** String get profileReferralLabel; /// No description provided for @profileReferralHint. /// /// In zh, this message translates to: /// **'推荐赚积分'** String get profileReferralHint; /// No description provided for @profileInSiteMessagesLabel. /// /// In zh, this message translates to: /// **'站内消息'** String get profileInSiteMessagesLabel; /// No description provided for @profileViewMessagesLabel. /// /// In zh, this message translates to: /// **'查看消息'** String get profileViewMessagesLabel; /// No description provided for @errorNetworkError. /// /// In zh, this message translates to: /// **'无法连接到服务器,请检查网络'** String get errorNetworkError; /// No description provided for @errorDataFormat. /// /// In zh, this message translates to: /// **'数据格式异常'** String get errorDataFormat; /// No description provided for @errorUnknown. /// /// In zh, this message translates to: /// **'发生未知错误'** String get errorUnknown; /// No description provided for @errorConnectionTimeout. /// /// In zh, this message translates to: /// **'连接超时,服务器无响应'** String get errorConnectionTimeout; /// No description provided for @errorSendTimeout. /// /// In zh, this message translates to: /// **'发送请求超时,请检查网络'** String get errorSendTimeout; /// No description provided for @errorReceiveTimeout. /// /// In zh, this message translates to: /// **'等待响应超时,请稍后重试'** String get errorReceiveTimeout; /// No description provided for @errorBadCertificate. /// /// In zh, this message translates to: /// **'安全证书验证失败'** String get errorBadCertificate; /// No description provided for @errorRequestCancelled. /// /// In zh, this message translates to: /// **'请求已取消'** String get errorRequestCancelled; /// No description provided for @errorBadRequest. /// /// In zh, this message translates to: /// **'请求参数错误'** String get errorBadRequest; /// No description provided for @errorPermissionDenied. /// /// In zh, this message translates to: /// **'没有权限执行此操作'** String get errorPermissionDenied; /// No description provided for @errorNotFound. /// /// In zh, this message translates to: /// **'请求的资源不存在'** String get errorNotFound; /// No description provided for @errorConflict. /// /// In zh, this message translates to: /// **'数据冲突,请刷新后重试'** String get errorConflict; /// No description provided for @errorInvalidData. /// /// In zh, this message translates to: /// **'提交的数据不合法'** String get errorInvalidData; /// No description provided for @errorTooManyRequests. /// /// In zh, this message translates to: /// **'请求过于频繁,请稍后重试'** String get errorTooManyRequests; /// No description provided for @errorInternalServer. /// /// In zh, this message translates to: /// **'服务器内部错误,请稍后重试'** String get errorInternalServer; /// No description provided for @errorBadGateway. /// /// In zh, this message translates to: /// **'服务器网关错误,请稍后重试'** String get errorBadGateway; /// No description provided for @errorServiceUnavailable. /// /// In zh, this message translates to: /// **'服务器暂时不可用,请稍后重试'** String get errorServiceUnavailable; /// No description provided for @errorConnectionReset. /// /// In zh, this message translates to: /// **'连接被服务器重置,请稍后重试'** String get errorConnectionReset; /// No description provided for @errorConnectionRefused. /// /// In zh, this message translates to: /// **'服务器拒绝连接,请确认服务是否启动'** String get errorConnectionRefused; /// No description provided for @errorConnectionClosed. /// /// In zh, this message translates to: /// **'连接已关闭,请稍后重试'** String get errorConnectionClosed; /// No description provided for @errorSocketException. /// /// In zh, this message translates to: /// **'网络连接异常,请检查网络设置'** String get errorSocketException; /// No description provided for @errorTlsException. /// /// In zh, this message translates to: /// **'安全连接失败,请检查网络环境'** String get errorTlsException; /// No description provided for @errorNetworkRequestFailed. /// /// In zh, this message translates to: /// **'网络请求失败,请检查网络后重试'** String get errorNetworkRequestFailed; /// No description provided for @defaultUserName. /// /// In zh, this message translates to: /// **'用户'** String get defaultUserName; /// No description provided for @agentInConversation. /// /// In zh, this message translates to: /// **'对话中 · {count} 条消息'** String agentInConversation(int count); } class _AppLocalizationsDelegate extends LocalizationsDelegate { const _AppLocalizationsDelegate(); @override Future load(Locale locale) { return SynchronousFuture(lookupAppLocalizations(locale)); } @override bool isSupported(Locale locale) => ['en', 'zh'].contains(locale.languageCode); @override bool shouldReload(_AppLocalizationsDelegate old) => false; } AppLocalizations lookupAppLocalizations(Locale locale) { // Lookup logic when language+country codes are specified. switch (locale.languageCode) { case 'zh': { switch (locale.countryCode) { case 'TW': return AppLocalizationsZhTw(); } break; } } // Lookup logic when only language code is specified. switch (locale.languageCode) { case 'en': return AppLocalizationsEn(); case 'zh': return AppLocalizationsZh(); } throw FlutterError( 'AppLocalizations.delegate failed to load unsupported locale "$locale". This is likely ' 'an issue with the localizations generation tool. Please file an issue ' 'on GitHub with a reproducible sample app and the gen-l10n configuration ' 'that was used.'); }