diff --git a/lang/de/events/github/branch_protection_rule.php b/lang/de/events/github/branch_protection_rule.php
index cb2e40e..fea589b 100644
--- a/lang/de/events/github/branch_protection_rule.php
+++ b/lang/de/events/github/branch_protection_rule.php
@@ -1,22 +1,23 @@
'Rule Name',
'created' => [
- 'title' => 'โ ๏ธ New Branch Protection Rules from ๐ฆ:repo',
- 'link' => '๐ Link: :link',
+ 'title' => 'New Branch Protection Rules from :repo',
+ 'link' => 'Link: :link',
],
'edited' => [
- 'title' => '๐ Branch Protection Rules Have Been Edited from ๐ฆ:repo',
+ 'title' => 'Branch Protection Rules Have Been Edited from :repo',
'changes' => [
'title' => [
- 'name' => '๐ Title has been changed',
- 'from' => '๐ From: :title_from',
- 'to' => '๐ท To: :title_to',
+ 'name' => 'The Name has been changed',
+ 'from' => 'From: :title_from',
+ 'to' => 'To: :title_to',
],
],
- 'link' => '๐ Link: :link',
+ 'link' => 'Link: :link',
],
'deleted' => [
- 'title' => '๐ Branch Protection Rules Deleted from ๐ฆ:repo',
+ 'title' => 'Branch Protection Rules Deleted from :repo',
],
];
diff --git a/lang/de/events/github/deploy_key.php b/lang/de/events/github/deploy_key.php
index a14fa34..d9812e4 100644
--- a/lang/de/events/github/deploy_key.php
+++ b/lang/de/events/github/deploy_key.php
@@ -1,12 +1,13 @@
'Deploy Key',
'created' => [
- 'title' => '๐ฌ Added Deploy Key โ ๏ธ from ๐ฆ :repo by :user',
+ 'title' => 'Added Deploy Key โ ๏ธ from :repo by :user',
'message' => 'Please go to the setting deploy key to manage.',
],
'deleted' => [
- 'title' => '๐ Deploy Key Deleted ๐ฌ from ๐ฆ :repo by :user',
+ 'title' => 'Deploy Key Deleted ๐ฌ from :repo by :user',
'message' => 'Please go to the setting deploy key to manage.',
],
];
diff --git a/lang/de/events/github/issue_comment.php b/lang/de/events/github/issue_comment.php
index 5f972d7..10f86d8 100644
--- a/lang/de/events/github/issue_comment.php
+++ b/lang/de/events/github/issue_comment.php
@@ -1,14 +1,15 @@
'๐ข',
+ 'issue_comment_title' => 'Issue Name',
'created' => [
- 'title' => '๐ฌ New Issue Comment โ ๏ธ to ๐ฆ :issue by :user',
+ 'title' => 'New Issue Comment โ ๏ธ to :issue by :user',
],
'deleted' => [
- 'title' => '๐ Issue Comment Deleted ๐ฌ from ๐ฆ :issue by :user',
+ 'title' => 'Issue Comment Deleted ๐ฌ from :issue by :user',
],
'edited' => [
- 'title' => '๐ Issue Comment Edited ๐ฌ in ๐ฆ :issue by :user',
+ 'title' => 'Issue Comment Edited ๐ฌ in :issue by :user',
],
+ 'link' => 'Link to Comment',
];
diff --git a/lang/de/events/github/issues.php b/lang/de/events/github/issues.php
index 1483efc..078ba81 100644
--- a/lang/de/events/github/issues.php
+++ b/lang/de/events/github/issues.php
@@ -1,43 +1,43 @@
'๐ข',
+ 'issue_title' => 'Name',
'closed' => [
- 'title' => '๐ซ Issue Closed to ๐ฆ :issue by :user',
+ 'title' => 'Issue Closed to :issue by :user',
],
'deleted' => [
- 'title' => '๐ Issue Deleted from ๐ฆ :issue by :user',
+ 'title' => 'Issue Deleted from :issue by :user',
],
'edited' => [
- 'title' => 'โ ๏ธ Issue has been edited to ๐ฆ :issue by :user',
+ 'title' => 'Issue has been edited to :issue by :user',
'changes' => [
'title' => [
- 'name' => '๐ Title has been changed',
- 'from' => '๐ From: :title_from',
- 'to' => '๐ท To: :title_to',
+ 'name' => 'Title has been changed',
+ 'from' => 'From: :title_from',
+ 'to' => 'To: :title_to',
],
'body' => [
- 'title' => '๐ Body has been changed',
+ 'title' => 'Body has been changed',
'message' => 'Please check the issue for more details',
],
],
],
'locked' => [
- 'title' => '๐ Issue Locked from ๐ฆ :issue by :user',
+ 'title' => 'Issue Locked from :issue by :user',
],
'opened' => [
- 'title' => 'โ ๏ธ New Issue to ๐ฆ :issue by :user',
+ 'title' => 'New Issue to :issue by :user',
],
'pinned' => [
- 'title' => '๐ Issue Pinned from ๐ฆ :issue by :user',
+ 'title' => 'Issue Pinned from :issue by :user',
],
'reopened' => [
- 'title' => 'โ ๏ธ Issue has been reopened โ ๏ธ to ๐ฆ :issue by :user',
+ 'title' => 'Issue has been reopened โ ๏ธ to :issue by :user',
],
'unlocked' => [
- 'title' => '๐ Issue Unlocked from ๐ฆ :issue by :user',
+ 'title' => 'Issue Unlocked from :issue by :user',
],
'unpinned' => [
- 'title' => '๐ Issue Unpinned from ๐ฆ :issue by :user',
+ 'title' => 'Issue Unpinned from :issue by :user',
],
];
diff --git a/lang/de/events/github/label.php b/lang/de/events/github/label.php
index 4ebc4ed..8ba4f1e 100644
--- a/lang/de/events/github/label.php
+++ b/lang/de/events/github/label.php
@@ -2,23 +2,23 @@
return [
'created' => [
- 'title' => '๐ฌ New Label โ ๏ธ - ๐ฆ:repo by :user',
+ 'title' => 'New Label :repo by :user',
],
'deleted' => [
- 'title' => '๐ Label Deleted - ๐ฆ:repo by :user',
+ 'title' => 'Label Deleted - :repo by :user',
],
'edited' => [
- 'title' => '๐ทโโ๏ธ๐ ๏ธ Label has been edited - ๐ฆ:repo by :user',
+ 'title' => 'Label has been edited - :repo by :user',
'changes' => [
'title' => [
- 'name' => '๐ Title has been changed',
- 'from' => '๐ From: :title_from',
- 'to' => '๐ท To: :title_to',
+ 'name' => 'Title has been changed',
+ 'from' => 'From: :title_from',
+ 'to' => 'To: :title_to',
],
'description' => [
- 'name' => '๐ Description has been changed',
- 'from' => '๐ From: :description_from',
- 'to' => '๐ท To: :description_to',
+ 'name' => 'Description has been changed',
+ 'from' => 'From: :description_from',
+ 'to' => 'To: :description_to',
],
],
],
diff --git a/lang/de/events/github/meta.php b/lang/de/events/github/meta.php
index 1a1c024..4772618 100644
--- a/lang/de/events/github/meta.php
+++ b/lang/de/events/github/meta.php
@@ -2,9 +2,9 @@
return [
'delete' => [
- 'title' => '๐ Webhook gelรถscht',
- 'organization' => '๐ข Organisation: :organization',
- 'full_name' => '๐ฆ Repository: ๐ฆ:full_name',
- 'sender' => '๐ค Sender (der das Ereignis ausgelรถst hat): :sender',
+ 'title' => 'Webhook gelรถscht',
+ 'organization' => 'Organisation',
+ 'full_name' => 'Repository',
+ 'sender' => 'Sender (der das Ereignis ausgelรถst hat)',
],
];
diff --git a/lang/de/events/github/ping.php b/lang/de/events/github/ping.php
index 7d9d2b9..b0397ef 100644
--- a/lang/de/events/github/ping.php
+++ b/lang/de/events/github/ping.php
@@ -2,9 +2,9 @@
return [
'default' => [
- 'title' => 'โป๏ธ Connection Successful',
- 'organization' => '๐ข Organization: :organization',
- 'full_name' => '๐ฆ Repository: ๐ฆ:full_name',
- 'sender' => '๐ค Sender (triggered the event): :sender',
+ 'title' => 'Connection Successful',
+ 'organization' => 'Organization',
+ 'full_name' => 'Repository',
+ 'sender' => 'Sender (triggered the event)',
],
];
diff --git a/lang/de/events/github/pull_request.php b/lang/de/events/github/pull_request.php
index 5c49522..e20a707 100644
--- a/lang/de/events/github/pull_request.php
+++ b/lang/de/events/github/pull_request.php
@@ -1,36 +1,40 @@
'๐ฅ Reviewers: ',
+ 'review' => 'Reviewers: ',
+ 'title' => 'Title',
+ 'name' => 'Name',
'assigned' => [
- 'title' => 'โ๐ทโโ๏ธ๐ ๏ธ Assigned Pull Request - ๐ฆ:repo by :user',
+ 'title' => 'Assigned Pull Request - :repo by :user',
'body' => ':name has been assigned in the pull request :pullRequest',
],
'closed' => [
- 'title' => ':title - ๐ฆ:repo by :user',
- 'title_merged' => 'โ
Pull Request Merged',
- 'title_closed' => '๐ซ Pull Request Closed',
+ 'title' => ':title - :repo by :user',
+ 'title_merged' => 'Pull Request Merged',
+ 'title_closed' => 'Pull Request Closed',
],
'labeled' => [
- 'title' => 'โ๐ทโโ๏ธ๐ ๏ธ Labeled Pull Request - ๐ฆ:repo by :user',
+ 'name' => 'Label',
+ 'description' => 'Description',
+ 'title' => 'Labeled Pull Request - :repo by :user',
],
'locked' => [
- 'title' => 'โ๐ทโโ๏ธ๐ ๏ธ Locked Pull Request - ๐ฆ:repo by :user',
+ 'title' => 'Locked Pull Request - :repo by :user',
],
'opened' => [
- 'title' => '๐ทโโ๏ธ๐ ๏ธ New Pull Request - ๐ฆ:repo by :user',
+ 'title' => 'New Pull Request - :repo by :user',
],
'reopened' => [
- 'title' => '๐ทโโ๏ธ๐ ๏ธ Reopened Pull Request - ๐ฆ:repo by :user',
+ 'title' => 'Reopened Pull Request - :repo by :user',
],
'unassigned' => [
- 'title' => 'โ๐ทโโ๏ธ๐ ๏ธ Unassigned Pull Request - ๐ฆ:repo by :user',
+ 'title' => 'Unassigned Pull Request - :repo by :user',
'body' => ':name has been unassigned in the pull request :pullRequest',
],
'unlabeled' => [
- 'title' => 'โ๐ทโโ๏ธ๐ ๏ธ Unlabeled Pull Request - ๐ฆ:repo by :user',
+ 'title' => 'Unlabeled Pull Request - :repo by :user',
],
'unlocked' => [
- 'title' => 'โ๐ทโโ๏ธ๐ ๏ธ Unlocked Pull Request - ๐ฆ:repo by :user',
+ 'title' => 'Unlocked Pull Request - :repo by :user',
],
];
diff --git a/lang/de/events/github/pull_request_review.php b/lang/de/events/github/pull_request_review.php
index 7d4ad6f..9749531 100644
--- a/lang/de/events/github/pull_request_review.php
+++ b/lang/de/events/github/pull_request_review.php
@@ -2,10 +2,11 @@
return [
'dismissed' => [
- 'title' => '๐ทโโ๏ธ๐ ๏ธ Dismissed Pull Request Review Comment ๐ฌ - ๐ฆ:repo by :user',
+ 'title' => 'Dismissed Pull Request Review Comment ๐ฌ - :repo by :user',
],
'submitted' => [
- 'title' => '๐ทโโ๏ธโ๐ ๏ธ New Pull Request Review Comment ๐ฌ - ๐ฆ:repo by :user',
+ 'title' => 'New Pull Request Review Comment ๐ฌ - :repo by :user',
],
- 'link' => '๐ Link: :review',
+ 'link' => 'Link: :review',
+ 'name' => 'PR Name',
];
diff --git a/lang/de/events/github/push.php b/lang/de/events/github/push.php
index e37a931..2928dd4 100644
--- a/lang/de/events/github/push.php
+++ b/lang/de/events/github/push.php
@@ -4,6 +4,6 @@
'default' => [
'title' => '๐ทโ๏ธ :count new :noun to ๐ฆ:repo::branch
',
'commit' => '[:commit] :commit_message - by :commit_by',
- 'pusher' => '๐ค Pushed by : :name',
+ 'pusher' => 'Pushed by',
],
];
diff --git a/lang/de/events/github/star.php b/lang/de/events/github/star.php
index c26fb52..7fb8318 100644
--- a/lang/de/events/github/star.php
+++ b/lang/de/events/github/star.php
@@ -2,12 +2,12 @@
return [
'created' => [
- 'title' => '๐ New Star ๐ from ๐ฆ:repo',
- 'seeder' => '๐ค Starer: :sender_login ๐',
+ 'title' => 'New Star ๐ from',
+ 'seeder' => 'Starer',
],
'deleted' => [
- 'title' => '๐ซ Star ๐ Removed from ๐ฆ:repo',
- 'remover' => '๐ค Remover: :sender_login ๐',
+ 'title' => 'Star ๐ Removed from',
+ 'remover' => 'Remover',
],
];
diff --git a/lang/de/events/github/watch.php b/lang/de/events/github/watch.php
index 4154bf6..720e08f 100644
--- a/lang/de/events/github/watch.php
+++ b/lang/de/events/github/watch.php
@@ -2,7 +2,7 @@
return [
'started' => [
- 'title' => '๐ (betrachten) Neuer Stern ๐ von ๐ฆ:repo',
- 'watcher' => '๐ค Betrachter: :sender_login ๐',
+ 'title' => '(betrachten) Neuer Stern ๐ von :repo',
+ 'watcher' => 'Betrachter',
],
];
diff --git a/lang/de/events/github/workflow_job.php b/lang/de/events/github/workflow_job.php
index ce88058..2a50d9b 100644
--- a/lang/de/events/github/workflow_job.php
+++ b/lang/de/events/github/workflow_job.php
@@ -2,19 +2,22 @@
return [
'completed' => [
- 'completed' => '๐ Action Completed from :repo',
- 'done' => 'Done action: ๐ :runner_name โจ',
-
- 'canceled' => '๐ซ Canceled Action from ๐ฆ:repo',
- 'failed' => 'Failed action: ๐ซ :runner_name โ',
+ 'success' => 'Action Completed from :repo',
+ 'failure' => 'Canceled Action from :repo',
+ ],
+ 'status' => [
+ 'title' => 'Status',
+ 'success' => 'Success',
+ 'failure' => 'Failure',
],
'in_progress' => [
- 'progress' => '๐ง Action in progress form๐ฆ:repo',
- 'running' => 'Running action: ๐ฅ :runner_name โณ',
+ 'progress' => 'Action in progress form :repo',
+ 'running' => 'Running action',
],
'queued' => [
- 'title' => ' Action Queued from ๐ฆ:repo',
- 'body' => 'Queued action: ๐ฅ :runner_name โฐ',
+ 'title' => ' Action Queued from :repo',
+ 'name' => 'Queued action',
],
- 'link' => '๐ Workflow job link: :link',
+ 'link' => 'Workflow job link: :link',
+ 'name' => 'Workflow job name',
];
diff --git a/lang/de/events/github/workflow_run.php b/lang/de/events/github/workflow_run.php
index 5ce1d50..4489437 100644
--- a/lang/de/events/github/workflow_run.php
+++ b/lang/de/events/github/workflow_run.php
@@ -3,25 +3,26 @@
return [
'completed' => [
'success' => [
- 'title' => '๐ Workflow Completed from ๐ฆ :repo',
- 'body' => 'Done workflow: ๐ :name โจ ',
+ 'title' => '๐ Workflow Completed from :repo',
+ 'body' => 'Done workflow: ๐ :name
โจ ',
],
'failure' => [
- 'title' => '๐ซ Workflow Failed from ๐ฆ:repo',
- 'body' => 'Failed workflow: ๐ซ :name โ',
+ 'title' => '๐ซ Workflow Failed from :repo',
+ 'body' => 'Failed workflow: ๐ซ :name
โ',
],
'cancelled' => [
- 'title' => 'โ Workflow Cancelled from ๐ฆ :repo',
- 'body' => 'Cancelled workflow: ๐จ :name โ ',
+ 'title' => 'โ Workflow Cancelled from :repo',
+ 'body' => 'Cancelled workflow: ๐จ :name
โ ',
],
'default' => [
- 'title' => "๐จ Workflow Can't Success from ๐ฆ:repo",
- 'body' => "Can't Success workflow: ๐จ :name โ",
+ 'title' => "๐จ Workflow Can't Success from :repo",
+ 'body' => "Can't Success workflow: ๐จ :name
โ",
],
],
'requested' => [
- 'title' => ' Workflow Requested from ๐ฆ:repo',
- 'body' => 'Running workflow: ๐ฅ :name โณ',
+ 'title' => ' Workflow Requested from :repo',
+ 'body' => 'Running workflow',
],
- 'link' => '๐ Workflow run link: :link',
+ 'link' => 'Workflow run link: :link',
+ 'display_title' => 'Title',
];
diff --git a/lang/de/events/shared/github.php b/lang/de/events/shared/github.php
index ce3f29f..bb02e5a 100644
--- a/lang/de/events/shared/github.php
+++ b/lang/de/events/shared/github.php
@@ -2,9 +2,12 @@
return [
'_body' => [
- 'title' => '๐ Content:',
+ 'title' => 'Content',
],
'_assignee' => [
- 'title' => '๐ Assignee: ',
+ 'title' => 'Assignee',
+ ],
+ '_description' => [
+ 'title' => 'Description',
],
];
diff --git a/lang/en/events/github/branch_protection_rule.php b/lang/en/events/github/branch_protection_rule.php
index cb2e40e..fea589b 100644
--- a/lang/en/events/github/branch_protection_rule.php
+++ b/lang/en/events/github/branch_protection_rule.php
@@ -1,22 +1,23 @@
'Rule Name',
'created' => [
- 'title' => 'โ ๏ธ New Branch Protection Rules from ๐ฆ:repo',
- 'link' => '๐ Link: :link',
+ 'title' => 'New Branch Protection Rules from :repo',
+ 'link' => 'Link: :link',
],
'edited' => [
- 'title' => '๐ Branch Protection Rules Have Been Edited from ๐ฆ:repo',
+ 'title' => 'Branch Protection Rules Have Been Edited from :repo',
'changes' => [
'title' => [
- 'name' => '๐ Title has been changed',
- 'from' => '๐ From: :title_from',
- 'to' => '๐ท To: :title_to',
+ 'name' => 'The Name has been changed',
+ 'from' => 'From: :title_from',
+ 'to' => 'To: :title_to',
],
],
- 'link' => '๐ Link: :link',
+ 'link' => 'Link: :link',
],
'deleted' => [
- 'title' => '๐ Branch Protection Rules Deleted from ๐ฆ:repo',
+ 'title' => 'Branch Protection Rules Deleted from :repo',
],
];
diff --git a/lang/en/events/github/deploy_key.php b/lang/en/events/github/deploy_key.php
index a14fa34..d9812e4 100644
--- a/lang/en/events/github/deploy_key.php
+++ b/lang/en/events/github/deploy_key.php
@@ -1,12 +1,13 @@
'Deploy Key',
'created' => [
- 'title' => '๐ฌ Added Deploy Key โ ๏ธ from ๐ฆ :repo by :user',
+ 'title' => 'Added Deploy Key โ ๏ธ from :repo by :user',
'message' => 'Please go to the setting deploy key to manage.',
],
'deleted' => [
- 'title' => '๐ Deploy Key Deleted ๐ฌ from ๐ฆ :repo by :user',
+ 'title' => 'Deploy Key Deleted ๐ฌ from :repo by :user',
'message' => 'Please go to the setting deploy key to manage.',
],
];
diff --git a/lang/en/events/github/issue_comment.php b/lang/en/events/github/issue_comment.php
index 5f972d7..10f86d8 100644
--- a/lang/en/events/github/issue_comment.php
+++ b/lang/en/events/github/issue_comment.php
@@ -1,14 +1,15 @@
'๐ข',
+ 'issue_comment_title' => 'Issue Name',
'created' => [
- 'title' => '๐ฌ New Issue Comment โ ๏ธ to ๐ฆ :issue by :user',
+ 'title' => 'New Issue Comment โ ๏ธ to :issue by :user',
],
'deleted' => [
- 'title' => '๐ Issue Comment Deleted ๐ฌ from ๐ฆ :issue by :user',
+ 'title' => 'Issue Comment Deleted ๐ฌ from :issue by :user',
],
'edited' => [
- 'title' => '๐ Issue Comment Edited ๐ฌ in ๐ฆ :issue by :user',
+ 'title' => 'Issue Comment Edited ๐ฌ in :issue by :user',
],
+ 'link' => 'Link to Comment',
];
diff --git a/lang/en/events/github/issues.php b/lang/en/events/github/issues.php
index 1483efc..078ba81 100644
--- a/lang/en/events/github/issues.php
+++ b/lang/en/events/github/issues.php
@@ -1,43 +1,43 @@
'๐ข',
+ 'issue_title' => 'Name',
'closed' => [
- 'title' => '๐ซ Issue Closed to ๐ฆ :issue by :user',
+ 'title' => 'Issue Closed to :issue by :user',
],
'deleted' => [
- 'title' => '๐ Issue Deleted from ๐ฆ :issue by :user',
+ 'title' => 'Issue Deleted from :issue by :user',
],
'edited' => [
- 'title' => 'โ ๏ธ Issue has been edited to ๐ฆ :issue by :user',
+ 'title' => 'Issue has been edited to :issue by :user',
'changes' => [
'title' => [
- 'name' => '๐ Title has been changed',
- 'from' => '๐ From: :title_from',
- 'to' => '๐ท To: :title_to',
+ 'name' => 'Title has been changed',
+ 'from' => 'From: :title_from',
+ 'to' => 'To: :title_to',
],
'body' => [
- 'title' => '๐ Body has been changed',
+ 'title' => 'Body has been changed',
'message' => 'Please check the issue for more details',
],
],
],
'locked' => [
- 'title' => '๐ Issue Locked from ๐ฆ :issue by :user',
+ 'title' => 'Issue Locked from :issue by :user',
],
'opened' => [
- 'title' => 'โ ๏ธ New Issue to ๐ฆ :issue by :user',
+ 'title' => 'New Issue to :issue by :user',
],
'pinned' => [
- 'title' => '๐ Issue Pinned from ๐ฆ :issue by :user',
+ 'title' => 'Issue Pinned from :issue by :user',
],
'reopened' => [
- 'title' => 'โ ๏ธ Issue has been reopened โ ๏ธ to ๐ฆ :issue by :user',
+ 'title' => 'Issue has been reopened โ ๏ธ to :issue by :user',
],
'unlocked' => [
- 'title' => '๐ Issue Unlocked from ๐ฆ :issue by :user',
+ 'title' => 'Issue Unlocked from :issue by :user',
],
'unpinned' => [
- 'title' => '๐ Issue Unpinned from ๐ฆ :issue by :user',
+ 'title' => 'Issue Unpinned from :issue by :user',
],
];
diff --git a/lang/en/events/github/label.php b/lang/en/events/github/label.php
index 4ebc4ed..8ba4f1e 100644
--- a/lang/en/events/github/label.php
+++ b/lang/en/events/github/label.php
@@ -2,23 +2,23 @@
return [
'created' => [
- 'title' => '๐ฌ New Label โ ๏ธ - ๐ฆ:repo by :user',
+ 'title' => 'New Label :repo by :user',
],
'deleted' => [
- 'title' => '๐ Label Deleted - ๐ฆ:repo by :user',
+ 'title' => 'Label Deleted - :repo by :user',
],
'edited' => [
- 'title' => '๐ทโโ๏ธ๐ ๏ธ Label has been edited - ๐ฆ:repo by :user',
+ 'title' => 'Label has been edited - :repo by :user',
'changes' => [
'title' => [
- 'name' => '๐ Title has been changed',
- 'from' => '๐ From: :title_from',
- 'to' => '๐ท To: :title_to',
+ 'name' => 'Title has been changed',
+ 'from' => 'From: :title_from',
+ 'to' => 'To: :title_to',
],
'description' => [
- 'name' => '๐ Description has been changed',
- 'from' => '๐ From: :description_from',
- 'to' => '๐ท To: :description_to',
+ 'name' => 'Description has been changed',
+ 'from' => 'From: :description_from',
+ 'to' => 'To: :description_to',
],
],
],
diff --git a/lang/en/events/github/meta.php b/lang/en/events/github/meta.php
index 869ae97..9743356 100644
--- a/lang/en/events/github/meta.php
+++ b/lang/en/events/github/meta.php
@@ -2,9 +2,9 @@
return [
'delete' => [
- 'title' => '๐ Webhook Deleted',
- 'organization' => '๐ข Organization: :organization',
- 'full_name' => '๐ฆ Repository: ๐ฆ:full_name',
- 'sender' => '๐ค Sender (triggered the event): :sender',
+ 'title' => 'Webhook Deleted',
+ 'organization' => 'Organization',
+ 'full_name' => 'Repository',
+ 'sender' => 'Sender (triggered the event)',
],
];
diff --git a/lang/en/events/github/ping.php b/lang/en/events/github/ping.php
index 7d9d2b9..b0397ef 100644
--- a/lang/en/events/github/ping.php
+++ b/lang/en/events/github/ping.php
@@ -2,9 +2,9 @@
return [
'default' => [
- 'title' => 'โป๏ธ Connection Successful',
- 'organization' => '๐ข Organization: :organization',
- 'full_name' => '๐ฆ Repository: ๐ฆ:full_name',
- 'sender' => '๐ค Sender (triggered the event): :sender',
+ 'title' => 'Connection Successful',
+ 'organization' => 'Organization',
+ 'full_name' => 'Repository',
+ 'sender' => 'Sender (triggered the event)',
],
];
diff --git a/lang/en/events/github/pull_request.php b/lang/en/events/github/pull_request.php
index 5c49522..e20a707 100644
--- a/lang/en/events/github/pull_request.php
+++ b/lang/en/events/github/pull_request.php
@@ -1,36 +1,40 @@
'๐ฅ Reviewers: ',
+ 'review' => 'Reviewers: ',
+ 'title' => 'Title',
+ 'name' => 'Name',
'assigned' => [
- 'title' => 'โ๐ทโโ๏ธ๐ ๏ธ Assigned Pull Request - ๐ฆ:repo by :user',
+ 'title' => 'Assigned Pull Request - :repo by :user',
'body' => ':name has been assigned in the pull request :pullRequest',
],
'closed' => [
- 'title' => ':title - ๐ฆ:repo by :user',
- 'title_merged' => 'โ
Pull Request Merged',
- 'title_closed' => '๐ซ Pull Request Closed',
+ 'title' => ':title - :repo by :user',
+ 'title_merged' => 'Pull Request Merged',
+ 'title_closed' => 'Pull Request Closed',
],
'labeled' => [
- 'title' => 'โ๐ทโโ๏ธ๐ ๏ธ Labeled Pull Request - ๐ฆ:repo by :user',
+ 'name' => 'Label',
+ 'description' => 'Description',
+ 'title' => 'Labeled Pull Request - :repo by :user',
],
'locked' => [
- 'title' => 'โ๐ทโโ๏ธ๐ ๏ธ Locked Pull Request - ๐ฆ:repo by :user',
+ 'title' => 'Locked Pull Request - :repo by :user',
],
'opened' => [
- 'title' => '๐ทโโ๏ธ๐ ๏ธ New Pull Request - ๐ฆ:repo by :user',
+ 'title' => 'New Pull Request - :repo by :user',
],
'reopened' => [
- 'title' => '๐ทโโ๏ธ๐ ๏ธ Reopened Pull Request - ๐ฆ:repo by :user',
+ 'title' => 'Reopened Pull Request - :repo by :user',
],
'unassigned' => [
- 'title' => 'โ๐ทโโ๏ธ๐ ๏ธ Unassigned Pull Request - ๐ฆ:repo by :user',
+ 'title' => 'Unassigned Pull Request - :repo by :user',
'body' => ':name has been unassigned in the pull request :pullRequest',
],
'unlabeled' => [
- 'title' => 'โ๐ทโโ๏ธ๐ ๏ธ Unlabeled Pull Request - ๐ฆ:repo by :user',
+ 'title' => 'Unlabeled Pull Request - :repo by :user',
],
'unlocked' => [
- 'title' => 'โ๐ทโโ๏ธ๐ ๏ธ Unlocked Pull Request - ๐ฆ:repo by :user',
+ 'title' => 'Unlocked Pull Request - :repo by :user',
],
];
diff --git a/lang/en/events/github/pull_request_review.php b/lang/en/events/github/pull_request_review.php
index 7d4ad6f..9749531 100644
--- a/lang/en/events/github/pull_request_review.php
+++ b/lang/en/events/github/pull_request_review.php
@@ -2,10 +2,11 @@
return [
'dismissed' => [
- 'title' => '๐ทโโ๏ธ๐ ๏ธ Dismissed Pull Request Review Comment ๐ฌ - ๐ฆ:repo by :user',
+ 'title' => 'Dismissed Pull Request Review Comment ๐ฌ - :repo by :user',
],
'submitted' => [
- 'title' => '๐ทโโ๏ธโ๐ ๏ธ New Pull Request Review Comment ๐ฌ - ๐ฆ:repo by :user',
+ 'title' => 'New Pull Request Review Comment ๐ฌ - :repo by :user',
],
- 'link' => '๐ Link: :review',
+ 'link' => 'Link: :review',
+ 'name' => 'PR Name',
];
diff --git a/lang/en/events/github/push.php b/lang/en/events/github/push.php
index e37a931..2928dd4 100644
--- a/lang/en/events/github/push.php
+++ b/lang/en/events/github/push.php
@@ -4,6 +4,6 @@
'default' => [
'title' => '๐ทโ๏ธ :count new :noun to ๐ฆ:repo::branch
',
'commit' => '[:commit] :commit_message - by :commit_by',
- 'pusher' => '๐ค Pushed by : :name',
+ 'pusher' => 'Pushed by',
],
];
diff --git a/lang/en/events/github/star.php b/lang/en/events/github/star.php
index c26fb52..7fb8318 100644
--- a/lang/en/events/github/star.php
+++ b/lang/en/events/github/star.php
@@ -2,12 +2,12 @@
return [
'created' => [
- 'title' => '๐ New Star ๐ from ๐ฆ:repo',
- 'seeder' => '๐ค Starer: :sender_login ๐',
+ 'title' => 'New Star ๐ from',
+ 'seeder' => 'Starer',
],
'deleted' => [
- 'title' => '๐ซ Star ๐ Removed from ๐ฆ:repo',
- 'remover' => '๐ค Remover: :sender_login ๐',
+ 'title' => 'Star ๐ Removed from',
+ 'remover' => 'Remover',
],
];
diff --git a/lang/en/events/github/watch.php b/lang/en/events/github/watch.php
index 672f6cd..f98a965 100644
--- a/lang/en/events/github/watch.php
+++ b/lang/en/events/github/watch.php
@@ -2,7 +2,7 @@
return [
'started' => [
- 'title' => '๐ (Watch) New Star ๐ from ๐ฆ:repo',
- 'watcher' => '๐ค Watcher: :sender_login ๐',
+ 'title' => '(Watch) New Star ๐ from :repo',
+ 'watcher' => 'Watcher',
],
];
diff --git a/lang/en/events/github/workflow_job.php b/lang/en/events/github/workflow_job.php
index ce88058..2a50d9b 100644
--- a/lang/en/events/github/workflow_job.php
+++ b/lang/en/events/github/workflow_job.php
@@ -2,19 +2,22 @@
return [
'completed' => [
- 'completed' => '๐ Action Completed from :repo',
- 'done' => 'Done action: ๐ :runner_name โจ',
-
- 'canceled' => '๐ซ Canceled Action from ๐ฆ:repo',
- 'failed' => 'Failed action: ๐ซ :runner_name โ',
+ 'success' => 'Action Completed from :repo',
+ 'failure' => 'Canceled Action from :repo',
+ ],
+ 'status' => [
+ 'title' => 'Status',
+ 'success' => 'Success',
+ 'failure' => 'Failure',
],
'in_progress' => [
- 'progress' => '๐ง Action in progress form๐ฆ:repo',
- 'running' => 'Running action: ๐ฅ :runner_name โณ',
+ 'progress' => 'Action in progress form :repo',
+ 'running' => 'Running action',
],
'queued' => [
- 'title' => ' Action Queued from ๐ฆ:repo',
- 'body' => 'Queued action: ๐ฅ :runner_name โฐ',
+ 'title' => ' Action Queued from :repo',
+ 'name' => 'Queued action',
],
- 'link' => '๐ Workflow job link: :link',
+ 'link' => 'Workflow job link: :link',
+ 'name' => 'Workflow job name',
];
diff --git a/lang/en/events/github/workflow_run.php b/lang/en/events/github/workflow_run.php
index 09f90d1..4489437 100644
--- a/lang/en/events/github/workflow_run.php
+++ b/lang/en/events/github/workflow_run.php
@@ -3,25 +3,26 @@
return [
'completed' => [
'success' => [
- 'title' => '๐ Workflow Completed from ๐ฆ :repo',
- 'body' => 'Done workflow: ๐ :name โจ ',
+ 'title' => '๐ Workflow Completed from :repo',
+ 'body' => 'Done workflow: ๐ :name
โจ ',
],
'failure' => [
- 'title' => '๐ซ Workflow Failed from ๐ฆ:repo',
- 'body' => 'Failed workflow: ๐ซ :name โ',
+ 'title' => '๐ซ Workflow Failed from :repo',
+ 'body' => 'Failed workflow: ๐ซ :name
โ',
],
'cancelled' => [
- 'title' => 'โ Workflow Cancelled from ๐ฆ :user',
- 'body' => 'Cancelled workflow: ๐จ :name โ ',
+ 'title' => 'โ Workflow Cancelled from :repo',
+ 'body' => 'Cancelled workflow: ๐จ :name
โ ',
],
'default' => [
- 'title' => "๐จ Workflow Can't Success from ๐ฆ:repo",
- 'body' => "Can't Success workflow: ๐จ :name โ",
+ 'title' => "๐จ Workflow Can't Success from :repo",
+ 'body' => "Can't Success workflow: ๐จ :name
โ",
],
],
'requested' => [
- 'title' => ' Workflow Requested from ๐ฆ:repo',
- 'body' => 'Running workflow: ๐ฅ :name โณ',
+ 'title' => ' Workflow Requested from :repo',
+ 'body' => 'Running workflow',
],
- 'link' => '๐ Workflow run link: :link',
+ 'link' => 'Workflow run link: :link',
+ 'display_title' => 'Title',
];
diff --git a/lang/en/events/shared/github.php b/lang/en/events/shared/github.php
index ce3f29f..bb02e5a 100644
--- a/lang/en/events/shared/github.php
+++ b/lang/en/events/shared/github.php
@@ -2,9 +2,12 @@
return [
'_body' => [
- 'title' => '๐ Content:',
+ 'title' => 'Content',
],
'_assignee' => [
- 'title' => '๐ Assignee: ',
+ 'title' => 'Assignee',
+ ],
+ '_description' => [
+ 'title' => 'Description',
],
];
diff --git a/lang/ja/events/github/branch_protection_rule.php b/lang/ja/events/github/branch_protection_rule.php
index cb2e40e..fea589b 100644
--- a/lang/ja/events/github/branch_protection_rule.php
+++ b/lang/ja/events/github/branch_protection_rule.php
@@ -1,22 +1,23 @@
'Rule Name',
'created' => [
- 'title' => 'โ ๏ธ New Branch Protection Rules from ๐ฆ:repo',
- 'link' => '๐ Link: :link',
+ 'title' => 'New Branch Protection Rules from :repo',
+ 'link' => 'Link: :link',
],
'edited' => [
- 'title' => '๐ Branch Protection Rules Have Been Edited from ๐ฆ:repo',
+ 'title' => 'Branch Protection Rules Have Been Edited from :repo',
'changes' => [
'title' => [
- 'name' => '๐ Title has been changed',
- 'from' => '๐ From: :title_from',
- 'to' => '๐ท To: :title_to',
+ 'name' => 'The Name has been changed',
+ 'from' => 'From: :title_from',
+ 'to' => 'To: :title_to',
],
],
- 'link' => '๐ Link: :link',
+ 'link' => 'Link: :link',
],
'deleted' => [
- 'title' => '๐ Branch Protection Rules Deleted from ๐ฆ:repo',
+ 'title' => 'Branch Protection Rules Deleted from :repo',
],
];
diff --git a/lang/ja/events/github/deploy_key.php b/lang/ja/events/github/deploy_key.php
index a14fa34..d9812e4 100644
--- a/lang/ja/events/github/deploy_key.php
+++ b/lang/ja/events/github/deploy_key.php
@@ -1,12 +1,13 @@
'Deploy Key',
'created' => [
- 'title' => '๐ฌ Added Deploy Key โ ๏ธ from ๐ฆ :repo by :user',
+ 'title' => 'Added Deploy Key โ ๏ธ from :repo by :user',
'message' => 'Please go to the setting deploy key to manage.',
],
'deleted' => [
- 'title' => '๐ Deploy Key Deleted ๐ฌ from ๐ฆ :repo by :user',
+ 'title' => 'Deploy Key Deleted ๐ฌ from :repo by :user',
'message' => 'Please go to the setting deploy key to manage.',
],
];
diff --git a/lang/ja/events/github/issue_comment.php b/lang/ja/events/github/issue_comment.php
index 5f972d7..10f86d8 100644
--- a/lang/ja/events/github/issue_comment.php
+++ b/lang/ja/events/github/issue_comment.php
@@ -1,14 +1,15 @@
'๐ข',
+ 'issue_comment_title' => 'Issue Name',
'created' => [
- 'title' => '๐ฌ New Issue Comment โ ๏ธ to ๐ฆ :issue by :user',
+ 'title' => 'New Issue Comment โ ๏ธ to :issue by :user',
],
'deleted' => [
- 'title' => '๐ Issue Comment Deleted ๐ฌ from ๐ฆ :issue by :user',
+ 'title' => 'Issue Comment Deleted ๐ฌ from :issue by :user',
],
'edited' => [
- 'title' => '๐ Issue Comment Edited ๐ฌ in ๐ฆ :issue by :user',
+ 'title' => 'Issue Comment Edited ๐ฌ in :issue by :user',
],
+ 'link' => 'Link to Comment',
];
diff --git a/lang/ja/events/github/issues.php b/lang/ja/events/github/issues.php
index 1483efc..078ba81 100644
--- a/lang/ja/events/github/issues.php
+++ b/lang/ja/events/github/issues.php
@@ -1,43 +1,43 @@
'๐ข',
+ 'issue_title' => 'Name',
'closed' => [
- 'title' => '๐ซ Issue Closed to ๐ฆ :issue by :user',
+ 'title' => 'Issue Closed to :issue by :user',
],
'deleted' => [
- 'title' => '๐ Issue Deleted from ๐ฆ :issue by :user',
+ 'title' => 'Issue Deleted from :issue by :user',
],
'edited' => [
- 'title' => 'โ ๏ธ Issue has been edited to ๐ฆ :issue by :user',
+ 'title' => 'Issue has been edited to :issue by :user',
'changes' => [
'title' => [
- 'name' => '๐ Title has been changed',
- 'from' => '๐ From: :title_from',
- 'to' => '๐ท To: :title_to',
+ 'name' => 'Title has been changed',
+ 'from' => 'From: :title_from',
+ 'to' => 'To: :title_to',
],
'body' => [
- 'title' => '๐ Body has been changed',
+ 'title' => 'Body has been changed',
'message' => 'Please check the issue for more details',
],
],
],
'locked' => [
- 'title' => '๐ Issue Locked from ๐ฆ :issue by :user',
+ 'title' => 'Issue Locked from :issue by :user',
],
'opened' => [
- 'title' => 'โ ๏ธ New Issue to ๐ฆ :issue by :user',
+ 'title' => 'New Issue to :issue by :user',
],
'pinned' => [
- 'title' => '๐ Issue Pinned from ๐ฆ :issue by :user',
+ 'title' => 'Issue Pinned from :issue by :user',
],
'reopened' => [
- 'title' => 'โ ๏ธ Issue has been reopened โ ๏ธ to ๐ฆ :issue by :user',
+ 'title' => 'Issue has been reopened โ ๏ธ to :issue by :user',
],
'unlocked' => [
- 'title' => '๐ Issue Unlocked from ๐ฆ :issue by :user',
+ 'title' => 'Issue Unlocked from :issue by :user',
],
'unpinned' => [
- 'title' => '๐ Issue Unpinned from ๐ฆ :issue by :user',
+ 'title' => 'Issue Unpinned from :issue by :user',
],
];
diff --git a/lang/ja/events/github/label.php b/lang/ja/events/github/label.php
index 4ebc4ed..8ba4f1e 100644
--- a/lang/ja/events/github/label.php
+++ b/lang/ja/events/github/label.php
@@ -2,23 +2,23 @@
return [
'created' => [
- 'title' => '๐ฌ New Label โ ๏ธ - ๐ฆ:repo by :user',
+ 'title' => 'New Label :repo by :user',
],
'deleted' => [
- 'title' => '๐ Label Deleted - ๐ฆ:repo by :user',
+ 'title' => 'Label Deleted - :repo by :user',
],
'edited' => [
- 'title' => '๐ทโโ๏ธ๐ ๏ธ Label has been edited - ๐ฆ:repo by :user',
+ 'title' => 'Label has been edited - :repo by :user',
'changes' => [
'title' => [
- 'name' => '๐ Title has been changed',
- 'from' => '๐ From: :title_from',
- 'to' => '๐ท To: :title_to',
+ 'name' => 'Title has been changed',
+ 'from' => 'From: :title_from',
+ 'to' => 'To: :title_to',
],
'description' => [
- 'name' => '๐ Description has been changed',
- 'from' => '๐ From: :description_from',
- 'to' => '๐ท To: :description_to',
+ 'name' => 'Description has been changed',
+ 'from' => 'From: :description_from',
+ 'to' => 'To: :description_to',
],
],
],
diff --git a/lang/ja/events/github/meta.php b/lang/ja/events/github/meta.php
index 4feae04..7a7a422 100644
--- a/lang/ja/events/github/meta.php
+++ b/lang/ja/events/github/meta.php
@@ -2,9 +2,9 @@
return [
'delete' => [
- 'title' => '๐ Webhook ๅ้ค',
- 'organization' => '๐ข ็ต็น: :organization',
- 'full_name' => '๐ฆ ใชใใธใใช: ๐ฆ:full_name',
- 'sender' => '๐ค ้ไฟก่
๏ผใคใใณใใฎใใชใฌใผ๏ผ: :sender',
+ 'title' => 'Webhook ๅ้ค',
+ 'organization' => '็ต็น',
+ 'full_name' => 'ใชใใธใใช',
+ 'sender' => '้ไฟก่
๏ผใคใใณใใฎใใชใฌใผ๏ผ',
],
];
diff --git a/lang/ja/events/github/ping.php b/lang/ja/events/github/ping.php
index 7d9d2b9..b0397ef 100644
--- a/lang/ja/events/github/ping.php
+++ b/lang/ja/events/github/ping.php
@@ -2,9 +2,9 @@
return [
'default' => [
- 'title' => 'โป๏ธ Connection Successful',
- 'organization' => '๐ข Organization: :organization',
- 'full_name' => '๐ฆ Repository: ๐ฆ:full_name',
- 'sender' => '๐ค Sender (triggered the event): :sender',
+ 'title' => 'Connection Successful',
+ 'organization' => 'Organization',
+ 'full_name' => 'Repository',
+ 'sender' => 'Sender (triggered the event)',
],
];
diff --git a/lang/ja/events/github/pull_request.php b/lang/ja/events/github/pull_request.php
index 5c49522..e20a707 100644
--- a/lang/ja/events/github/pull_request.php
+++ b/lang/ja/events/github/pull_request.php
@@ -1,36 +1,40 @@
'๐ฅ Reviewers: ',
+ 'review' => 'Reviewers: ',
+ 'title' => 'Title',
+ 'name' => 'Name',
'assigned' => [
- 'title' => 'โ๐ทโโ๏ธ๐ ๏ธ Assigned Pull Request - ๐ฆ:repo by :user',
+ 'title' => 'Assigned Pull Request - :repo by :user',
'body' => ':name has been assigned in the pull request :pullRequest',
],
'closed' => [
- 'title' => ':title - ๐ฆ:repo by :user',
- 'title_merged' => 'โ
Pull Request Merged',
- 'title_closed' => '๐ซ Pull Request Closed',
+ 'title' => ':title - :repo by :user',
+ 'title_merged' => 'Pull Request Merged',
+ 'title_closed' => 'Pull Request Closed',
],
'labeled' => [
- 'title' => 'โ๐ทโโ๏ธ๐ ๏ธ Labeled Pull Request - ๐ฆ:repo by :user',
+ 'name' => 'Label',
+ 'description' => 'Description',
+ 'title' => 'Labeled Pull Request - :repo by :user',
],
'locked' => [
- 'title' => 'โ๐ทโโ๏ธ๐ ๏ธ Locked Pull Request - ๐ฆ:repo by :user',
+ 'title' => 'Locked Pull Request - :repo by :user',
],
'opened' => [
- 'title' => '๐ทโโ๏ธ๐ ๏ธ New Pull Request - ๐ฆ:repo by :user',
+ 'title' => 'New Pull Request - :repo by :user',
],
'reopened' => [
- 'title' => '๐ทโโ๏ธ๐ ๏ธ Reopened Pull Request - ๐ฆ:repo by :user',
+ 'title' => 'Reopened Pull Request - :repo by :user',
],
'unassigned' => [
- 'title' => 'โ๐ทโโ๏ธ๐ ๏ธ Unassigned Pull Request - ๐ฆ:repo by :user',
+ 'title' => 'Unassigned Pull Request - :repo by :user',
'body' => ':name has been unassigned in the pull request :pullRequest',
],
'unlabeled' => [
- 'title' => 'โ๐ทโโ๏ธ๐ ๏ธ Unlabeled Pull Request - ๐ฆ:repo by :user',
+ 'title' => 'Unlabeled Pull Request - :repo by :user',
],
'unlocked' => [
- 'title' => 'โ๐ทโโ๏ธ๐ ๏ธ Unlocked Pull Request - ๐ฆ:repo by :user',
+ 'title' => 'Unlocked Pull Request - :repo by :user',
],
];
diff --git a/lang/ja/events/github/pull_request_review.php b/lang/ja/events/github/pull_request_review.php
index 7d4ad6f..9749531 100644
--- a/lang/ja/events/github/pull_request_review.php
+++ b/lang/ja/events/github/pull_request_review.php
@@ -2,10 +2,11 @@
return [
'dismissed' => [
- 'title' => '๐ทโโ๏ธ๐ ๏ธ Dismissed Pull Request Review Comment ๐ฌ - ๐ฆ:repo by :user',
+ 'title' => 'Dismissed Pull Request Review Comment ๐ฌ - :repo by :user',
],
'submitted' => [
- 'title' => '๐ทโโ๏ธโ๐ ๏ธ New Pull Request Review Comment ๐ฌ - ๐ฆ:repo by :user',
+ 'title' => 'New Pull Request Review Comment ๐ฌ - :repo by :user',
],
- 'link' => '๐ Link: :review',
+ 'link' => 'Link: :review',
+ 'name' => 'PR Name',
];
diff --git a/lang/ja/events/github/push.php b/lang/ja/events/github/push.php
index e37a931..2928dd4 100644
--- a/lang/ja/events/github/push.php
+++ b/lang/ja/events/github/push.php
@@ -4,6 +4,6 @@
'default' => [
'title' => '๐ทโ๏ธ :count new :noun to ๐ฆ:repo::branch
',
'commit' => '[:commit] :commit_message - by :commit_by',
- 'pusher' => '๐ค Pushed by : :name',
+ 'pusher' => 'Pushed by',
],
];
diff --git a/lang/ja/events/github/star.php b/lang/ja/events/github/star.php
index c26fb52..7fb8318 100644
--- a/lang/ja/events/github/star.php
+++ b/lang/ja/events/github/star.php
@@ -2,12 +2,12 @@
return [
'created' => [
- 'title' => '๐ New Star ๐ from ๐ฆ:repo',
- 'seeder' => '๐ค Starer: :sender_login ๐',
+ 'title' => 'New Star ๐ from',
+ 'seeder' => 'Starer',
],
'deleted' => [
- 'title' => '๐ซ Star ๐ Removed from ๐ฆ:repo',
- 'remover' => '๐ค Remover: :sender_login ๐',
+ 'title' => 'Star ๐ Removed from',
+ 'remover' => 'Remover',
],
];
diff --git a/lang/ja/events/github/watch.php b/lang/ja/events/github/watch.php
index 044542e..47469c2 100644
--- a/lang/ja/events/github/watch.php
+++ b/lang/ja/events/github/watch.php
@@ -2,7 +2,7 @@
return [
'started' => [
- 'title' => '๐ (ๆ่จ) ๆฐใใในใฟใผ ๐ from ๐ฆ:repo',
- 'watcher' => '๐ค ใฆใฉใใใฃใผ: :sender_login ๐',
+ 'title' => '(ๆ่จ) ๆฐใใในใฟใผ ๐ from :repo',
+ 'watcher' => 'ใฆใฉใใใฃใผ',
],
];
diff --git a/lang/ja/events/github/workflow_job.php b/lang/ja/events/github/workflow_job.php
index fe905a3..2a50d9b 100644
--- a/lang/ja/events/github/workflow_job.php
+++ b/lang/ja/events/github/workflow_job.php
@@ -2,19 +2,22 @@
return [
'completed' => [
- 'completed' => '๐ Action Completed from :user',
- 'done' => 'Done action: ๐ :runner_name โจ',
-
- 'canceled' => '๐ซ Canceled Action from ๐ฆ:repo',
- 'failed' => 'Failed action: ๐ซ :runner_name โ',
+ 'success' => 'Action Completed from :repo',
+ 'failure' => 'Canceled Action from :repo',
+ ],
+ 'status' => [
+ 'title' => 'Status',
+ 'success' => 'Success',
+ 'failure' => 'Failure',
],
'in_progress' => [
- 'progress' => '๐ง Action in progress form๐ฆ:user',
- 'running' => 'Running action: ๐ฅ :runner_name โณ',
+ 'progress' => 'Action in progress form :repo',
+ 'running' => 'Running action',
],
'queued' => [
- 'title' => ' Action Queued from ๐ฆ:repo',
- 'body' => 'Queued action: ๐ฅ :runner_name โฐ',
+ 'title' => ' Action Queued from :repo',
+ 'name' => 'Queued action',
],
- 'link' => '๐ Workflow job link: :link',
+ 'link' => 'Workflow job link: :link',
+ 'name' => 'Workflow job name',
];
diff --git a/lang/ja/events/github/workflow_run.php b/lang/ja/events/github/workflow_run.php
index 645b16f..4489437 100644
--- a/lang/ja/events/github/workflow_run.php
+++ b/lang/ja/events/github/workflow_run.php
@@ -3,25 +3,26 @@
return [
'completed' => [
'success' => [
- 'title' => '๐ Workflow Completed from ๐ฆ :user',
- 'body' => 'Done workflow: ๐ :name โจ ',
+ 'title' => '๐ Workflow Completed from :repo',
+ 'body' => 'Done workflow: ๐ :name
โจ ',
],
'failure' => [
- 'title' => '๐ซ Workflow Failed from ๐ฆ:repo',
- 'body' => 'Failed workflow: ๐ซ :name โ',
+ 'title' => '๐ซ Workflow Failed from :repo',
+ 'body' => 'Failed workflow: ๐ซ :name
โ',
],
'cancelled' => [
- 'title' => 'โ Workflow Cancelled from ๐ฆ :user',
- 'body' => 'Cancelled workflow: ๐จ :name โ ',
+ 'title' => 'โ Workflow Cancelled from :repo',
+ 'body' => 'Cancelled workflow: ๐จ :name
โ ',
],
'default' => [
- 'title' => "๐จ Workflow Can't Success from ๐ฆ:repo",
- 'body' => "Can't Success workflow: ๐จ :name โ",
+ 'title' => "๐จ Workflow Can't Success from :repo",
+ 'body' => "Can't Success workflow: ๐จ :name
โ",
],
],
'requested' => [
- 'title' => ' Workflow Requested from ๐ฆ:repo',
- 'body' => 'Running workflow: ๐ฅ :name โณ',
+ 'title' => ' Workflow Requested from :repo',
+ 'body' => 'Running workflow',
],
- 'link' => '๐ Workflow run link: :link',
+ 'link' => 'Workflow run link: :link',
+ 'display_title' => 'Title',
];
diff --git a/lang/ja/events/shared/github.php b/lang/ja/events/shared/github.php
index ce3f29f..bb02e5a 100644
--- a/lang/ja/events/shared/github.php
+++ b/lang/ja/events/shared/github.php
@@ -2,9 +2,12 @@
return [
'_body' => [
- 'title' => '๐ Content:',
+ 'title' => 'Content',
],
'_assignee' => [
- 'title' => '๐ Assignee: ',
+ 'title' => 'Assignee',
+ ],
+ '_description' => [
+ 'title' => 'Description',
],
];
diff --git a/lang/vi/events/github/branch_protection_rule.php b/lang/vi/events/github/branch_protection_rule.php
index cb2e40e..fea589b 100644
--- a/lang/vi/events/github/branch_protection_rule.php
+++ b/lang/vi/events/github/branch_protection_rule.php
@@ -1,22 +1,23 @@
'Rule Name',
'created' => [
- 'title' => 'โ ๏ธ New Branch Protection Rules from ๐ฆ:repo',
- 'link' => '๐ Link: :link',
+ 'title' => 'New Branch Protection Rules from :repo',
+ 'link' => 'Link: :link',
],
'edited' => [
- 'title' => '๐ Branch Protection Rules Have Been Edited from ๐ฆ:repo',
+ 'title' => 'Branch Protection Rules Have Been Edited from :repo',
'changes' => [
'title' => [
- 'name' => '๐ Title has been changed',
- 'from' => '๐ From: :title_from',
- 'to' => '๐ท To: :title_to',
+ 'name' => 'The Name has been changed',
+ 'from' => 'From: :title_from',
+ 'to' => 'To: :title_to',
],
],
- 'link' => '๐ Link: :link',
+ 'link' => 'Link: :link',
],
'deleted' => [
- 'title' => '๐ Branch Protection Rules Deleted from ๐ฆ:repo',
+ 'title' => 'Branch Protection Rules Deleted from :repo',
],
];
diff --git a/lang/vi/events/github/deploy_key.php b/lang/vi/events/github/deploy_key.php
index a14fa34..d9812e4 100644
--- a/lang/vi/events/github/deploy_key.php
+++ b/lang/vi/events/github/deploy_key.php
@@ -1,12 +1,13 @@
'Deploy Key',
'created' => [
- 'title' => '๐ฌ Added Deploy Key โ ๏ธ from ๐ฆ :repo by :user',
+ 'title' => 'Added Deploy Key โ ๏ธ from :repo by :user',
'message' => 'Please go to the setting deploy key to manage.',
],
'deleted' => [
- 'title' => '๐ Deploy Key Deleted ๐ฌ from ๐ฆ :repo by :user',
+ 'title' => 'Deploy Key Deleted ๐ฌ from :repo by :user',
'message' => 'Please go to the setting deploy key to manage.',
],
];
diff --git a/lang/vi/events/github/issue_comment.php b/lang/vi/events/github/issue_comment.php
index 5f972d7..10f86d8 100644
--- a/lang/vi/events/github/issue_comment.php
+++ b/lang/vi/events/github/issue_comment.php
@@ -1,14 +1,15 @@
'๐ข',
+ 'issue_comment_title' => 'Issue Name',
'created' => [
- 'title' => '๐ฌ New Issue Comment โ ๏ธ to ๐ฆ :issue by :user',
+ 'title' => 'New Issue Comment โ ๏ธ to :issue by :user',
],
'deleted' => [
- 'title' => '๐ Issue Comment Deleted ๐ฌ from ๐ฆ :issue by :user',
+ 'title' => 'Issue Comment Deleted ๐ฌ from :issue by :user',
],
'edited' => [
- 'title' => '๐ Issue Comment Edited ๐ฌ in ๐ฆ :issue by :user',
+ 'title' => 'Issue Comment Edited ๐ฌ in :issue by :user',
],
+ 'link' => 'Link to Comment',
];
diff --git a/lang/vi/events/github/issues.php b/lang/vi/events/github/issues.php
index 1483efc..078ba81 100644
--- a/lang/vi/events/github/issues.php
+++ b/lang/vi/events/github/issues.php
@@ -1,43 +1,43 @@
'๐ข',
+ 'issue_title' => 'Name',
'closed' => [
- 'title' => '๐ซ Issue Closed to ๐ฆ :issue by :user',
+ 'title' => 'Issue Closed to :issue by :user',
],
'deleted' => [
- 'title' => '๐ Issue Deleted from ๐ฆ :issue by :user',
+ 'title' => 'Issue Deleted from :issue by :user',
],
'edited' => [
- 'title' => 'โ ๏ธ Issue has been edited to ๐ฆ :issue by :user',
+ 'title' => 'Issue has been edited to :issue by :user',
'changes' => [
'title' => [
- 'name' => '๐ Title has been changed',
- 'from' => '๐ From: :title_from',
- 'to' => '๐ท To: :title_to',
+ 'name' => 'Title has been changed',
+ 'from' => 'From: :title_from',
+ 'to' => 'To: :title_to',
],
'body' => [
- 'title' => '๐ Body has been changed',
+ 'title' => 'Body has been changed',
'message' => 'Please check the issue for more details',
],
],
],
'locked' => [
- 'title' => '๐ Issue Locked from ๐ฆ :issue by :user',
+ 'title' => 'Issue Locked from :issue by :user',
],
'opened' => [
- 'title' => 'โ ๏ธ New Issue to ๐ฆ :issue by :user',
+ 'title' => 'New Issue to :issue by :user',
],
'pinned' => [
- 'title' => '๐ Issue Pinned from ๐ฆ :issue by :user',
+ 'title' => 'Issue Pinned from :issue by :user',
],
'reopened' => [
- 'title' => 'โ ๏ธ Issue has been reopened โ ๏ธ to ๐ฆ :issue by :user',
+ 'title' => 'Issue has been reopened โ ๏ธ to :issue by :user',
],
'unlocked' => [
- 'title' => '๐ Issue Unlocked from ๐ฆ :issue by :user',
+ 'title' => 'Issue Unlocked from :issue by :user',
],
'unpinned' => [
- 'title' => '๐ Issue Unpinned from ๐ฆ :issue by :user',
+ 'title' => 'Issue Unpinned from :issue by :user',
],
];
diff --git a/lang/vi/events/github/label.php b/lang/vi/events/github/label.php
index 4ebc4ed..8ba4f1e 100644
--- a/lang/vi/events/github/label.php
+++ b/lang/vi/events/github/label.php
@@ -2,23 +2,23 @@
return [
'created' => [
- 'title' => '๐ฌ New Label โ ๏ธ - ๐ฆ:repo by :user',
+ 'title' => 'New Label :repo by :user',
],
'deleted' => [
- 'title' => '๐ Label Deleted - ๐ฆ:repo by :user',
+ 'title' => 'Label Deleted - :repo by :user',
],
'edited' => [
- 'title' => '๐ทโโ๏ธ๐ ๏ธ Label has been edited - ๐ฆ:repo by :user',
+ 'title' => 'Label has been edited - :repo by :user',
'changes' => [
'title' => [
- 'name' => '๐ Title has been changed',
- 'from' => '๐ From: :title_from',
- 'to' => '๐ท To: :title_to',
+ 'name' => 'Title has been changed',
+ 'from' => 'From: :title_from',
+ 'to' => 'To: :title_to',
],
'description' => [
- 'name' => '๐ Description has been changed',
- 'from' => '๐ From: :description_from',
- 'to' => '๐ท To: :description_to',
+ 'name' => 'Description has been changed',
+ 'from' => 'From: :description_from',
+ 'to' => 'To: :description_to',
],
],
],
diff --git a/lang/vi/events/github/meta.php b/lang/vi/events/github/meta.php
index b132cf9..540711c 100644
--- a/lang/vi/events/github/meta.php
+++ b/lang/vi/events/github/meta.php
@@ -2,9 +2,9 @@
return [
'delete' => [
- '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',
+ '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',
],
];
diff --git a/lang/vi/events/github/ping.php b/lang/vi/events/github/ping.php
index 7d9d2b9..b0397ef 100644
--- a/lang/vi/events/github/ping.php
+++ b/lang/vi/events/github/ping.php
@@ -2,9 +2,9 @@
return [
'default' => [
- 'title' => 'โป๏ธ Connection Successful',
- 'organization' => '๐ข Organization: :organization',
- 'full_name' => '๐ฆ Repository: ๐ฆ:full_name',
- 'sender' => '๐ค Sender (triggered the event): :sender',
+ 'title' => 'Connection Successful',
+ 'organization' => 'Organization',
+ 'full_name' => 'Repository',
+ 'sender' => 'Sender (triggered the event)',
],
];
diff --git a/lang/vi/events/github/pull_request.php b/lang/vi/events/github/pull_request.php
index 5c49522..e20a707 100644
--- a/lang/vi/events/github/pull_request.php
+++ b/lang/vi/events/github/pull_request.php
@@ -1,36 +1,40 @@
'๐ฅ Reviewers: ',
+ 'review' => 'Reviewers: ',
+ 'title' => 'Title',
+ 'name' => 'Name',
'assigned' => [
- 'title' => 'โ๐ทโโ๏ธ๐ ๏ธ Assigned Pull Request - ๐ฆ:repo by :user',
+ 'title' => 'Assigned Pull Request - :repo by :user',
'body' => ':name has been assigned in the pull request :pullRequest',
],
'closed' => [
- 'title' => ':title - ๐ฆ:repo by :user',
- 'title_merged' => 'โ
Pull Request Merged',
- 'title_closed' => '๐ซ Pull Request Closed',
+ 'title' => ':title - :repo by :user',
+ 'title_merged' => 'Pull Request Merged',
+ 'title_closed' => 'Pull Request Closed',
],
'labeled' => [
- 'title' => 'โ๐ทโโ๏ธ๐ ๏ธ Labeled Pull Request - ๐ฆ:repo by :user',
+ 'name' => 'Label',
+ 'description' => 'Description',
+ 'title' => 'Labeled Pull Request - :repo by :user',
],
'locked' => [
- 'title' => 'โ๐ทโโ๏ธ๐ ๏ธ Locked Pull Request - ๐ฆ:repo by :user',
+ 'title' => 'Locked Pull Request - :repo by :user',
],
'opened' => [
- 'title' => '๐ทโโ๏ธ๐ ๏ธ New Pull Request - ๐ฆ:repo by :user',
+ 'title' => 'New Pull Request - :repo by :user',
],
'reopened' => [
- 'title' => '๐ทโโ๏ธ๐ ๏ธ Reopened Pull Request - ๐ฆ:repo by :user',
+ 'title' => 'Reopened Pull Request - :repo by :user',
],
'unassigned' => [
- 'title' => 'โ๐ทโโ๏ธ๐ ๏ธ Unassigned Pull Request - ๐ฆ:repo by :user',
+ 'title' => 'Unassigned Pull Request - :repo by :user',
'body' => ':name has been unassigned in the pull request :pullRequest',
],
'unlabeled' => [
- 'title' => 'โ๐ทโโ๏ธ๐ ๏ธ Unlabeled Pull Request - ๐ฆ:repo by :user',
+ 'title' => 'Unlabeled Pull Request - :repo by :user',
],
'unlocked' => [
- 'title' => 'โ๐ทโโ๏ธ๐ ๏ธ Unlocked Pull Request - ๐ฆ:repo by :user',
+ 'title' => 'Unlocked Pull Request - :repo by :user',
],
];
diff --git a/lang/vi/events/github/pull_request_review.php b/lang/vi/events/github/pull_request_review.php
index 7d4ad6f..9749531 100644
--- a/lang/vi/events/github/pull_request_review.php
+++ b/lang/vi/events/github/pull_request_review.php
@@ -2,10 +2,11 @@
return [
'dismissed' => [
- 'title' => '๐ทโโ๏ธ๐ ๏ธ Dismissed Pull Request Review Comment ๐ฌ - ๐ฆ:repo by :user',
+ 'title' => 'Dismissed Pull Request Review Comment ๐ฌ - :repo by :user',
],
'submitted' => [
- 'title' => '๐ทโโ๏ธโ๐ ๏ธ New Pull Request Review Comment ๐ฌ - ๐ฆ:repo by :user',
+ 'title' => 'New Pull Request Review Comment ๐ฌ - :repo by :user',
],
- 'link' => '๐ Link: :review',
+ 'link' => 'Link: :review',
+ 'name' => 'PR Name',
];
diff --git a/lang/vi/events/github/push.php b/lang/vi/events/github/push.php
index e37a931..2928dd4 100644
--- a/lang/vi/events/github/push.php
+++ b/lang/vi/events/github/push.php
@@ -4,6 +4,6 @@
'default' => [
'title' => '๐ทโ๏ธ :count new :noun to ๐ฆ:repo::branch
',
'commit' => '[:commit] :commit_message - by :commit_by',
- 'pusher' => '๐ค Pushed by : :name',
+ 'pusher' => 'Pushed by',
],
];
diff --git a/lang/vi/events/github/star.php b/lang/vi/events/github/star.php
index d1f3247..e86de8a 100644
--- a/lang/vi/events/github/star.php
+++ b/lang/vi/events/github/star.php
@@ -2,12 +2,12 @@
return [
'created' => [
- 'title' => '๐ Nhแบญn dแบฅu sao mแปi ๐ tแปซ ๐ฆ:repo',
- 'seeder' => '๐ค Ngฦฐแปi gแบฏn dแบฅu sao: :sender_login ๐',
+ 'title' => 'Nhแบญn dแบฅu sao mแปi ๐ tแปซ',
+ 'seeder' => 'Ngฦฐแปi gแบฏn dแบฅu sao',
],
'deleted' => [
- 'title' => '๐ซ Dแบฅu sao ฤรฃ bแป hแปงy tแปซ ๐ฆ:repo',
- 'remover' => '๐ค Ngฦฐแปi hแปงy bแป: :sender_login ๐',
+ 'title' => 'Dแบฅu sao ฤรฃ bแป hแปงy tแปซ',
+ 'remover' => 'Ngฦฐแปi hแปงy bแป',
],
];
diff --git a/lang/vi/events/github/watch.php b/lang/vi/events/github/watch.php
index 36a81c1..c2b8978 100644
--- a/lang/vi/events/github/watch.php
+++ b/lang/vi/events/github/watch.php
@@ -2,7 +2,7 @@
return [
'started' => [
- 'title' => '๐ (Watch) Dแบฅu sao mแปi ๐ tแปซ ๐ฆ:user',
- 'watcher' => '๐ค Ngฦฐแปi theo dรตi: :sender_login ๐',
+ 'title' => '(Watch) Dแบฅu sao mแปi ๐ tแปซ :repo',
+ 'watcher' => 'Ngฦฐแปi theo dรตi',
],
];
diff --git a/lang/vi/events/github/workflow_job.php b/lang/vi/events/github/workflow_job.php
index f2364bf..2a50d9b 100644
--- a/lang/vi/events/github/workflow_job.php
+++ b/lang/vi/events/github/workflow_job.php
@@ -2,19 +2,22 @@
return [
'completed' => [
- 'completed' => '๐ Action Completed from ๐ฆ:repo',
- 'done' => 'Done action: ๐ :runner_name โจ',
-
- 'canceled' => '๐ซ Canceled Action from ๐ฆ:repo',
- 'failed' => 'Failed action: ๐ซ :runner_name โ',
+ 'success' => 'Action Completed from :repo',
+ 'failure' => 'Canceled Action from :repo',
+ ],
+ 'status' => [
+ 'title' => 'Status',
+ 'success' => 'Success',
+ 'failure' => 'Failure',
],
'in_progress' => [
- 'progress' => '๐ง Action in progress form๐ฆ:user',
- 'running' => 'Running action: ๐ฅ :runner_name โณ',
+ 'progress' => 'Action in progress form :repo',
+ 'running' => 'Running action',
],
'queued' => [
- 'title' => ' Action Queued from ๐ฆ:repo',
- 'body' => 'Queued action: ๐ฅ :runner_name โฐ',
+ 'title' => ' Action Queued from :repo',
+ 'name' => 'Queued action',
],
- 'link' => '๐ Workflow job link: :link',
+ 'link' => 'Workflow job link: :link',
+ 'name' => 'Workflow job name',
];
diff --git a/lang/vi/events/github/workflow_run.php b/lang/vi/events/github/workflow_run.php
index 645b16f..4489437 100644
--- a/lang/vi/events/github/workflow_run.php
+++ b/lang/vi/events/github/workflow_run.php
@@ -3,25 +3,26 @@
return [
'completed' => [
'success' => [
- 'title' => '๐ Workflow Completed from ๐ฆ :user',
- 'body' => 'Done workflow: ๐ :name โจ ',
+ 'title' => '๐ Workflow Completed from :repo',
+ 'body' => 'Done workflow: ๐ :name
โจ ',
],
'failure' => [
- 'title' => '๐ซ Workflow Failed from ๐ฆ:repo',
- 'body' => 'Failed workflow: ๐ซ :name โ',
+ 'title' => '๐ซ Workflow Failed from :repo',
+ 'body' => 'Failed workflow: ๐ซ :name
โ',
],
'cancelled' => [
- 'title' => 'โ Workflow Cancelled from ๐ฆ :user',
- 'body' => 'Cancelled workflow: ๐จ :name โ ',
+ 'title' => 'โ Workflow Cancelled from :repo',
+ 'body' => 'Cancelled workflow: ๐จ :name
โ ',
],
'default' => [
- 'title' => "๐จ Workflow Can't Success from ๐ฆ:repo",
- 'body' => "Can't Success workflow: ๐จ :name โ",
+ 'title' => "๐จ Workflow Can't Success from :repo",
+ 'body' => "Can't Success workflow: ๐จ :name
โ",
],
],
'requested' => [
- 'title' => ' Workflow Requested from ๐ฆ:repo',
- 'body' => 'Running workflow: ๐ฅ :name โณ',
+ 'title' => ' Workflow Requested from :repo',
+ 'body' => 'Running workflow',
],
- 'link' => '๐ Workflow run link: :link',
+ 'link' => 'Workflow run link: :link',
+ 'display_title' => 'Title',
];
diff --git a/lang/vi/events/shared/github.php b/lang/vi/events/shared/github.php
index 3fd04cd..54dcb48 100644
--- a/lang/vi/events/shared/github.php
+++ b/lang/vi/events/shared/github.php
@@ -2,9 +2,12 @@
return [
'_body' => [
- 'title' => '๐ Nแปi dung: ',
+ 'title' => 'Nแปi dung',
],
'_assignee' => [
- 'title' => '๐ Ngฦฐแปi ฤฦฐแปฃc giao: ',
+ 'title' => 'Ngฦฐแปi ฤฦฐแปฃc giao',
+ ],
+ '_description' => [
+ 'title' => 'Mรด tแบฃ',
],
];
diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon
index eb32fda..f595143 100644
--- a/phpstan-baseline.neon
+++ b/phpstan-baseline.neon
@@ -3,10 +3,10 @@ parameters:
- message: '#Parameter \#2 \$namespace of method Illuminate\\Support\\ServiceProvider\:\:loadViewsFrom\(\) expects string, mixed given\.#'
path: src/Providers/TelegramGitNotifierServiceProvider.php
- - message: '#Parameter \#1 \$token of method CSlant\\TelegramGitNotifier\\Webhook\:\:setToken\(\) expects string, mixed given\.#'
+ - message: '#Parameter \#1 \$token of method CSlant\\TelegramGitNotifier\\Interfaces\\WebhookInterface\:\:setToken\(\) expects string, mixed given\.#'
path: src/Services/WebhookService.php
- - message: '#Parameter \#1 \$url of method CSlant\\TelegramGitNotifier\\Webhook\:\:setUrl\(\) expects string, mixed given\.#'
+ - message: '#Parameter \#1 \$url of method CSlant\\TelegramGitNotifier\\Interfaces\\WebhookInterface\:\:setUrl\(\) expects string, mixed given\.#'
path: src/Services/WebhookService.php
- message: '#Parameter \#1 \$prefix of static method Illuminate\\Support\\Facades\\Route::prefix\(\) expects string, mixed given\.#'
diff --git a/resources/views/events/github/branch_protection_rule/created.blade.php b/resources/views/events/github/branch_protection_rule/created.blade.php
index d2d5a55..7ed5129 100644
--- a/resources/views/events/github/branch_protection_rule/created.blade.php
+++ b/resources/views/events/github/branch_protection_rule/created.blade.php
@@ -6,14 +6,13 @@
$repository = $payload->repository;
?>
-{!! __('tg-notifier::events/github/branch_protection_rule.deleted.title', [
- 'repo' => "$repository->full_name"
+โ ๏ธ {!! __('tg-notifier::events/github/branch_protection_rule.created.title', [
+ 'repo' => "๐ฆ$repository->full_name"
]
) !!}
-๐ข {{ $payload->rule->name }}
-
-{!! __('tg-notifier::events/github/branch_protection_rule.created.link', [
- 'link' => "{$repository->html_url}/settings/branch_protection_rules/{$payload->rule->id}"
+๐ก {!! __('tg-notifier::events/github/branch_protection_rule.name') !!}: {{ $payload->rule->name }}
+๐ {!! __('tg-notifier::events/github/branch_protection_rule.created.link', [
+ 'link' => "#{$payload->rule->id}"
]
) !!}
diff --git a/resources/views/events/github/branch_protection_rule/deleted.blade.php b/resources/views/events/github/branch_protection_rule/deleted.blade.php
index fb3cb7d..46ae97d 100644
--- a/resources/views/events/github/branch_protection_rule/deleted.blade.php
+++ b/resources/views/events/github/branch_protection_rule/deleted.blade.php
@@ -6,9 +6,9 @@
$repository = $payload->repository;
?>
-{!! __('tg-notifier::events/github/branch_protection_rule.deleted.title', [
- 'repo' => "$repository->full_name"
+๐ {!! __('tg-notifier::events/github/branch_protection_rule.deleted.title', [
+ 'repo' => "๐ฆ$repository->full_name"
]
) !!}
-๐ข {{ $payload->rule->name }}
+๐ก {!! __('tg-notifier::events/github/branch_protection_rule.name') !!}: {{ $payload->rule->name }}
diff --git a/resources/views/events/github/branch_protection_rule/edited.blade.php b/resources/views/events/github/branch_protection_rule/edited.blade.php
index 04137b6..5d4a602 100644
--- a/resources/views/events/github/branch_protection_rule/edited.blade.php
+++ b/resources/views/events/github/branch_protection_rule/edited.blade.php
@@ -6,19 +6,19 @@
$repository = $payload->repository;
?>
-{!! __('tg-notifier::events/github/branch_protection_rule.edited.title', [
- 'repo' => "$repository->full_name"
+๐ {!! __('tg-notifier::events/github/branch_protection_rule.edited.title', [
+ 'repo' => "๐ฆ$repository->full_name"
]
) !!}
@if(isset($payload->changes->name->from))
-{!! __('tg-notifier::events/github/issues.edited.changes.title.from', ['title_from' => $payload->changes->name->from]) !!}
-{!! __('tg-notifier::events/github/issues.edited.changes.title.to', ['title_to' => $payload->rule->name]) !!}
+๐ {!! __('tg-notifier::events/github/branch_protection_rule.edited.changes.title.name') !!}
+ ๐ {!! __('tg-notifier::events/github/issues.edited.changes.title.from', ['title_from' => $payload->changes->name->from]) !!}
+ ๐ก {!! __('tg-notifier::events/github/issues.edited.changes.title.to', ['title_to' => $payload->rule->name]) !!}
@else
-๐ข {{ $payload->rule->name }}
+๐ก {!! __('tg-notifier::events/github/branch_protection_rule.name') !!}: {{ $payload->rule->name }}
@endif
-
-{!! __('tg-notifier::events/github/branch_protection_rule.edited.link', [
- 'link' => "{$repository->html_url}/settings/branch_protection_rules/{$payload->rule->id}"
+๐ {!! __('tg-notifier::events/github/branch_protection_rule.edited.link', [
+ 'link' => "#{$payload->rule->id}"
]
) !!}
diff --git a/resources/views/events/github/deploy_key/created.blade.php b/resources/views/events/github/deploy_key/created.blade.php
index 2dfd2ce..2add379 100644
--- a/resources/views/events/github/deploy_key/created.blade.php
+++ b/resources/views/events/github/deploy_key/created.blade.php
@@ -2,13 +2,14 @@
/**
* @var $payload object
*/
+
?>
-{!! __('tg-notifier::events/github/deploy_key.created.title', [
- 'repo' => "{$payload->repository->full_name}",
- 'user' => "{$payload->key->added_by}",
- ]
- ) !!}
+๐ฌ {!! __('tg-notifier::events/github/deploy_key.created.title', [
+ 'repo' => "๐ฆ {$payload->repository->full_name}",
+ 'user' => "{$payload->key->added_by}",
+ ]
+) !!}
-๐ข {{ $payload->key->title }}
+๐ข {!! __('tg-notifier::events/github/deploy_key.key_title') !!}: {{ $payload->key->title }}
{!! __('tg-notifier::events/github/deploy_key.created.message') !!}
diff --git a/resources/views/events/github/deploy_key/deleted.blade.php b/resources/views/events/github/deploy_key/deleted.blade.php
index ca2bbdf..eac89fe 100644
--- a/resources/views/events/github/deploy_key/deleted.blade.php
+++ b/resources/views/events/github/deploy_key/deleted.blade.php
@@ -2,13 +2,14 @@
/**
* @var $payload object
*/
+
?>
-{!! __('tg-notifier::events/github/deploy_key.deleted.title', [
- 'repo' => "repository->html_url}'>{$payload->repository->full_name}",
- 'user' => "{$payload->key->added_by}",
- ]
- ) !!}
+๐ {!! __('tg-notifier::events/github/deploy_key.deleted.title', [
+ 'repo' => "๐ฆ repository->html_url}'>{$payload->repository->full_name}",
+ 'user' => "{$payload->key->added_by}",
+ ]
+) !!}
-๐ข {{ $payload->key->title }}
+๐ข {!! __('tg-notifier::events/github/deploy_key.key_title') !!}: {{ $payload->key->title }}
{!! __('tg-notifier::events/github/deploy_key.deleted.message') !!}
diff --git a/resources/views/events/github/issue_comment/created.blade.php b/resources/views/events/github/issue_comment/created.blade.php
index e26f563..3306b82 100644
--- a/resources/views/events/github/issue_comment/created.blade.php
+++ b/resources/views/events/github/issue_comment/created.blade.php
@@ -5,19 +5,20 @@
*/
$issue = $payload->issue;
+$event = 'issue';
?>
@if(empty($issue->pull_request))
-{!! __('tg-notifier::events/github/issue_comment.created.title', [
- 'issue' => "{$payload->repository->full_name}#$issue->number",
+๐ฌ {!! __('tg-notifier::events/github/issue_comment.created.title', [
+ 'issue' => "๐ฆ {$payload->repository->full_name}#$issue->number",
'user' => "@{$payload->sender->login}"
]
) !!}
-
-๐ข {{ $issue->title }}
-
+{{ $event }}
+๐ข {!! __('tg-notifier::events/github/issue_comment.issue_comment_title') !!}: {{ $issue->title }}
@include('tg-notifier::events.shared.partials.github._assignees', compact('payload', 'event'))
-@include('tg-notifier::events.shared.partials.github._body', compact('payload', 'event'))
+๐ {!! __('tg-notifier::events/github/issue_comment.link') !!}: #{{ $payload->comment->id }}
@else
{{ config('telegram-git-notifier.view.ignore-message') }}
@endif
+
diff --git a/resources/views/events/github/issue_comment/deleted.blade.php b/resources/views/events/github/issue_comment/deleted.blade.php
index a501ea2..123e388 100644
--- a/resources/views/events/github/issue_comment/deleted.blade.php
+++ b/resources/views/events/github/issue_comment/deleted.blade.php
@@ -5,19 +5,18 @@
*/
$issue = $payload->issue;
+$event = 'issue';
?>
@if(empty($issue->pull_request))
-{!! __('tg-notifier::events/github/issue_comment.deleted.title', [
- 'issue' => "{$payload->repository->full_name}#$issue->number",
+๐ {!! __('tg-notifier::events/github/issue_comment.deleted.title', [
+ 'issue' => "๐ฆ {$payload->repository->full_name}#$issue->number",
'user' => "@{$payload->sender->login}"
]
) !!}
-๐ข {{ $issue->title }}
-
+๐ข {!! __('tg-notifier::events/github/issue_comment.issue_comment_title') !!}: {{ $issue->title }}
@include('tg-notifier::events.shared.partials.github._assignees', compact('payload', 'event'))
-@include('tg-notifier::events.shared.partials.github._body', compact('payload', 'event'))
@else
{{ config('telegram-git-notifier.view.ignore-message') }}
@endif
diff --git a/resources/views/events/github/issue_comment/edited.blade.php b/resources/views/events/github/issue_comment/edited.blade.php
index 5cb1f76..6776398 100644
--- a/resources/views/events/github/issue_comment/edited.blade.php
+++ b/resources/views/events/github/issue_comment/edited.blade.php
@@ -5,19 +5,19 @@
*/
$issue = $payload->issue;
+$event = 'issue';
?>
@if(empty($issue->pull_request))
-{!! __('tg-notifier::events/github/issue_comment.edited.title', [
- 'issue' => "{$payload->repository->full_name}#$issue->number",
+๐ {!! __('tg-notifier::events/github/issue_comment.edited.title', [
+ 'issue' => "๐ฆ {$payload->repository->full_name}#$issue->number",
'user' => "@{$payload->sender->login}"
]
) !!}
-๐ข {{ $issue->title }}
-
+๐ข {!! __('tg-notifier::events/github/issue_comment.issue_comment_title') !!}: {{ $issue->title }}
@include('tg-notifier::events.shared.partials.github._assignees', compact('payload', 'event'))
-@include('tg-notifier::events.shared.partials.github._body', compact('payload', 'event'))
+๐ {!! __('tg-notifier::events/github/issue_comment.link') !!}: #{{ $payload->comment->id }}
@else
{{ config('telegram-git-notifier.view.ignore-message') }}
@endif
diff --git a/resources/views/events/github/issues/closed.blade.php b/resources/views/events/github/issues/closed.blade.php
index 8d0bda5..25add21 100644
--- a/resources/views/events/github/issues/closed.blade.php
+++ b/resources/views/events/github/issues/closed.blade.php
@@ -7,13 +7,12 @@
$issue = $payload->issue;
?>
-{!! __('tg-notifier::events/github/issues.closed.title', [
- 'issue' => "{$payload->repository->full_name}#$issue->number",
+๐ซ {!! __('tg-notifier::events/github/issues.closed.title', [
+ 'issue' => "๐ฆ {$payload->repository->full_name}#$issue->number",
'user' => "@{$payload->sender->login}"
]
) !!}
-๐ข {{ $issue->title }}
+๐ข {!! __('tg-notifier::events/github/issues.issue_title') !!}: {{ $issue->title }}
@include('tg-notifier::events.shared.partials.github._assignees', compact('payload', 'event'))
-@include('tg-notifier::events.shared.partials.github._body', compact('payload', 'event'))
diff --git a/resources/views/events/github/issues/deleted.blade.php b/resources/views/events/github/issues/deleted.blade.php
index 9fa4091..632d916 100644
--- a/resources/views/events/github/issues/deleted.blade.php
+++ b/resources/views/events/github/issues/deleted.blade.php
@@ -7,13 +7,12 @@
$issue = $payload->issue;
?>
-{!! __('tg-notifier::events/github/issues.deleted.title', [
- 'issue' => "{$payload->repository->full_name}#$issue->number",
+๐ {!! __('tg-notifier::events/github/issues.deleted.title', [
+ 'issue' => "๐ฆ {$payload->repository->full_name}#$issue->number",
'user' => "@{$payload->sender->login}"
]
) !!}
-๐ข {{ $issue->title }}
+๐ข {!! __('tg-notifier::events/github/issues.issue_title') !!}: {{ $issue->title }}
@include('tg-notifier::events.shared.partials.github._assignees', compact('payload', 'event'))
-@include('tg-notifier::events.shared.partials.github._body', compact('payload', 'event'))
diff --git a/resources/views/events/github/issues/edited.blade.php b/resources/views/events/github/issues/edited.blade.php
index 4350fae..b0e994d 100644
--- a/resources/views/events/github/issues/edited.blade.php
+++ b/resources/views/events/github/issues/edited.blade.php
@@ -7,20 +7,20 @@
$issue = $payload->issue;
?>
-{!! __('tg-notifier::events/github/issues.edited.title', [
- 'issue' => "{$payload->repository->full_name}#$issue->number",
+โ ๏ธ {!! __('tg-notifier::events/github/issues.edited.title', [
+ 'issue' => "๐ฆ {$payload->repository->full_name}#$issue->number",
'user' => "@{$payload->sender->login}"
]
) !!}
-๐ข {{ $issue->title }}
+๐ข {!! __('tg-notifier::events/github/issues.issue_title') !!}: {{ $issue->title }}
@include('tg-notifier::events.shared.partials.github._assignees', compact('payload', 'event'))
@if(isset($payload->changes->title))
-{!! __('tg-notifier::events/github/issues.edited.changes.title.name') !!}
- {!! __('tg-notifier::events/github/issues.edited.changes.title.from', ['title_from' => $payload->changes->title->from]) !!}
- {!! __('tg-notifier::events/github/issues.edited.changes.title.to', ['title_to' => $payload->issue->title]) !!}
+๐ {!! __('tg-notifier::events/github/issues.edited.changes.title.name') !!}
+ ๐ {!! __('tg-notifier::events/github/issues.edited.changes.title.from', ['title_from' => $payload->changes->title->from]) !!}
+ ๐ท {!! __('tg-notifier::events/github/issues.edited.changes.title.to', ['title_to' => $payload->issue->title]) !!}
@elseif(isset($payload->changes->body))
-{!! __('tg-notifier::events/github/issues.edited.changes.body.title') !!}
+๐ {!! __('tg-notifier::events/github/issues.edited.changes.body.title') !!}
{!! __('tg-notifier::events/github/issues.edited.changes.body.message') !!}
@endif
diff --git a/resources/views/events/github/issues/locked.blade.php b/resources/views/events/github/issues/locked.blade.php
index d1885dc..ca857a0 100644
--- a/resources/views/events/github/issues/locked.blade.php
+++ b/resources/views/events/github/issues/locked.blade.php
@@ -7,13 +7,12 @@
$issue = $payload->issue;
?>
-{!! __('tg-notifier::events/github/issues.locked.title', [
- 'issue' => "{$payload->repository->full_name}#$issue->number",
+๐ {!! __('tg-notifier::events/github/issues.locked.title', [
+ 'issue' => "๐ฆ {$payload->repository->full_name}#$issue->number",
'user' => "@{$payload->sender->login}"
]
) !!}
-๐ข {{ $issue->title }}
+๐ข {!! __('tg-notifier::events/github/issues.issue_title') !!}: {{ $issue->title }}
@include('tg-notifier::events.shared.partials.github._assignees', compact('payload', 'event'))
-@include('tg-notifier::events.shared.partials.github._body', compact('payload', 'event'))
diff --git a/resources/views/events/github/issues/opened.blade.php b/resources/views/events/github/issues/opened.blade.php
index bc38f9c..a38aa54 100644
--- a/resources/views/events/github/issues/opened.blade.php
+++ b/resources/views/events/github/issues/opened.blade.php
@@ -7,13 +7,13 @@
$issue = $payload->issue;
?>
-{!! __('tg-notifier::events/github/issues.opened.title', [
- 'issue' => "{$payload->repository->full_name}#$issue->number",
- 'user' => "@{$payload->sender->login}"
+โ ๏ธ {!! __('tg-notifier::events/github/issues.opened.title', [
+ 'issue' => "๐ฆ {$payload->repository->full_name}#$issue->number",
+ 'user' => "@{$payload->sender->login}"
]
) !!}
-๐ข {{ $issue->title }}
+๐ข {!! __('tg-notifier::events/github/issues.issue_title') !!}: {{ $issue->title }}
@include('tg-notifier::events.shared.partials.github._assignees', compact('payload', 'event'))
@include('tg-notifier::events.shared.partials.github._body', compact('payload', 'event'))
diff --git a/resources/views/events/github/issues/pinned.blade.php b/resources/views/events/github/issues/pinned.blade.php
index bb5f1b7..9744f3c 100644
--- a/resources/views/events/github/issues/pinned.blade.php
+++ b/resources/views/events/github/issues/pinned.blade.php
@@ -7,13 +7,12 @@
$issue = $payload->issue;
?>
-{!! __('tg-notifier::events/github/issues.pinned.title', [
- 'issue' => "{$payload->repository->full_name}#$issue->number",
+๐ {!! __('tg-notifier::events/github/issues.pinned.title', [
+ 'issue' => "๐ฆ {$payload->repository->full_name}#$issue->number",
'user' => "@{$payload->sender->login}"
]
) !!}
-๐ข {{ $issue->title }}
+๐ข {!! __('tg-notifier::events/github/issues.issue_title') !!}: {{ $issue->title }}
@include('tg-notifier::events.shared.partials.github._assignees', compact('payload', 'event'))
-@include('tg-notifier::events.shared.partials.github._body', compact('payload', 'event'))
diff --git a/resources/views/events/github/issues/reopened.blade.php b/resources/views/events/github/issues/reopened.blade.php
index 55c249b..a5ae9f0 100644
--- a/resources/views/events/github/issues/reopened.blade.php
+++ b/resources/views/events/github/issues/reopened.blade.php
@@ -7,13 +7,13 @@
$issue = $payload->issue;
?>
-{!! __('tg-notifier::events/github/issues.reopened.title', [
- 'issue' => "{$payload->repository->full_name}#$issue->number",
+โ ๏ธ {!! __('tg-notifier::events/github/issues.reopened.title', [
+ 'issue' => "๐ฆ {$payload->repository->full_name}#$issue->number",
'user' => "@{$payload->sender->login}"
]
) !!}
-๐ข {{ $issue->title }}
+๐ข {!! __('tg-notifier::events/github/issues.issue_title') !!}: {{ $issue->title }}
@include('tg-notifier::events.shared.partials.github._assignees', compact('payload', 'event'))
@include('tg-notifier::events.shared.partials.github._body', compact('payload', 'event'))
diff --git a/resources/views/events/github/issues/unlocked.blade.php b/resources/views/events/github/issues/unlocked.blade.php
index 14ddd07..306c62e 100644
--- a/resources/views/events/github/issues/unlocked.blade.php
+++ b/resources/views/events/github/issues/unlocked.blade.php
@@ -7,13 +7,12 @@
$issue = $payload->issue;
?>
-{!! __('tg-notifier::events/github/issues.unlocked.title', [
- 'issue' => "{$payload->repository->full_name}#$issue->number",
+๐ {!! __('tg-notifier::events/github/issues.unlocked.title', [
+ 'issue' => "๐ฆ {$payload->repository->full_name}#$issue->number",
'user' => "@{$payload->sender->login}"
]
) !!}
-๐ข {{ $issue->title }}
+๐ข {!! __('tg-notifier::events/github/issues.issue_title') !!}: {{ $issue->title }}
@include('tg-notifier::events.shared.partials.github._assignees', compact('payload', 'event'))
-@include('tg-notifier::events.shared.partials.github._body', compact('payload', 'event'))
diff --git a/resources/views/events/github/issues/unpinned.blade.php b/resources/views/events/github/issues/unpinned.blade.php
index 3e8ff3d..250b12c 100644
--- a/resources/views/events/github/issues/unpinned.blade.php
+++ b/resources/views/events/github/issues/unpinned.blade.php
@@ -7,13 +7,12 @@
$issue = $payload->issue;
?>
-{!! __('tg-notifier::events/github/issues.unpinned.title', [
- 'issue' => "{$payload->repository->full_name}#$issue->number",
+๐ {!! __('tg-notifier::events/github/issues.unpinned.title', [
+ 'issue' => "๐ฆ {$payload->repository->full_name}#$issue->number",
'user' => "@{$payload->sender->login}"
]
) !!}
-๐ข {{ $issue->title }}
+๐ข {!! __('tg-notifier::events/github/issues.issue_title') !!}: {{ $issue->title }}
@include('tg-notifier::events.shared.partials.github._assignees', compact('payload', 'event'))
-@include('tg-notifier::events.shared.partials.github._body', compact('payload', 'event'))
diff --git a/resources/views/events/github/label/created.blade.php b/resources/views/events/github/label/created.blade.php
index efbf76f..680a703 100644
--- a/resources/views/events/github/label/created.blade.php
+++ b/resources/views/events/github/label/created.blade.php
@@ -4,14 +4,14 @@
*/
$label = $payload->label;
-$description = strlen($label->description) > 50 ? $label->description : substr($label->description, 0, 50).'...';
+$description = strlen($label->description) < 100 ? $label->description : substr($label->description, 0, 100).'...';
?>
-{!! __('tg-notifier::events/github/label.created.title', [
- 'repo' => "{$payload->repository->full_name}",
+โ {!! __('tg-notifier::events/github/label.created.title', [
+ 'repo' => "โ ๏ธ - ๐ฆ{$payload->repository->full_name}",
'user' => "@{$payload->sender->login}",
]
) !!}
-๐ข {{ $payload->label->name }}
-{{ $description }}
+๐ {{ $payload->label->name }}
+{!! __('tg-notifier::events/shared/github._description.title') !!}: {{ $description }}
diff --git a/resources/views/events/github/label/deleted.blade.php b/resources/views/events/github/label/deleted.blade.php
index 8f40028..cecc509 100644
--- a/resources/views/events/github/label/deleted.blade.php
+++ b/resources/views/events/github/label/deleted.blade.php
@@ -2,12 +2,13 @@
/**
* @var $payload object
*/
+
?>
-{!! __('tg-notifier::events/github/label.deleted.title', [
- 'repo' => "{$payload->repository->full_name}",
+๐ {!! __('tg-notifier::events/github/label.deleted.title', [
+ 'repo' => "๐ฆ{$payload->repository->full_name}",
'user' => "@{$payload->sender->login}",
]
) !!}
-๐ข {{ $payload->label->name }}
+๐ {{ $payload->label->name }}
diff --git a/resources/views/events/github/label/edited.blade.php b/resources/views/events/github/label/edited.blade.php
index 74cabce..35317bc 100644
--- a/resources/views/events/github/label/edited.blade.php
+++ b/resources/views/events/github/label/edited.blade.php
@@ -5,30 +5,30 @@
$changes = $payload->changes;
$label = $payload->label;
-$description = strlen($label->description) < 50 ? $label->description : substr($label->description, 0, 50).'...';
+$description = strlen($label->description) < 100 ? $label->description : substr($label->description, 0, 100).'...';
if (isset($changes->description->from)) {
- $description_changes = strlen($changes->description->from) < 50 ? $changes->description->from : substr($changes->description->from, 0, 50).'...';
+ $description_changes = strlen($changes->description->from) < 100 ? $changes->description->from : substr($changes->description->from, 0, 100).'...';
}
?>
-{!! __('tg-notifier::events/github/label.edited.title', [
- 'repo' => "{$payload->repository->full_name}",
+โ {!! __('tg-notifier::events/github/label.edited.title', [
+ 'repo' => "๐ฆ{$payload->repository->full_name}",
'user' => "@{$payload->sender->login}",
]
) !!}
@if(isset($changes->name->from))
-{!! __('tg-notifier::events/github/label.edited.changes.title.name') !!}
-{!! __('tg-notifier::events/github/label.edited.changes.title.from', ['title_from' => $payload->changes->name->from]) !!}
-{!! __('tg-notifier::events/github/label.edited.changes.title.to', ['title_to' => $payload->label->name]) !!}
+๐ {!! __('tg-notifier::events/github/label.edited.changes.title.name') !!}
+๐ {!! __('tg-notifier::events/github/label.edited.changes.title.from', ['title_from' => "{$payload->changes->name->from}
"]) !!}
+๐ {!! __('tg-notifier::events/github/label.edited.changes.title.to', ['title_to' => "{$payload->label->name}
"]) !!}
@else
-๐ข {{ $label->name }}
+๐ {{ $label->name }}
@endif
@if(isset($changes->description->from))
-{!! __('tg-notifier::events/github/label.edited.changes.description.name') !!}
-{!! __('tg-notifier::events/github/label.edited.changes.description.from', ['description_from' => $description_changes]) !!}
-{!! __('tg-notifier::events/github/label.edited.changes.description.to', ['description_to' => $description]) !!}
+๐ {!! __('tg-notifier::events/github/label.edited.changes.description.name') !!}
+๐ {!! __('tg-notifier::events/github/label.edited.changes.description.from', ['description_from' => "{$description_changes}
"]) !!}
+๐ท {!! __('tg-notifier::events/github/label.edited.changes.description.to', ['description_to' => "{$description}
"]) !!}
@else
-{{ $description }}
+{!! __('tg-notifier::events/shared/github._description.title') !!}: {{ $description }}
@endif
diff --git a/resources/views/events/github/meta/deleted.blade.php b/resources/views/events/github/meta/deleted.blade.php
index 7aeb253..e4c71a6 100644
--- a/resources/views/events/github/meta/deleted.blade.php
+++ b/resources/views/events/github/meta/deleted.blade.php
@@ -5,14 +5,14 @@
?>
-{!! __('tg-notifier::events/github/meta.delete.title') !!}
+๐ {!! __('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') !!}: {{ $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') !!}: ๐ฆ{{ $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') !!}: {{ $payload->sender->login }}
@endif
diff --git a/resources/views/events/github/ping/default.blade.php b/resources/views/events/github/ping/default.blade.php
index 95d0a78..05ddd3c 100644
--- a/resources/views/events/github/ping/default.blade.php
+++ b/resources/views/events/github/ping/default.blade.php
@@ -2,16 +2,17 @@
/**
* @var $payload object
*/
+
?>
-{!! __('tg-notifier::events/github/ping.default.title') !!}
+โก {!! __('tg-notifier::events/github/ping.default.title') !!} ๐
@if(isset($payload->organization))
-{!! __('tg-notifier::events/github/ping.default.organization', ['organization' => $payload->organization->login]) !!}
+๐ข {!! __('tg-notifier::events/github/ping.default.organization') !!}: {{ $payload->organization->login }}
@endif
@if(isset($payload->repository))
-{!! __('tg-notifier::events/github/ping.default.full_name', ['full_name' => $payload->repository->full_name]) !!}
+๐ฆ {!! __('tg-notifier::events/github/ping.default.full_name') !!}: ๐ฆ{{ $payload->repository->full_name }}
@endif
@if(isset($payload->sender))
-{!! __('tg-notifier::events/github/ping.default.sender', ['sender' => $payload->sender->login]) !!}
+๐ค {!! __('tg-notifier::events/github/ping.default.sender') !!}: {{ $payload->sender->login }}
@endif
diff --git a/resources/views/events/github/pull_request/assigned.blade.php b/resources/views/events/github/pull_request/assigned.blade.php
index f7b1c43..e41f577 100644
--- a/resources/views/events/github/pull_request/assigned.blade.php
+++ b/resources/views/events/github/pull_request/assigned.blade.php
@@ -6,8 +6,8 @@
$pull_request = $payload->pull_request;
?>
-{!! __('tg-notifier::events/github/pull_request.assigned.title', [
- 'repo' => "{$payload->repository->full_name}#$pull_request->number",
+โ๐ทโโ๏ธ๐ ๏ธ {!! __('tg-notifier::events/github/pull_request.assigned.title', [
+ 'repo' => "๐ฆ{$payload->repository->full_name}#$pull_request->number",
'user' => "@{$payload->sender->login}"
]
) !!}
diff --git a/resources/views/events/github/pull_request/closed.blade.php b/resources/views/events/github/pull_request/closed.blade.php
index 36c39e9..69bb93b 100644
--- a/resources/views/events/github/pull_request/closed.blade.php
+++ b/resources/views/events/github/pull_request/closed.blade.php
@@ -6,21 +6,21 @@
$pull_request = $payload->pull_request;
-$message = __('tg-notifier::events/github/pull_request.closed.title_merged');
+$message = 'โ
'.__('tg-notifier::events/github/pull_request.closed.title_merged');
if (!isset($payload->pull_request->merged) || $payload->pull_request->merged !== true) {
- $message = __('tg-notifier::events/github/pull_request.closed.title_closed');
+ $message = '๐ซ '.__('tg-notifier::events/github/pull_request.closed.title_closed');
}
?>
{!! __('tg-notifier::events/github/pull_request.closed.title', [
'title' => $message,
- 'repo' => "{$payload->repository->full_name}#$pull_request->number",
+ 'repo' => "๐ฆ{$payload->repository->full_name}#$pull_request->number",
'user' => "@{$payload->sender->login}"
]) !!}
-๐ข {{ $pull_request->title }}
+๐ท {!! __('tg-notifier::events/github/pull_request.title') !!}: {{ $pull_request->title }}
-๐ณ {{ $pull_request->head->ref }} -> {{ $pull_request->base->ref }} ๐ฏ
+๐ณ {{ $pull_request->head->ref }} โก {{ $pull_request->base->ref }} ๐ฏ
@include('tg-notifier::events.shared.partials.github._assignees', compact('payload', 'event'))
@include('tg-notifier::events.github.pull_request.partials._reviewers', compact('payload'))
@include('tg-notifier::events.shared.partials.github._body', compact('payload', 'event'))
diff --git a/resources/views/events/github/pull_request/labeled.blade.php b/resources/views/events/github/pull_request/labeled.blade.php
index f3e15d7..9ee3abc 100644
--- a/resources/views/events/github/pull_request/labeled.blade.php
+++ b/resources/views/events/github/pull_request/labeled.blade.php
@@ -4,14 +4,14 @@
*/
$pull_request = $payload->pull_request;
-$description = strlen($payload->label->description) > 50 ? $payload->label->description : substr($payload->label->description, 0, 50).'...';
+$description = strlen($payload->label->description) > 100 ? $payload->label->description : substr($payload->label->description, 0, 100).'...';
?>
-{!! __('tg-notifier::events/github/pull_request.labeled.title', [
- 'repo' => "{$payload->repository->full_name}#$pull_request->number",
+โ๐ทโโ๏ธ๐ ๏ธ {!! __('tg-notifier::events/github/pull_request.labeled.title', [
+ 'repo' => "๐ฆ{$payload->repository->full_name}#$pull_request->number",
'user' => "@{$payload->sender->login}"
]
) !!}
-๐ข {{ $payload->label->name }}
-{{ $description }}
+๐ {!! __('tg-notifier::events/github/pull_request.labeled.name') !!}: {{ $payload->label->name }}
+๐ {!! __('tg-notifier::events/github/pull_request.labeled.description') !!}: {{ $description }}
diff --git a/resources/views/events/github/pull_request/locked.blade.php b/resources/views/events/github/pull_request/locked.blade.php
index 03b22a7..75ee805 100644
--- a/resources/views/events/github/pull_request/locked.blade.php
+++ b/resources/views/events/github/pull_request/locked.blade.php
@@ -6,10 +6,10 @@
$pull_request = $payload->pull_request;
?>
-{!! __('tg-notifier::events/github/pull_request.locked.title', [
- 'repo' => "{$payload->repository->full_name}#$pull_request->number",
+โ๐ทโโ๏ธ๐ ๏ธ {!! __('tg-notifier::events/github/pull_request.locked.title', [
+ 'repo' => "๐ฆ{$payload->repository->full_name}#$pull_request->number",
'user' => "@{$payload->sender->login}"
]
) !!}
-๐ข {{ $pull_request->title }}
+๐ท {!! __('tg-notifier::events/github/pull_request.title') !!}: {{ $pull_request->title }}
diff --git a/resources/views/events/github/pull_request/opened.blade.php b/resources/views/events/github/pull_request/opened.blade.php
index 69cbb47..49f9b1c 100644
--- a/resources/views/events/github/pull_request/opened.blade.php
+++ b/resources/views/events/github/pull_request/opened.blade.php
@@ -7,15 +7,15 @@
$pull_request = $payload->pull_request;
?>
-{!! __('tg-notifier::events/github/pull_request.opened.title', [
- 'repo' => "{$payload->repository->full_name}#$pull_request->number",
+๐ทโโ๏ธ๐ ๏ธ {!! __('tg-notifier::events/github/pull_request.opened.title', [
+ 'repo' => "๐ฆ{$payload->repository->full_name}#$pull_request->number",
'user' => "@{$payload->sender->login}"
]
) !!}
-๐ข {{ $pull_request->title }}
+๐ท {!! __('tg-notifier::events/github/pull_request.title') !!}: {{ $pull_request->title }}
-๐ณ {{ $pull_request->head->ref }} -> {{ $pull_request->base->ref }} ๐ฏ
+๐ณ {{ $pull_request->head->ref }} โก {{ $pull_request->base->ref }} ๐ฏ
@include('tg-notifier::events.shared.partials.github._assignees', compact('payload', 'event'))
@include('tg-notifier::events.github.pull_request.partials._reviewers', compact('payload'))
@include('tg-notifier::events.shared.partials.github._body', compact('payload', 'event'))
diff --git a/resources/views/events/github/pull_request/partials/_reviewers.blade.php b/resources/views/events/github/pull_request/partials/_reviewers.blade.php
index b601647..ccca5fc 100644
--- a/resources/views/events/github/pull_request/partials/_reviewers.blade.php
+++ b/resources/views/events/github/pull_request/partials/_reviewers.blade.php
@@ -10,7 +10,7 @@
$reviewers[] = "{$reviewer->login}";
}
- $textReviewers .= __('tg-notifier::events/github/pull_request.review') . implode(', ', $reviewers);
+ $textReviewers .= '๐ฅ '.__('tg-notifier::events/github/pull_request.review') . implode(', ', $reviewers);
}
?>
{!! $textReviewers !!}
diff --git a/resources/views/events/github/pull_request/reopened.blade.php b/resources/views/events/github/pull_request/reopened.blade.php
index 73e3e31..d36869a 100644
--- a/resources/views/events/github/pull_request/reopened.blade.php
+++ b/resources/views/events/github/pull_request/reopened.blade.php
@@ -7,15 +7,15 @@
$pull_request = $payload->pull_request;
?>
-{!! __('tg-notifier::events/github/pull_request.reopened.title', [
- 'repo' => "{$payload->repository->full_name}#$pull_request->number",
+๐ทโโ๏ธ๐ ๏ธ {!! __('tg-notifier::events/github/pull_request.reopened.title', [
+ 'repo' => "๐ฆ{$payload->repository->full_name}#$pull_request->number",
'user' => "@{$payload->sender->login}"
]
) !!}
-๐ข {{ $pull_request->title }}
+๐ท {!! __('tg-notifier::events/github/pull_request.title') !!}: {{ $pull_request->title }}
-๐ณ {{ $pull_request->head->ref }} -> {{ $pull_request->base->ref }} ๐ฏ
+๐ณ {{ $pull_request->head->ref }} โก {{ $pull_request->base->ref }} ๐ฏ
@include('tg-notifier::events.shared.partials.github._assignees', compact('payload', 'event'))
@include('tg-notifier::events.github.pull_request.partials._reviewers', compact('payload'))
@include('tg-notifier::events.shared.partials.github._body', compact('payload', 'event'))
diff --git a/resources/views/events/github/pull_request/unassigned.blade.php b/resources/views/events/github/pull_request/unassigned.blade.php
index 9b1837c..67e84ca 100644
--- a/resources/views/events/github/pull_request/unassigned.blade.php
+++ b/resources/views/events/github/pull_request/unassigned.blade.php
@@ -6,8 +6,8 @@
$pull_request = $payload->pull_request;
?>
-{!! __('tg-notifier::events/github/pull_request.unassigned.title', [
- 'repo' => "{$payload->repository->full_name}#$pull_request->number",
+โ๐ทโโ๏ธ๐ ๏ธ {!! __('tg-notifier::events/github/pull_request.unassigned.title', [
+ 'repo' => "๐ฆ{$payload->repository->full_name}#$pull_request->number",
'user' => "@{$payload->sender->login}"
]
) !!}
diff --git a/resources/views/events/github/pull_request/unlabeled.blade.php b/resources/views/events/github/pull_request/unlabeled.blade.php
index 652c088..f2132ef 100644
--- a/resources/views/events/github/pull_request/unlabeled.blade.php
+++ b/resources/views/events/github/pull_request/unlabeled.blade.php
@@ -4,13 +4,14 @@
*/
$pull_request = $payload->pull_request;
+$description = strlen($payload->label->description) > 100 ? $payload->label->description : substr($payload->label->description, 0, 100).'...';
?>
-{!! __('tg-notifier::events/github/pull_request.unlabeled.title', [
- 'repo' => "{$payload->repository->full_name}#$pull_request->number",
+โ๐ทโโ๏ธ๐ ๏ธ {!! __('tg-notifier::events/github/pull_request.unlabeled.title', [
+ 'repo' => "๐ฆ{$payload->repository->full_name}#$pull_request->number",
'user' => "@{$payload->sender->login}"
]
) !!}
-๐ข {{ $payload->label->name }}
-{{ substr($payload->label->description, 0, 50).'...' }}
+๐ {!! __('tg-notifier::events/github/pull_request.labeled.name') !!}: {{ $payload->label->name }}
+๐ {!! __('tg-notifier::events/github/pull_request.labeled.description') !!}: {{ $description }}
diff --git a/resources/views/events/github/pull_request/unlocked.blade.php b/resources/views/events/github/pull_request/unlocked.blade.php
index da39f04..9ae336e 100644
--- a/resources/views/events/github/pull_request/unlocked.blade.php
+++ b/resources/views/events/github/pull_request/unlocked.blade.php
@@ -6,10 +6,10 @@
$pull_request = $payload->pull_request;
?>
-{!! __('tg-notifier::events/github/pull_request.unlocked.title', [
- 'repo' => "{$payload->repository->full_name}#$pull_request->number",
+โ๐ทโโ๏ธ๐ ๏ธ {!! __('tg-notifier::events/github/pull_request.unlocked.title', [
+ 'repo' => "๐ฆ{$payload->repository->full_name}#$pull_request->number",
'user' => "@{$payload->sender->login}"
]
) !!}
-๐ข {{ $pull_request->title }}
+๐ท {!! __('tg-notifier::events/github/pull_request.title') !!}: {{ $pull_request->title }}
diff --git a/resources/views/events/github/pull_request_review/dismissed.blade.php b/resources/views/events/github/pull_request_review/dismissed.blade.php
index b00265c..f1666ea 100644
--- a/resources/views/events/github/pull_request_review/dismissed.blade.php
+++ b/resources/views/events/github/pull_request_review/dismissed.blade.php
@@ -6,12 +6,11 @@
$pull_request = $payload->pull_request;
?>
-{!! __('tg-notifier::events/github/pull_request_review.dismissed.title', [
- 'repo' => "{$payload->repository->full_name}#$pull_request->number",
+๐ทโโ๏ธ๐ ๏ธ {!! __('tg-notifier::events/github/pull_request_review.dismissed.title', [
+ 'repo' => "๐ฆ{$payload->repository->full_name}#$pull_request->number",
'user' => "@{$payload->sender->login}"
]
) !!}
-๐ {{ $pull_request->title }}
-
-{!! __('tg-notifier::events/github/pull_request_review.link', ['review' => "{$payload->review->html_url}"]) !!}
+๐ {!! __('tg-notifier ::events/github/pull_request_review.name') !!}: {{ $pull_request->title }}
+๐ {!! __('tg-notifier::events/github/pull_request_review.link', ['review' => "#{$payload->review->id}"]) !!}
diff --git a/resources/views/events/github/pull_request_review/submitted.blade.php b/resources/views/events/github/pull_request_review/submitted.blade.php
index ab5b773..d9bd994 100644
--- a/resources/views/events/github/pull_request_review/submitted.blade.php
+++ b/resources/views/events/github/pull_request_review/submitted.blade.php
@@ -6,12 +6,11 @@
$pull_request = $payload->pull_request;
?>
-{!! __('tg-notifier::events/github/pull_request_review.submitted.title', [
- 'repo' => "{$payload->repository->full_name}#$pull_request->number",
+๐ทโโ๏ธโ๐ ๏ธ {!! __('tg-notifier::events/github/pull_request_review.submitted.title', [
+ 'repo' => "๐ฆ{$payload->repository->full_name}#$pull_request->number",
'user' => "@{$payload->sender->login}"
]
) !!}
-๐ {{ $pull_request->title }}
-
-{!! __('tg-notifier::events/github/pull_request_review.link', ['review' => "{$payload->review->html_url}"]) !!}
+๐ {!! __('tg-notifier::events/github/pull_request_review.name') !!}: {{ $pull_request->title }}
+๐ {!! __('tg-notifier::events/github/pull_request_review.link', ['review' => "#{$payload->review->id}"]) !!}
diff --git a/resources/views/events/github/push/default.blade.php b/resources/views/events/github/push/default.blade.php
index b1c2248..ee6fd9c 100644
--- a/resources/views/events/github/push/default.blade.php
+++ b/resources/views/events/github/push/default.blade.php
@@ -30,4 +30,4 @@
) !!}
@endforeach
-{!! __('tg-notifier::events/github/push.default.pusher', ['name' => $payload->pusher->name]) !!}
+๐ค {!! __('tg-notifier::events/github/push.default.pusher') !!}: {{ $payload->pusher->name }}
diff --git a/resources/views/events/github/star/created.blade.php b/resources/views/events/github/star/created.blade.php
index 1aa8187..f2c9856 100644
--- a/resources/views/events/github/star/created.blade.php
+++ b/resources/views/events/github/star/created.blade.php
@@ -2,11 +2,9 @@
/**
* @var $payload object
*/
+
?>
-{!! __('tg-notifier::events/github/star.created.title', [
- 'repo' => "{$payload->repository->full_name}"
- ]
- ) !!}
+๐ {!! __('tg-notifier::events/github/star.created.title') !!} ๐ฆ{{ $payload->repository->full_name }}
-{!! __('tg-notifier::events/github/star.created.seeder', ['sender_login' => $payload->sender->login]) !!}
+๐ค {!! __('tg-notifier::events/github/star.created.seeder') !!}: {{ $payload->sender->login }}
๐
diff --git a/resources/views/events/github/star/deleted.blade.php b/resources/views/events/github/star/deleted.blade.php
index 80136d2..269452c 100644
--- a/resources/views/events/github/star/deleted.blade.php
+++ b/resources/views/events/github/star/deleted.blade.php
@@ -2,11 +2,9 @@
/**
* @var $payload object
*/
+
?>
-{!! __('tg-notifier::events/github/star.deleted.title', [
- 'repo' => "{$payload->repository->full_name}"
- ]
- ) !!}
+๐ซ {!! __('tg-notifier::events/github/star.deleted.title') !!} ๐ฆ{{ $payload->repository->full_name }}
-{!! __('tg-notifier::events/github/star.deleted.remover', ['sender_login' => $payload->sender->login]) !!}
+๐ค {!! __('tg-notifier::events/github/star.deleted.remover') !!}: {{ $payload->sender->login }}
๐
diff --git a/resources/views/events/github/watch/started.blade.php b/resources/views/events/github/watch/started.blade.php
index 7dd8bb2..3001438 100644
--- a/resources/views/events/github/watch/started.blade.php
+++ b/resources/views/events/github/watch/started.blade.php
@@ -2,11 +2,12 @@
/**
* @var $payload object
*/
+
?>
-{!! __('tg-notifier::events/github/watch.started.title', [
- 'repo' => "{$payload->repository->full_name}"
+๐ {!! __('tg-notifier::events/github/watch.started.title', [
+ 'repo' => "๐ฆ{$payload->repository->full_name}"
]
) !!}
-{!! __('tg-notifier::events/github/watch.started.watcher', ['sender_login' => $payload->sender->login]) !!}
+๐ค {!! __('tg-notifier::events/github/watch.started.watcher') !!}: {{ $payload->sender->login }}
๐
diff --git a/resources/views/events/github/workflow_job/completed.blade.php b/resources/views/events/github/workflow_job/completed.blade.php
index e2ab6c7..a663b3a 100644
--- a/resources/views/events/github/workflow_job/completed.blade.php
+++ b/resources/views/events/github/workflow_job/completed.blade.php
@@ -2,16 +2,25 @@
/**
* @var $payload object
*/
-?>
-@if($payload->workflow_job->conclusion === 'success')
-{!! __('tg-notifier::events/github/workflow_job.completed.completed', ['repo' => "{$payload->repository->html_url}"]) !!}
+if ($payload->workflow_job->conclusion === 'success') {
+ $status = 'success';
+ $icon = '๐';
+ $last = 'โจ';
+} else {
+ $status = 'failure';
+ $icon = '๐ซ';
+ $last = 'โ';
+}
-{!! __('tg-notifier::events/github/workflow_job.completed.done', ['runner_name' => $payload->workflow_job->runner_name]) !!}
-@else
-{!! __('tg-notifier::events/github/workflow_job.completed.canceled', ['repo' => "{$payload->repository->html_url}"]) !!}
+$startedAt = new DateTime($payload->workflow_job->started_at);
+$completedAt = new DateTime($payload->workflow_job->completed_at);
+$interval = $completedAt->diff($startedAt);
+$allSeconds = $interval->s + $interval->i * 60 + $interval->h * 3600;
+?>
-{!! __('tg-notifier::events/github/workflow_job.completed.failed', ['runner_name' => $payload->workflow_job->runner_name]) !!}
-@endif
+{{ $icon }} {!! __("tg-notifier::events/github/workflow_job.completed.$status", ['repo' => "๐ฆ{$payload->repository->full_name}"]) !!}
-{!! __('tg-notifier::events/github/workflow_job.link', ['link' => "{$payload->workflow_job->workflow_name}"]) !!}
+๐ {!! __('tg-notifier::events/github/workflow_job.name') !!}: {{ $icon }} {{ $payload->workflow_job->name }}
{{ $last }}
+๐จ {!! __('tg-notifier::events/github/workflow_job.status.title') !!}: {!! __('tg-notifier::events/github/workflow_job.status.'.$status) !!}
๐ {{ $allSeconds }}s
+๐ {!! __('tg-notifier::events/github/workflow_job.link', ['link' => "{$payload->workflow_job->workflow_name}"]) !!}
diff --git a/resources/views/events/github/workflow_job/in_progress.blade.php b/resources/views/events/github/workflow_job/in_progress.blade.php
index f973293..4d500aa 100644
--- a/resources/views/events/github/workflow_job/in_progress.blade.php
+++ b/resources/views/events/github/workflow_job/in_progress.blade.php
@@ -2,10 +2,10 @@
/**
* @var $payload object
*/
-?>
-{!! __('tg-notifier::events/github/workflow_job.in_progress.progress', ['repo' => "{$payload->repository->html_url}"]) !!}
+?>
-{!! __('tg-notifier::events/github/workflow_job.in_progress.running', ['runner_name' => $payload->workflow_job->runner_name]) !!}
+๐ง {!! __('tg-notifier::events/github/workflow_job.in_progress.progress', ['repo' => "๐ฆ{$payload->repository->html_url}"]) !!}
-{!! __('tg-notifier::events/github/workflow_job.link', ['link' => "{$payload->workflow_job->workflow_name}"]) !!}
+๐ {!! __('tg-notifier::events/github/workflow_job.in_progress.running') !!}: ๐ฅ {{ $payload->workflow_job->name }}
โณ
+๐ {!! __('tg-notifier::events/github/workflow_job.link', ['link' => "{$payload->workflow_job->workflow_name}"]) !!}
diff --git a/resources/views/events/github/workflow_job/queued.blade.php b/resources/views/events/github/workflow_job/queued.blade.php
index 7f164e2..6e85cb0 100644
--- a/resources/views/events/github/workflow_job/queued.blade.php
+++ b/resources/views/events/github/workflow_job/queued.blade.php
@@ -2,10 +2,10 @@
/**
* @var $payload object
*/
-?>
-{!! __('tg-notifier::events/github/workflow_job.queued.title', ['repo' => "{$payload->repository->html_url}"]) !!}
+?>
-{!! __('tg-notifier::events/github/workflow_job.queued.body', ['runner_name' => $payload->workflow_job->runner_name]) !!}
+{!! __('tg-notifier::events/github/workflow_job.queued.title', ['repo' => "๐ฆ{$payload->repository->full_name}"]) !!}
-{!! __('tg-notifier::events/github/workflow_job.link', ['link' => "{$payload->workflow_job->workflow_name}"]) !!}
+๐ {!! __('tg-notifier::events/github/workflow_job.queued.name') !!}: ๐ฅ {{ $payload->workflow_job->name }}
โฐ
+๐ {!! __('tg-notifier::events/github/workflow_job.link', ['link' => "{$payload->workflow_job->workflow_name}"]) !!}
diff --git a/resources/views/events/github/workflow_run/completed.blade.php b/resources/views/events/github/workflow_run/completed.blade.php
index 1ec7d28..11469df 100644
--- a/resources/views/events/github/workflow_run/completed.blade.php
+++ b/resources/views/events/github/workflow_run/completed.blade.php
@@ -11,8 +11,8 @@
};
?>
-{!! __("tg-notifier::events/github/workflow_run.completed.$status.title", ['repo' => "{$payload->repository->full_name}"]) !!}
+{!! __("tg-notifier::events/github/workflow_run.completed.$status.title", ['repo' => "๐ฆ{$payload->repository->full_name}"]) !!}
{!! __("tg-notifier::events/github/workflow_run.completed.$status.body", ['name' => $payload->workflow_run->name]) !!}
-
-{!! __('tg-notifier::events/github/workflow_run.link', ['link' => "{$payload->workflow_run->event} - {$payload->workflow_run->name}"]) !!}
+๐ {!! __('tg-notifier::events/github/workflow_run.display_title') !!}: {!! $payload->workflow_run->display_title !!}
+๐ {!! __('tg-notifier::events/github/workflow_run.link', ['link' => "{$payload->workflow_run->event} - {$payload->workflow_run->name}"]) !!}
diff --git a/resources/views/events/github/workflow_run/requested.blade.php b/resources/views/events/github/workflow_run/requested.blade.php
index 139d674..ae14132 100644
--- a/resources/views/events/github/workflow_run/requested.blade.php
+++ b/resources/views/events/github/workflow_run/requested.blade.php
@@ -2,10 +2,11 @@
/**
* @var $payload object
*/
-?>
-{!! __('tg-notifier::events/github/workflow_run.requested.title', ['repo' => "{$payload->repository->full_name}"]) !!}
+?>
-{!! __('tg-notifier::events/github/workflow_run.requested.body', ['name' => $payload->workflow_run->name]) !!}
+{!! __('tg-notifier::events/github/workflow_run.requested.title', ['repo' => "๐ฆ{$payload->repository->full_name}"]) !!}
-{!! __('tg-notifier::events/github/workflow_run.link', ['link' => "{$payload->workflow_run->event} - {$payload->workflow_run->name}"]) !!}
+โณ {!! __('tg-notifier::events/github/workflow_run.requested.body') !!}: ๐ฅ {!! $payload->workflow_run->name !!}
+๐ {!! __('tg-notifier::events/github/workflow_run.display_title') !!}: {!! $payload->workflow_run->display_title !!}
+๐ {!! __('tg-notifier::events/github/workflow_run.link', ['link' => "{$payload->workflow_run->event} - {$payload->workflow_run->name}"]) !!}
diff --git a/resources/views/events/shared/partials/github/_assignees.blade.php b/resources/views/events/shared/partials/github/_assignees.blade.php
index 85fb070..d8d4ae4 100644
--- a/resources/views/events/shared/partials/github/_assignees.blade.php
+++ b/resources/views/events/shared/partials/github/_assignees.blade.php
@@ -4,8 +4,8 @@
* @var $event string
*/
+$assigneeText = '';
if (isset($event) && isset($payload) && !empty($payload->{$event}->assignees)) {
- $assigneeText = __('tg-notifier::events/shared/github._assignee.title');
$assigneeArray = [];
foreach ($payload->{$event}->assignees as $assignee) {
$assigneeArray[] = "html_url}\">@{$assignee->login} ";
@@ -13,4 +13,6 @@
$assigneeText .= implode(', ', $assigneeArray);
}
?>
-{!! $assigneeText ?? '' !!}
+@if(!empty($assigneeText))
+๐ {!! __('tg-notifier::events/shared/github._assignee.title') !!}: {!! $assigneeText !!}
+@endif
diff --git a/resources/views/events/shared/partials/github/_body.blade.php b/resources/views/events/shared/partials/github/_body.blade.php
index 84baa6b..c9a6c5f 100644
--- a/resources/views/events/shared/partials/github/_body.blade.php
+++ b/resources/views/events/shared/partials/github/_body.blade.php
@@ -7,13 +7,14 @@
$html = '';
if (isset($event) && isset($payload) && !empty($payload->{$event}->body)) {
$body = $payload->{$event}->body;
- if (strlen($body) > 50) {
- $body = substr($body, 0, 50).'...';
+ if (strlen($body) > 100) {
+ $body = substr($body, 0, 100).'...';
}
- $html = __('tg-notifier::events/shared/github._body.title', ['body' => $body])
- ."\n"
- .htmlentities($body);
+ $html = htmlentities($body);
}
?>
-{!! $html !!}
+@if(!empty($html))
+๐ {!! __('tg-notifier::events/shared/github._body.title') !!}:
+{!! $html !!}
+@endif
diff --git a/src/Services/WebhookService.php b/src/Services/WebhookService.php
index 3d6ea8a..20b3b85 100644
--- a/src/Services/WebhookService.php
+++ b/src/Services/WebhookService.php
@@ -3,17 +3,18 @@
namespace CSlant\LaravelTelegramGitNotifier\Services;
use CSlant\TelegramGitNotifier\Exceptions\WebhookException;
+use CSlant\TelegramGitNotifier\Interfaces\WebhookInterface;
use CSlant\TelegramGitNotifier\Webhook;
class WebhookService
{
- protected Webhook $webhook;
+ protected WebhookInterface $webhookInterface;
- public function __construct(?Webhook $webhook = null)
+ public function __construct(?WebhookInterface $webhookInterface = null)
{
- $this->webhook = $webhook ?? new Webhook();
- $this->webhook->setToken(config('telegram-git-notifier.bot.token'));
- $this->webhook->setUrl(config('telegram-git-notifier.app.url'));
+ $this->webhookInterface = $webhookInterface ?? new Webhook();
+ $this->webhookInterface->setToken(config('telegram-git-notifier.bot.token'));
+ $this->webhookInterface->setUrl(config('telegram-git-notifier.app.url'));
}
/**
@@ -25,7 +26,7 @@ public function __construct(?Webhook $webhook = null)
*/
public function setWebhook(): string
{
- return $this->webhook->setWebhook();
+ return $this->webhookInterface->setWebhook();
}
/**
@@ -37,7 +38,7 @@ public function setWebhook(): string
*/
public function deleteWebHook(): string
{
- return $this->webhook->deleteWebHook();
+ return $this->webhookInterface->deleteWebHook();
}
/**
@@ -49,7 +50,7 @@ public function deleteWebHook(): string
*/
public function getUpdates(): string
{
- return $this->webhook->getUpdates();
+ return $this->webhookInterface->getUpdates();
}
/**
@@ -61,6 +62,6 @@ public function getUpdates(): string
*/
public function getWebHookInfo(): string
{
- return $this->webhook->getWebHookInfo();
+ return $this->webhookInterface->getWebHookInfo();
}
}