Skip to content

Commit fca9f76

Browse files
committed
translations
1 parent e1851b9 commit fca9f76

File tree

6 files changed

+23
-3
lines changed

6 files changed

+23
-3
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"keywords": ["error","mailer"],
55
"homepage": "https://github.com/hugomayo7/ErrorMailer",
66
"license": "MIT",
7-
"minimum-stability": "dev",
7+
"minimum-stability": "stable",
88
"autoload": {
99
"psr-4": {
1010
"Hugomyb\\ErrorMailer\\": "src/"
@@ -18,6 +18,6 @@
1818
],
1919
"require": {
2020
"php": "^8.0",
21-
"laravel/framework": ">=7.0 <=10.0"
21+
"laravel/framework": ">=7.0"
2222
}
2323
}

config/error-mailer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
return [
44
'email' => [
55
'recipient' => '[email protected]',
6-
'subject' => 'Une erreur est survenue - ' . env('APP_NAME'),
6+
'subject' => __('error_message') . env('APP_NAME'),
77
],
88
];
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?php
2+
3+
return [
4+
'error_message' => 'حدث خطأ',
5+
];
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?php
2+
3+
return [
4+
'error_message' => 'Ein Fehler ist aufgetreten',
5+
];
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?php
2+
3+
return [
4+
'error_message' => 'Se ha producido un error',
5+
];
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?php
2+
3+
return [
4+
'error_message' => 'Si è verificato un errore',
5+
];

0 commit comments

Comments
 (0)