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(); } }