Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…on-log into develop
  • Loading branch information
rappasoft committed Nov 21, 2021
2 parents f0c8a21 + ff1221c commit 52f5bdf
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 2 deletions.
2 changes: 2 additions & 0 deletions resources/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"If this was you, you can ignore this alert. If you suspect any suspicious activity on your account, please change your password.": "If this was you, you can ignore this alert. If you suspect any suspicious activity on your account, please change your password.",
"IP Address": "IP Address",
"Location": "Location",
"Unknown City": "Unknown City",
"Unknown State": "Unknown State",
"Regards": "Regards",
"There has been a failed login attempt to your :app account.": "There has been a failed login attempt to your :app account.",
"Time": "Time",
Expand Down
15 changes: 15 additions & 0 deletions resources/lang/fr.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"A failed login to your account": "Échec de la connexion à votre compte",
"Account": "Compte",
"Browser": "Navigateur",
"Hello": "Bonjour",
"If this was you, you can ignore this alert. If you suspect any suspicious activity on your account, please change your password.": "Si c’était vous, vous pouvez ignorer cette alerte. Si vous soupçonnez une activité suspecte sur votre compte, veuillez modifier votre mot de passe.",
"IP Address": "Adresse IP",
"Location": "Emplacement",
"Unknown City": "Ville inconnue",
"Unknown State": "État inconnu",
"Regards": "Cordialement",
"There has been a failed login attempt to your :app account.": "Une tentative de connexion à votre compte sur :app a échoué.",
"Time": "Heure",
"Your :app account logged in from a new device.": "Connexion à votre compte sur :app depuis un nouvel appareil."
}
2 changes: 1 addition & 1 deletion resources/views/emails/failed.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
> **@lang('IP Address'):** {{ $ipAddress }}<br/>
> **@lang('Browser'):** {{ $browser }}<br/>
@if ($location && $location['default'] === false)
> **@lang('Location'):** {{ $location['city'] ?? 'Unknown City' }}, {{ $location['state'], 'Unknown State' }}
> **@lang('Location'):** {{ $location['city'] ?? __('Unknown City') }}, {{ $location['state'], __('Unknown State') }}
@endif

@lang('If this was you, you can ignore this alert. If you suspect any suspicious activity on your account, please change your password.')
Expand Down
2 changes: 1 addition & 1 deletion resources/views/emails/new.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
> **@lang('IP Address'):** {{ $ipAddress }}<br/>
> **@lang('Browser'):** {{ $browser }}<br/>
@if ($location && $location['default'] === false)
> **@lang('Location'):** {{ $location['city'] ?? 'Unknown City' }}, {{ $location['state'], 'Unknown State' }}
> **@lang('Location'):** {{ $location['city'] ?? __('Unknown City') }}, {{ $location['state'], __('Unknown State') }}
@endif

@lang('If this was you, you can ignore this alert. If you suspect any suspicious activity on your account, please change your password.')
Expand Down

0 comments on commit 52f5bdf

Please sign in to comment.