basta localizzazioni per ora
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -5,7 +5,6 @@ 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
|
||||
@@ -93,64 +92,355 @@ abstract class AppLocalizations {
|
||||
];
|
||||
|
||||
/// A list of this localizations delegate's supported locales.
|
||||
static const List<Locale> supportedLocales = <Locale>[
|
||||
Locale('en'),
|
||||
Locale('it'),
|
||||
];
|
||||
static const List<Locale> supportedLocales = <Locale>[Locale('it')];
|
||||
|
||||
/// No description provided for @welcomeBack.
|
||||
/// No description provided for @authCubitCheckEmailToConfirmAccount.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Bentornato, {name}! 👋'**
|
||||
String welcomeBack(String name);
|
||||
/// **'Controlla la tua email per confermare l\'account!'**
|
||||
String get authCubitCheckEmailToConfirmAccount;
|
||||
|
||||
/// No description provided for @latestServices.
|
||||
/// No description provided for @authCubitResetPasswordEmailSentTo.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Ultimi Servizi'**
|
||||
String get latestServices;
|
||||
/// **'Email per reset password inviata a {email}!'**
|
||||
String authCubitResetPasswordEmailSentTo(String email);
|
||||
|
||||
/// No description provided for @masterData.
|
||||
/// No description provided for @authError.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Errore di autenticazione: {message}'**
|
||||
String authError(String message);
|
||||
|
||||
/// No description provided for @authScreenAlreadyHaveAccount.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Hai già un account?'**
|
||||
String get authScreenAlreadyHaveAccount;
|
||||
|
||||
/// No description provided for @authScreenBusinessEmail.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Email aziendale'**
|
||||
String get authScreenBusinessEmail;
|
||||
|
||||
/// No description provided for @authScreenCreateAccount.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'CREA ACCOUNT'**
|
||||
String get authScreenCreateAccount;
|
||||
|
||||
/// No description provided for @authScreenDontHaveAccount.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Non hai un account?'**
|
||||
String get authScreenDontHaveAccount;
|
||||
|
||||
/// No description provided for @authScreenForgotPassword.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Password dimenticata/Invito scaduto?'**
|
||||
String get authScreenForgotPassword;
|
||||
|
||||
/// No description provided for @authScreenLogin.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'LOGIN'**
|
||||
String get authScreenLogin;
|
||||
|
||||
/// No description provided for @authScreenLoginToManageYourBusiness.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Accedi per gestire il tuo business'**
|
||||
String get authScreenLoginToManageYourBusiness;
|
||||
|
||||
/// No description provided for @authScreenSignUp.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'REGISTRATI'**
|
||||
String get authScreenSignUp;
|
||||
|
||||
/// No description provided for @authScreenStartTodayToDigitalizeYourStore.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Inizia oggi a digitalizzare il tuo negozio'**
|
||||
String get authScreenStartTodayToDigitalizeYourStore;
|
||||
|
||||
/// No description provided for @authScreenWelcomeBack.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'BENTORNATO'**
|
||||
String get authScreenWelcomeBack;
|
||||
|
||||
/// No description provided for @commonClose.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Chiudi'**
|
||||
String get commonClose;
|
||||
|
||||
/// No description provided for @commonComingSoon.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Coming soon'**
|
||||
String get commonComingSoon;
|
||||
|
||||
/// No description provided for @commonDashboard.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Panoramica'**
|
||||
String get commonDashboard;
|
||||
|
||||
/// No description provided for @commonError.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Si è verificato un errore: {error}'**
|
||||
String commonError(String error);
|
||||
|
||||
/// No description provided for @commonMasterData.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Anagrafiche'**
|
||||
String get masterData;
|
||||
String get commonMasterData;
|
||||
|
||||
/// No description provided for @settings.
|
||||
/// No description provided for @commonNewPassword.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Impostazioni'**
|
||||
String get settings;
|
||||
/// **'Nuova Password'**
|
||||
String get commonNewPassword;
|
||||
|
||||
/// No description provided for @newService.
|
||||
/// No description provided for @commonNote.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Nota'**
|
||||
String get commonNote;
|
||||
|
||||
/// No description provided for @commonSave.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Salva'**
|
||||
String get commonSave;
|
||||
|
||||
/// No description provided for @commonService.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Servizio'**
|
||||
String get newService;
|
||||
String get commonService;
|
||||
|
||||
/// No description provided for @expiring_contracts.
|
||||
/// No description provided for @commonSettings.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Contratti in scadenza'**
|
||||
String get expiring_contracts;
|
||||
/// **'Impostazioni'**
|
||||
String get commonSettings;
|
||||
|
||||
/// No description provided for @sticky_notes.
|
||||
/// No description provided for @commonStickyNotes.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Sticky Notes'**
|
||||
String get sticky_notes;
|
||||
String get commonStickyNotes;
|
||||
|
||||
/// No description provided for @my_tasks.
|
||||
/// No description provided for @commonTask.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Mie Attività'**
|
||||
String get my_tasks;
|
||||
/// **'Attività'**
|
||||
String get commonTask;
|
||||
|
||||
/// No description provided for @latest_service_tickets.
|
||||
/// No description provided for @homeExpiringContracts.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Contratti in scadenza'**
|
||||
String get homeExpiringContracts;
|
||||
|
||||
/// No description provided for @homeLatestServiceTickets.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Ultime assistenze'**
|
||||
String get latest_service_tickets;
|
||||
String get homeLatestServiceTickets;
|
||||
|
||||
/// No description provided for @homeLatestServices.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Ultimi Servizi'**
|
||||
String get homeLatestServices;
|
||||
|
||||
/// No description provided for @homeMyTasks.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Mie Attività'**
|
||||
String get homeMyTasks;
|
||||
|
||||
/// No description provided for @homeNewServiceTicket.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Nuova assistenza'**
|
||||
String get homeNewServiceTicket;
|
||||
|
||||
/// No description provided for @homeNoStoreFound.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Nessun negozio trovato'**
|
||||
String get homeNoStoreFound;
|
||||
|
||||
/// No description provided for @homeWelcomeBack.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Bentornato, {name}! 👋'**
|
||||
String homeWelcomeBack(String name);
|
||||
|
||||
/// No description provided for @imageViewerWidgetErrorOpening.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Errore durante l\'apertura dell\'immagine'**
|
||||
String get imageViewerWidgetErrorOpening;
|
||||
|
||||
/// No description provided for @pdfViewerAnteprimaPdf.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Anteprima PDF'**
|
||||
String get pdfViewerAnteprimaPdf;
|
||||
|
||||
/// No description provided for @setPasswordInviteAcceptedChoosePassword.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Hai accettato l\'invito. Scegli una password sicura per accedere in futuro.'**
|
||||
String get setPasswordInviteAcceptedChoosePassword;
|
||||
|
||||
/// No description provided for @setPasswordScreenAtLeast6Chars.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'La password deve avere almeno 6 caratteri'**
|
||||
String get setPasswordScreenAtLeast6Chars;
|
||||
|
||||
/// No description provided for @setPasswordScreenPasswordSetWelcome.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Password impostata! Benvenuto a bordo 🚀'**
|
||||
String get setPasswordScreenPasswordSetWelcome;
|
||||
|
||||
/// No description provided for @setPasswordScreenSaveAndStart.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'SALVA E INIZIA'**
|
||||
String get setPasswordScreenSaveAndStart;
|
||||
|
||||
/// No description provided for @setPasswordScreenSetPassword.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Imposta una nuova Password'**
|
||||
String get setPasswordScreenSetPassword;
|
||||
|
||||
/// No description provided for @setPasswordScreenWelcomeInFlux.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Benvenuto in FLUX!'**
|
||||
String get setPasswordScreenWelcomeInFlux;
|
||||
|
||||
/// No description provided for @createCompanyScreenCompanyConfiguration.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Configurazione Azienda'**
|
||||
String get createCompanyScreenCompanyConfiguration;
|
||||
|
||||
/// No description provided for @commonSavingError.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Errore durante il salvataggio'**
|
||||
String get commonSavingError;
|
||||
|
||||
/// No description provided for @createCompanyScreenFiscalData.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'DATI FISCALI'**
|
||||
String get createCompanyScreenFiscalData;
|
||||
|
||||
/// No description provided for @createCompanyScreenCompanyName.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Ragione Sociale'**
|
||||
String get createCompanyScreenCompanyName;
|
||||
|
||||
/// No description provided for @createCompanyScreenVatId.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Partita IVA'**
|
||||
String get createCompanyScreenVatId;
|
||||
|
||||
/// No description provided for @createCompanyScreenFiscalCode.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Codice Fiscale'**
|
||||
String get createCompanyScreenFiscalCode;
|
||||
|
||||
/// No description provided for @createCompanyScreenSdiPec.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Codice Univoco (SDI) / PEC'**
|
||||
String get createCompanyScreenSdiPec;
|
||||
|
||||
/// No description provided for @createCompanyScreenCompanyLegalAddress.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'SEDE LEGALE'**
|
||||
String get createCompanyScreenCompanyLegalAddress;
|
||||
|
||||
/// No description provided for @commonAddress.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Indirizzo e n. civico'**
|
||||
String get commonAddress;
|
||||
|
||||
/// No description provided for @commonCity.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Città'**
|
||||
String get commonCity;
|
||||
|
||||
/// No description provided for @commonZipCode.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'CAP'**
|
||||
String get commonZipCode;
|
||||
|
||||
/// No description provided for @commonProvince.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Prov'**
|
||||
String get commonProvince;
|
||||
|
||||
/// No description provided for @commonCountry.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Paese'**
|
||||
String get commonCountry;
|
||||
|
||||
/// No description provided for @createCompanyScreenUploadLogo.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Carica Logo Aziendale'**
|
||||
String get createCompanyScreenUploadLogo;
|
||||
|
||||
/// No description provided for @createCompanyScreenWillBeUsedForReceipts.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Verrà utilizzato per le tue stampe e ricevute'**
|
||||
String get createCompanyScreenWillBeUsedForReceipts;
|
||||
|
||||
/// No description provided for @createCompanyScreenSaveCompany.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'SALVA AZIENDA'**
|
||||
String get createCompanyScreenSaveCompany;
|
||||
|
||||
/// No description provided for @createCompanyScreenSetupYourCompany.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'Configura la tua Azienda'**
|
||||
String get createCompanyScreenSetupYourCompany;
|
||||
|
||||
/// No description provided for @createCompanyScreenFluxNeedsYourFiscalData.
|
||||
///
|
||||
/// In it, this message translates to:
|
||||
/// **'FLUX ha bisogno dei tuoi dati fiscali per gestire correttamente le fatturazioni e le attivazioni dei tuoi negozi.'**
|
||||
String get createCompanyScreenFluxNeedsYourFiscalData;
|
||||
}
|
||||
|
||||
class _AppLocalizationsDelegate
|
||||
@@ -164,7 +454,7 @@ class _AppLocalizationsDelegate
|
||||
|
||||
@override
|
||||
bool isSupported(Locale locale) =>
|
||||
<String>['en', 'it'].contains(locale.languageCode);
|
||||
<String>['it'].contains(locale.languageCode);
|
||||
|
||||
@override
|
||||
bool shouldReload(_AppLocalizationsDelegate old) => false;
|
||||
@@ -173,8 +463,6 @@ class _AppLocalizationsDelegate
|
||||
AppLocalizations lookupAppLocalizations(Locale locale) {
|
||||
// Lookup logic when only language code is specified.
|
||||
switch (locale.languageCode) {
|
||||
case 'en':
|
||||
return AppLocalizationsEn();
|
||||
case 'it':
|
||||
return AppLocalizationsIt();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user