// GENERATED CODE - DO NOT MODIFY BY HAND import 'package:flutter/material.dart'; import 'package:intl/intl.dart'; import 'intl/messages_all.dart'; // ************************************************************************** // Generator: Flutter Intl IDE plugin // Made by Localizely // ************************************************************************** // ignore_for_file: non_constant_identifier_names, lines_longer_than_80_chars // ignore_for_file: join_return_with_assignment, prefer_final_in_for_each // ignore_for_file: avoid_redundant_argument_values, avoid_escaping_inner_quotes class AppLocalizations { AppLocalizations(); static AppLocalizations? _current; static AppLocalizations get current { assert(_current != null, 'No instance of AppLocalizations was loaded. Try to initialize the AppLocalizations delegate before accessing AppLocalizations.current.'); return _current!; } static const AppLocalizationDelegate delegate = AppLocalizationDelegate(); static Future load(Locale locale) { final name = (locale.countryCode?.isEmpty ?? false) ? locale.languageCode : locale.toString(); final localeName = Intl.canonicalizedLocale(name); return initializeMessages(localeName).then((_) { Intl.defaultLocale = localeName; final instance = AppLocalizations(); AppLocalizations._current = instance; return instance; }); } static AppLocalizations of(BuildContext context) { final instance = AppLocalizations.maybeOf(context); assert(instance != null, 'No instance of AppLocalizations present in the widget tree. Did you add AppLocalizations.delegate in localizationsDelegates?'); return instance!; } static AppLocalizations? maybeOf(BuildContext context) { return Localizations.of(context, AppLocalizations); } /// `Rule` String get rule { return Intl.message( 'Rule', name: 'rule', desc: '', args: [], ); } /// `Global` String get global { return Intl.message( 'Global', name: 'global', desc: '', args: [], ); } /// `Direct` String get direct { return Intl.message( 'Direct', name: 'direct', desc: '', args: [], ); } /// `Dashboard` String get dashboard { return Intl.message( 'Dashboard', name: 'dashboard', desc: '', args: [], ); } /// `Proxies` String get proxies { return Intl.message( 'Proxies', name: 'proxies', desc: '', args: [], ); } /// `Profile` String get profile { return Intl.message( 'Profile', name: 'profile', desc: '', args: [], ); } /// `Profiles` String get profiles { return Intl.message( 'Profiles', name: 'profiles', desc: '', args: [], ); } /// `Tools` String get tools { return Intl.message( 'Tools', name: 'tools', desc: '', args: [], ); } /// `Logs` String get logs { return Intl.message( 'Logs', name: 'logs', desc: '', args: [], ); } /// `Log capture records` String get logsDesc { return Intl.message( 'Log capture records', name: 'logsDesc', desc: '', args: [], ); } /// `Traffic usage` String get trafficUsage { return Intl.message( 'Traffic usage', name: 'trafficUsage', desc: '', args: [], ); } /// `Core info` String get coreInfo { return Intl.message( 'Core info', name: 'coreInfo', desc: '', args: [], ); } /// `Unable to obtain core info` String get nullCoreInfoDesc { return Intl.message( 'Unable to obtain core info', name: 'nullCoreInfoDesc', desc: '', args: [], ); } /// `Network speed` String get networkSpeed { return Intl.message( 'Network speed', name: 'networkSpeed', desc: '', args: [], ); } /// `Outbound mode` String get outboundMode { return Intl.message( 'Outbound mode', name: 'outboundMode', desc: '', args: [], ); } /// `Network detection` String get networkDetection { return Intl.message( 'Network detection', name: 'networkDetection', desc: '', args: [], ); } /// `Upload` String get upload { return Intl.message( 'Upload', name: 'upload', desc: '', args: [], ); } /// `Download` String get download { return Intl.message( 'Download', name: 'download', desc: '', args: [], ); } /// `No proxy` String get noProxy { return Intl.message( 'No proxy', name: 'noProxy', desc: '', args: [], ); } /// `Please create a profile or add a valid profile` String get noProxyDesc { return Intl.message( 'Please create a profile or add a valid profile', name: 'noProxyDesc', desc: '', args: [], ); } /// `No profile, Please add a profile` String get nullProfileDesc { return Intl.message( 'No profile, Please add a profile', name: 'nullProfileDesc', desc: '', args: [], ); } /// `No logs` String get nullLogsDesc { return Intl.message( 'No logs', name: 'nullLogsDesc', desc: '', args: [], ); } /// `Settings` String get settings { return Intl.message( 'Settings', name: 'settings', desc: '', args: [], ); } /// `Language` String get language { return Intl.message( 'Language', name: 'language', desc: '', args: [], ); } /// `Default` String get defaultText { return Intl.message( 'Default', name: 'defaultText', desc: '', args: [], ); } /// `More` String get more { return Intl.message( 'More', name: 'more', desc: '', args: [], ); } /// `Other` String get other { return Intl.message( 'Other', name: 'other', desc: '', args: [], ); } /// `About` String get about { return Intl.message( 'About', name: 'about', desc: '', args: [], ); } /// `English` String get en { return Intl.message( 'English', name: 'en', desc: '', args: [], ); } /// `Simplified Chinese` String get zh_CN { return Intl.message( 'Simplified Chinese', name: 'zh_CN', desc: '', args: [], ); } /// `Theme` String get theme { return Intl.message( 'Theme', name: 'theme', desc: '', args: [], ); } /// `Set dark mode,adjust the color` String get themeDesc { return Intl.message( 'Set dark mode,adjust the color', name: 'themeDesc', desc: '', args: [], ); } /// `Override` String get override { return Intl.message( 'Override', name: 'override', desc: '', args: [], ); } /// `Override Proxy related config` String get overrideDesc { return Intl.message( 'Override Proxy related config', name: 'overrideDesc', desc: '', args: [], ); } /// `AllowLan` String get allowLan { return Intl.message( 'AllowLan', name: 'allowLan', desc: '', args: [], ); } /// `Allow access proxy through the LAN` String get allowLanDesc { return Intl.message( 'Allow access proxy through the LAN', name: 'allowLanDesc', desc: '', args: [], ); } /// `Tun mode` String get tun { return Intl.message( 'Tun mode', name: 'tun', desc: '', args: [], ); } /// `only effective in administrator mode` String get tunDesc { return Intl.message( 'only effective in administrator mode', name: 'tunDesc', desc: '', args: [], ); } /// `Minimize on exit` String get minimizeOnExit { return Intl.message( 'Minimize on exit', name: 'minimizeOnExit', desc: '', args: [], ); } /// `Modify the default system exit event` String get minimizeOnExitDesc { return Intl.message( 'Modify the default system exit event', name: 'minimizeOnExitDesc', desc: '', args: [], ); } /// `AutoLaunch` String get autoLaunch { return Intl.message( 'AutoLaunch', name: 'autoLaunch', desc: '', args: [], ); } /// `Follow the system self startup` String get autoLaunchDesc { return Intl.message( 'Follow the system self startup', name: 'autoLaunchDesc', desc: '', args: [], ); } /// `SilentLaunch` String get silentLaunch { return Intl.message( 'SilentLaunch', name: 'silentLaunch', desc: '', args: [], ); } /// `Start in the background` String get silentLaunchDesc { return Intl.message( 'Start in the background', name: 'silentLaunchDesc', desc: '', args: [], ); } /// `AutoRun` String get autoRun { return Intl.message( 'AutoRun', name: 'autoRun', desc: '', args: [], ); } /// `Auto run when the application is opened` String get autoRunDesc { return Intl.message( 'Auto run when the application is opened', name: 'autoRunDesc', desc: '', args: [], ); } /// `Logcat` String get logcat { return Intl.message( 'Logcat', name: 'logcat', desc: '', args: [], ); } /// `Disabling will hide the log entry` String get logcatDesc { return Intl.message( 'Disabling will hide the log entry', name: 'logcatDesc', desc: '', args: [], ); } /// `AccessControl` String get accessControl { return Intl.message( 'AccessControl', name: 'accessControl', desc: '', args: [], ); } /// `Configure application access proxy` String get accessControlDesc { return Intl.message( 'Configure application access proxy', name: 'accessControlDesc', desc: '', args: [], ); } /// `Application` String get application { return Intl.message( 'Application', name: 'application', desc: '', args: [], ); } /// `Modify application related settings` String get applicationDesc { return Intl.message( 'Modify application related settings', name: 'applicationDesc', desc: '', args: [], ); } /// `Edit` String get edit { return Intl.message( 'Edit', name: 'edit', desc: '', args: [], ); } /// `Confirm` String get confirm { return Intl.message( 'Confirm', name: 'confirm', desc: '', args: [], ); } /// `Update` String get update { return Intl.message( 'Update', name: 'update', desc: '', args: [], ); } /// `Add` String get add { return Intl.message( 'Add', name: 'add', desc: '', args: [], ); } /// `Save` String get save { return Intl.message( 'Save', name: 'save', desc: '', args: [], ); } /// `Delete` String get delete { return Intl.message( 'Delete', name: 'delete', desc: '', args: [], ); } /// `Years` String get years { return Intl.message( 'Years', name: 'years', desc: '', args: [], ); } /// `Months` String get months { return Intl.message( 'Months', name: 'months', desc: '', args: [], ); } /// `Hours` String get hours { return Intl.message( 'Hours', name: 'hours', desc: '', args: [], ); } /// `Days` String get days { return Intl.message( 'Days', name: 'days', desc: '', args: [], ); } /// `Minutes` String get minutes { return Intl.message( 'Minutes', name: 'minutes', desc: '', args: [], ); } /// ` Ago` String get ago { return Intl.message( ' Ago', name: 'ago', desc: '', args: [], ); } /// `Just` String get just { return Intl.message( 'Just', name: 'just', desc: '', args: [], ); } /// `QR code` String get qrcode { return Intl.message( 'QR code', name: 'qrcode', desc: '', args: [], ); } /// `Scan QR code to obtain profile` String get qrcodeDesc { return Intl.message( 'Scan QR code to obtain profile', name: 'qrcodeDesc', desc: '', args: [], ); } /// `URL` String get url { return Intl.message( 'URL', name: 'url', desc: '', args: [], ); } /// `Obtain profile through URL` String get urlDesc { return Intl.message( 'Obtain profile through URL', name: 'urlDesc', desc: '', args: [], ); } /// `File` String get file { return Intl.message( 'File', name: 'file', desc: '', args: [], ); } /// `Directly upload profile` String get fileDesc { return Intl.message( 'Directly upload profile', name: 'fileDesc', desc: '', args: [], ); } /// `Name` String get name { return Intl.message( 'Name', name: 'name', desc: '', args: [], ); } /// `Please input the profile name` String get profileNameNullValidationDesc { return Intl.message( 'Please input the profile name', name: 'profileNameNullValidationDesc', desc: '', args: [], ); } /// `Please input the profile URL` String get profileUrlNullValidationDesc { return Intl.message( 'Please input the profile URL', name: 'profileUrlNullValidationDesc', desc: '', args: [], ); } /// `Please input a valid profile URL` String get profileUrlInvalidValidationDesc { return Intl.message( 'Please input a valid profile URL', name: 'profileUrlInvalidValidationDesc', desc: '', args: [], ); } /// `Auto update` String get autoUpdate { return Intl.message( 'Auto update', name: 'autoUpdate', desc: '', args: [], ); } /// `Auto update interval (minutes)` String get autoUpdateInterval { return Intl.message( 'Auto update interval (minutes)', name: 'autoUpdateInterval', desc: '', args: [], ); } /// `Please enter the auto update interval time` String get profileAutoUpdateIntervalNullValidationDesc { return Intl.message( 'Please enter the auto update interval time', name: 'profileAutoUpdateIntervalNullValidationDesc', desc: '', args: [], ); } /// `Please input a valid interval time format` String get profileAutoUpdateIntervalInvalidValidationDesc { return Intl.message( 'Please input a valid interval time format', name: 'profileAutoUpdateIntervalInvalidValidationDesc', desc: '', args: [], ); } /// `Theme mode` String get themeMode { return Intl.message( 'Theme mode', name: 'themeMode', desc: '', args: [], ); } /// `Theme color` String get themeColor { return Intl.message( 'Theme color', name: 'themeColor', desc: '', args: [], ); } /// `Preview` String get preview { return Intl.message( 'Preview', name: 'preview', desc: '', args: [], ); } /// `Auto` String get auto { return Intl.message( 'Auto', name: 'auto', desc: '', args: [], ); } /// `Light` String get light { return Intl.message( 'Light', name: 'light', desc: '', args: [], ); } /// `Dark` String get dark { return Intl.message( 'Dark', name: 'dark', desc: '', args: [], ); } /// `Import from URL` String get importFromURL { return Intl.message( 'Import from URL', name: 'importFromURL', desc: '', args: [], ); } /// `Submit` String get submit { return Intl.message( 'Submit', name: 'submit', desc: '', args: [], ); } /// `Do you want to pass` String get doYouWantToPass { return Intl.message( 'Do you want to pass', name: 'doYouWantToPass', desc: '', args: [], ); } /// `Create` String get create { return Intl.message( 'Create', name: 'create', desc: '', args: [], ); } /// `Sort by default` String get defaultSort { return Intl.message( 'Sort by default', name: 'defaultSort', desc: '', args: [], ); } /// `Sort by delay` String get delaySort { return Intl.message( 'Sort by delay', name: 'delaySort', desc: '', args: [], ); } /// `Sort by name` String get nameSort { return Intl.message( 'Sort by name', name: 'nameSort', desc: '', args: [], ); } /// `Please upload file` String get pleaseUploadFile { return Intl.message( 'Please upload file', name: 'pleaseUploadFile', desc: '', args: [], ); } /// `Please upload a valid QR code` String get pleaseUploadValidQrcode { return Intl.message( 'Please upload a valid QR code', name: 'pleaseUploadValidQrcode', desc: '', args: [], ); } /// `Blacklist mode` String get blacklistMode { return Intl.message( 'Blacklist mode', name: 'blacklistMode', desc: '', args: [], ); } /// `Whitelist mode` String get whitelistMode { return Intl.message( 'Whitelist mode', name: 'whitelistMode', desc: '', args: [], ); } /// `Filter system app` String get filterSystemApp { return Intl.message( 'Filter system app', name: 'filterSystemApp', desc: '', args: [], ); } /// `Cancel filter system app` String get cancelFilterSystemApp { return Intl.message( 'Cancel filter system app', name: 'cancelFilterSystemApp', desc: '', args: [], ); } /// `Select all` String get selectAll { return Intl.message( 'Select all', name: 'selectAll', desc: '', args: [], ); } /// `Cancel select all` String get cancelSelectAll { return Intl.message( 'Cancel select all', name: 'cancelSelectAll', desc: '', args: [], ); } /// `App access control` String get appAccessControl { return Intl.message( 'App access control', name: 'appAccessControl', desc: '', args: [], ); } /// `Only allow selected app to enter VPN` String get accessControlAllowDesc { return Intl.message( 'Only allow selected app to enter VPN', name: 'accessControlAllowDesc', desc: '', args: [], ); } /// `The selected application will be excluded from VPN` String get accessControlNotAllowDesc { return Intl.message( 'The selected application will be excluded from VPN', name: 'accessControlNotAllowDesc', desc: '', args: [], ); } /// `Selected` String get selected { return Intl.message( 'Selected', name: 'selected', desc: '', args: [], ); } /// `unable to update current profile` String get unableToUpdateCurrentProfileDesc { return Intl.message( 'unable to update current profile', name: 'unableToUpdateCurrentProfileDesc', desc: '', args: [], ); } /// `No more info` String get noMoreInfoDesc { return Intl.message( 'No more info', name: 'noMoreInfoDesc', desc: '', args: [], ); } /// `profile parse error` String get profileParseErrorDesc { return Intl.message( 'profile parse error', name: 'profileParseErrorDesc', desc: '', args: [], ); } /// `ProxyPort` String get proxyPort { return Intl.message( 'ProxyPort', name: 'proxyPort', desc: '', args: [], ); } /// `Port` String get port { return Intl.message( 'Port', name: 'port', desc: '', args: [], ); } /// `LogLevel` String get logLevel { return Intl.message( 'LogLevel', name: 'logLevel', desc: '', args: [], ); } /// `Show` String get show { return Intl.message( 'Show', name: 'show', desc: '', args: [], ); } /// `Exit` String get exit { return Intl.message( 'Exit', name: 'exit', desc: '', args: [], ); } /// `SystemProxy` String get systemProxy { return Intl.message( 'SystemProxy', name: 'systemProxy', desc: '', args: [], ); } /// `Project` String get project { return Intl.message( 'Project', name: 'project', desc: '', args: [], ); } /// `Core` String get core { return Intl.message( 'Core', name: 'core', desc: '', args: [], ); } /// `Check update` String get checkUpdate { return Intl.message( 'Check update', name: 'checkUpdate', desc: '', args: [], ); } /// `Tab animation` String get tabAnimation { return Intl.message( 'Tab animation', name: 'tabAnimation', desc: '', args: [], ); } /// `When enabled, the home tab will add a toggle animation` String get tabAnimationDesc { return Intl.message( 'When enabled, the home tab will add a toggle animation', name: 'tabAnimationDesc', desc: '', args: [], ); } /// `A multi-platform proxy client based on ClashMeta, simple and easy to use, open-source and ad-free.` String get desc { return Intl.message( 'A multi-platform proxy client based on ClashMeta, simple and easy to use, open-source and ad-free.', name: 'desc', desc: '', args: [], ); } /// `Staring VPN...` String get startVpn { return Intl.message( 'Staring VPN...', name: 'startVpn', desc: '', args: [], ); } /// `Stopping VPN...` String get stopVpn { return Intl.message( 'Stopping VPN...', name: 'stopVpn', desc: '', args: [], ); } /// `Discovery a new version` String get discovery { return Intl.message( 'Discovery a new version', name: 'discovery', desc: '', args: [], ); } /// `Compatibility mode` String get compatible { return Intl.message( 'Compatibility mode', name: 'compatible', desc: '', args: [], ); } /// `Opening it will lose part of its application ability and gain the support of full amount of Clash.` String get compatibleDesc { return Intl.message( 'Opening it will lose part of its application ability and gain the support of full amount of Clash.', name: 'compatibleDesc', desc: '', args: [], ); } /// `The current proxy group cannot be selected.` String get notSelectedTip { return Intl.message( 'The current proxy group cannot be selected.', name: 'notSelectedTip', desc: '', args: [], ); } /// `tip` String get tip { return Intl.message( 'tip', name: 'tip', desc: '', args: [], ); } } class AppLocalizationDelegate extends LocalizationsDelegate { const AppLocalizationDelegate(); List get supportedLocales { return const [ Locale.fromSubtags(languageCode: 'en'), Locale.fromSubtags(languageCode: 'zh', countryCode: 'CN'), ]; } @override bool isSupported(Locale locale) => _isSupported(locale); @override Future load(Locale locale) => AppLocalizations.load(locale); @override bool shouldReload(AppLocalizationDelegate old) => false; bool _isSupported(Locale locale) { for (var supportedLocale in supportedLocales) { if (supportedLocale.languageCode == locale.languageCode) { return true; } } return false; } }