Skip to content

Commit

Permalink
fix: the view of the meta delete event
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhongit committed May 4, 2024
1 parent d0ea55c commit 240cc01
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 21 deletions.
8 changes: 4 additions & 4 deletions lang/de/events/github/meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

return [
'delete' => [
'title' => '🗑 <b>Webhook gelöscht</b>',
'organization' => '🏢 Organisation: <b>:organization</b>',
'full_name' => '📦 Repository: 🦑<b>:full_name</b>',
'sender' => '👤 Sender (der das Ereignis ausgelöst hat): <b>:sender</b>',
'title' => 'Webhook Deleted',
'organization' => 'Organization',
'full_name' => 'Repository',
'sender' => 'Sender (triggered the event): <b>:sender</b>',
],
];
8 changes: 4 additions & 4 deletions lang/en/events/github/meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

return [
'delete' => [
'title' => '🗑 <b>Webhook Deleted</b>',
'organization' => '🏢 Organization: <b>:organization</b>',
'full_name' => '📦 Repository: 🦑<b>:full_name</b>',
'sender' => '👤 Sender (triggered the event): <b>:sender</b>',
'title' => 'Webhook Deleted',
'organization' => 'Organization',
'full_name' => 'Repository',
'sender' => 'Sender (triggered the event): <b>:sender</b>',
],
];
8 changes: 4 additions & 4 deletions lang/ja/events/github/meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

return [
'delete' => [
'title' => '🗑 <b>Webhook 削除</b>',
'organization' => '🏢 組織: <b>:organization</b>',
'full_name' => '📦 リポジトリ: 🦑<b>:full_name</b>',
'sender' => '👤 送信者(イベントのトリガー): <b>:sender</b>',
'title' => 'Webhook 削除',
'organization' => '組織',
'full_name' => 'リポジトリ',
'sender' => '送信者(イベントのトリガー): <b>:sender</b>',
],
];
8 changes: 4 additions & 4 deletions lang/vi/events/github/meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

return [
'delete' => [
'title' => '🗑 <b>Webhook đã được xóa</b>',
'organization' => '🏢 Tổ chức: <b>:organization</b>',
'full_name' => '📦 Kho lưu trữ: 🦑<b>:full_name</b>',
'sender' => '👤 Người thực hiện sự kiện: <b>:sender</b>',
'title' => 'Webhook đã được xóa',
'organization' => 'Tổ chức',
'full_name' => 'Kho lưu trữ',
'sender' => 'Người thực hiện sự kiện: <b>:sender</b>',
],
];
8 changes: 4 additions & 4 deletions resources/views/events/github/meta/deleted.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
?>

{!! __('tg-notifier::events/github/meta.delete.title') !!}
🗑 <b>{!! __('tg-notifier::events/github/meta.delete.title') !!}</b>

@if(isset($payload->organization))
{!! __('tg-notifier::events/github/meta.delete.organization', ['organization' => $payload->organization->login]) !!}
🏢 {!! __('tg-notifier::events/github/meta.delete.organization') !!}: <b>{{ $payload->organization->login }}</b>
@endif
@if(isset($payload->repository))
{!! __('tg-notifier::events/github/meta.delete.full_name', ['full_name' => $payload->repository->full_name]) !!}
📦 {!! __('tg-notifier::events/github/meta.delete.full_name') !!}: 🦑<b>{{ $payload->repository->full_name }}</b>
@endif
@if(isset($payload->sender))
{!! __('tg-notifier::events/github/meta.delete.sender', ['sender' => $payload->sender->login]) !!}
👤 {!! __('tg-notifier::events/github/meta.delete.sender', ['sender' => $payload->sender->login]) !!}
@endif
2 changes: 1 addition & 1 deletion resources/views/events/github/ping/default.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
🏢 {!! __('tg-notifier::events/github/ping.default.organization') !!}: <b>{{ $payload->organization->login }}</b>
@endif
@if(isset($payload->repository))
📦 {!! __('tg-notifier::events/github/ping.default.full_name') !!} 🦑<b>{{ $payload->repository->full_name }}</b>
📦 {!! __('tg-notifier::events/github/ping.default.full_name') !!}: 🦑<b>{{ $payload->repository->full_name }}</b>
@endif
@if(isset($payload->sender))
👤 {!! __('tg-notifier::events/github/ping.default.sender', ['sender' => $payload->sender->login]) !!}
Expand Down

0 comments on commit 240cc01

Please sign in to comment.