notification translations
This commit is contained in:
parent
60ad5fcd6b
commit
f54bed1c4a
5 changed files with 28 additions and 16 deletions
|
@ -44,7 +44,7 @@ class ConfirmPaymentNotification extends Notification implements ShouldQueue
|
|||
public function toMail($notifiable)
|
||||
{
|
||||
return (new MailMessage)
|
||||
->subject('Payment Confirmation')
|
||||
->subject(__('Payment Confirmation'))
|
||||
->markdown('mail.payment.confirmed' , ['payment' => $this->payment]);
|
||||
}
|
||||
|
||||
|
@ -57,8 +57,8 @@ class ConfirmPaymentNotification extends Notification implements ShouldQueue
|
|||
public function toArray($notifiable)
|
||||
{
|
||||
return [
|
||||
'title' => "Payment Confirmed!",
|
||||
'content' => "Payment Confirmed!",
|
||||
'title' => __("Payment Confirmed!"),
|
||||
'content' => __("Payment Confirmed!"),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
|
@ -46,7 +46,7 @@ class ServerCreationError extends Notification
|
|||
public function toArray($notifiable)
|
||||
{
|
||||
return [
|
||||
'title' => "Server Creation Error",
|
||||
'title' => __("Server Creation Error"),
|
||||
'content' => "
|
||||
<p>Hello <strong>{$this->server->User->name}</strong>, An unexpected error has occurred...</p>
|
||||
<p>There was a problem creating your server on our pterodactyl panel. There are likely no allocations or rooms left on the selected node. Please contact one of our support members through our discord server to get this resolved asap!</p>
|
||||
|
|
|
@ -42,11 +42,11 @@ class ServersSuspendedNotification extends Notification implements ShouldQueue
|
|||
public function toMail($notifiable)
|
||||
{
|
||||
return (new MailMessage)
|
||||
->subject('Your servers have been suspended!')
|
||||
->greeting('Your servers have been suspended!')
|
||||
->line("To automatically re-enable your server/s, you need to purchase more credits.")
|
||||
->action('Purchase credits', route('store.index'))
|
||||
->line('If you have any questions please let us know.');
|
||||
->subject(__('Your servers have been suspended!'))
|
||||
->greeting(__('Your servers have been suspended!'))
|
||||
->line(__("To automatically re-enable your server/s, you need to purchase more credits."))
|
||||
->action(__('Purchase credits'), route('store.index'))
|
||||
->line(__('If you have any questions please let us know.'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -58,12 +58,12 @@ class ServersSuspendedNotification extends Notification implements ShouldQueue
|
|||
public function toArray($notifiable)
|
||||
{
|
||||
return [
|
||||
'title' => "Servers suspended!",
|
||||
'title' => __('Your servers have been suspended!'),
|
||||
'content' => "
|
||||
<h5>Your servers have been suspended!</h5>
|
||||
<p>To automatically re-enable your server/s, you need to purchase more credits.</p>
|
||||
<p>If you have any questions please let us know.</p>
|
||||
<p>Regards,<br />" . config('app.name', 'Laravel') . "</p>
|
||||
<h5>". __('Your servers have been suspended!')."</h5>
|
||||
<p>". __("To automatically re-enable your server/s, you need to purchase more credits.")."</p>
|
||||
<p>". __('If you have any questions please let us know.')."</p>
|
||||
<p>". __('Regards').",<br />" . config('app.name', 'Laravel') . "</p>
|
||||
",
|
||||
];
|
||||
}
|
||||
|
|
|
@ -66,7 +66,7 @@ class WelcomeMessage extends Notification implements ShouldQueue
|
|||
public function toArray($notifiable)
|
||||
{
|
||||
return [
|
||||
'title' => "Getting started!",
|
||||
'title' => __("Getting started!"),
|
||||
'content' => "
|
||||
<p>Hello <strong>{$this->user->name}</strong>, Welcome to our dashboard!</p>
|
||||
<h5>Verification</h5>
|
||||
|
|
|
@ -337,5 +337,17 @@
|
|||
"Enter your companys email adress":"Firmen E-Mail",
|
||||
"Enter your companys website":"Firmenwebsite",
|
||||
"Enter your custom invoice prefix":"Rechnungsprefix",
|
||||
"Select Invoice Logo":"Firmenlogo auswählen"
|
||||
"Select Invoice Logo":"Firmenlogo auswählen",
|
||||
|
||||
"Payment Confirmation": "Zahlungsbestätigung",
|
||||
"Payment Confirmed!": "Zahlung bestätigt!",
|
||||
"Server Creation Error": "Fehler beim erstellen des Servers",
|
||||
"Your servers have been suspended!": "Deine Server wurden pausiert",
|
||||
"To automatically re-enable your server/s, you need to purchase more credits.": "Um deine Server zu reaktivieren, musst du mehr Credits kaufen!",
|
||||
"Purchase credits": "Credits kaufen",
|
||||
"If you have any questions please let us know.": "Solltest du weiter fragen haben, melde dich gerne beim Support!",
|
||||
"Regards": "mit freundlichen Grüßen",
|
||||
|
||||
"Getting started!": "Den Anfang machen!"
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue