Oidc login page cleanups

This commit is contained in:
Zoe Roux 2024-03-03 16:57:23 +01:00
parent 68c83d8a5d
commit 2b93076146
3 changed files with 5 additions and 4 deletions

View File

@ -19,7 +19,7 @@
*/ */
import { QueryIdentifier, ServerInfo, ServerInfoP, useFetch } from "@kyoo/models"; import { QueryIdentifier, ServerInfo, ServerInfoP, useFetch } from "@kyoo/models";
import { Button, HR, P, Skeleton, tooltip, ts } from "@kyoo/primitives"; import { Button, HR, P, Skeleton, ts } from "@kyoo/primitives";
import { View, ImageBackground } from "react-native"; import { View, ImageBackground } from "react-native";
import { percent, rem, useYoshiki } from "yoshiki/native"; import { percent, rem, useYoshiki } from "yoshiki/native";
import { useTranslation } from "react-i18next"; import { useTranslation } from "react-i18next";
@ -50,7 +50,6 @@ export const OidcLogin = () => {
) )
} }
text={t("login.via", { provider: x.displayName })} text={t("login.via", { provider: x.displayName })}
{...tooltip(t("login.via", { provider: x.displayName }))}
{...btn} {...btn}
/> />
)) ))

View File

@ -166,7 +166,7 @@
"login": { "login": {
"login": "Login", "login": "Login",
"register": "Register", "register": "Register",
"via": "Continue via {{provider}}", "via": "Continue with {{provider}}",
"add-account": "Add account", "add-account": "Add account",
"logout": "Logout", "logout": "Logout",
"server": "Server Address", "server": "Server Address",

View File

@ -68,7 +68,8 @@
"more": "Plus", "more": "Plus",
"expand": "Développer", "expand": "Développer",
"collapse": "Replier", "collapse": "Replier",
"edit": "Changer" "edit": "Changer",
"or": "OU"
}, },
"navbar": { "navbar": {
"home": "Accueil", "home": "Accueil",
@ -164,6 +165,7 @@
}, },
"login": { "login": {
"login": "Connexion", "login": "Connexion",
"via": "Continuer avec {{provider}}",
"register": "Créer un compte", "register": "Créer un compte",
"add-account": "Ajouter un compte", "add-account": "Ajouter un compte",
"logout": "Déconnexion", "logout": "Déconnexion",