Skip to content

Commit

Permalink
Translations
Browse files Browse the repository at this point in the history
  • Loading branch information
Baspa committed Sep 3, 2024
1 parent 1fde133 commit 10925d5
Show file tree
Hide file tree
Showing 4 changed files with 124 additions and 7 deletions.
61 changes: 61 additions & 0 deletions resources/lang/en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"Events": "Events",
"Event Details": "Event Details",
"Type": "Type",
"Mail Subject": "Mail Subject",
"Occurred At": "Occurred At",
"User Information": "User Information",
"Unknown": "Unknown",
"IP Address": "IP Address",
"Hostname": "Hostname",
"Platform": "Platform",
"Operating System": "Operating System",
"Browser": "Browser",
"User Agent": "User Agent",
"Location": "Location",
"City": "City",
"Country Code": "Country Code",
"Additional Information": "Additional Information",
"Link": "Link",
"Tag": "Tag",
"Payload": "Payload",
"View": "View",
"Mail ID": "Mail ID",
"Subject": "Subject",
"Occured At": "Occurred At",
"Mails": "Mails",
"Mail": "Mail",
"From": "From",
"Recipient": "Recipient",
"CC": "CC",
"BCC": "BCC",
"Reply To": "Reply To",
"Content": "Content",
"Preview": "Preview",
"HTML Content": "HTML Content",
"Text Content": "Text Content",
"Statistics": "Statistics",
"Opens": "Opens",
"Clicks": "Clicks",
"Sent At": "Sent At",
"Resent At": "Resent At",
"Delivered At": "Delivered At",
"Last Opened At": "Last Opened At",
"Last Clicked At": "Last Clicked At",
"Complained At": "Complained At",
"Soft Bounced At": "Soft Bounced At",
"Hard Bounced At": "Hard Bounced At",
"Status": "Status",
"All": "All",
"Delivery": "Delivery",
"Click": "Click",
"Open": "Open",
"Bounce": "Bounce",
"Complaint": "Complaint",
"Bounced": "Bounced",
"Opened": "Opened",
"Clicked": "Clicked",
"Delivered": "Delivered",
"of": "of",
"emails": "emails"
}
6 changes: 0 additions & 6 deletions resources/lang/en/mails.php

This file was deleted.

61 changes: 61 additions & 0 deletions resources/lang/nl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"Events": "Gebeurtenissen",
"Event Details": "Gebeurtenisdetails",
"Type": "Type",
"Mail Subject": "E-mailonderwerp",
"Occurred At": "Opgetreden op",
"User Information": "Gebruikersinformatie",
"Unknown": "Onbekend",
"IP Address": "IP-adres",
"Hostname": "Hostnaam",
"Platform": "Platform",
"Operating System": "Besturingssysteem",
"Browser": "Browser",
"User Agent": "User Agent",
"Location": "Locatie",
"City": "Stad",
"Country Code": "Landcode",
"Additional Information": "Aanvullende informatie",
"Link": "Link",
"Tag": "Tag",
"Payload": "Payload",
"View": "Bekijken",
"Mail ID": "E-mail ID",
"Subject": "Onderwerp",
"Occured At": "Opgetreden op",
"Mails": "E-mails",
"Mail": "E-mail",
"From": "Van",
"Recipient": "Ontvanger",
"CC": "CC",
"BCC": "BCC",
"Reply To": "Antwoorden aan",
"Content": "Inhoud",
"Preview": "Voorbeeld",
"HTML Content": "HTML-inhoud",
"Text Content": "Tekstinhoud",
"Statistics": "Statistieken",
"Opens": "Geopend",
"Clicks": "Kliks",
"Sent At": "Verzonden op",
"Resent At": "Opnieuw verzonden op",
"Delivered At": "Afgeleverd op",
"Last Opened At": "Laatst geopend op",
"Last Clicked At": "Laatst geklikt op",
"Complained At": "Geklaagd op",
"Soft Bounced At": "Soft bounce op",
"Hard Bounced At": "Hard bounce op",
"Status": "Status",
"All": "Alle",
"Delivery": "Aflevering",
"Click": "Klik",
"Open": "Open",
"Bounce": "Bounce",
"Complaint": "Klacht",
"Bounced": "Gebounced",
"Opened": "Geopend",
"Clicked": "Geklikt",
"Delivered": "Afgeleverd",
"of": "van",
"emails": "e-mails"
}
3 changes: 2 additions & 1 deletion src/FilamentMailsServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public function configurePackage(Package $package): void

if (file_exists($package->basePath('/../resources/lang'))) {
$package->hasTranslations();
$this->loadJsonTranslationsFrom($package->basePath('/../resources/lang'));
}

if (file_exists($package->basePath('/../resources/views'))) {
Expand Down Expand Up @@ -149,4 +150,4 @@ protected function getMigrations(): array
'create_filament-mails_table',
];
}
}
}

0 comments on commit 10925d5

Please sign in to comment.