diff --git a/.github/scripts/tests/test_oci_registration_sk.py b/.github/scripts/tests/test_oci_registration_sk.py index 577fff61..ce4cb4ca 100644 --- a/.github/scripts/tests/test_oci_registration_sk.py +++ b/.github/scripts/tests/test_oci_registration_sk.py @@ -144,6 +144,18 @@ class RegistrationCancellationTests(RegistrationFixture): 'Žiadna OCI aplikácia obnovená zo zálohy nečaká na opätovnú registráciu.') self.no_effects() + def test_initial_single_and_multi_dialog_describes_registration_precheck(self): + catalog=json.loads((ROOT/'lang/sk.json').read_text()) + for multi in (False,True): + if multi:self.members() + with self.subTest(multi=multi),patch.object(i18n,'_language','sk'),patch.object(i18n,'_cache',catalog): + self.assertEqual(menu.direct_recovery(ROOT/'oci'),6) + text=self.ui.confirm.call_args.args[0] + self.assertIn('Pred opätovnou registráciou',text) + self.assertNotIn('Obnova najprv',text) + self.assertIn('aplikácie sa potom nespúšťajú automaticky',text) + self.no_effects() + def test_real_backend_blocker_stays_error_and_uses_registration_wording(self): catalog=json.loads((ROOT/'lang/sk.json').read_text()) plan={'title':'Fictional restored application','restored':[{'vmid':110}], diff --git a/lang/sk.json b/lang/sk.json index 3b96e7db..d395a92a 100644 --- a/lang/sk.json +++ b/lang/sk.json @@ -7189,7 +7189,7 @@ "Unsupported volume options:": "Nepodporované možnosti objemu:", "Until they are registered again they cannot be updated or managed from here. The recovery checks first that everything they need is on this host and changes nothing otherwise.": "Kým nie sú znova zaregistrované, nemožno ich aktualizovať ani spravovať odtiaľto. Obnova najprv skontroluje, či všetko, čo potrebujú, je na tomto hostiteľovi a inak nič nezmení.", "Until they are registered again they cannot be updated or managed from here. The recovery checks first that everything they need is on this host; an application that lacks something is not registered.": "Kým nie sú znova zaregistrované, nemožno ich aktualizovať ani spravovať odtiaľto. Obnova najprv skontroluje, či všetko, čo potrebujú, je na tomto hostiteľovi; aplikácia, ktorej niečo chýba, nie je zaregistrovaná.", - "Until they are registered again they cannot be updated or managed from here. The recovery checks first what prevents their registration; an application with such a problem is not registered. A Rclone mount that has to be enabled again does not prevent it, but then the applications are not started automatically.": "Kým nie sú znova zaregistrované, nemožno ich aktualizovať ani spravovať odtiaľto. Obnova najprv skontroluje, čo bráni ich registrácii; aplikácia s takýmto problémom nie je zaregistrovaná. Pripojenie Rclone, ktoré je potrebné znova povoliť, tomu nebráni, ale aplikácie sa potom nespúšťajú automaticky.", + "Until they are registered again they cannot be updated or managed from here. The recovery checks first what prevents their registration; an application with such a problem is not registered. A Rclone mount that has to be enabled again does not prevent it, but then the applications are not started automatically.": "Kým nie sú znova zaregistrované, nemožno ich odtiaľto aktualizovať ani spravovať. Pred opätovnou registráciou sa skontroluje, čo jej bráni. Aplikácia s takýmto problémom sa nezaregistruje. Pripojenie Rclone, ktoré treba znova povoliť, registrácii nebráni, ale aplikácie sa potom nespúšťajú automaticky.", "Untrusted or modified NVIDIA hook": "Nespoľahlivý alebo modifikovaný háčik NVIDIA", "Unused image removed from the cache:": "Nepoužívaný obraz odstránený z vyrovnávacej pamäte:", "Unused images removed from the cache:": "Nepoužité obrázky odstránené z vyrovnávacej pamäte:",