diff --git a/lang/de/events/github/meta.php b/lang/de/events/github/meta.php new file mode 100644 index 0000000..1a1c024 --- /dev/null +++ b/lang/de/events/github/meta.php @@ -0,0 +1,10 @@ + [ + 'title' => '🗑 Webhook gelöscht', + 'organization' => '🏢 Organisation: :organization', + 'full_name' => '📦 Repository: 🦑:full_name', + 'sender' => '👤 Sender (der das Ereignis ausgelöst hat): :sender', + ], +]; diff --git a/lang/en/events/github/meta.php b/lang/en/events/github/meta.php new file mode 100644 index 0000000..869ae97 --- /dev/null +++ b/lang/en/events/github/meta.php @@ -0,0 +1,10 @@ + [ + 'title' => '🗑 Webhook Deleted', + 'organization' => '🏢 Organization: :organization', + 'full_name' => '📦 Repository: 🦑:full_name', + 'sender' => '👤 Sender (triggered the event): :sender', + ], +]; diff --git a/lang/ja/events/github/meta.php b/lang/ja/events/github/meta.php new file mode 100644 index 0000000..4feae04 --- /dev/null +++ b/lang/ja/events/github/meta.php @@ -0,0 +1,10 @@ + [ + 'title' => '🗑 Webhook 削除', + 'organization' => '🏢 組織: :organization', + 'full_name' => '📦 リポジトリ: 🦑:full_name', + 'sender' => '👤 送信者(イベントのトリガー): :sender', + ], +]; diff --git a/lang/vi/events/github/meta.php b/lang/vi/events/github/meta.php new file mode 100644 index 0000000..b132cf9 --- /dev/null +++ b/lang/vi/events/github/meta.php @@ -0,0 +1,10 @@ + [ + 'title' => '🗑 Webhook đã được xóa', + 'organization' => '🏢 Tổ chức: :organization', + 'full_name' => '📦 Kho lưu trữ: 🦑:full_name', + 'sender' => '👤 Người thực hiện sự kiện: :sender', + ], +]; diff --git a/resources/views/events/github/meta/deleted.blade.php b/resources/views/events/github/meta/deleted.blade.php new file mode 100644 index 0000000..3ae9406 --- /dev/null +++ b/resources/views/events/github/meta/deleted.blade.php @@ -0,0 +1,18 @@ + + +{!! __('tg-notifier::events/github/meta.delete.title') !!} + +@if(isset($payload->organization)) + {!! __('tg-notifier::events/github/meta.delete.organization', ['organization' => $payload->organization->login]) !!} +@endif +@if(isset($payload->repository)) + {!! __('tg-notifier::events/github/meta.delete.full_name', ['full_name' => $payload->repository->full_name]) !!} +@endif +@if(isset($payload->sender)) + {!! __('tg-notifier::events/github/meta.delete.sender', ['sender' => $payload->sender->login]) !!} +@endif