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:
parent
08c0822c5a
commit
6d89585836
1 changed files with 59 additions and 0 deletions
59
sources/patches/app-05-login.patch
Normal file
59
sources/patches/app-05-login.patch
Normal 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>
|
Loading…
Reference in a new issue