feat(backends): redirect to another backend if one is unavailable

Only works with cookies for now. Support for numbered backends will be
added later since it requires some black magic.
This commit is contained in:
Fijxu
2025-04-14 16:53:09 -04:00
parent e13800e859
commit ad95f0e2c0
4 changed files with 22 additions and 2 deletions

View File

@@ -528,5 +528,6 @@
"username_required_field": "Username is a required field",
"username_empty": "Username cannot be empty",
"username_is_the_same": "This is your username, use another one",
"username_taken": "Username is already taken, use another one"
"username_taken": "Username is already taken, use another one",
"backend_unavailable": "The backend you selected is unavailable. You have been redirected to the next one"
}

View File

@@ -518,5 +518,6 @@
"carousel_go_to": "Ir a la diapositiva `x`",
"footer_contact_url": "Contactar al Administrador",
"preferences_preload_label": "Precargar datos del vídeo: ",
"Filipino (auto-generated)": "Filipino (generado automáticamente)"
"Filipino (auto-generated)": "Filipino (generado automáticamente)",
"backend_unavailable": "El backend seleccionado no está disponible. Has sido redireccionado al siguiente"
}