mirror of
https://github.com/YunoHost-Apps/outline_ynh.git
synced 2024-09-03 19:56:12 +02:00
Update
This commit is contained in:
parent
6d89585836
commit
1530b3d408
4 changed files with 19 additions and 11 deletions
|
@ -55,7 +55,7 @@ OIDC_USERINFO_URI=__DEX_USER_URI__
|
|||
OIDC_USERNAME_CLAIM=preferred_username
|
||||
|
||||
# Display name for OIDC authentication
|
||||
OIDC_DISPLAY_NAME=Yunohost
|
||||
OIDC_DISPLAY_NAME=membre (mot de passe)
|
||||
|
||||
# Space separated auth scopes.
|
||||
OIDC_SCOPES="openid profile email"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
diff --git a/server/routes/auth/providers/req.ts b/server/routes/auth/providers/req.ts
|
||||
new file mode 100644
|
||||
index 00000000..04990bb3
|
||||
index 00000000..1c954d24
|
||||
--- /dev/null
|
||||
+++ b/server/routes/auth/providers/req.ts
|
||||
@@ -0,0 +1,62 @@
|
||||
|
@ -17,7 +17,7 @@ index 00000000..04990bb3
|
|||
+const providerName = "req";
|
||||
+
|
||||
+export const config = {
|
||||
+ name: "Visitor",
|
||||
+ name: "visiteur",
|
||||
+ enabled: true,
|
||||
+};
|
||||
+
|
||||
|
|
|
@ -112,7 +112,7 @@ index 158a0dfb..f297c343 100644
|
|||
component = <InfoIcon color="currentColor" />;
|
||||
}
|
||||
diff --git a/shared/styles/theme.ts b/shared/styles/theme.ts
|
||||
index 3ff5c7cf..e8c00cca 100644
|
||||
index 3ff5c7cf..fb4804ec 100644
|
||||
--- a/shared/styles/theme.ts
|
||||
+++ b/shared/styles/theme.ts
|
||||
@@ -87,6 +87,8 @@ export const base = {
|
||||
|
@ -124,3 +124,11 @@ index 3ff5c7cf..e8c00cca 100644
|
|||
breakpoints,
|
||||
};
|
||||
|
||||
@@ -206,6 +208,7 @@ export const dark = {
|
||||
noticeInfoText: colors.white,
|
||||
noticeTipText: colors.white,
|
||||
noticeWarningText: colors.white,
|
||||
+ noticeBibleText: colors.white,
|
||||
progressBarBackground: colors.slate,
|
||||
scrollbarBackground: colors.black,
|
||||
scrollbarThumb: colors.lightBlack,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
diff --git a/app/scenes/Login/AuthenticationProvider.tsx b/app/scenes/Login/AuthenticationProvider.tsx
|
||||
index b5bb854a..18caede4 100644
|
||||
index b5bb854a..d29e958b 100644
|
||||
--- a/app/scenes/Login/AuthenticationProvider.tsx
|
||||
+++ b/app/scenes/Login/AuthenticationProvider.tsx
|
||||
@@ -67,7 +67,7 @@ function AuthenticationProvider(props: Props) {
|
||||
|
@ -22,7 +22,7 @@ index b5bb854a..18caede4 100644
|
|||
) : (
|
||||
<ButtonLarge type="submit" icon={<EmailIcon />} fullwidth>
|
||||
- {t("Continue with Email")}
|
||||
+ {t("Accès membre")}
|
||||
+ {t("Accès membre (email)")}
|
||||
</ButtonLarge>
|
||||
)}
|
||||
</Form>
|
||||
|
@ -31,12 +31,12 @@ index b5bb854a..18caede4 100644
|
|||
fullwidth
|
||||
>
|
||||
- {t("Continue with {{ authProviderName }}", {
|
||||
+ {t("Bienvenue sur {{ authProviderName }}", {
|
||||
+ {t("Accès {{ authProviderName }}", {
|
||||
authProviderName: name,
|
||||
})}
|
||||
</ButtonLarge>
|
||||
diff --git a/app/scenes/Login/index.tsx b/app/scenes/Login/index.tsx
|
||||
index e08e120c..05871715 100644
|
||||
index e08e120c..f9e03f21 100644
|
||||
--- a/app/scenes/Login/index.tsx
|
||||
+++ b/app/scenes/Login/index.tsx
|
||||
@@ -180,7 +180,7 @@ function Login({ children }: Props) {
|
||||
|
@ -53,7 +53,7 @@ index e08e120c..05871715 100644
|
|||
<>
|
||||
<Note>
|
||||
- {t("You signed in with {{ authProviderName }} last time.", {
|
||||
+ {t("Vous vous êtes authentifié comme {{ authProviderName }} la dernière fois.", {
|
||||
+ {t("Vous vous êtes authentifié avec l'accès {{ authProviderName }} la dernière fois.", {
|
||||
authProviderName: defaultProvider.name,
|
||||
})}
|
||||
</Note>
|
Loading…
Reference in a new issue