mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-11-02 19:02:31 +00:00
i18n: clarify registration prerequisite checks in initial dialog
This commit is contained in:
@@ -144,6 +144,18 @@ class RegistrationCancellationTests(RegistrationFixture):
|
|||||||
'Žiadna OCI aplikácia obnovená zo zálohy nečaká na opätovnú registráciu.')
|
'Žiadna OCI aplikácia obnovená zo zálohy nečaká na opätovnú registráciu.')
|
||||||
self.no_effects()
|
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):
|
def test_real_backend_blocker_stays_error_and_uses_registration_wording(self):
|
||||||
catalog=json.loads((ROOT/'lang/sk.json').read_text())
|
catalog=json.loads((ROOT/'lang/sk.json').read_text())
|
||||||
plan={'title':'Fictional restored application','restored':[{'vmid':110}],
|
plan={'title':'Fictional restored application','restored':[{'vmid':110}],
|
||||||
|
|||||||
+1
-1
@@ -7189,7 +7189,7 @@
|
|||||||
"Unsupported volume options:": "Nepodporované možnosti objemu:",
|
"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 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 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",
|
"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 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:",
|
"Unused images removed from the cache:": "Nepoužité obrázky odstránené z vyrovnávacej pamäte:",
|
||||||
|
|||||||
Reference in New Issue
Block a user