diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_en.arb b/packages/ubuntu_desktop_installer/lib/l10n/app_en.arb index 2210bbb0e5..e81edbd06d 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_en.arb +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_en.arb @@ -80,6 +80,7 @@ "dontInstallDriverSoftwareNowDescription": "You can install it later from Software & Updates.", "configureSecureBootSecurityKeyRequired": "Security key is required", "secureBootSecurityKeysDontMatch": "Security keys do not match", + "showSecurityKey": "Show security key", "connectToInternetPageTitle": "Connect to internet", "connectToInternetDescription": "Connecting this computer to the internet will help Ubuntu install any extra software needed and help choose your time zone.\n\nConnect by ethernet cable, or choose a Wi-Fi network", "useWiredConnection": "Use wired connection", @@ -176,6 +177,7 @@ } }, "installationTypeLVMSelected": "LVM selected", + "installationTypeLVMEncryptionSelected": "LVM and encryption selected", "installationTypeEncrypt": "Encrypt the new {RELEASE} installation for security", "@installationTypeEncrypt": { "type": "text", diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations.dart index 88cfb3452b..974603dfba 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations.dart @@ -464,6 +464,12 @@ abstract class AppLocalizations { /// **'Security keys do not match'** String get secureBootSecurityKeysDontMatch; + /// No description provided for @showSecurityKey. + /// + /// In en, this message translates to: + /// **'Show security key'** + String get showSecurityKey; + /// No description provided for @connectToInternetPageTitle. /// /// In en, this message translates to: @@ -746,6 +752,12 @@ abstract class AppLocalizations { /// **'LVM selected'** String get installationTypeLVMSelected; + /// No description provided for @installationTypeLVMEncryptionSelected. + /// + /// In en, this message translates to: + /// **'LVM and encryption selected'** + String get installationTypeLVMEncryptionSelected; + /// No description provided for @installationTypeEncrypt. /// /// In en, this message translates to: diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_am.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_am.dart index e1e8e41de3..0c4f08ea50 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_am.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_am.dart @@ -132,6 +132,9 @@ class AppLocalizationsAm extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsAm extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ar.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ar.dart index b56a294798..a1775d217e 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ar.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ar.dart @@ -132,6 +132,9 @@ class AppLocalizationsAr extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsAr extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_be.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_be.dart index 6290e9b0b5..edff4df79e 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_be.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_be.dart @@ -132,6 +132,9 @@ class AppLocalizationsBe extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsBe extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_bg.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_bg.dart index dd96673631..0d5a5b99c4 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_bg.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_bg.dart @@ -132,6 +132,9 @@ class AppLocalizationsBg extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsBg extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_bn.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_bn.dart index 38294da9fc..a37e76e2fe 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_bn.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_bn.dart @@ -132,6 +132,9 @@ class AppLocalizationsBn extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsBn extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_bo.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_bo.dart index fbcef857cf..2d9049d10d 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_bo.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_bo.dart @@ -132,6 +132,9 @@ class AppLocalizationsBo extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsBo extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_bs.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_bs.dart index cf0e5f86b3..3fee016e6d 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_bs.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_bs.dart @@ -132,6 +132,9 @@ class AppLocalizationsBs extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsBs extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ca.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ca.dart index bf38472dd3..706f737a71 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ca.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ca.dart @@ -132,6 +132,9 @@ class AppLocalizationsCa extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsCa extends AppLocalizations { @override String get installationTypeLVMSelected => 'Seleccionat LVM'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_cs.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_cs.dart index 584e9d82c8..98ab1a04c9 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_cs.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_cs.dart @@ -132,6 +132,9 @@ class AppLocalizationsCs extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Do každé z kolonek pro klíč zabezpečení jste napsali něco jiného'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Připojit k Internetu'; @@ -289,6 +292,9 @@ class AppLocalizationsCs extends AppLocalizations { @override String get installationTypeLVMSelected => 'Vybráno LVM'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Zabezpečit novou instalaci $RELEASE šifrováním'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_cy.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_cy.dart index 7a14de30e4..863ff3da5c 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_cy.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_cy.dart @@ -132,6 +132,9 @@ class AppLocalizationsCy extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsCy extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_da.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_da.dart index 2534321971..98361b8774 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_da.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_da.dart @@ -132,6 +132,9 @@ class AppLocalizationsDa extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsDa extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_de.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_de.dart index bc962e0e90..3c15c6fe0a 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_de.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_de.dart @@ -132,6 +132,9 @@ class AppLocalizationsDe extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Die Sicherheitsschlüssel stimmen nicht überein'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Mit dem Internet verbinden'; @@ -289,6 +292,9 @@ class AppLocalizationsDe extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM ausgewählt'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Die neue $RELEASE -Installation zur Sicherheit verschlüsseln'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_dz.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_dz.dart index 7c0258f225..73cd603f31 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_dz.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_dz.dart @@ -132,6 +132,9 @@ class AppLocalizationsDz extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsDz extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_el.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_el.dart index 4825289f4e..875cc97b6c 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_el.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_el.dart @@ -132,6 +132,9 @@ class AppLocalizationsEl extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsEl extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_en.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_en.dart index 4593edbfb4..d458d93cda 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_en.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_en.dart @@ -132,6 +132,9 @@ class AppLocalizationsEn extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsEn extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_eo.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_eo.dart index ec3e006d75..5951b7c4f9 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_eo.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_eo.dart @@ -132,6 +132,9 @@ class AppLocalizationsEo extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'La sekurigaj ŝlosiloj ne kongruas'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Konekti al Interreto'; @@ -289,6 +292,9 @@ class AppLocalizationsEo extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM elektita'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Ĉifri la novan instalaĵon de $RELEASE por sekurigi ĝin'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_es.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_es.dart index 4ee7136d83..940b47f6ab 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_es.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_es.dart @@ -132,6 +132,9 @@ class AppLocalizationsEs extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Las claves de seguridad no coinciden'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Conectarse a Internet'; @@ -289,6 +292,9 @@ class AppLocalizationsEs extends AppLocalizations { @override String get installationTypeLVMSelected => 'Se seleccionó LVM'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Cifrar la instalación nueva de $RELEASE por seguridad'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_et.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_et.dart index a4b12e02d8..286929c1bc 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_et.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_et.dart @@ -132,6 +132,9 @@ class AppLocalizationsEt extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsEt extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_eu.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_eu.dart index fab03112e9..fbe713b0af 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_eu.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_eu.dart @@ -132,6 +132,9 @@ class AppLocalizationsEu extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsEu extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_fa.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_fa.dart index 33fa71ad12..f148424c41 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_fa.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_fa.dart @@ -132,6 +132,9 @@ class AppLocalizationsFa extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'کلیدهای امنیتی مطابقت ندارند'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'اتّصال به اینترنت'; @@ -289,6 +292,9 @@ class AppLocalizationsFa extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_fi.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_fi.dart index 3f7216e82c..9449e6620c 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_fi.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_fi.dart @@ -132,6 +132,9 @@ class AppLocalizationsFi extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Salausavaimet eivät täsmää'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Yhdistä internetiin'; @@ -289,6 +292,9 @@ class AppLocalizationsFi extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM valittu'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Salaa uusi $RELEASE-asennus paremman tietoturvan vuoksi'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_fr.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_fr.dart index 5827fc5db2..c1a4ba0e6e 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_fr.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_fr.dart @@ -132,6 +132,9 @@ class AppLocalizationsFr extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Les codes de sécurité ne correspondent pas'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Se connecter à internet'; @@ -289,6 +292,9 @@ class AppLocalizationsFr extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM sélectionné'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Chiffrer la nouvelle installation d’$RELEASE pour la sécurité'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ga.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ga.dart index 625b2cf5b2..80ea5276be 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ga.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ga.dart @@ -132,6 +132,9 @@ class AppLocalizationsGa extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsGa extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_gl.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_gl.dart index 4cd6740251..c57a110f27 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_gl.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_gl.dart @@ -132,6 +132,9 @@ class AppLocalizationsGl extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsGl extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_gu.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_gu.dart index 65de54f394..b4d42bcc7c 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_gu.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_gu.dart @@ -132,6 +132,9 @@ class AppLocalizationsGu extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsGu extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_he.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_he.dart index da0b07cf57..45601371d2 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_he.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_he.dart @@ -132,6 +132,9 @@ class AppLocalizationsHe extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'מפתחות האבטחה סותרים זה את זה'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'התחברות לאינטרנט'; @@ -289,6 +292,9 @@ class AppLocalizationsHe extends AppLocalizations { @override String get installationTypeLVMSelected => 'נבחר מנהל כרכים לוגי'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'להצפין את התקנת $RELEASE החדשה לשיפור האבטחה'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_hi.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_hi.dart index 8fe43a548f..17e35f0086 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_hi.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_hi.dart @@ -132,6 +132,9 @@ class AppLocalizationsHi extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsHi extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_hr.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_hr.dart index 0587d7dd76..cdcaeb4338 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_hr.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_hr.dart @@ -132,6 +132,9 @@ class AppLocalizationsHr extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsHr extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_hu.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_hu.dart index 679a327b56..de61823bf2 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_hu.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_hu.dart @@ -132,6 +132,9 @@ class AppLocalizationsHu extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'A biztonsági kulcsok nem egyeznek'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Csatlakozás az internethez'; @@ -289,6 +292,9 @@ class AppLocalizationsHu extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM kiválasztva'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Az új $RELEASE telepítés titkosítása a biztonság érdekében'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_id.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_id.dart index 3e7744834b..8088384767 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_id.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_id.dart @@ -132,6 +132,9 @@ class AppLocalizationsId extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Kunci keamanan tidak cocok'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Menyambung ke internet'; @@ -289,6 +292,9 @@ class AppLocalizationsId extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM dipilih'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Enkripsi instalasi $RELEASE baru untuk keamanan'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_is.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_is.dart index 6a4ce1308c..10ed822fd3 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_is.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_is.dart @@ -132,6 +132,9 @@ class AppLocalizationsIs extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsIs extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_it.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_it.dart index b7c0da1ffa..d864a4e960 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_it.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_it.dart @@ -132,6 +132,9 @@ class AppLocalizationsIt extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Le chiavi di sicurezza non corrispondono'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connetti alla rete'; @@ -289,6 +292,9 @@ class AppLocalizationsIt extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ja.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ja.dart index baa1557f33..a43ae13783 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ja.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ja.dart @@ -132,6 +132,9 @@ class AppLocalizationsJa extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'セキュリティキーが一致しません'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'インターネットに接続'; @@ -289,6 +292,9 @@ class AppLocalizationsJa extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM を選択しました'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'セキュリティのためディスクを暗号化し、 $RELEASE をインストールする'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ka.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ka.dart index 4d4ed1e58f..5e271d8788 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ka.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ka.dart @@ -132,6 +132,9 @@ class AppLocalizationsKa extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsKa extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_kk.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_kk.dart index 5393210f0f..81e6a808db 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_kk.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_kk.dart @@ -132,6 +132,9 @@ class AppLocalizationsKk extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsKk extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_km.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_km.dart index 8f464ba8f0..3c57f6899b 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_km.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_km.dart @@ -132,6 +132,9 @@ class AppLocalizationsKm extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsKm extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_kn.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_kn.dart index 9685e29efe..726e063a6a 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_kn.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_kn.dart @@ -132,6 +132,9 @@ class AppLocalizationsKn extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsKn extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ko.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ko.dart index 8b6669ed30..e69f434579 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ko.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ko.dart @@ -132,6 +132,9 @@ class AppLocalizationsKo extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => '보안 키가 일치하지 않습니다'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => '인터넷에 연결하기'; @@ -289,6 +292,9 @@ class AppLocalizationsKo extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM 선택됨'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return '보안을 위해 새 $RELEASE 설치 암호화'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ku.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ku.dart index 10755dca3e..a78a08a95a 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ku.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ku.dart @@ -132,6 +132,9 @@ class AppLocalizationsKu extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsKu extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_lo.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_lo.dart index 20f52f4368..892b7cd4de 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_lo.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_lo.dart @@ -132,6 +132,9 @@ class AppLocalizationsLo extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsLo extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_lt.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_lt.dart index 99dc705e88..ba980dd140 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_lt.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_lt.dart @@ -132,6 +132,9 @@ class AppLocalizationsLt extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Saugumo raktai nesutampa'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Prisijunkite prie interneto'; @@ -289,6 +292,9 @@ class AppLocalizationsLt extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM pasirinkta'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Šifruoti naują $RELEASE diegimą, kad būtų užtikrintas saugumas'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_lv.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_lv.dart index a5a211be30..733f29bf91 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_lv.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_lv.dart @@ -132,6 +132,9 @@ class AppLocalizationsLv extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsLv extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_mk.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_mk.dart index bb3c71848d..d65ceb3867 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_mk.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_mk.dart @@ -132,6 +132,9 @@ class AppLocalizationsMk extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsMk extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ml.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ml.dart index 26828321ab..ce89153913 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ml.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ml.dart @@ -132,6 +132,9 @@ class AppLocalizationsMl extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'സുരക്ഷാ കീകൾ പൊരുത്തപ്പെടുന്നില്ല'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'ഇന്റർനെറ്റ് ആയിട്ട് ബന്ധിപ്പിക്കുക'; @@ -289,6 +292,9 @@ class AppLocalizationsMl extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM തിരഞ്ഞെടുത്തു'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'സുരക്ഷയ്ക്കായി പുതിയ $RELEASE ഇൻസ്റ്റാളേഷൻ എൻക്രിപ്റ്റ് ചെയ്യുക'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_mr.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_mr.dart index ca81ba9545..b5341c6b03 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_mr.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_mr.dart @@ -132,6 +132,9 @@ class AppLocalizationsMr extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsMr extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_my.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_my.dart index 7f0635d2b1..a7301eb065 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_my.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_my.dart @@ -132,6 +132,9 @@ class AppLocalizationsMy extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsMy extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_nb.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_nb.dart index 3a040ad4fb..616fed21ba 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_nb.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_nb.dart @@ -132,6 +132,9 @@ class AppLocalizationsNb extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Sikkerhetsnøkkel stemmer ikke'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Koble til internett'; @@ -289,6 +292,9 @@ class AppLocalizationsNb extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM valg'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Kryptere nye $RELEASE installasjon for sikkerhet'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ne.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ne.dart index c105585be4..e64f3d45f7 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ne.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ne.dart @@ -132,6 +132,9 @@ class AppLocalizationsNe extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsNe extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_nl.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_nl.dart index 6eab36ed4c..8846671d13 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_nl.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_nl.dart @@ -132,6 +132,9 @@ class AppLocalizationsNl extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsNl extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_nn.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_nn.dart index 9de8c48151..0abf55a83c 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_nn.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_nn.dart @@ -132,6 +132,9 @@ class AppLocalizationsNn extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsNn extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_oc.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_oc.dart index 20843d9664..2d197d6a0d 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_oc.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_oc.dart @@ -132,6 +132,9 @@ class AppLocalizationsOc extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Las claus de seguretat correspondon pas'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Se connectar a internet'; @@ -289,6 +292,9 @@ class AppLocalizationsOc extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM seleccionat'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Chifrar l’installacion de $RELEASE novèla per la seguretat'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_pa.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_pa.dart index 31cfac29f3..0166ce7e44 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_pa.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_pa.dart @@ -132,6 +132,9 @@ class AppLocalizationsPa extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsPa extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_pl.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_pl.dart index dd27e47cba..33739a32e2 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_pl.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_pl.dart @@ -132,6 +132,9 @@ class AppLocalizationsPl extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Klucze bezpieczeństwa nie są zgodne'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Połącz się z Internetem'; @@ -289,6 +292,9 @@ class AppLocalizationsPl extends AppLocalizations { @override String get installationTypeLVMSelected => 'Wybrano LVM'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Zaszyfruj nową instalację $RELEASE dla bezpieczeństwa'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_pt.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_pt.dart index 003d7d890b..68436a312b 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_pt.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_pt.dart @@ -132,6 +132,9 @@ class AppLocalizationsPt extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Chaves de segurança não correspondem'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Ligar à Internet'; @@ -289,6 +292,9 @@ class AppLocalizationsPt extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selecionado'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Criptografar a nova instalação do $RELEASE para maior segurança'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ro.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ro.dart index 325dac62db..b01a8b6218 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ro.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ro.dart @@ -132,6 +132,9 @@ class AppLocalizationsRo extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsRo extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ru.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ru.dart index dde816dfa2..1697e21d8d 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ru.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ru.dart @@ -132,6 +132,9 @@ class AppLocalizationsRu extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Ключи безопасности не совпадают'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Интернет соединение'; @@ -289,6 +292,9 @@ class AppLocalizationsRu extends AppLocalizations { @override String get installationTypeLVMSelected => 'Выбран LVM'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Зашифровать новую установку $RELEASE для безопасности'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_se.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_se.dart index 3d75f4c4ce..8761da266f 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_se.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_se.dart @@ -132,6 +132,9 @@ class AppLocalizationsSe extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsSe extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_si.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_si.dart index e2709e6784..25e8c601d5 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_si.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_si.dart @@ -132,6 +132,9 @@ class AppLocalizationsSi extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsSi extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_sk.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_sk.dart index 3f6a984467..9e346b35b7 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_sk.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_sk.dart @@ -132,6 +132,9 @@ class AppLocalizationsSk extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsSk extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_sl.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_sl.dart index 50df6e5e19..15725bc487 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_sl.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_sl.dart @@ -132,6 +132,9 @@ class AppLocalizationsSl extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsSl extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_sq.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_sq.dart index 7940ffea0f..7da0a0c84f 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_sq.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_sq.dart @@ -132,6 +132,9 @@ class AppLocalizationsSq extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsSq extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_sr.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_sr.dart index 0c4c066f86..ccabba3b25 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_sr.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_sr.dart @@ -132,6 +132,9 @@ class AppLocalizationsSr extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsSr extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_sv.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_sv.dart index 084d0ad091..fbced93717 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_sv.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_sv.dart @@ -132,6 +132,9 @@ class AppLocalizationsSv extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Säkerhetsnycklarna matchar inte'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Anslut till internet'; @@ -289,6 +292,9 @@ class AppLocalizationsSv extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM valt'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Kryptera den nya $RELEASE-installationen för säkerhet'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ta.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ta.dart index 69d017b505..217699fc02 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ta.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ta.dart @@ -132,6 +132,9 @@ class AppLocalizationsTa extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsTa extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_te.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_te.dart index a18e54113a..5572866498 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_te.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_te.dart @@ -132,6 +132,9 @@ class AppLocalizationsTe extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsTe extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_tg.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_tg.dart index be53871509..8b7f447092 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_tg.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_tg.dart @@ -132,6 +132,9 @@ class AppLocalizationsTg extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsTg extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_th.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_th.dart index 52849f280e..dd9f37529b 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_th.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_th.dart @@ -132,6 +132,9 @@ class AppLocalizationsTh extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsTh extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_tl.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_tl.dart index 49521b1c4f..def5d264e1 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_tl.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_tl.dart @@ -132,6 +132,9 @@ class AppLocalizationsTl extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsTl extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_tr.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_tr.dart index a12fd27488..5604ebbc7f 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_tr.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_tr.dart @@ -132,6 +132,9 @@ class AppLocalizationsTr extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Güvenlik anahtarları uyuşmamaktadır'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'İnternete bağlan'; @@ -289,6 +292,9 @@ class AppLocalizationsTr extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM seçildi'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Güvenlik için yeni $RELEASE kurulumunu şifrele'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ug.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ug.dart index a8037de17a..8dc41434c4 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ug.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_ug.dart @@ -132,6 +132,9 @@ class AppLocalizationsUg extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsUg extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_uk.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_uk.dart index 5a2a66aeef..f0e9ad64c4 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_uk.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_uk.dart @@ -132,6 +132,9 @@ class AppLocalizationsUk extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsUk extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_vi.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_vi.dart index cea4214b70..5dab1fd097 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_vi.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_vi.dart @@ -132,6 +132,9 @@ class AppLocalizationsVi extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => 'Security keys do not match'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => 'Connect to internet'; @@ -289,6 +292,9 @@ class AppLocalizationsVi extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM selected'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return 'Encrypt the new $RELEASE installation for security'; diff --git a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_zh.dart b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_zh.dart index 234c200456..5424ff4a67 100644 --- a/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_zh.dart +++ b/packages/ubuntu_desktop_installer/lib/l10n/app_localizations_zh.dart @@ -132,6 +132,9 @@ class AppLocalizationsZh extends AppLocalizations { @override String get secureBootSecurityKeysDontMatch => '安全密钥不匹配'; + @override + String get showSecurityKey => 'Show security key'; + @override String get connectToInternetPageTitle => '连接到互联网'; @@ -289,6 +292,9 @@ class AppLocalizationsZh extends AppLocalizations { @override String get installationTypeLVMSelected => 'LVM已选择'; + @override + String get installationTypeLVMEncryptionSelected => 'LVM and encryption selected'; + @override String installationTypeEncrypt(Object RELEASE) { return '为安全起见,对新的$RELEASE安装进行加密'; diff --git a/packages/ubuntu_desktop_installer/lib/pages/choose_security_key/choose_security_key_model.dart b/packages/ubuntu_desktop_installer/lib/pages/choose_security_key/choose_security_key_model.dart index 09d233c004..0ffe6c21fa 100644 --- a/packages/ubuntu_desktop_installer/lib/pages/choose_security_key/choose_security_key_model.dart +++ b/packages/ubuntu_desktop_installer/lib/pages/choose_security_key/choose_security_key_model.dart @@ -1,21 +1,24 @@ import 'package:flutter/foundation.dart'; import 'package:safe_change_notifier/safe_change_notifier.dart'; -import 'package:subiquity_client/subiquity_client.dart'; + +import '../../services.dart'; /// View model for [ChooseSecurityKeyPage]. class ChooseSecurityKeyModel extends SafeChangeNotifier { /// Creates the model with the given client. - ChooseSecurityKeyModel(this._client) { + ChooseSecurityKeyModel(this._service) { Listenable.merge([ _securityKey, _confirmedSecurityKey, + _showSecurityKey, ]).addListener(notifyListeners); } - // ignore: unused_field, will be used for sending the security key to subiquity - final SubiquityClient _client; + final DiskStorageService _service; + final _securityKey = ValueNotifier(''); final _confirmedSecurityKey = ValueNotifier(''); + final _showSecurityKey = ValueNotifier(false); /// The current security key. String get securityKey => _securityKey.value; @@ -25,17 +28,24 @@ class ChooseSecurityKeyModel extends SafeChangeNotifier { String get confirmedSecurityKey => _confirmedSecurityKey.value; set confirmedSecurityKey(String value) => _confirmedSecurityKey.value = value; + /// Defines if the security is shown. + bool get showSecurityKey => _showSecurityKey.value; + set showSecurityKey(bool value) => _showSecurityKey.value = value; + /// Whether the current input is valid. bool get isValid => securityKey.isNotEmpty && securityKey == confirmedSecurityKey; - /// Loads the security key. + /// Loads the security key from the service. Future loadSecurityKey() async { - // TODO: fetch from subiquity + _securityKey.value = + _confirmedSecurityKey.value = _service.securityKey ?? ''; } - /// Saves the security key. + /// Saves the security key to the service and clears the local values. Future saveSecurityKey() async { - // TODO: send to subiquity + _service.securityKey = securityKey; + _securityKey.value = ''; + _confirmedSecurityKey.value = ''; } } diff --git a/packages/ubuntu_desktop_installer/lib/pages/choose_security_key/choose_security_key_page.dart b/packages/ubuntu_desktop_installer/lib/pages/choose_security_key/choose_security_key_page.dart index dd01df645f..4c269deea1 100644 --- a/packages/ubuntu_desktop_installer/lib/pages/choose_security_key/choose_security_key_page.dart +++ b/packages/ubuntu_desktop_installer/lib/pages/choose_security_key/choose_security_key_page.dart @@ -2,7 +2,7 @@ import 'package:flutter/material.dart'; import 'package:flutter_html/flutter_html.dart'; import 'package:form_field_validator/form_field_validator.dart'; import 'package:provider/provider.dart'; -import 'package:subiquity_client/subiquity_client.dart'; +import 'package:ubuntu_widgets/ubuntu_widgets.dart'; import 'package:ubuntu_wizard/constants.dart'; import 'package:ubuntu_wizard/utils.dart'; import 'package:ubuntu_wizard/widgets.dart'; @@ -26,9 +26,9 @@ class ChooseSecurityKeyPage extends StatefulWidget { /// Creates an instance with [ChooseSecurityKeyModel]. static Widget create(BuildContext context) { - final client = getService(); + final service = getService(); return ChangeNotifierProvider( - create: (_) => ChooseSecurityKeyModel(client), + create: (_) => ChooseSecurityKeyModel(service), child: const ChooseSecurityKeyPage(), ); } @@ -41,9 +41,10 @@ class _ChooseSecurityKeyPageState extends State { @override void initState() { super.initState(); - final model = Provider.of(context, listen: false); - model.loadSecurityKey(); + WidgetsBinding.instance.addPostFrameCallback((_) { + model.loadSecurityKey(); + }); } @override @@ -63,6 +64,8 @@ class _ChooseSecurityKeyPageState extends State { _SecurityKeyFormField(fieldWidth: fieldWidth), const SizedBox(height: kContentSpacing), _ConfirmSecurityKeyFormField(fieldWidth: fieldWidth), + const SizedBox(height: kContentSpacing / 2), + const _SecurityKeyShowButton(), const SizedBox(height: kContentSpacing), Align( alignment: Alignment.centerLeft, @@ -85,6 +88,7 @@ class _ChooseSecurityKeyPageState extends State { enabled: context .select((model) => model.isValid), onNext: context.read().saveSecurityKey, + onBack: context.read().loadSecurityKey, ), ], ); diff --git a/packages/ubuntu_desktop_installer/lib/pages/choose_security_key/choose_security_key_widgets.dart b/packages/ubuntu_desktop_installer/lib/pages/choose_security_key/choose_security_key_widgets.dart index 58cf85d33a..7a3ccc23cf 100644 --- a/packages/ubuntu_desktop_installer/lib/pages/choose_security_key/choose_security_key_widgets.dart +++ b/packages/ubuntu_desktop_installer/lib/pages/choose_security_key/choose_security_key_widgets.dart @@ -10,11 +10,13 @@ class _SecurityKeyFormField extends StatelessWidget { final lang = AppLocalizations.of(context); final securityKey = context .select((model) => model.securityKey); + final showSecurityKey = context + .select((model) => model.showSecurityKey); return ValidatedFormField( fieldWidth: fieldWidth, labelText: lang.chooseSecurityKeyHint, - obscureText: true, + obscureText: !showSecurityKey, successWidget: securityKey.isNotEmpty ? const SuccessIcon() : null, initialValue: securityKey, validator: RequiredValidator( @@ -41,11 +43,13 @@ class _ConfirmSecurityKeyFormField extends StatelessWidget { .select((model) => model.securityKey); final confirmedSecurityKey = context.select( (model) => model.confirmedSecurityKey); + final showSecurityKey = context + .select((model) => model.showSecurityKey); return ValidatedFormField( fieldWidth: fieldWidth, labelText: lang.chooseSecurityKeyConfirmHint, - obscureText: true, + obscureText: !showSecurityKey, successWidget: confirmedSecurityKey.isNotEmpty ? const SuccessIcon() : null, initialValue: confirmedSecurityKey, @@ -62,3 +66,22 @@ class _ConfirmSecurityKeyFormField extends StatelessWidget { ); } } + +class _SecurityKeyShowButton extends StatelessWidget { + const _SecurityKeyShowButton(); + + @override + Widget build(BuildContext context) { + final lang = AppLocalizations.of(context); + final showSecurityKey = context + .select((model) => model.showSecurityKey); + + return CheckButton( + value: showSecurityKey, + title: Text(lang.showSecurityKey), + onChanged: (value) { + context.read().showSecurityKey = value!; + }, + ); + } +} diff --git a/packages/ubuntu_desktop_installer/lib/services/disk_storage_service.dart b/packages/ubuntu_desktop_installer/lib/services/disk_storage_service.dart index aa3207d26e..08be53cf74 100644 --- a/packages/ubuntu_desktop_installer/lib/services/disk_storage_service.dart +++ b/packages/ubuntu_desktop_installer/lib/services/disk_storage_service.dart @@ -35,6 +35,7 @@ class DiskStorageService { int? _largestDiskSize; List? _existingOS; GuidedStorageTarget? _guidedTarget; + String? _securityKey; /// Whether the system has multiple disks available for guided partitioning. bool get hasMultipleDisks => _hasMultipleDisks ?? false; @@ -62,6 +63,14 @@ class DiskStorageService { _useLvm = useLvm; } + /// A security key for full disk encryption. + String? get securityKey => _securityKey; + set securityKey(String? securityKey) { + final hiddenKey = securityKey == null ? null : '*' * securityKey.length; + log.debug('set security key: $hiddenKey'); + _securityKey = securityKey; + } + /// A guided storage target. GuidedStorageTarget? get guidedTarget => _guidedTarget; set guidedTarget(GuidedStorageTarget? target) { @@ -92,6 +101,7 @@ class DiskStorageService { GuidedChoiceV2( target: guidedTarget!, useLvm: useLvm, + password: securityKey, ), ); } diff --git a/packages/ubuntu_desktop_installer/test/allocate_disk_space/allocate_disk_space_model_test.mocks.dart b/packages/ubuntu_desktop_installer/test/allocate_disk_space/allocate_disk_space_model_test.mocks.dart index 1ad8e56091..6d100faf36 100644 --- a/packages/ubuntu_desktop_installer/test/allocate_disk_space/allocate_disk_space_model_test.mocks.dart +++ b/packages/ubuntu_desktop_installer/test/allocate_disk_space/allocate_disk_space_model_test.mocks.dart @@ -90,6 +90,14 @@ class MockDiskStorageService extends _i1.Mock returnValueForMissingStub: null, ); @override + set securityKey(String? securityKey) => super.noSuchMethod( + Invocation.setter( + #securityKey, + securityKey, + ), + returnValueForMissingStub: null, + ); + @override set guidedTarget(_i2.GuidedStorageTarget? target) => super.noSuchMethod( Invocation.setter( #guidedTarget, diff --git a/packages/ubuntu_desktop_installer/test/choose_security_key/choose_security_key_model_test.dart b/packages/ubuntu_desktop_installer/test/choose_security_key/choose_security_key_model_test.dart index 57fd60126d..07d7f99922 100644 --- a/packages/ubuntu_desktop_installer/test/choose_security_key/choose_security_key_model_test.dart +++ b/packages/ubuntu_desktop_installer/test/choose_security_key/choose_security_key_model_test.dart @@ -1,10 +1,15 @@ import 'package:flutter_test/flutter_test.dart'; +import 'package:mockito/annotations.dart'; +import 'package:mockito/mockito.dart'; import 'package:ubuntu_desktop_installer/pages/choose_security_key/choose_security_key_model.dart'; -import 'package:ubuntu_test/mocks.dart'; +import 'package:ubuntu_desktop_installer/services/disk_storage_service.dart'; +import 'choose_security_key_model_test.mocks.dart'; + +@GenerateMocks([DiskStorageService]) void main() { test('notify changes', () { - final model = ChooseSecurityKeyModel(MockSubiquityClient()); + final model = ChooseSecurityKeyModel(MockDiskStorageService()); var wasNotified = false; model.addListener(() => wasNotified = true); @@ -18,10 +23,15 @@ void main() { expect(model.confirmedSecurityKey, isEmpty); model.confirmedSecurityKey = 'bar'; expect(wasNotified, isTrue); + + wasNotified = false; + expect(model.showSecurityKey, isFalse); + model.showSecurityKey = true; + expect(wasNotified, isTrue); }); test('validation', () { - final model = ChooseSecurityKeyModel(MockSubiquityClient()); + final model = ChooseSecurityKeyModel(MockDiskStorageService()); expect(model.isValid, isFalse); void testValid( @@ -38,4 +48,25 @@ void main() { testValid('foo', 'foo', isTrue); testValid('foo', 'bar', isFalse); }); + + test('save, clear and load security key', () async { + final service = MockDiskStorageService(); + + final model = ChooseSecurityKeyModel(service); + model.securityKey = 'foo123'; + model.confirmedSecurityKey = 'foo123'; + + await model.saveSecurityKey(); + expect(model.securityKey, isEmpty); + expect(model.confirmedSecurityKey, isEmpty); + + verify(service.securityKey = 'foo123').called(1); + verifyNever(service.setGuidedStorage()); + when(service.securityKey).thenReturn('bar456'); + + await model.loadSecurityKey(); + verify(service.securityKey).called(1); + expect(model.securityKey, 'bar456'); + expect(model.confirmedSecurityKey, 'bar456'); + }); } diff --git a/packages/ubuntu_desktop_installer/test/choose_security_key/choose_security_key_model_test.mocks.dart b/packages/ubuntu_desktop_installer/test/choose_security_key/choose_security_key_model_test.mocks.dart new file mode 100644 index 0000000000..8f19d7bed1 --- /dev/null +++ b/packages/ubuntu_desktop_installer/test/choose_security_key/choose_security_key_model_test.mocks.dart @@ -0,0 +1,262 @@ +// Mocks generated by Mockito 5.3.0 from annotations +// in ubuntu_desktop_installer/test/choose_security_key/choose_security_key_model_test.dart. +// Do not manually edit this file. + +// ignore_for_file: no_leading_underscores_for_library_prefixes +import 'dart:async' as _i4; + +import 'package:mockito/mockito.dart' as _i1; +import 'package:subiquity_client/subiquity_client.dart' as _i2; +import 'package:ubuntu_desktop_installer/services/disk_storage_service.dart' + as _i3; + +// ignore_for_file: type=lint +// ignore_for_file: avoid_redundant_argument_values +// ignore_for_file: avoid_setters_without_getters +// ignore_for_file: comment_references +// ignore_for_file: implementation_imports +// ignore_for_file: invalid_use_of_visible_for_testing_member +// ignore_for_file: prefer_const_constructors +// ignore_for_file: unnecessary_parenthesis +// ignore_for_file: camel_case_types +// ignore_for_file: subtype_of_sealed_class + +class _FakeGuidedStorageResponseV2_0 extends _i1.SmartFake + implements _i2.GuidedStorageResponseV2 { + _FakeGuidedStorageResponseV2_0( + Object parent, + Invocation parentInvocation, + ) : super( + parent, + parentInvocation, + ); +} + +/// A class which mocks [DiskStorageService]. +/// +/// See the documentation for Mockito's code generation for more information. +class MockDiskStorageService extends _i1.Mock + implements _i3.DiskStorageService { + MockDiskStorageService() { + _i1.throwOnMissingStub(this); + } + + @override + bool get hasMultipleDisks => (super.noSuchMethod( + Invocation.getter(#hasMultipleDisks), + returnValue: false, + ) as bool); + @override + bool get needRoot => (super.noSuchMethod( + Invocation.getter(#needRoot), + returnValue: false, + ) as bool); + @override + bool get needBoot => (super.noSuchMethod( + Invocation.getter(#needBoot), + returnValue: false, + ) as bool); + @override + bool get hasRst => (super.noSuchMethod( + Invocation.getter(#hasRst), + returnValue: false, + ) as bool); + @override + bool get hasBitLocker => (super.noSuchMethod( + Invocation.getter(#hasBitLocker), + returnValue: false, + ) as bool); + @override + bool get hasEncryption => (super.noSuchMethod( + Invocation.getter(#hasEncryption), + returnValue: false, + ) as bool); + @override + bool get hasSecureBoot => (super.noSuchMethod( + Invocation.getter(#hasSecureBoot), + returnValue: false, + ) as bool); + @override + bool get useLvm => (super.noSuchMethod( + Invocation.getter(#useLvm), + returnValue: false, + ) as bool); + @override + set useLvm(bool? useLvm) => super.noSuchMethod( + Invocation.setter( + #useLvm, + useLvm, + ), + returnValueForMissingStub: null, + ); + @override + set securityKey(String? securityKey) => super.noSuchMethod( + Invocation.setter( + #securityKey, + securityKey, + ), + returnValueForMissingStub: null, + ); + @override + set guidedTarget(_i2.GuidedStorageTarget? target) => super.noSuchMethod( + Invocation.setter( + #guidedTarget, + target, + ), + returnValueForMissingStub: null, + ); + @override + int get installMinimumSize => (super.noSuchMethod( + Invocation.getter(#installMinimumSize), + returnValue: 0, + ) as int); + @override + int get largestDiskSize => (super.noSuchMethod( + Invocation.getter(#largestDiskSize), + returnValue: 0, + ) as int); + @override + bool get hasEnoughDiskSpace => (super.noSuchMethod( + Invocation.getter(#hasEnoughDiskSpace), + returnValue: false, + ) as bool); + @override + _i4.Future init() => (super.noSuchMethod( + Invocation.method( + #init, + [], + ), + returnValue: _i4.Future.value(), + returnValueForMissingStub: _i4.Future.value(), + ) as _i4.Future); + @override + _i4.Future<_i2.GuidedStorageResponseV2> getGuidedStorage() => + (super.noSuchMethod( + Invocation.method( + #getGuidedStorage, + [], + ), + returnValue: _i4.Future<_i2.GuidedStorageResponseV2>.value( + _FakeGuidedStorageResponseV2_0( + this, + Invocation.method( + #getGuidedStorage, + [], + ), + )), + ) as _i4.Future<_i2.GuidedStorageResponseV2>); + @override + _i4.Future<_i2.GuidedStorageResponseV2> setGuidedStorage() => + (super.noSuchMethod( + Invocation.method( + #setGuidedStorage, + [], + ), + returnValue: _i4.Future<_i2.GuidedStorageResponseV2>.value( + _FakeGuidedStorageResponseV2_0( + this, + Invocation.method( + #setGuidedStorage, + [], + ), + )), + ) as _i4.Future<_i2.GuidedStorageResponseV2>); + @override + _i4.Future> getStorage() => (super.noSuchMethod( + Invocation.method( + #getStorage, + [], + ), + returnValue: _i4.Future>.value(<_i2.Disk>[]), + ) as _i4.Future>); + @override + _i4.Future> getOriginalStorage() => (super.noSuchMethod( + Invocation.method( + #getOriginalStorage, + [], + ), + returnValue: _i4.Future>.value(<_i2.Disk>[]), + ) as _i4.Future>); + @override + _i4.Future> addPartition( + _i2.Disk? disk, + _i2.Gap? gap, + _i2.Partition? partition, + ) => + (super.noSuchMethod( + Invocation.method( + #addPartition, + [ + disk, + gap, + partition, + ], + ), + returnValue: _i4.Future>.value(<_i2.Disk>[]), + ) as _i4.Future>); + @override + _i4.Future> editPartition( + _i2.Disk? disk, + _i2.Partition? partition, + ) => + (super.noSuchMethod( + Invocation.method( + #editPartition, + [ + disk, + partition, + ], + ), + returnValue: _i4.Future>.value(<_i2.Disk>[]), + ) as _i4.Future>); + @override + _i4.Future> deletePartition( + _i2.Disk? disk, + _i2.Partition? partition, + ) => + (super.noSuchMethod( + Invocation.method( + #deletePartition, + [ + disk, + partition, + ], + ), + returnValue: _i4.Future>.value(<_i2.Disk>[]), + ) as _i4.Future>); + @override + _i4.Future> setStorage(List<_i2.Disk>? disks) => + (super.noSuchMethod( + Invocation.method( + #setStorage, + [disks], + ), + returnValue: _i4.Future>.value(<_i2.Disk>[]), + ) as _i4.Future>); + @override + _i4.Future> resetStorage() => (super.noSuchMethod( + Invocation.method( + #resetStorage, + [], + ), + returnValue: _i4.Future>.value(<_i2.Disk>[]), + ) as _i4.Future>); + @override + _i4.Future> addBootPartition(_i2.Disk? disk) => + (super.noSuchMethod( + Invocation.method( + #addBootPartition, + [disk], + ), + returnValue: _i4.Future>.value(<_i2.Disk>[]), + ) as _i4.Future>); + @override + _i4.Future> reformatDisk(_i2.Disk? disk) => + (super.noSuchMethod( + Invocation.method( + #reformatDisk, + [disk], + ), + returnValue: _i4.Future>.value(<_i2.Disk>[]), + ) as _i4.Future>); +} diff --git a/packages/ubuntu_desktop_installer/test/choose_security_key/choose_security_key_page_test.dart b/packages/ubuntu_desktop_installer/test/choose_security_key/choose_security_key_page_test.dart index ee7bc2c80d..2bfac80797 100644 --- a/packages/ubuntu_desktop_installer/test/choose_security_key/choose_security_key_page_test.dart +++ b/packages/ubuntu_desktop_installer/test/choose_security_key/choose_security_key_page_test.dart @@ -3,13 +3,13 @@ import 'package:flutter_test/flutter_test.dart'; import 'package:mockito/annotations.dart'; import 'package:mockito/mockito.dart'; import 'package:provider/provider.dart'; -import 'package:subiquity_client/subiquity_client.dart'; import 'package:ubuntu_desktop_installer/pages/choose_security_key/choose_security_key_model.dart'; import 'package:ubuntu_desktop_installer/pages/choose_security_key/choose_security_key_page.dart'; import 'package:ubuntu_desktop_installer/services.dart'; -import 'package:ubuntu_test/mocks.dart'; +import 'package:ubuntu_widgets/ubuntu_widgets.dart'; import '../test_utils.dart'; +import 'choose_security_key_model_test.mocks.dart'; import 'choose_security_key_page_test.mocks.dart'; // ignore_for_file: type=lint @@ -20,11 +20,13 @@ void main() { bool? isValid, String? securityKey, String? confirmedSecurityKey, + bool? showSecurityKey, }) { final model = MockChooseSecurityKeyModel(); when(model.isValid).thenReturn(isValid ?? false); when(model.securityKey).thenReturn(securityKey ?? ''); when(model.confirmedSecurityKey).thenReturn(confirmedSecurityKey ?? ''); + when(model.showSecurityKey).thenReturn(showSecurityKey ?? false); return model; } @@ -79,12 +81,21 @@ void main() { expect(tester.widget(continueButton).enabled, isFalse); }); - testWidgets('load and save security key', (tester) async { - final model = buildModel(isValid: true); + testWidgets('show security key', (tester) async { + final model = buildModel(showSecurityKey: false); await tester.pumpWidget(tester.buildApp((_) => buildPage(model))); - verify(model.loadSecurityKey()).called(1); - verifyNever(model.saveSecurityKey()); + final showSecurityKeyButton = + find.widgetWithText(CheckButton, tester.lang.showSecurityKey); + expect(showSecurityKeyButton, findsOneWidget); + + await tester.tap(showSecurityKeyButton); + verify(model.showSecurityKey = true).called(1); + }); + + testWidgets('save security key', (tester) async { + final model = buildModel(isValid: true); + await tester.pumpWidget(tester.buildApp((_) => buildPage(model))); final continueButton = find.widgetWithText( OutlinedButton, @@ -97,9 +108,9 @@ void main() { }); testWidgets('creates a model', (tester) async { - final client = MockSubiquityClient(); - when(client.identity()).thenAnswer((_) async => IdentityData()); - registerMockService(client); + final service = MockDiskStorageService(); + when(service.securityKey).thenReturn(null); + registerMockService(service); await tester.pumpWidget(tester.buildApp(ChooseSecurityKeyPage.create)); diff --git a/packages/ubuntu_desktop_installer/test/choose_security_key/choose_security_key_page_test.mocks.dart b/packages/ubuntu_desktop_installer/test/choose_security_key/choose_security_key_page_test.mocks.dart index f994c2727b..2f177b0bec 100644 --- a/packages/ubuntu_desktop_installer/test/choose_security_key/choose_security_key_page_test.mocks.dart +++ b/packages/ubuntu_desktop_installer/test/choose_security_key/choose_security_key_page_test.mocks.dart @@ -57,6 +57,19 @@ class MockChooseSecurityKeyModel extends _i1.Mock returnValueForMissingStub: null, ); @override + bool get showSecurityKey => (super.noSuchMethod( + Invocation.getter(#showSecurityKey), + returnValue: false, + ) as bool); + @override + set showSecurityKey(bool? value) => super.noSuchMethod( + Invocation.setter( + #showSecurityKey, + value, + ), + returnValueForMissingStub: null, + ); + @override bool get isValid => (super.noSuchMethod( Invocation.getter(#isValid), returnValue: false, diff --git a/packages/ubuntu_desktop_installer/test/install_alongside/install_alongside_model_test.mocks.dart b/packages/ubuntu_desktop_installer/test/install_alongside/install_alongside_model_test.mocks.dart index f88d5d5e05..65fbb3851b 100644 --- a/packages/ubuntu_desktop_installer/test/install_alongside/install_alongside_model_test.mocks.dart +++ b/packages/ubuntu_desktop_installer/test/install_alongside/install_alongside_model_test.mocks.dart @@ -90,6 +90,14 @@ class MockDiskStorageService extends _i1.Mock returnValueForMissingStub: null, ); @override + set securityKey(String? securityKey) => super.noSuchMethod( + Invocation.setter( + #securityKey, + securityKey, + ), + returnValueForMissingStub: null, + ); + @override set guidedTarget(_i2.GuidedStorageTarget? target) => super.noSuchMethod( Invocation.setter( #guidedTarget, diff --git a/packages/ubuntu_desktop_installer/test/installation_type/installation_type_model_test.mocks.dart b/packages/ubuntu_desktop_installer/test/installation_type/installation_type_model_test.mocks.dart index 980ab9b9bb..be122e7fc7 100644 --- a/packages/ubuntu_desktop_installer/test/installation_type/installation_type_model_test.mocks.dart +++ b/packages/ubuntu_desktop_installer/test/installation_type/installation_type_model_test.mocks.dart @@ -94,6 +94,14 @@ class MockDiskStorageService extends _i1.Mock returnValueForMissingStub: null, ); @override + set securityKey(String? securityKey) => super.noSuchMethod( + Invocation.setter( + #securityKey, + securityKey, + ), + returnValueForMissingStub: null, + ); + @override set guidedTarget(_i2.GuidedStorageTarget? target) => super.noSuchMethod( Invocation.setter( #guidedTarget, diff --git a/packages/ubuntu_desktop_installer/test/not_enough_disk_space/not_enough_disk_space_model_test.mocks.dart b/packages/ubuntu_desktop_installer/test/not_enough_disk_space/not_enough_disk_space_model_test.mocks.dart index 30fb3c6390..c00d3b503e 100644 --- a/packages/ubuntu_desktop_installer/test/not_enough_disk_space/not_enough_disk_space_model_test.mocks.dart +++ b/packages/ubuntu_desktop_installer/test/not_enough_disk_space/not_enough_disk_space_model_test.mocks.dart @@ -90,6 +90,14 @@ class MockDiskStorageService extends _i1.Mock returnValueForMissingStub: null, ); @override + set securityKey(String? securityKey) => super.noSuchMethod( + Invocation.setter( + #securityKey, + securityKey, + ), + returnValueForMissingStub: null, + ); + @override set guidedTarget(_i2.GuidedStorageTarget? target) => super.noSuchMethod( Invocation.setter( #guidedTarget, diff --git a/packages/ubuntu_desktop_installer/test/select_guided_storage/select_guided_storage_model_test.mocks.dart b/packages/ubuntu_desktop_installer/test/select_guided_storage/select_guided_storage_model_test.mocks.dart index 929fb8be71..49467184c2 100644 --- a/packages/ubuntu_desktop_installer/test/select_guided_storage/select_guided_storage_model_test.mocks.dart +++ b/packages/ubuntu_desktop_installer/test/select_guided_storage/select_guided_storage_model_test.mocks.dart @@ -90,6 +90,14 @@ class MockDiskStorageService extends _i1.Mock returnValueForMissingStub: null, ); @override + set securityKey(String? securityKey) => super.noSuchMethod( + Invocation.setter( + #securityKey, + securityKey, + ), + returnValueForMissingStub: null, + ); + @override set guidedTarget(_i2.GuidedStorageTarget? target) => super.noSuchMethod( Invocation.setter( #guidedTarget, diff --git a/packages/ubuntu_desktop_installer/test/services/disk_storage_service_test.dart b/packages/ubuntu_desktop_installer/test/services/disk_storage_service_test.dart index 4daf3fcbad..efb48cc185 100644 --- a/packages/ubuntu_desktop_installer/test/services/disk_storage_service_test.dart +++ b/packages/ubuntu_desktop_installer/test/services/disk_storage_service_test.dart @@ -268,6 +268,23 @@ void main() { expect(service.guidedTarget, isNull); }); + test('set security key', () async { + final target = GuidedStorageTargetReformat(diskId: testDisks.first.id); + final choice = GuidedChoiceV2(target: target, password: 'foo123'); + when(client.setGuidedStorageV2(choice)) + .thenAnswer((_) async => testGuidedStorageResponse(configured: choice)); + + final service = DiskStorageService(client); + await untilCalled(client.getStorageV2()); + + service.securityKey = 'foo123'; + expect(service.securityKey, equals('foo123')); + + service.guidedTarget = target; + await service.setGuidedStorage(); + verify(client.setGuidedStorageV2(choice)).called(1); + }); + test('has enough disk space', () async { final service = DiskStorageService(client); when(client.getStorageV2()).thenAnswer((_) async => testStorageResponse( diff --git a/packages/ubuntu_desktop_installer/test/write_changes_to_disk/write_changes_to_disk_model_test.mocks.dart b/packages/ubuntu_desktop_installer/test/write_changes_to_disk/write_changes_to_disk_model_test.mocks.dart index 3debe69324..49e40cb489 100644 --- a/packages/ubuntu_desktop_installer/test/write_changes_to_disk/write_changes_to_disk_model_test.mocks.dart +++ b/packages/ubuntu_desktop_installer/test/write_changes_to_disk/write_changes_to_disk_model_test.mocks.dart @@ -90,6 +90,14 @@ class MockDiskStorageService extends _i1.Mock returnValueForMissingStub: null, ); @override + set securityKey(String? securityKey) => super.noSuchMethod( + Invocation.setter( + #securityKey, + securityKey, + ), + returnValueForMissingStub: null, + ); + @override set guidedTarget(_i2.GuidedStorageTarget? target) => super.noSuchMethod( Invocation.setter( #guidedTarget,