diff --git a/lang/de/events/github/star.php b/lang/de/events/github/star.php new file mode 100644 index 0000000..535d304 --- /dev/null +++ b/lang/de/events/github/star.php @@ -0,0 +1,13 @@ + [ + 'title' => 'πŸŽ‰ New Star 🌟 from πŸ¦‘:user', + 'seeder' => 'πŸ‘€ Starer: :sender_login πŸ‘€', + ], + + 'deleted' => [ + 'title' => '🚫 Star 🌟 Removed from πŸ¦‘:user', + 'remover' => 'πŸ‘€ Remover: :sender_login πŸ‘€', + ], +]; diff --git a/lang/de/events/github/watch.php b/lang/de/events/github/watch.php index 706de28..1399b59 100644 --- a/lang/de/events/github/watch.php +++ b/lang/de/events/github/watch.php @@ -2,7 +2,7 @@ return [ 'started' => [ - 'title' => 'πŸŽ‰ New Started form πŸ¦‘:user', - 'watcher' => 'πŸ‘€ Watcher: :sender_login πŸ‘€', + 'title' => 'πŸŽ‰ (betrachten) Neuer Stern 🌟 von πŸ¦‘:user', + 'watcher' => 'πŸ‘€ Betrachter: :sender_login πŸ‘€', ], ]; diff --git a/lang/en/events/github/star.php b/lang/en/events/github/star.php new file mode 100644 index 0000000..535d304 --- /dev/null +++ b/lang/en/events/github/star.php @@ -0,0 +1,13 @@ + [ + 'title' => 'πŸŽ‰ New Star 🌟 from πŸ¦‘:user', + 'seeder' => 'πŸ‘€ Starer: :sender_login πŸ‘€', + ], + + 'deleted' => [ + 'title' => '🚫 Star 🌟 Removed from πŸ¦‘:user', + 'remover' => 'πŸ‘€ Remover: :sender_login πŸ‘€', + ], +]; diff --git a/lang/en/events/github/watch.php b/lang/en/events/github/watch.php index 706de28..f56af82 100644 --- a/lang/en/events/github/watch.php +++ b/lang/en/events/github/watch.php @@ -2,7 +2,7 @@ return [ 'started' => [ - 'title' => 'πŸŽ‰ New Started form πŸ¦‘:user', + 'title' => 'πŸŽ‰ (Watch) New Star 🌟 from πŸ¦‘:user', 'watcher' => 'πŸ‘€ Watcher: :sender_login πŸ‘€', ], ]; diff --git a/lang/ja/events/github/star.php b/lang/ja/events/github/star.php new file mode 100644 index 0000000..535d304 --- /dev/null +++ b/lang/ja/events/github/star.php @@ -0,0 +1,13 @@ + [ + 'title' => 'πŸŽ‰ New Star 🌟 from πŸ¦‘:user', + 'seeder' => 'πŸ‘€ Starer: :sender_login πŸ‘€', + ], + + 'deleted' => [ + 'title' => '🚫 Star 🌟 Removed from πŸ¦‘:user', + 'remover' => 'πŸ‘€ Remover: :sender_login πŸ‘€', + ], +]; diff --git a/lang/ja/events/github/watch.php b/lang/ja/events/github/watch.php index 706de28..b62317d 100644 --- a/lang/ja/events/github/watch.php +++ b/lang/ja/events/github/watch.php @@ -2,7 +2,7 @@ return [ 'started' => [ - 'title' => 'πŸŽ‰ New Started form πŸ¦‘:user', - 'watcher' => 'πŸ‘€ Watcher: :sender_login πŸ‘€', + 'title' => 'πŸŽ‰ (ζ™‚θ¨ˆ) 新しいスター 🌟 from πŸ¦‘:user', + 'watcher' => 'πŸ‘€ ウォッチャー: :sender_login πŸ‘€', ], ]; diff --git a/lang/vi/events/github/star.php b/lang/vi/events/github/star.php new file mode 100644 index 0000000..42bc154 --- /dev/null +++ b/lang/vi/events/github/star.php @@ -0,0 +1,13 @@ + [ + 'title' => 'πŸŽ‰ NhαΊ­n dαΊ₯u sao mα»›i 🌟 tα»« πŸ¦‘:user', + 'seeder' => 'πŸ‘€ Người gαΊ―n dαΊ₯u sao: :sender_login πŸ‘€', + ], + + 'deleted' => [ + 'title' => '🚫 DαΊ₯u sao Δ‘Γ£ bα»‹ hủy tα»« πŸ¦‘:user', + 'remover' => 'πŸ‘€ Người hủy bỏ: :sender_login πŸ‘€', + ], +]; diff --git a/lang/vi/events/github/watch.php b/lang/vi/events/github/watch.php index 706de28..36a81c1 100644 --- a/lang/vi/events/github/watch.php +++ b/lang/vi/events/github/watch.php @@ -2,7 +2,7 @@ return [ 'started' => [ - 'title' => 'πŸŽ‰ New Started form πŸ¦‘:user', - 'watcher' => 'πŸ‘€ Watcher: :sender_login πŸ‘€', + 'title' => 'πŸŽ‰ (Watch) DαΊ₯u sao mα»›i 🌟 tα»« πŸ¦‘:user', + 'watcher' => 'πŸ‘€ Người theo dΓ΅i: :sender_login πŸ‘€', ], ]; diff --git a/resources/views/events/github/meta/deleted.blade.php b/resources/views/events/github/meta/deleted.blade.php index 3ae9406..7aeb253 100644 --- a/resources/views/events/github/meta/deleted.blade.php +++ b/resources/views/events/github/meta/deleted.blade.php @@ -8,11 +8,11 @@ {!! __('tg-notifier::events/github/meta.delete.title') !!} @if(isset($payload->organization)) - {!! __('tg-notifier::events/github/meta.delete.organization', ['organization' => $payload->organization->login]) !!} +{!! __('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]) !!} +{!! __('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]) !!} +{!! __('tg-notifier::events/github/meta.delete.sender', ['sender' => $payload->sender->login]) !!} @endif diff --git a/resources/views/events/github/star/created.blade.php b/resources/views/events/github/star/created.blade.php new file mode 100644 index 0000000..5c9f6b2 --- /dev/null +++ b/resources/views/events/github/star/created.blade.php @@ -0,0 +1,12 @@ + + +{!! __('tg-notifier::events/github/star.created.title', [ + 'user' => "{$payload->repository->full_name}" + ] + ) !!} + +{!! __('tg-notifier::events/github/star.created.seeder', ['sender_login' => $payload->sender->login]) !!} diff --git a/resources/views/events/github/star/deleted.blade.php b/resources/views/events/github/star/deleted.blade.php new file mode 100644 index 0000000..ac016f9 --- /dev/null +++ b/resources/views/events/github/star/deleted.blade.php @@ -0,0 +1,12 @@ + + +{!! __('tg-notifier::events/github/star.deleted.title', [ + 'user' => "{$payload->repository->full_name}" + ] + ) !!} + +{!! __('tg-notifier::events/github/star.deleted.remover', ['sender_login' => $payload->sender->login]) !!}