1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/outline_ynh.git synced 2024-09-03 19:56:12 +02:00

Create app-05-login.patch

This commit is contained in:
Limezy 2022-09-15 20:03:28 +07:00
parent 08c0822c5a
commit 6d89585836

View file

@ -0,0 +1,59 @@
diff --git a/app/scenes/Login/AuthenticationProvider.tsx b/app/scenes/Login/AuthenticationProvider.tsx
index b5bb854a..18caede4 100644
--- a/app/scenes/Login/AuthenticationProvider.tsx
+++ b/app/scenes/Login/AuthenticationProvider.tsx
@@ -67,7 +67,7 @@ function AuthenticationProvider(props: Props) {
<InputLarge
type="email"
name="email"
- placeholder="me@domain.com"
+ placeholder="email@domaine.fr"
value={email}
onChange={handleChangeEmail}
disabled={isSubmitting}
@@ -76,12 +76,12 @@ function AuthenticationProvider(props: Props) {
short
/>
<ButtonLarge type="submit" disabled={isSubmitting}>
- {t("Sign In")} →
+ {t("S'identifier")} →
</ButtonLarge>
</>
) : (
<ButtonLarge type="submit" icon={<EmailIcon />} fullwidth>
- {t("Continue with Email")}
+ {t("Accès membre")}
</ButtonLarge>
)}
</Form>
@@ -106,7 +106,7 @@ function AuthenticationProvider(props: Props) {
icon={<AuthLogo providerName={id} />}
fullwidth
>
- {t("Continue with {{ authProviderName }}", {
+ {t("Bienvenue sur {{ authProviderName }}", {
authProviderName: name,
})}
</ButtonLarge>
diff --git a/app/scenes/Login/index.tsx b/app/scenes/Login/index.tsx
index e08e120c..05871715 100644
--- a/app/scenes/Login/index.tsx
+++ b/app/scenes/Login/index.tsx
@@ -180,7 +180,7 @@ function Login({ children }: Props) {
) : (
<>
<StyledHeading centered>
- {t("Login to {{ authProviderName }}", {
+ {t("Bienvenue sur {{ authProviderName }}", {
authProviderName: config.name || "Outline",
})}
</StyledHeading>
@@ -198,7 +198,7 @@ function Login({ children }: Props) {
{hasMultipleProviders && (
<>
<Note>
- {t("You signed in with {{ authProviderName }} last time.", {
+ {t("Vous vous êtes authentifié comme {{ authProviderName }} la dernière fois.", {
authProviderName: defaultProvider.name,
})}
</Note>