diff --git a/controller/internal/i18n/locales/en.json b/controller/internal/i18n/locales/en.json index 12abcfb..c291f30 100644 --- a/controller/internal/i18n/locales/en.json +++ b/controller/internal/i18n/locales/en.json @@ -2563,6 +2563,7 @@ "app_info.close_signup_btn": "Close sign-up now", "app_info.signup_native_failed": "The app's own sign-up switch could not be closed. The address block still protects it.", "app_info.signup_window_restart": "The app restarts for this, and once more when the 15 minutes end.", + "app_info.restarts_once": "For this the app restarts once and is briefly unavailable meanwhile.", "err.setup_gate.close_signup_not_offered": "There is nothing to close on this app.", "backups_offsite.offer_text": "Some apps have no off-site copy. Turn it on for all of them?", "backups_offsite.offer_all": "Yes, all of them", diff --git a/controller/internal/i18n/locales/hu.json b/controller/internal/i18n/locales/hu.json index d321c65..8ad9e2b 100644 --- a/controller/internal/i18n/locales/hu.json +++ b/controller/internal/i18n/locales/hu.json @@ -2551,6 +2551,7 @@ "app_info.close_signup_btn": "Regisztráció lezárása most", "app_info.signup_native_failed": "Az alkalmazás saját regisztrációs kapcsolóját nem sikerült lezárni. A cím zárolása így is véd.", "app_info.signup_window_restart": "Ehhez az alkalmazás újraindul, és a 15 perc végén még egyszer.", + "app_info.restarts_once": "Ehhez az alkalmazás egyszer újraindul, és közben rövid ideig nem érhető el.", "err.setup_gate.close_signup_not_offered": "Ennél az alkalmazásnál nincs mit lezárni.", "backups_offsite.offer_text": "Van alkalmazás, amelyről nem készül távoli mentés. Bekapcsolod mindegyikre?", "backups_offsite.offer_all": "Igen, mindegyikre", diff --git a/controller/internal/web/i18n_parity_test.go b/controller/internal/web/i18n_parity_test.go index ef30ab0..0520c51 100644 --- a/controller/internal/web/i18n_parity_test.go +++ b/controller/internal/web/i18n_parity_test.go @@ -409,6 +409,16 @@ func i18nCases() []i18nCase { d["SignupNative"], d["SignupNativeFailed"] = true, true return d }}) + // R-718: the close card and the gate card say the app restarts once where the app has its own switch. + base = append(base, i18nCase{"app_info_close_signup_native", "app_info", func() map[string]interface{} { + d := signupCase("x", false, "").data() + d["CloseSignupOffered"], d["SignupNative"] = true, true + return d + }}, i18nCase{"app_info_setup_gate_native", "app_info", func() map[string]interface{} { + d := gateCase("x", false).data() + d["SignupNative"] = true + return d + }}) // v0.283.0 (decision 50): the one-press off-site offer on both backup pages, and the size card. base = append(base, i18nCase{"backups_remote_offsite_offer_fit", "backups_remote", func() map[string]interface{} { return i18nRemoteData(func(d, o m) { diff --git a/controller/internal/web/templates/app_info.html b/controller/internal/web/templates/app_info.html index 9ae517f..4ff4179 100644 --- a/controller/internal/web/templates/app_info.html +++ b/controller/internal/web/templates/app_info.html @@ -95,7 +95,8 @@ {{- if .SetupGateClosed}}

{{T "app_info.setup_gate_title"}}

-

{{T "app_info.setup_gate_closed"}}

+

{{T "app_info.setup_gate_closed"}}

{{- if .SignupNative}} +

{{T "app_info.restarts_once"}}

{{- end}} {{- if .SetupGateHasProbe}}

{{T "app_info.setup_gate_probe"}}

@@ -109,7 +110,8 @@ {{- if .CloseSignupOffered}}

{{T "app_info.signup_title"}}

-

{{T "app_info.close_signup_text"}}

+

{{T "app_info.close_signup_text"}}

{{- if .SignupNative}} +

{{T "app_info.restarts_once"}}

{{- end}}
diff --git a/controller/internal/web/testdata/i18n_parity/app_info_close_signup_native.html b/controller/internal/web/testdata/i18n_parity/app_info_close_signup_native.html new file mode 100644 index 0000000..e665118 --- /dev/null +++ b/controller/internal/web/testdata/i18n_parity/app_info_close_signup_native.html @@ -0,0 +1,606 @@ + + + + + + + + Opengist — Felhom.eu + + + + + + + + +
+ + +
+ + +
+ + + + + + + + + + + + + + + +
+ +
+ +

+ +
+ ~ RAM + + + Csak x86 + +
+ +
+
+ + +
+ + + +
+
+

Regisztráció

+

Ennél az alkalmazásnál bárki regisztrálhat, aki megtalálja a címét. Zárd le a regisztrációt most — a családtagjaidat utána is fel tudod venni.

+

Ehhez az alkalmazás egyszer újraindul, és közben rövid ideig nem érhető el.

+ + +
+ + + + + + + + + + +
+ + + + + diff --git a/controller/internal/web/testdata/i18n_parity/app_info_setup_gate_native.html b/controller/internal/web/testdata/i18n_parity/app_info_setup_gate_native.html new file mode 100644 index 0000000..2634af7 --- /dev/null +++ b/controller/internal/web/testdata/i18n_parity/app_info_setup_gate_native.html @@ -0,0 +1,607 @@ + + + + + + + + Immich — Felhom.eu + + + + + + + + +
+ + +
+ + +
+ + + + + + + + + + + + + + + +
+ +
+ +

+ +
+ ~ RAM + + + Csak x86 + +
+ +
+
+ + +
+ + + +
+
+

Első beállítás

+

Most csak te éred el ezt az alkalmazást, amíg be vagy jelentkezve a vezérlőpultba. Így más nem hozhatja létre az első admin fiókot. Nyisd meg, és végezd el az első beállítást.

+

Ehhez az alkalmazás egyszer újraindul, és közben rövid ideig nem érhető el.

+

Ha kész, nyomd meg ezt a gombot. Addig a telefonos alkalmazások és a család többi tagja nem éri el.

+ + +
+ + + + + + + + + + +
+ + + + +