- Add curated catalogue of 9 official Anthropic MCP servers as click-to-prefill chips in the Add-MCP-server dialog. Operator still confirms via "Add + discover"; nothing is auto-spawned, preserving the regulated-environment trust model. - Localize Approvals page: pending/history empty states, status pills, payload preview, approve/reject toasts, reject dialog, history detail dialog, expires-in pill. - Localize Audit page: filter chips, clear-log dialog and toasts, no-events / hub-unreachable empty states, live-status bar with pluralized event count, hash-chain-verified badge, System AI panel (cached pill, latency, regenerate tooltip, asking state), event-detail dialog actions. - Localize Settings dialog: hub-endpoint section, channel blurb + popup-menu items, System AI panel headers and off-blurb, MCP/N8N panel headers + pluralized counts + refresh/add/remove tooltips, Add-MCP and Add-n8n dialogs (intro, suggestions label, all field labels and hints, save buttons, toasts). Field labels that map directly to JSON keys (event_id, flow, step, module, provider, endpoint, model) stay English by design — they're technical identifiers, not UI copy. Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
1508 lines
43 KiB
Dart
1508 lines
43 KiB
Dart
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_de.dart';
|
||
import 'app_localizations_en.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<AppLocalizations>(context, AppLocalizations);
|
||
}
|
||
|
||
static const LocalizationsDelegate<AppLocalizations> 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<LocalizationsDelegate<dynamic>> localizationsDelegates =
|
||
<LocalizationsDelegate<dynamic>>[
|
||
delegate,
|
||
GlobalMaterialLocalizations.delegate,
|
||
GlobalCupertinoLocalizations.delegate,
|
||
GlobalWidgetsLocalizations.delegate,
|
||
];
|
||
|
||
/// A list of this localizations delegate's supported locales.
|
||
static const List<Locale> supportedLocales = <Locale>[
|
||
Locale('de'),
|
||
Locale('en'),
|
||
];
|
||
|
||
/// App-bar title in the OS task switcher.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'F∆I Studio'**
|
||
String get appTitle;
|
||
|
||
/// No description provided for @navDoctor.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Doctor'**
|
||
String get navDoctor;
|
||
|
||
/// No description provided for @navModules.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Modules'**
|
||
String get navModules;
|
||
|
||
/// No description provided for @navStore.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Store'**
|
||
String get navStore;
|
||
|
||
/// No description provided for @navFlows.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Flows'**
|
||
String get navFlows;
|
||
|
||
/// No description provided for @navAudit.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Audit'**
|
||
String get navAudit;
|
||
|
||
/// No description provided for @navApprovals.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Approvals'**
|
||
String get navApprovals;
|
||
|
||
/// No description provided for @connectionConnected.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'connected'**
|
||
String get connectionConnected;
|
||
|
||
/// No description provided for @connectionUnreachable.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'unreachable'**
|
||
String get connectionUnreachable;
|
||
|
||
/// No description provided for @connectionConnecting.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'connecting…'**
|
||
String get connectionConnecting;
|
||
|
||
/// No description provided for @connectionStartHub.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Start hub'**
|
||
String get connectionStartHub;
|
||
|
||
/// No description provided for @buttonCancel.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Cancel'**
|
||
String get buttonCancel;
|
||
|
||
/// No description provided for @buttonSave.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Save'**
|
||
String get buttonSave;
|
||
|
||
/// No description provided for @buttonClose.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Close'**
|
||
String get buttonClose;
|
||
|
||
/// No description provided for @buttonRetry.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Retry'**
|
||
String get buttonRetry;
|
||
|
||
/// No description provided for @buttonRefresh.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Refresh'**
|
||
String get buttonRefresh;
|
||
|
||
/// No description provided for @buttonInstall.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Install'**
|
||
String get buttonInstall;
|
||
|
||
/// No description provided for @buttonUninstall.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Uninstall'**
|
||
String get buttonUninstall;
|
||
|
||
/// No description provided for @buttonDetails.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Details'**
|
||
String get buttonDetails;
|
||
|
||
/// No description provided for @buttonAdd.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Add'**
|
||
String get buttonAdd;
|
||
|
||
/// No description provided for @buttonRemove.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Remove'**
|
||
String get buttonRemove;
|
||
|
||
/// No description provided for @buttonOpen.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Open'**
|
||
String get buttonOpen;
|
||
|
||
/// No description provided for @buttonExplain.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Explain'**
|
||
String get buttonExplain;
|
||
|
||
/// No description provided for @buttonReadDocs.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Read docs'**
|
||
String get buttonReadDocs;
|
||
|
||
/// No description provided for @settingsTitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Hub endpoint'**
|
||
String get settingsTitle;
|
||
|
||
/// No description provided for @settingsHost.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Host'**
|
||
String get settingsHost;
|
||
|
||
/// No description provided for @settingsPort.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Port'**
|
||
String get settingsPort;
|
||
|
||
/// No description provided for @settingsTls.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'TLS'**
|
||
String get settingsTls;
|
||
|
||
/// No description provided for @settingsSaveAndConnect.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Save & connect'**
|
||
String get settingsSaveAndConnect;
|
||
|
||
/// No description provided for @settingsLanguage.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Language'**
|
||
String get settingsLanguage;
|
||
|
||
/// No description provided for @settingsLanguageHint.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'App language. Affects every page; bilingual store entries also flip via this toggle.'**
|
||
String get settingsLanguageHint;
|
||
|
||
/// No description provided for @settingsHubEndpointHint.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Where should Studio connect? Default is the local hub at 127.0.0.1:50051.'**
|
||
String get settingsHubEndpointHint;
|
||
|
||
/// No description provided for @settingsTlsSubtitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'https/grpc-secure'**
|
||
String get settingsTlsSubtitle;
|
||
|
||
/// No description provided for @settingsPortError.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'port must be 1–65535'**
|
||
String get settingsPortError;
|
||
|
||
/// No description provided for @channelsBlurb.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Switch hub channel (writes ~/.fai/current-channel and restarts the daemon). Connect just changes Studio\'s wire.'**
|
||
String get channelsBlurb;
|
||
|
||
/// No description provided for @channelsActionsTooltip.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Channel actions'**
|
||
String get channelsActionsTooltip;
|
||
|
||
/// No description provided for @systemAiHeader.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'SYSTEM AI'**
|
||
String get systemAiHeader;
|
||
|
||
/// No description provided for @systemAiEnabled.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'enabled'**
|
||
String get systemAiEnabled;
|
||
|
||
/// No description provided for @systemAiOff.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'off'**
|
||
String get systemAiOff;
|
||
|
||
/// No description provided for @systemAiEdit.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Edit…'**
|
||
String get systemAiEdit;
|
||
|
||
/// No description provided for @systemAiConfigure.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Configure…'**
|
||
String get systemAiConfigure;
|
||
|
||
/// No description provided for @systemAiOffBlurb.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Off — failure explanations on the audit page are disabled. Click Configure… to pick a provider (Ollama / OpenAI / LM Studio / vLLM / Custom). Operator config is rewritten in place; no daemon restart needed.'**
|
||
String get systemAiOffBlurb;
|
||
|
||
/// No description provided for @mcpServersCount.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'{n} {n, plural, =1{server} other{servers}}'**
|
||
String mcpServersCount(int n);
|
||
|
||
/// No description provided for @mcpRediscoverTooltip.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Re-run discovery'**
|
||
String get mcpRediscoverTooltip;
|
||
|
||
/// No description provided for @mcpAddTooltip.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Add MCP server'**
|
||
String get mcpAddTooltip;
|
||
|
||
/// No description provided for @mcpRemoveTooltip.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Remove server'**
|
||
String get mcpRemoveTooltip;
|
||
|
||
/// No description provided for @mcpToolsCount.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'{n} {n, plural, =1{tool} other{tools}}'**
|
||
String mcpToolsCount(int n);
|
||
|
||
/// No description provided for @n8nEndpointsCount.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'{n} {n, plural, =1{endpoint} other{endpoints}}'**
|
||
String n8nEndpointsCount(int n);
|
||
|
||
/// No description provided for @n8nWorkflowsCount.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'{n} {n, plural, =1{workflow} other{workflows}}'**
|
||
String n8nWorkflowsCount(int n);
|
||
|
||
/// No description provided for @n8nRediscoverTooltip.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Re-run discovery'**
|
||
String get n8nRediscoverTooltip;
|
||
|
||
/// No description provided for @n8nAddTooltip.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Add n8n endpoint'**
|
||
String get n8nAddTooltip;
|
||
|
||
/// No description provided for @n8nRemoveTooltip.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Remove endpoint'**
|
||
String get n8nRemoveTooltip;
|
||
|
||
/// No description provided for @addMcpTitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Add MCP server'**
|
||
String get addMcpTitle;
|
||
|
||
/// No description provided for @addMcpIntro.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Tools the server advertises via `tools/list` appear in the Store as `mcp.<name>.<tool>` capabilities.'**
|
||
String get addMcpIntro;
|
||
|
||
/// No description provided for @addMcpSuggestionsLabel.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Suggested servers — click to pre-fill'**
|
||
String get addMcpSuggestionsLabel;
|
||
|
||
/// No description provided for @addMcpNameLabel.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Name (no dots)'**
|
||
String get addMcpNameLabel;
|
||
|
||
/// No description provided for @addMcpNameHint.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'filesystem'**
|
||
String get addMcpNameHint;
|
||
|
||
/// No description provided for @addMcpEndpointLabel.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Endpoint'**
|
||
String get addMcpEndpointLabel;
|
||
|
||
/// No description provided for @addMcpEndpointHint.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'http://127.0.0.1:3001/mcp'**
|
||
String get addMcpEndpointHint;
|
||
|
||
/// No description provided for @addMcpApiKeyLabel.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'API key env var (optional)'**
|
||
String get addMcpApiKeyLabel;
|
||
|
||
/// No description provided for @addMcpApiKeyHint.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'MCP_FILESYSTEM_TOKEN'**
|
||
String get addMcpApiKeyHint;
|
||
|
||
/// No description provided for @addMcpNotesLabel.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Notes (optional)'**
|
||
String get addMcpNotesLabel;
|
||
|
||
/// No description provided for @addMcpAddButton.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Add + discover'**
|
||
String get addMcpAddButton;
|
||
|
||
/// No description provided for @addN8nTitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Add n8n endpoint'**
|
||
String get addN8nTitle;
|
||
|
||
/// No description provided for @addN8nIntro.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Active workflows surface in the Store as `n8n.<name>.<workflow_slug>` capabilities.'**
|
||
String get addN8nIntro;
|
||
|
||
/// No description provided for @addN8nNameLabel.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Name (no dots)'**
|
||
String get addN8nNameLabel;
|
||
|
||
/// No description provided for @addN8nNameHint.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'ops'**
|
||
String get addN8nNameHint;
|
||
|
||
/// No description provided for @addN8nBaseUrlLabel.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Base URL (without /api/v1)'**
|
||
String get addN8nBaseUrlLabel;
|
||
|
||
/// No description provided for @addN8nBaseUrlHint.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'https://n8n.example.com'**
|
||
String get addN8nBaseUrlHint;
|
||
|
||
/// No description provided for @addN8nApiKeyLabel.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'API key env var (optional)'**
|
||
String get addN8nApiKeyLabel;
|
||
|
||
/// No description provided for @addN8nApiKeyHint.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'N8N_OPS_KEY'**
|
||
String get addN8nApiKeyHint;
|
||
|
||
/// No description provided for @addN8nNotesLabel.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Notes (optional)'**
|
||
String get addN8nNotesLabel;
|
||
|
||
/// No description provided for @addN8nAddButton.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Add + discover'**
|
||
String get addN8nAddButton;
|
||
|
||
/// No description provided for @addedMcpToast.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Added MCP server \"{name}\".'**
|
||
String addedMcpToast(String name);
|
||
|
||
/// No description provided for @addedN8nToast.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Added n8n endpoint \"{name}\".'**
|
||
String addedN8nToast(String name);
|
||
|
||
/// No description provided for @addFailedToast.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Add failed: {error}'**
|
||
String addFailedToast(String error);
|
||
|
||
/// No description provided for @removeFailedToast.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Remove failed: {error}'**
|
||
String removeFailedToast(String error);
|
||
|
||
/// No description provided for @refreshFailedToast.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Refresh failed: {error}'**
|
||
String refreshFailedToast(String error);
|
||
|
||
/// No description provided for @channelsHeader.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'CHANNELS'**
|
||
String get channelsHeader;
|
||
|
||
/// No description provided for @channelsActive.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'active'**
|
||
String get channelsActive;
|
||
|
||
/// No description provided for @channelsRunning.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'running'**
|
||
String get channelsRunning;
|
||
|
||
/// No description provided for @channelsStopped.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'stopped'**
|
||
String get channelsStopped;
|
||
|
||
/// No description provided for @channelsConnect.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Connect Studio to this channel'**
|
||
String get channelsConnect;
|
||
|
||
/// No description provided for @channelsSwitch.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Make this the active channel'**
|
||
String get channelsSwitch;
|
||
|
||
/// No description provided for @channelsEnableAutostart.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Enable autostart at login'**
|
||
String get channelsEnableAutostart;
|
||
|
||
/// No description provided for @channelsDisableAutostart.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Disable autostart'**
|
||
String get channelsDisableAutostart;
|
||
|
||
/// No description provided for @storeSearchHint.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Search modules — name, tagline, tag, capability…'**
|
||
String get storeSearchHint;
|
||
|
||
/// No description provided for @storeFeatured.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'FEATURED'**
|
||
String get storeFeatured;
|
||
|
||
/// No description provided for @storeFeaturedHint.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'curated picks · click for details'**
|
||
String get storeFeaturedHint;
|
||
|
||
/// No description provided for @storeNoMatches.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'No matches'**
|
||
String get storeNoMatches;
|
||
|
||
/// No description provided for @storeNoMatchesHint.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Adjust the filters or clear the search to see all entries.'**
|
||
String get storeNoMatchesHint;
|
||
|
||
/// No description provided for @storeClearFilters.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Clear filters'**
|
||
String get storeClearFilters;
|
||
|
||
/// No description provided for @storeStatusAll.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'All'**
|
||
String get storeStatusAll;
|
||
|
||
/// No description provided for @storeStatusPublished.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Published'**
|
||
String get storeStatusPublished;
|
||
|
||
/// No description provided for @storeStatusAlpha.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Alpha'**
|
||
String get storeStatusAlpha;
|
||
|
||
/// No description provided for @storeStatusPlanned.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Planned'**
|
||
String get storeStatusPlanned;
|
||
|
||
/// No description provided for @storeInstalledOnly.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Installed'**
|
||
String get storeInstalledOnly;
|
||
|
||
/// No description provided for @storeNResults.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'{n} result{n, plural, =1{} other{s}}'**
|
||
String storeNResults(int n);
|
||
|
||
/// No description provided for @storeFederationNudgeTitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Want more capabilities?'**
|
||
String get storeFederationNudgeTitle;
|
||
|
||
/// No description provided for @storeFederationNudgeBody.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Configure an MCP server or n8n endpoint in Settings → MCP Clients / N8N Endpoints. Discovered tools and workflows surface here as `mcp.<server>.<tool>` and `n8n.<endpoint>.<workflow>` capabilities — every Anthropic / community MCP server adds a handful at once.'**
|
||
String get storeFederationNudgeBody;
|
||
|
||
/// No description provided for @storeFederationNudgeButton.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Open Settings'**
|
||
String get storeFederationNudgeButton;
|
||
|
||
/// No description provided for @auditTitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Audit'**
|
||
String get auditTitle;
|
||
|
||
/// No description provided for @auditNoEvents.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'No events yet'**
|
||
String get auditNoEvents;
|
||
|
||
/// No description provided for @auditNoEventsHint.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Run a flow to populate the audit stream.\nEvents appear here within seconds.'**
|
||
String get auditNoEventsHint;
|
||
|
||
/// No description provided for @auditFilterAll.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'all'**
|
||
String get auditFilterAll;
|
||
|
||
/// No description provided for @auditFilterFlow.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'flow'**
|
||
String get auditFilterFlow;
|
||
|
||
/// No description provided for @auditFilterStep.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'step'**
|
||
String get auditFilterStep;
|
||
|
||
/// No description provided for @auditFilterModule.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'module'**
|
||
String get auditFilterModule;
|
||
|
||
/// No description provided for @auditClearLogTooltip.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Clear log (local/dev channels only)'**
|
||
String get auditClearLogTooltip;
|
||
|
||
/// No description provided for @auditClearedToast.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Cleared {n} events on channel \"{channel}\". Chain reseeded with marker.'**
|
||
String auditClearedToast(int n, String channel);
|
||
|
||
/// No description provided for @auditClearFailed.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Clear failed: {detail}'**
|
||
String auditClearFailed(String detail);
|
||
|
||
/// No description provided for @auditExplain.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Explain'**
|
||
String get auditExplain;
|
||
|
||
/// No description provided for @auditReask.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Re-ask'**
|
||
String get auditReask;
|
||
|
||
/// No description provided for @auditAsking.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Asking…'**
|
||
String get auditAsking;
|
||
|
||
/// No description provided for @auditSystemAi.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'SYSTEM AI'**
|
||
String get auditSystemAi;
|
||
|
||
/// No description provided for @auditCachedPill.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'cached'**
|
||
String get auditCachedPill;
|
||
|
||
/// No description provided for @auditOriginalLatency.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'orig {ms} ms'**
|
||
String auditOriginalLatency(int ms);
|
||
|
||
/// No description provided for @auditLatency.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'{ms} ms'**
|
||
String auditLatency(int ms);
|
||
|
||
/// No description provided for @auditRegenerateTooltip.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Regenerate — skip cache, ask the model again'**
|
||
String get auditRegenerateTooltip;
|
||
|
||
/// No description provided for @auditLiveStatus.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'live · polling 2s · {n} {n, plural, =1{event} other{events}}'**
|
||
String auditLiveStatus(int n);
|
||
|
||
/// No description provided for @auditDisconnected.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'disconnected · {error}'**
|
||
String auditDisconnected(String error);
|
||
|
||
/// No description provided for @auditHashChainVerified.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'hash chain verified'**
|
||
String get auditHashChainVerified;
|
||
|
||
/// No description provided for @auditDetailHeader.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'DETAIL'**
|
||
String get auditDetailHeader;
|
||
|
||
/// No description provided for @auditAskingFull.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Asking the configured System AI…'**
|
||
String get auditAskingFull;
|
||
|
||
/// No description provided for @auditFixLabel.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'FIX'**
|
||
String get auditFixLabel;
|
||
|
||
/// No description provided for @auditCachedTooltipKnown.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Served from the local cache. Originally generated on {at}{hits}.'**
|
||
String auditCachedTooltipKnown(String at, String hits);
|
||
|
||
/// No description provided for @auditCachedTooltipUnknown.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Served from the local cache. Originally generated at unknown time{hits}.'**
|
||
String auditCachedTooltipUnknown(String hits);
|
||
|
||
/// No description provided for @auditCachedTooltipHits.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **' · {n} hits'**
|
||
String auditCachedTooltipHits(int n);
|
||
|
||
/// No description provided for @auditConfigureSystemAi.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Configure System AI in Settings (Cmd+,)'**
|
||
String get auditConfigureSystemAi;
|
||
|
||
/// No description provided for @auditClearDialogTitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Clear audit log?'**
|
||
String get auditClearDialogTitle;
|
||
|
||
/// No description provided for @auditClearDialogBody.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Wipes every audit event on the active channel and seeds a fresh chain.reset marker carrying reviewer + reason. Refused on beta / production. Irreversible.'**
|
||
String get auditClearDialogBody;
|
||
|
||
/// No description provided for @auditClearReviewerLabel.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Reviewer'**
|
||
String get auditClearReviewerLabel;
|
||
|
||
/// No description provided for @auditClearReasonLabel.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Reason (recorded in chain.reset marker)'**
|
||
String get auditClearReasonLabel;
|
||
|
||
/// No description provided for @auditClearReasonHelper.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Required — auditors will read this.'**
|
||
String get auditClearReasonHelper;
|
||
|
||
/// No description provided for @auditClearLogButton.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Clear log'**
|
||
String get auditClearLogButton;
|
||
|
||
/// No description provided for @modulesTitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Modules'**
|
||
String get modulesTitle;
|
||
|
||
/// No description provided for @modulesNoneTitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'No modules yet'**
|
||
String get modulesNoneTitle;
|
||
|
||
/// No description provided for @modulesNoneHint.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Run `fai install <capability-name>` or check ~/.fai/modules/.'**
|
||
String get modulesNoneHint;
|
||
|
||
/// No description provided for @modulesReloadTooltip.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Reload'**
|
||
String get modulesReloadTooltip;
|
||
|
||
/// No description provided for @modulesRecentActivity.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'RECENT ACTIVITY'**
|
||
String get modulesRecentActivity;
|
||
|
||
/// No description provided for @modulesRecentActivityHint.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'last {n} install/uninstall events from the audit log'**
|
||
String modulesRecentActivityHint(int n);
|
||
|
||
/// No description provided for @modulesActivityInstalled.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'installed'**
|
||
String get modulesActivityInstalled;
|
||
|
||
/// No description provided for @modulesActivityUninstalled.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'uninstalled'**
|
||
String get modulesActivityUninstalled;
|
||
|
||
/// No description provided for @modulesCapabilitiesLabel.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Capabilities'**
|
||
String get modulesCapabilitiesLabel;
|
||
|
||
/// No description provided for @modulesUninstallTitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Uninstall module?'**
|
||
String get modulesUninstallTitle;
|
||
|
||
/// No description provided for @modulesUninstallBody.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Removes {name} v{version} from this hub. Flows that reference it will fail at the next run. A `module.uninstalled` audit event is recorded.'**
|
||
String modulesUninstallBody(String name, String version);
|
||
|
||
/// No description provided for @modulesUninstalledToast.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Uninstalled {name} v{version}.'**
|
||
String modulesUninstalledToast(String name, String version);
|
||
|
||
/// No description provided for @modulesUninstallFailed.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Uninstall failed: {error}'**
|
||
String modulesUninstallFailed(String error);
|
||
|
||
/// No description provided for @modulesUninstalling.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Uninstalling…'**
|
||
String get modulesUninstalling;
|
||
|
||
/// No description provided for @approvalsTitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Approvals'**
|
||
String get approvalsTitle;
|
||
|
||
/// No description provided for @approvalsTabPending.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Pending'**
|
||
String get approvalsTabPending;
|
||
|
||
/// No description provided for @approvalsTabHistory.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'History'**
|
||
String get approvalsTabHistory;
|
||
|
||
/// No description provided for @approvalsInboxZero.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Inbox zero'**
|
||
String get approvalsInboxZero;
|
||
|
||
/// No description provided for @approvalsInboxHint.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'All caught up. New `system.approval@^0` steps land here automatically.'**
|
||
String get approvalsInboxHint;
|
||
|
||
/// No description provided for @approvalsReloadTooltip.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Reload'**
|
||
String get approvalsReloadTooltip;
|
||
|
||
/// No description provided for @approvalsPillPending.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'pending'**
|
||
String get approvalsPillPending;
|
||
|
||
/// No description provided for @approvalsPillApproved.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'approved'**
|
||
String get approvalsPillApproved;
|
||
|
||
/// No description provided for @approvalsPillRejected.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'rejected'**
|
||
String get approvalsPillRejected;
|
||
|
||
/// No description provided for @approvalsPillExpired.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'expired'**
|
||
String get approvalsPillExpired;
|
||
|
||
/// No description provided for @approvalsPayloadPreview.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'PAYLOAD PREVIEW'**
|
||
String get approvalsPayloadPreview;
|
||
|
||
/// No description provided for @approvalsApproveButton.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Approve'**
|
||
String get approvalsApproveButton;
|
||
|
||
/// No description provided for @approvalsRejectButton.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Reject'**
|
||
String get approvalsRejectButton;
|
||
|
||
/// No description provided for @approvalsRejectDialogTitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Reject approval'**
|
||
String get approvalsRejectDialogTitle;
|
||
|
||
/// No description provided for @approvalsRejectReasonLabel.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Reason (recorded in audit log)'**
|
||
String get approvalsRejectReasonLabel;
|
||
|
||
/// No description provided for @approvalsApprovedToast.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'approved · {flow} › {step}'**
|
||
String approvalsApprovedToast(String flow, String step);
|
||
|
||
/// No description provided for @approvalsRejectedToast.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'rejected · {flow} › {step}'**
|
||
String approvalsRejectedToast(String flow, String step);
|
||
|
||
/// No description provided for @approvalsApproveFailed.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'approve failed: {error}'**
|
||
String approvalsApproveFailed(String error);
|
||
|
||
/// No description provided for @approvalsRejectFailed.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'reject failed: {error}'**
|
||
String approvalsRejectFailed(String error);
|
||
|
||
/// No description provided for @approvalsHistoryEmpty.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'No history yet'**
|
||
String get approvalsHistoryEmpty;
|
||
|
||
/// No description provided for @approvalsHistoryEmptyHint.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Decided approvals (approved / rejected / expired) appear here.\nThe audit log keeps the full hash-chained record.'**
|
||
String get approvalsHistoryEmptyHint;
|
||
|
||
/// No description provided for @approvalsDialogDecided.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'decided'**
|
||
String get approvalsDialogDecided;
|
||
|
||
/// No description provided for @approvalsDialogCreated.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'created'**
|
||
String get approvalsDialogCreated;
|
||
|
||
/// No description provided for @approvalsDialogReason.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'reason'**
|
||
String get approvalsDialogReason;
|
||
|
||
/// No description provided for @approvalsDialogPrompt.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'PROMPT'**
|
||
String get approvalsDialogPrompt;
|
||
|
||
/// No description provided for @approvalsExpiresIn.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'{minutes}m'**
|
||
String approvalsExpiresIn(int minutes);
|
||
|
||
/// No description provided for @approvalsExpiresInHours.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'{hours}h'**
|
||
String approvalsExpiresInHours(int hours);
|
||
|
||
/// No description provided for @doctorTitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Doctor'**
|
||
String get doctorTitle;
|
||
|
||
/// No description provided for @doctorRecheckTooltip.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Re-check'**
|
||
String get doctorRecheckTooltip;
|
||
|
||
/// No description provided for @doctorEventLogSection.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Event log'**
|
||
String get doctorEventLogSection;
|
||
|
||
/// No description provided for @doctorModulesApprovalsSection.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Modules & approvals'**
|
||
String get doctorModulesApprovalsSection;
|
||
|
||
/// No description provided for @doctorHostServicesSection.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Host services'**
|
||
String get doctorHostServicesSection;
|
||
|
||
/// No description provided for @doctorDaemonFilesSection.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Daemon files'**
|
||
String get doctorDaemonFilesSection;
|
||
|
||
/// No description provided for @doctorDaemonControlSection.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Daemon control'**
|
||
String get doctorDaemonControlSection;
|
||
|
||
/// No description provided for @doctorChainIntact.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Hash chain intact'**
|
||
String get doctorChainIntact;
|
||
|
||
/// No description provided for @doctorChainIntactDetail.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'{n} events · prev_event_sha256 verified end-to-end'**
|
||
String doctorChainIntactDetail(int n);
|
||
|
||
/// No description provided for @doctorChainTampered.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Tampering detected'**
|
||
String get doctorChainTampered;
|
||
|
||
/// No description provided for @doctorChainTamperedDetail.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'{verified} of {total} verified before mismatch at {id}'**
|
||
String doctorChainTamperedDetail(int verified, int total, String id);
|
||
|
||
/// No description provided for @doctorChainPillOk.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'WORM-1'**
|
||
String get doctorChainPillOk;
|
||
|
||
/// No description provided for @doctorChainPillTamper.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'TAMPER'**
|
||
String get doctorChainPillTamper;
|
||
|
||
/// No description provided for @doctorVerifyNow.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Verify now'**
|
||
String get doctorVerifyNow;
|
||
|
||
/// No description provided for @doctorRestart.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Restart'**
|
||
String get doctorRestart;
|
||
|
||
/// No description provided for @doctorStart.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Start'**
|
||
String get doctorStart;
|
||
|
||
/// No description provided for @doctorStop.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Stop'**
|
||
String get doctorStop;
|
||
|
||
/// No description provided for @doctorStatusAction.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Status'**
|
||
String get doctorStatusAction;
|
||
|
||
/// No description provided for @doctorRunningOn.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Running on {name}: {endpoint}'**
|
||
String doctorRunningOn(String name, String endpoint);
|
||
|
||
/// No description provided for @doctorStoppedOn.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'{name} daemon stopped'**
|
||
String doctorStoppedOn(String name);
|
||
|
||
/// No description provided for @doctorStatusUnknown.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Daemon status: …'**
|
||
String get doctorStatusUnknown;
|
||
|
||
/// No description provided for @doctorPillRunning.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'running'**
|
||
String get doctorPillRunning;
|
||
|
||
/// No description provided for @doctorPillStopped.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'stopped'**
|
||
String get doctorPillStopped;
|
||
|
||
/// No description provided for @doctorDaemonControlHint.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Studio shells out to the platform binary — mirrors `fai daemon …` exactly so the CLI and UI stay in lockstep.'**
|
||
String get doctorDaemonControlHint;
|
||
|
||
/// No description provided for @doctorDaemonControlWorking.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Working…'**
|
||
String get doctorDaemonControlWorking;
|
||
|
||
/// No description provided for @doctorPathLog.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Log'**
|
||
String get doctorPathLog;
|
||
|
||
/// No description provided for @doctorPathConfig.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Config'**
|
||
String get doctorPathConfig;
|
||
|
||
/// No description provided for @doctorPathDb.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Audit DB'**
|
||
String get doctorPathDb;
|
||
|
||
/// No description provided for @doctorPathModules.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Modules dir'**
|
||
String get doctorPathModules;
|
||
|
||
/// No description provided for @doctorPathFlows.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Flows dir'**
|
||
String get doctorPathFlows;
|
||
|
||
/// No description provided for @doctorPathPid.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'PID file'**
|
||
String get doctorPathPid;
|
||
|
||
/// No description provided for @doctorPathsEmpty.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Daemon did not report file paths. Update the running hub via `fai daemon restart`.'**
|
||
String get doctorPathsEmpty;
|
||
|
||
/// No description provided for @doctorOpenError.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Could not open: {detail}'**
|
||
String doctorOpenError(String detail);
|
||
|
||
/// No description provided for @doctorUpdateAvailable.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Update available — {version}'**
|
||
String doctorUpdateAvailable(String version);
|
||
|
||
/// No description provided for @doctorUpdateBody.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Channel {channel} now offers {version}. Apply via the button — Studio shells out to `fai update apply --channel {channel}`.'**
|
||
String doctorUpdateBody(String channel, String version);
|
||
|
||
/// No description provided for @doctorUpdateUnreachable.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Release host unreachable'**
|
||
String get doctorUpdateUnreachable;
|
||
|
||
/// No description provided for @doctorUpdateUnreachableBody.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Could not contact the release feed for {channel}.'**
|
||
String doctorUpdateUnreachableBody(String channel);
|
||
|
||
/// No description provided for @doctorReleaseNotes.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'notes: {url}'**
|
||
String doctorReleaseNotes(String url);
|
||
|
||
/// No description provided for @doctorPillNew.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'new'**
|
||
String get doctorPillNew;
|
||
|
||
/// No description provided for @doctorPillOffline.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'offline'**
|
||
String get doctorPillOffline;
|
||
|
||
/// No description provided for @doctorApplyUpdate.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Apply update'**
|
||
String get doctorApplyUpdate;
|
||
|
||
/// No description provided for @doctorApplying.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Applying…'**
|
||
String get doctorApplying;
|
||
|
||
/// No description provided for @doctorApplyDone.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Update applied. Restart Studio to see the new daemon version.'**
|
||
String get doctorApplyDone;
|
||
|
||
/// No description provided for @mcpHeader.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'MCP CLIENTS'**
|
||
String get mcpHeader;
|
||
|
||
/// No description provided for @mcpHint.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'External MCP servers federate their tools as `mcp.<server>.<tool>` capabilities. Configure once, see them in the Store.'**
|
||
String get mcpHint;
|
||
|
||
/// No description provided for @mcpEmpty.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'No MCP servers configured. Click + to add one.'**
|
||
String get mcpEmpty;
|
||
|
||
/// No description provided for @n8nHeader.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'N8N ENDPOINTS'**
|
||
String get n8nHeader;
|
||
|
||
/// No description provided for @n8nHint.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Active n8n workflows surface as `n8n.<endpoint>.<slug>` capabilities. Configure once, see them in the Store.'**
|
||
String get n8nHint;
|
||
|
||
/// No description provided for @n8nEmpty.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'No n8n endpoints configured. Click + to add one.'**
|
||
String get n8nEmpty;
|
||
|
||
/// No description provided for @hubUnreachable.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Hub unreachable'**
|
||
String get hubUnreachable;
|
||
|
||
/// No description provided for @hubUnreachableHint.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Start the hub with `fai serve`.'**
|
||
String get hubUnreachableHint;
|
||
|
||
/// No description provided for @languageEnglish.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'English'**
|
||
String get languageEnglish;
|
||
|
||
/// No description provided for @languageGerman.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Deutsch'**
|
||
String get languageGerman;
|
||
}
|
||
|
||
class _AppLocalizationsDelegate
|
||
extends LocalizationsDelegate<AppLocalizations> {
|
||
const _AppLocalizationsDelegate();
|
||
|
||
@override
|
||
Future<AppLocalizations> load(Locale locale) {
|
||
return SynchronousFuture<AppLocalizations>(lookupAppLocalizations(locale));
|
||
}
|
||
|
||
@override
|
||
bool isSupported(Locale locale) =>
|
||
<String>['de', 'en'].contains(locale.languageCode);
|
||
|
||
@override
|
||
bool shouldReload(_AppLocalizationsDelegate old) => false;
|
||
}
|
||
|
||
AppLocalizations lookupAppLocalizations(Locale locale) {
|
||
// Lookup logic when only language code is specified.
|
||
switch (locale.languageCode) {
|
||
case 'de':
|
||
return AppLocalizationsDe();
|
||
case 'en':
|
||
return AppLocalizationsEn();
|
||
}
|
||
|
||
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.',
|
||
);
|
||
}
|