Skip to content

Commit

Permalink
add translations
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarzin committed Jul 25, 2023
1 parent 16804af commit db4a86d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
5 changes: 5 additions & 0 deletions resources/lang/en/common.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@
'orange' => 'Orange',
'red' => 'Red',

'fail' => 'Fail',
'alert' => 'Alert',
'success' => 'Success',
'unknown' => 'Unknown',

'never' => 'Never',
'day' => 'Daily',
'week' => 'Weekly',
Expand Down
5 changes: 5 additions & 0 deletions resources/lang/fr/common.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@
'orange' => 'Orange',
'red' => 'Rouge',

'fail' => 'Echec',
'alert' => 'Alerte',
'success' => 'Réussi',
'unknown' => 'Inconnu',

'never' => 'Jamais',
'day' => 'Journalièrement',
'week' => 'Hebdomadairement',
Expand Down
5 changes: 4 additions & 1 deletion resources/views/welcome.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,10 @@
var marksData = {
labels: [
'Echec','Alerte','Réussi','Unknown'
"{{ trans('common.fail') }}",
"{{ trans('common.alert') }}",
"{{ trans('common.success') }}",
"{{ trans('common.unknown') }}"
],
datasets: [
{
Expand Down

0 comments on commit db4a86d

Please sign in to comment.