Skip to content

Commit

Permalink
SYLIUS-280: missing translations and readme adds
Browse files Browse the repository at this point in the history
  • Loading branch information
timmess committed Dec 15, 2023
1 parent e48baa9 commit 6a6a983
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 11 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,22 @@ Full documentation here :
You can now connect to your accounts with Oauth in the admin login pannel !
## Troubleshootings
- Error 'TOO_MANY_REDIRECT' : add these two lines
- services.yaml:
```yaml
parameters:
router.request_context.scheme: 'https'
```
- framework.yaml:
```yaml
framework:
trusted_proxies: '127.0.0.1,REMOTE_ADDR'
```
- If you don't see your oauth connexion button, verify your .env variables where your client_id and client_secret are specified
- If you have "Impossible to connect, try again" message, **don't forget to configure your authorized domains in back-office.**
## Development
See [How to contribute](CONTRIBUTING.md).
Expand Down
9 changes: 7 additions & 2 deletions translations/messages.en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,15 @@ sylius:
authentication:
admin:
microsoft_login_button_label: Sign in with Microsoft


app:
ui:
authorized_domains: Authorized domains
authorized_domains_subheader: Domain connexion management
authorized_domains: Domaines Oauth autorisés
authorized_domains_subheader: Gestion des domaines de connexion Oauth
new_authorized_domain: Nouveau domaine de connexion Oauth
authorized_domains.menu_label: Domaines Oauth

form:
authorized_domains:
name: Name
Expand Down
21 changes: 12 additions & 9 deletions translations/messages.fr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,24 @@ sylius:
domain_error: Impossible de se connecter, merci de réessayer.
authentication_failure: La connexion a échouée, veuillez réessayer.
ui:
authorized_domains:
menu_label: Domaines Oauth autorisés
true_label: oui
false_label: non
is_enabled: Activé
admin:
menu:
oauth_submenu_label: Domaines autorisés
oauth_submenu_label: Domaines Oauth autorisés
authentication:
admin:
microsoft_login_button_label: Se connecter avec Microsoft

app:
ui:
authorized_domains: Domaines autorisés
authorized_domains_subheader: Gestion des domaines de connexion
form:
authorized_domains:
name: Nom
authorize: Autorisé
app.ui.authorized_domains: Domaines Oauth autorisés
app.ui.authorized_domains.menu_label: Domaines Oauth
app.ui.authorized_domains_subheader: Gestion des domaines de connexion Oauth
app.ui.new_authorized_domain: Nouveau domaine de connexion Oauth

app:ui:form:
authorized_domains:
name: Nom
authorize: Autorisé

0 comments on commit 6a6a983

Please sign in to comment.