1329 lines
38 KiB
Dart
1329 lines
38 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_en.dart';
|
||
import 'app_localizations_it.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 'generated/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('en'),
|
||
Locale('it'),
|
||
];
|
||
|
||
/// No description provided for @appTitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Catelli Barcode Reader'**
|
||
String get appTitle;
|
||
|
||
/// No description provided for @cancel.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Cancel'**
|
||
String get cancel;
|
||
|
||
/// No description provided for @remove.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Remove'**
|
||
String get remove;
|
||
|
||
/// No description provided for @connect.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Connect'**
|
||
String get connect;
|
||
|
||
/// No description provided for @reconnect.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Reconnect'**
|
||
String get reconnect;
|
||
|
||
/// No description provided for @active.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Active'**
|
||
String get active;
|
||
|
||
/// No description provided for @activeUppercase.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'ACTIVE'**
|
||
String get activeUppercase;
|
||
|
||
/// No description provided for @connected.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Connected'**
|
||
String get connected;
|
||
|
||
/// No description provided for @connecting.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Connecting...'**
|
||
String get connecting;
|
||
|
||
/// No description provided for @notConnected.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Not connected'**
|
||
String get notConnected;
|
||
|
||
/// No description provided for @pinOrNetworkError.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'PIN/Network error'**
|
||
String get pinOrNetworkError;
|
||
|
||
/// No description provided for @defaultStorePcName.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Store PC'**
|
||
String get defaultStorePcName;
|
||
|
||
/// No description provided for @defaultPcServerName.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'PC Server'**
|
||
String get defaultPcServerName;
|
||
|
||
/// No description provided for @enterValidIp.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Enter a valid PC IP address'**
|
||
String get enterValidIp;
|
||
|
||
/// No description provided for @connectingToHost.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Connecting to {ip}:{port}...'**
|
||
String connectingToHost(String ip, int port);
|
||
|
||
/// No description provided for @connectingToName.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Connecting to {name}...'**
|
||
String connectingToName(String name);
|
||
|
||
/// No description provided for @pcConnectionsTitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'PC Workstations Connection'**
|
||
String get pcConnectionsTitle;
|
||
|
||
/// No description provided for @scanPcQrCode.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Scan QR Code on PC'**
|
||
String get scanPcQrCode;
|
||
|
||
/// No description provided for @savedStoreWorkstations.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Saved Store Workstations'**
|
||
String get savedStoreWorkstations;
|
||
|
||
/// No description provided for @favoritesCount.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'{count, plural, =1{1 favorite} other{{count} favorites}}'**
|
||
String favoritesCount(int count);
|
||
|
||
/// No description provided for @detectedWifiPcs.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'PCs Detected on Wi-Fi'**
|
||
String get detectedWifiPcs;
|
||
|
||
/// No description provided for @refreshDiscoveryTooltip.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Refresh scan'**
|
||
String get refreshDiscoveryTooltip;
|
||
|
||
/// No description provided for @searchingPcServers.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Searching for PC servers on the network...'**
|
||
String get searchingPcServers;
|
||
|
||
/// No description provided for @noPcServersFound.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'No PC server detected automatically on the network.\nMake sure the PC companion app is running and connected to the same Wi-Fi.'**
|
||
String get noPcServersFound;
|
||
|
||
/// No description provided for @requiresPin.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Requires PIN'**
|
||
String get requiresPin;
|
||
|
||
/// No description provided for @withPin.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'With PIN'**
|
||
String get withPin;
|
||
|
||
/// No description provided for @manualSetup.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Manual Configuration'**
|
||
String get manualSetup;
|
||
|
||
/// No description provided for @workstationNameLabel.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Workstation / PC Name (optional)'**
|
||
String get workstationNameLabel;
|
||
|
||
/// No description provided for @workstationNameHint.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'e.g. Register 1, Warehouse, Office'**
|
||
String get workstationNameHint;
|
||
|
||
/// No description provided for @pcIpLabel.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'PC IP Address'**
|
||
String get pcIpLabel;
|
||
|
||
/// No description provided for @pcIpHint.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'e.g. 192.168.1.100'**
|
||
String get pcIpHint;
|
||
|
||
/// No description provided for @portLabel.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Port'**
|
||
String get portLabel;
|
||
|
||
/// No description provided for @pinOptionalLabel.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'PIN (if set)'**
|
||
String get pinOptionalLabel;
|
||
|
||
/// No description provided for @pinHint.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'PIN code'**
|
||
String get pinHint;
|
||
|
||
/// No description provided for @saveAndConnectManually.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Save and Connect Manually'**
|
||
String get saveAndConnectManually;
|
||
|
||
/// No description provided for @disconnectFromPc.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Disconnect from PC'**
|
||
String get disconnectFromPc;
|
||
|
||
/// No description provided for @disconnectedByInactivity.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Disconnected due to inactivity'**
|
||
String get disconnectedByInactivity;
|
||
|
||
/// No description provided for @disconnectedManually.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Manually disconnected'**
|
||
String get disconnectedManually;
|
||
|
||
/// No description provided for @qrModalTitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Scan Server QR Code'**
|
||
String get qrModalTitle;
|
||
|
||
/// No description provided for @qrModalSubtitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Point the camera at the QR code shown in the PC companion app.'**
|
||
String get qrModalSubtitle;
|
||
|
||
/// No description provided for @removeWorkstationTitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Remove workstation?'**
|
||
String get removeWorkstationTitle;
|
||
|
||
/// No description provided for @removeWorkstationMessage.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Do you want to remove \"{name}\" ({ip}) from favorite PCs?'**
|
||
String removeWorkstationMessage(String name, String ip);
|
||
|
||
/// No description provided for @selectPcWorkstation.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Select PC Workstation'**
|
||
String get selectPcWorkstation;
|
||
|
||
/// No description provided for @selectPcSubtitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Choose the computer where codes will be typed'**
|
||
String get selectPcSubtitle;
|
||
|
||
/// No description provided for @inactivityAlert.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Disconnected due to inactivity. Select a workstation before scanning.'**
|
||
String get inactivityAlert;
|
||
|
||
/// No description provided for @noFavoritePcs.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'No favorite PC saved'**
|
||
String get noFavoritePcs;
|
||
|
||
/// No description provided for @noFavoritePcsHint.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Add your store computers to connect with 1 tap and avoid typing on a colleague\'s PC.'**
|
||
String get noFavoritePcsHint;
|
||
|
||
/// No description provided for @removeFavoriteTooltip.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Remove from favorites'**
|
||
String get removeFavoriteTooltip;
|
||
|
||
/// No description provided for @addNewPcButton.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Add New PC (Wi-Fi or QR Code)'**
|
||
String get addNewPcButton;
|
||
|
||
/// No description provided for @autoConnectOnStartup.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Auto-connect on startup'**
|
||
String get autoConnectOnStartup;
|
||
|
||
/// No description provided for @autoConnectSubtitleShort.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Disabled: asks to pick a PC (recommended in multi-PC stores)'**
|
||
String get autoConnectSubtitleShort;
|
||
|
||
/// No description provided for @unlimitedScansTitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Unlimited Scans'**
|
||
String get unlimitedScansTitle;
|
||
|
||
/// No description provided for @unlimitedScansDescription.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Watch a short video to unlock 15 minutes of uninterrupted unlimited PC scanning.'**
|
||
String get unlimitedScansDescription;
|
||
|
||
/// No description provided for @unlocked15MinSnackbar.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'15 minutes of unlimited scans unlocked!'**
|
||
String get unlocked15MinSnackbar;
|
||
|
||
/// No description provided for @loadingVideoRetrySnackbar.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Loading video... Please try again in a moment.'**
|
||
String get loadingVideoRetrySnackbar;
|
||
|
||
/// No description provided for @loadingVideoButton.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Loading video...'**
|
||
String get loadingVideoButton;
|
||
|
||
/// No description provided for @watchVideoButton.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Watch Video (+15 min)'**
|
||
String get watchVideoButton;
|
||
|
||
/// No description provided for @welcomePremiumSnackbar.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Welcome to Unlimited Premium!'**
|
||
String get welcomePremiumSnackbar;
|
||
|
||
/// No description provided for @upgradeToPremiumButton.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Upgrade to Unlimited Premium'**
|
||
String get upgradeToPremiumButton;
|
||
|
||
/// No description provided for @laterButton.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Later'**
|
||
String get laterButton;
|
||
|
||
/// No description provided for @sentToPcSnackbar.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Sent to PC: {code}'**
|
||
String sentToPcSnackbar(String code);
|
||
|
||
/// No description provided for @savedToHistoryOfflineSnackbar.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Code saved to history (PC not connected)'**
|
||
String get savedToHistoryOfflineSnackbar;
|
||
|
||
/// No description provided for @torchTooltip.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Flashlight'**
|
||
String get torchTooltip;
|
||
|
||
/// No description provided for @switchCameraTooltip.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Switch Camera'**
|
||
String get switchCameraTooltip;
|
||
|
||
/// No description provided for @historyTooltip.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'History'**
|
||
String get historyTooltip;
|
||
|
||
/// No description provided for @settingsTooltip.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Settings'**
|
||
String get settingsTooltip;
|
||
|
||
/// No description provided for @premiumBadge.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Premium'**
|
||
String get premiumBadge;
|
||
|
||
/// No description provided for @unlimitedSessionLabel.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'{time} Unlimited'**
|
||
String unlimitedSessionLabel(String time);
|
||
|
||
/// No description provided for @freeScansShort.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'{count} free'**
|
||
String freeScansShort(int count);
|
||
|
||
/// No description provided for @unlock15Min.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Unlock 15 min'**
|
||
String get unlock15Min;
|
||
|
||
/// No description provided for @aimModeStandard.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Standard'**
|
||
String get aimModeStandard;
|
||
|
||
/// No description provided for @aimModePrecision.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Precision'**
|
||
String get aimModePrecision;
|
||
|
||
/// No description provided for @aimModeArMulti.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'AR Multi'**
|
||
String get aimModeArMulti;
|
||
|
||
/// No description provided for @waitingForCodesCancel.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Waiting for codes… Tap to cancel'**
|
||
String get waitingForCodesCancel;
|
||
|
||
/// No description provided for @freezeFrameCount.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'{count, plural, =1{Freeze frame (1 code)} other{Freeze frame ({count} codes)}}'**
|
||
String freezeFrameCount(int count);
|
||
|
||
/// No description provided for @freezeAndPick.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Freeze & pick'**
|
||
String get freezeAndPick;
|
||
|
||
/// No description provided for @manualButton.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Manual'**
|
||
String get manualButton;
|
||
|
||
/// No description provided for @manualFormat.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Manual'**
|
||
String get manualFormat;
|
||
|
||
/// No description provided for @manualInputTitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Manual Entry'**
|
||
String get manualInputTitle;
|
||
|
||
/// No description provided for @manualInputSubtitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Type or paste the code to send directly to the PC:'**
|
||
String get manualInputSubtitle;
|
||
|
||
/// No description provided for @manualInputHint.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'e.g. 8001234567890 or ART-99'**
|
||
String get manualInputHint;
|
||
|
||
/// No description provided for @pasteFromClipboardTooltip.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Paste from clipboard'**
|
||
String get pasteFromClipboardTooltip;
|
||
|
||
/// No description provided for @sendToPcButton.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Send to PC'**
|
||
String get sendToPcButton;
|
||
|
||
/// No description provided for @precisionHelperText.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Center crosshair on code • Tap to focus'**
|
||
String get precisionHelperText;
|
||
|
||
/// No description provided for @standardHelperText.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Frame barcode or QR • Pinch to zoom'**
|
||
String get standardHelperText;
|
||
|
||
/// No description provided for @cooldownSent.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Sent • Pause {seconds}s'**
|
||
String cooldownSent(String seconds);
|
||
|
||
/// No description provided for @cooldownNotSent.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Not sent • Pause {seconds}s'**
|
||
String cooldownNotSent(String seconds);
|
||
|
||
/// No description provided for @notSent.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Not sent'**
|
||
String get notSent;
|
||
|
||
/// No description provided for @copyTooltip.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Copy'**
|
||
String get copyTooltip;
|
||
|
||
/// No description provided for @codeCopiedSnackbar.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Code copied to clipboard'**
|
||
String get codeCopiedSnackbar;
|
||
|
||
/// No description provided for @resendToPcTooltip.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Send to PC again'**
|
||
String get resendToPcTooltip;
|
||
|
||
/// No description provided for @frozenFrameCount.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'{count, plural, =1{Frozen frame • 1 code} other{Frozen frame • {count} codes}}'**
|
||
String frozenFrameCount(int count);
|
||
|
||
/// No description provided for @resumeButton.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Resume'**
|
||
String get resumeButton;
|
||
|
||
/// No description provided for @tapCodeToSend.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Tap a code to send it to the PC'**
|
||
String get tapCodeToSend;
|
||
|
||
/// No description provided for @newScanButton.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'New scan'**
|
||
String get newScanButton;
|
||
|
||
/// No description provided for @sentLabel.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Sent'**
|
||
String get sentLabel;
|
||
|
||
/// No description provided for @sendLabel.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Send'**
|
||
String get sendLabel;
|
||
|
||
/// No description provided for @clearHistoryTitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Clear History?'**
|
||
String get clearHistoryTitle;
|
||
|
||
/// No description provided for @clearHistoryMessage.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'All codes saved in history on this device will be removed.'**
|
||
String get clearHistoryMessage;
|
||
|
||
/// No description provided for @clearAllButton.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Clear All'**
|
||
String get clearAllButton;
|
||
|
||
/// No description provided for @scanHistoryTitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Scan History'**
|
||
String get scanHistoryTitle;
|
||
|
||
/// No description provided for @clearHistoryTooltip.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Clear history'**
|
||
String get clearHistoryTooltip;
|
||
|
||
/// No description provided for @searchCodesHint.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Search codes...'**
|
||
String get searchCodesHint;
|
||
|
||
/// No description provided for @noScansInHistory.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'No scans in history'**
|
||
String get noScansInHistory;
|
||
|
||
/// No description provided for @noResultsForQuery.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'No results for \"{query}\"'**
|
||
String noResultsForQuery(String query);
|
||
|
||
/// No description provided for @copyCodeTooltip.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Copy code'**
|
||
String get copyCodeTooltip;
|
||
|
||
/// No description provided for @copiedToClipboardSnackbar.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Copied to clipboard'**
|
||
String get copiedToClipboardSnackbar;
|
||
|
||
/// No description provided for @resentCodeSnackbar.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Sent \"{code}\" to PC'**
|
||
String resentCodeSnackbar(String code);
|
||
|
||
/// No description provided for @settingsTitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Settings'**
|
||
String get settingsTitle;
|
||
|
||
/// No description provided for @sectionPlanSubscription.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'PLAN & SUBSCRIPTION'**
|
||
String get sectionPlanSubscription;
|
||
|
||
/// No description provided for @premiumPlanActive.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Premium Plan Active'**
|
||
String get premiumPlanActive;
|
||
|
||
/// No description provided for @freeBaseVersion.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Free Basic Version'**
|
||
String get freeBaseVersion;
|
||
|
||
/// No description provided for @unlimitedAndAdFree.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Unlimited scans and zero ads'**
|
||
String get unlimitedAndAdFree;
|
||
|
||
/// No description provided for @activeSessionLabel.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Active session: {time}'**
|
||
String activeSessionLabel(String time);
|
||
|
||
/// No description provided for @freeScansRemaining.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'{count, plural, =1{1 free scan remaining} other{{count} free scans remaining}}'**
|
||
String freeScansRemaining(int count);
|
||
|
||
/// No description provided for @manageButton.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Manage'**
|
||
String get manageButton;
|
||
|
||
/// No description provided for @upgradePremiumShort.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Go Premium'**
|
||
String get upgradePremiumShort;
|
||
|
||
/// No description provided for @restorePurchasesTitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Restore Purchases'**
|
||
String get restorePurchasesTitle;
|
||
|
||
/// No description provided for @restorePurchasesSubtitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Already purchased on another device or reinstalled?'**
|
||
String get restorePurchasesSubtitle;
|
||
|
||
/// No description provided for @restorePurchasesSuccess.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Purchases restored successfully!'**
|
||
String get restorePurchasesSuccess;
|
||
|
||
/// No description provided for @restorePurchasesEmpty.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'No active purchases found to restore.'**
|
||
String get restorePurchasesEmpty;
|
||
|
||
/// No description provided for @sectionPcConnection.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'PC & STORE CONNECTION'**
|
||
String get sectionPcConnection;
|
||
|
||
/// No description provided for @workstationStatusTitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Workstation Status'**
|
||
String get workstationStatusTitle;
|
||
|
||
/// No description provided for @connectedToName.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Connected to {name}'**
|
||
String connectedToName(String name);
|
||
|
||
/// No description provided for @notConnectedWithIp.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Not connected ({ip})'**
|
||
String notConnectedWithIp(String ip);
|
||
|
||
/// No description provided for @noPcConfigured.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'No PC configured'**
|
||
String get noPcConfigured;
|
||
|
||
/// No description provided for @favoriteWorkstationsTitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Favorite PC Workstations'**
|
||
String get favoriteWorkstationsTitle;
|
||
|
||
/// No description provided for @registeredComputersCount.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'{count, plural, =1{1 computer saved} other{{count} computers saved}}'**
|
||
String registeredComputersCount(int count);
|
||
|
||
/// No description provided for @noComputersSaved.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'No computers saved'**
|
||
String get noComputersSaved;
|
||
|
||
/// No description provided for @autoConnectFullTitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Auto-connect on startup/resume'**
|
||
String get autoConnectFullTitle;
|
||
|
||
/// No description provided for @autoConnectFullSubtitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Disabled: always asks which PC to connect to (prevents typing on a colleague\'s PC)'**
|
||
String get autoConnectFullSubtitle;
|
||
|
||
/// No description provided for @inactivityDisconnectTitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Inactivity disconnect'**
|
||
String get inactivityDisconnectTitle;
|
||
|
||
/// No description provided for @inactivityDisconnectActive.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Disconnects after {minutes} minutes without scans'**
|
||
String inactivityDisconnectActive(int minutes);
|
||
|
||
/// No description provided for @inactivityDisconnectOff.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Disabled (stays connected)'**
|
||
String get inactivityDisconnectOff;
|
||
|
||
/// No description provided for @inactivity5Min.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'5 min (Recommended)'**
|
||
String get inactivity5Min;
|
||
|
||
/// No description provided for @inactivity10Min.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'10 min'**
|
||
String get inactivity10Min;
|
||
|
||
/// No description provided for @inactivity15Min.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'15 min'**
|
||
String get inactivity15Min;
|
||
|
||
/// No description provided for @disabledOption.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Disabled'**
|
||
String get disabledOption;
|
||
|
||
/// No description provided for @sendTypingTestTitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Send Typing Test'**
|
||
String get sendTypingTestTitle;
|
||
|
||
/// No description provided for @sendTypingTestSubtitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Types \"TEST-CATELLI-123\" on the active PC'**
|
||
String get sendTypingTestSubtitle;
|
||
|
||
/// No description provided for @typingTestSentSnackbar.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Typing test sent to PC!'**
|
||
String get typingTestSentSnackbar;
|
||
|
||
/// No description provided for @sectionKeyboardEmulation.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'PC KEYBOARD EMULATION'**
|
||
String get sectionKeyboardEmulation;
|
||
|
||
/// No description provided for @suffixEnterTitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Enter Key'**
|
||
String get suffixEnterTitle;
|
||
|
||
/// No description provided for @suffixEnterSubtitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Presses Enter after each code (recommended for Excel, ERP, POS)'**
|
||
String get suffixEnterSubtitle;
|
||
|
||
/// No description provided for @suffixTabTitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Tab Key'**
|
||
String get suffixTabTitle;
|
||
|
||
/// No description provided for @suffixTabSubtitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Moves cursor to the next field/cell'**
|
||
String get suffixTabSubtitle;
|
||
|
||
/// No description provided for @suffixNoneTitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'No trailing key'**
|
||
String get suffixNoneTitle;
|
||
|
||
/// No description provided for @suffixNoneSubtitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Types only the raw barcode string'**
|
||
String get suffixNoneSubtitle;
|
||
|
||
/// No description provided for @sectionScanFeedback.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'SCANNING & FEEDBACK'**
|
||
String get sectionScanFeedback;
|
||
|
||
/// No description provided for @aimModeTitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Aiming mode'**
|
||
String get aimModeTitle;
|
||
|
||
/// No description provided for @aimModeSubtitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Standard, Precision (crosshair + zoom), or AR Multi-Code'**
|
||
String get aimModeSubtitle;
|
||
|
||
/// No description provided for @postScanPauseTitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Post-scan pause'**
|
||
String get postScanPauseTitle;
|
||
|
||
/// No description provided for @postScanPauseSubtitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Wait {seconds}s before the next reading'**
|
||
String postScanPauseSubtitle(String seconds);
|
||
|
||
/// No description provided for @cooldown1s.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'1.0 sec (Fast)'**
|
||
String get cooldown1s;
|
||
|
||
/// No description provided for @cooldown2s.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'2.0 sec'**
|
||
String get cooldown2s;
|
||
|
||
/// No description provided for @cooldown25s.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'2.5 sec (Recommended)'**
|
||
String get cooldown25s;
|
||
|
||
/// No description provided for @cooldown3s.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'3.0 sec'**
|
||
String get cooldown3s;
|
||
|
||
/// No description provided for @cooldown4s.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'4.0 sec'**
|
||
String get cooldown4s;
|
||
|
||
/// No description provided for @cooldown5s.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'5.0 sec'**
|
||
String get cooldown5s;
|
||
|
||
/// No description provided for @continuousScanTitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Continuous Scanning'**
|
||
String get continuousScanTitle;
|
||
|
||
/// No description provided for @continuousScanSubtitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Reduces pause to 1.0s when scanning different codes in a row'**
|
||
String get continuousScanSubtitle;
|
||
|
||
/// No description provided for @vibrationTitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Vibrate on scan'**
|
||
String get vibrationTitle;
|
||
|
||
/// No description provided for @vibrationSubtitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Haptic feedback when a code is decoded'**
|
||
String get vibrationSubtitle;
|
||
|
||
/// No description provided for @soundTitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Confirmation sound'**
|
||
String get soundTitle;
|
||
|
||
/// No description provided for @soundSubtitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Audio beep when a barcode is read'**
|
||
String get soundSubtitle;
|
||
|
||
/// No description provided for @sectionLanguage.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'LANGUAGE'**
|
||
String get sectionLanguage;
|
||
|
||
/// No description provided for @languageTitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'App Language'**
|
||
String get languageTitle;
|
||
|
||
/// No description provided for @languageSystem.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'System default'**
|
||
String get languageSystem;
|
||
|
||
/// No description provided for @languageItalian.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Italiano'**
|
||
String get languageItalian;
|
||
|
||
/// No description provided for @languageEnglish.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'English'**
|
||
String get languageEnglish;
|
||
|
||
/// No description provided for @sectionInfo.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'ABOUT'**
|
||
String get sectionInfo;
|
||
|
||
/// No description provided for @organizationTitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Organization'**
|
||
String get organizationTitle;
|
||
|
||
/// No description provided for @appVersionTitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'App Version'**
|
||
String get appVersionTitle;
|
||
|
||
/// No description provided for @paywallTitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Barcode Reader Premium'**
|
||
String get paywallTitle;
|
||
|
||
/// No description provided for @paywallSubtitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Unlock unlimited PC scanning with zero interruptions.'**
|
||
String get paywallSubtitle;
|
||
|
||
/// No description provided for @paywallBenefitUnlimited.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Unlimited barcode & QR scans forever'**
|
||
String get paywallBenefitUnlimited;
|
||
|
||
/// No description provided for @paywallBenefitNoAds.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Zero ads, no waiting timers'**
|
||
String get paywallBenefitNoAds;
|
||
|
||
/// No description provided for @paywallBenefitAllModes.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Standard, Precision & AR Multi-Scan modes'**
|
||
String get paywallBenefitAllModes;
|
||
|
||
/// No description provided for @paywallBenefitMultiPc.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Multi-PC favorites & instant Wi-Fi sync'**
|
||
String get paywallBenefitMultiPc;
|
||
|
||
/// No description provided for @paywallPlanYearly.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Yearly'**
|
||
String get paywallPlanYearly;
|
||
|
||
/// No description provided for @paywallPlanMonthly.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Monthly'**
|
||
String get paywallPlanMonthly;
|
||
|
||
/// No description provided for @paywallPlanLifetime.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Lifetime'**
|
||
String get paywallPlanLifetime;
|
||
|
||
/// No description provided for @paywallPerYear.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'/ year'**
|
||
String get paywallPerYear;
|
||
|
||
/// No description provided for @paywallPerMonth.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'/ month'**
|
||
String get paywallPerMonth;
|
||
|
||
/// No description provided for @paywallOneTime.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'One-time purchase'**
|
||
String get paywallOneTime;
|
||
|
||
/// No description provided for @paywallBestValue.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'BEST VALUE'**
|
||
String get paywallBestValue;
|
||
|
||
/// No description provided for @paywallSavePercent.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'SAVE {percent}%'**
|
||
String paywallSavePercent(int percent);
|
||
|
||
/// No description provided for @paywallOneTimeBadge.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'PAY ONCE'**
|
||
String get paywallOneTimeBadge;
|
||
|
||
/// No description provided for @paywallContinueButton.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Continue'**
|
||
String get paywallContinueButton;
|
||
|
||
/// No description provided for @paywallContinueWithPrice.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Continue — {price}'**
|
||
String paywallContinueWithPrice(String price);
|
||
|
||
/// No description provided for @paywallLoadingPlans.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Loading available plans...'**
|
||
String get paywallLoadingPlans;
|
||
|
||
/// No description provided for @paywallUnavailableTitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Plans temporarily unavailable'**
|
||
String get paywallUnavailableTitle;
|
||
|
||
/// No description provided for @paywallUnavailableSubtitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Check your internet connection or Google Play availability and try again.'**
|
||
String get paywallUnavailableSubtitle;
|
||
|
||
/// No description provided for @paywallRetryButton.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Retry'**
|
||
String get paywallRetryButton;
|
||
|
||
/// No description provided for @paywallPurchaseError.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Purchase could not be completed. Please try again.'**
|
||
String get paywallPurchaseError;
|
||
|
||
/// No description provided for @paywallLegalNote.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Subscriptions auto-renew unless cancelled at least 24 hours before the end of the period in Google Play settings.'**
|
||
String get paywallLegalNote;
|
||
|
||
/// No description provided for @premiumManageTitle.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Premium Active'**
|
||
String get premiumManageTitle;
|
||
|
||
/// No description provided for @premiumManageBody.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Your Unlimited Premium plan is active on this account.\n\nTo manage or cancel a subscription, open Google Play Store → Payments & subscriptions → Subscriptions.'**
|
||
String get premiumManageBody;
|
||
|
||
/// No description provided for @closeButton.
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Close'**
|
||
String get closeButton;
|
||
}
|
||
|
||
class _AppLocalizationsDelegate
|
||
extends LocalizationsDelegate<AppLocalizations> {
|
||
const _AppLocalizationsDelegate();
|
||
|
||
@override
|
||
Future<AppLocalizations> load(Locale locale) {
|
||
return SynchronousFuture<AppLocalizations>(lookupAppLocalizations(locale));
|
||
}
|
||
|
||
@override
|
||
bool isSupported(Locale locale) =>
|
||
<String>['en', 'it'].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 'en':
|
||
return AppLocalizationsEn();
|
||
case 'it':
|
||
return AppLocalizationsIt();
|
||
}
|
||
|
||
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.',
|
||
);
|
||
}
|