Skip to content

Commit 06dc1b9

Browse files
authored
Merge pull request #70 from cslant/feature/team_add
feature/team_add
2 parents dc5a012 + d3974d9 commit 06dc1b9

File tree

10 files changed

+73
-29
lines changed

10 files changed

+73
-29
lines changed

lang/de/events/github/ping.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
<?php
22

33
return [
4-
'default' => [
5-
'title' => 'Connection Successful',
6-
'organization' => 'Organization',
7-
'full_name' => 'Repository',
8-
'sender' => 'Sender (triggered the event)',
9-
],
4+
'title' => 'Connection Successful',
5+
'organization' => 'Organization',
6+
'full_name' => 'Repository',
7+
'sender' => 'Sender (triggered the event)',
108
];

lang/de/events/github/team_add.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?php
2+
3+
return [
4+
'title' => 'Team Added successfully',
5+
'organization' => 'Organization',
6+
'full_name' => 'Repository',
7+
'team' => 'Team',
8+
];

lang/en/events/github/ping.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
<?php
22

33
return [
4-
'default' => [
5-
'title' => 'Connection Successful',
6-
'organization' => 'Organization',
7-
'full_name' => 'Repository',
8-
'sender' => 'Sender (triggered the event)',
9-
],
4+
'title' => 'Connection Successful',
5+
'organization' => 'Organization',
6+
'full_name' => 'Repository',
7+
'sender' => 'Sender (triggered the event)',
108
];

lang/en/events/github/team_add.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?php
2+
3+
return [
4+
'title' => 'Team Added successfully',
5+
'organization' => 'Organization',
6+
'full_name' => 'Repository',
7+
'team' => 'Team',
8+
];

lang/ja/events/github/ping.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
<?php
22

33
return [
4-
'default' => [
5-
'title' => 'Connection Successful',
6-
'organization' => 'Organization',
7-
'full_name' => 'Repository',
8-
'sender' => 'Sender (triggered the event)',
9-
],
4+
'title' => 'Connection Successful',
5+
'organization' => 'Organization',
6+
'full_name' => 'Repository',
7+
'sender' => 'Sender (triggered the event)',
108
];

lang/ja/events/github/team_add.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?php
2+
3+
return [
4+
'title' => 'Team Added successfully',
5+
'organization' => 'Organization',
6+
'full_name' => 'Repository',
7+
'team' => 'Team',
8+
];

lang/vi/events/github/ping.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
<?php
22

33
return [
4-
'default' => [
5-
'title' => 'Connection Successful',
6-
'organization' => 'Organization',
7-
'full_name' => 'Repository',
8-
'sender' => 'Sender (triggered the event)',
9-
],
4+
'title' => 'Connection Successful',
5+
'organization' => 'Organization',
6+
'full_name' => 'Repository',
7+
'sender' => 'Sender (triggered the event)',
108
];

lang/vi/events/github/team_add.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?php
2+
3+
return [
4+
'title' => 'Team Added successfully',
5+
'organization' => 'Organization',
6+
'full_name' => 'Repository',
7+
'team' => 'Team',
8+
];
Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
<?php
2+
23
/**
34
* @var $payload object
45
*/
56
67
?>
78

8-
⚡ <b>{!! __('tg-notifier::events/github/ping.default.title') !!}</b> 🎊
9+
⚡ <b>{!! __('tg-notifier::events/github/ping.title') !!}</b> 🎊
910

1011
@if(isset($payload->organization))
11-
🏢 {!! __('tg-notifier::events/github/ping.default.organization') !!}: <b>{{ $payload->organization->login }}</b>
12+
🏢 {!! __('tg-notifier::events/github/ping.organization') !!}: <b>{{ $payload->organization->login }}</b>
1213
@endif
1314
@if(isset($payload->repository))
14-
📦 {!! __('tg-notifier::events/github/ping.default.full_name') !!}: 🦑<b>{{ $payload->repository->full_name }}</b>
15+
📦 {!! __('tg-notifier::events/github/ping.full_name') !!}: 🦑<b>{{ $payload->repository->full_name }}</b>
1516
@endif
1617
@if(isset($payload->sender))
17-
👤 {!! __('tg-notifier::events/github/ping.default.sender') !!}: <code>{{ $payload->sender->login }}</code>
18-
@endif
18+
👤 {!! __('tg-notifier::events/github/ping.sender') !!}: <code>{{ $payload->sender->login }}</code>
19+
@endif
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?php
2+
3+
/**
4+
* @var $payload object
5+
*/
6+
7+
?>
8+
9+
⚡ <b>{!! __('tg-notifier::events/github/team_add.title') !!}</b> 🎊
10+
11+
@if(isset($payload->organization))
12+
🏢 {!! __('tg-notifier::events/github/team_add.organization') !!}: <b>{{ $payload->organization->login }}</b>
13+
@endif
14+
@if(isset($payload->repository))
15+
📦 {!! __('tg-notifier::events/github/team_add.full_name') !!}: 🦑<a href='{{ $payload->team->html_url }}'><b>{{ $payload->repository->full_name }}</b></a>
16+
@endif
17+
@if(isset($payload->team))
18+
👥 {!! __('tg-notifier::events/github/team_add.team') !!}: <code>{{ $payload->team->name }}</code>
19+
@endif

0 commit comments

Comments
 (0)