Skip to content

Commit

Permalink
Merge pull request #68 from cslant/update-event-template
Browse files Browse the repository at this point in the history
Update layout for workflow events, actions
  • Loading branch information
tanhongit authored May 10, 2024
2 parents f5c2467 + c8d8fb2 commit dc5a012
Show file tree
Hide file tree
Showing 107 changed files with 638 additions and 571 deletions.
17 changes: 9 additions & 8 deletions lang/de/events/github/branch_protection_rule.php
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
<?php

return [
'name' => 'Rule Name',
'created' => [
'title' => '⚠️ <b>New Branch Protection Rules</b> from 🦑:repo',
'link' => '🔗 Link: :link',
'title' => '<b>New Branch Protection Rules</b> from :repo',
'link' => 'Link: :link',
],
'edited' => [
'title' => '📝 <b>Branch Protection Rules Have Been Edited</b> from 🦑:repo',
'title' => '<b>Branch Protection Rules Have Been Edited</b> from :repo',
'changes' => [
'title' => [
'name' => '📖 <b>Title</b> has been changed',
'from' => '📝 <b>From:</b> :title_from',
'to' => '🏷 <b>To:</b> :title_to',
'name' => '<b>The Name</b> has been changed',
'from' => '<b>From:</b> :title_from',
'to' => '<b>To:</b> :title_to',
],
],
'link' => '🔗 Link: :link',
'link' => 'Link: :link',
],
'deleted' => [
'title' => '🗑 <b>Branch Protection Rules Deleted</b> from 🦑:repo',
'title' => '<b>Branch Protection Rules Deleted</b> from :repo',
],
];
5 changes: 3 additions & 2 deletions lang/de/events/github/deploy_key.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<?php

return [
'key_title' => 'Deploy Key',
'created' => [
'title' => '💬 <b>Added Deploy Key</b> ⚠️ from 🦑 :repo by :user',
'title' => '<b>Added Deploy Key</b> ⚠️ from :repo by :user',
'message' => 'Please go to the setting deploy key to manage.',
],
'deleted' => [
'title' => '🗑 <b>Deploy Key Deleted</b> 💬 from 🦑 :repo by :user',
'title' => '<b>Deploy Key Deleted</b> 💬 from :repo by :user',
'message' => 'Please go to the setting deploy key to manage.',
],
];
9 changes: 5 additions & 4 deletions lang/de/events/github/issue_comment.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
<?php

return [
'issue_comment_title' => '📢',
'issue_comment_title' => 'Issue Name',
'created' => [
'title' => '💬 <b>New Issue Comment</b> ⚠️ to 🦑 :issue by :user',
'title' => '<b>New Issue Comment</b> ⚠️ to :issue by :user',
],
'deleted' => [
'title' => '🗑 <b>Issue Comment Deleted</b> 💬 from 🦑 :issue by :user',
'title' => '<b>Issue Comment Deleted</b> 💬 from :issue by :user',
],
'edited' => [
'title' => '📝 <b>Issue Comment Edited</b> 💬 in 🦑 :issue by :user',
'title' => '<b>Issue Comment Edited</b> 💬 in :issue by :user',
],
'link' => 'Link to Comment',
];
28 changes: 14 additions & 14 deletions lang/de/events/github/issues.php
Original file line number Diff line number Diff line change
@@ -1,43 +1,43 @@
<?php

return [
'issue_title' => '📢',
'issue_title' => 'Name',
'closed' => [
'title' => '🚫 <b>Issue Closed </b> to 🦑 :issue by :user',
'title' => '<b>Issue Closed </b> to :issue by :user',
],
'deleted' => [
'title' => '🗑 <b>Issue Deleted</b> from 🦑 :issue by :user',
'title' => '<b>Issue Deleted</b> from :issue by :user',
],
'edited' => [
'title' => '⚠️ <b>Issue has been edited</b> to 🦑 :issue by :user',
'title' => '<b>Issue has been edited</b> to :issue by :user',
'changes' => [
'title' => [
'name' => '📖 <b>Title</b> has been changed',
'from' => '📝 <b>From:</b> :title_from',
'to' => '🏷 <b>To:</b> :title_to',
'name' => '<b>Title</b> has been changed',
'from' => '<b>From:</b> :title_from',
'to' => '<b>To:</b> :title_to',
],
'body' => [
'title' => '📖 <b>Body</b> has been changed',
'title' => '<b>Body</b> has been changed',
'message' => 'Please check the issue for more details',
],
],
],
'locked' => [
'title' => '🔒 <b>Issue Locked</b> from 🦑 :issue by :user',
'title' => '<b>Issue Locked</b> from :issue by :user',
],
'opened' => [
'title' => '⚠️ <b>New Issue</b> to 🦑 :issue by :user',
'title' => '<b>New Issue</b> to :issue by :user',
],
'pinned' => [
'title' => '📌 <b>Issue Pinned</b> from 🦑 :issue by :user',
'title' => '<b>Issue Pinned</b> from :issue by :user',
],
'reopened' => [
'title' => '⚠️ <b>Issue has been reopened</b> ⚠️ to 🦑 :issue by :user',
'title' => '<b>Issue has been reopened</b> ⚠️ to :issue by :user',
],
'unlocked' => [
'title' => '🔐 <b>Issue Unlocked</b> from 🦑 :issue by :user',
'title' => '<b>Issue Unlocked</b> from :issue by :user',
],
'unpinned' => [
'title' => '🔔 <b>Issue Unpinned</b> from 🦑 :issue by :user',
'title' => '<b>Issue Unpinned</b> from :issue by :user',
],
];
18 changes: 9 additions & 9 deletions lang/de/events/github/label.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@

return [
'created' => [
'title' => '💬 <b>New Label</b> ⚠️ - 🦑:repo by :user',
'title' => '<b>New Label</b> :repo by :user',
],
'deleted' => [
'title' => '🗑 <b>Label Deleted</b> - 🦑:repo by :user',
'title' => '<b>Label Deleted</b> - :repo by :user',
],
'edited' => [
'title' => '👷‍♂️🛠️ <b>Label has been edited</b> - 🦑:repo by :user',
'title' => '<b>Label has been edited</b> - :repo by :user',
'changes' => [
'title' => [
'name' => '📖 <b>Title</b> has been changed',
'from' => '📝 <b>From:</b> :title_from',
'to' => '🏷 <b>To:</b> :title_to',
'name' => '<b>Title</b> has been changed',
'from' => '<b>From:</b> :title_from',
'to' => '<b>To:</b> :title_to',
],
'description' => [
'name' => '📖 <b>Description</b> has been changed',
'from' => '📝 <b>From:</b> :description_from',
'to' => '🏷 <b>To:</b> :description_to',
'name' => '<b>Description</b> has been changed',
'from' => '<b>From:</b> :description_from',
'to' => '<b>To:</b> :description_to',
],
],
],
Expand Down
8 changes: 4 additions & 4 deletions lang/de/events/github/meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

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

return [
'default' => [
'title' => '♻️ <b>Connection Successful</b>',
'organization' => '🏢 Organization: <b>:organization</b>',
'full_name' => '📦 Repository: 🦑<b>:full_name</b>',
'sender' => '👤 Sender (triggered the event): <b>:sender</b>',
'title' => 'Connection Successful',
'organization' => 'Organization',
'full_name' => 'Repository',
'sender' => 'Sender (triggered the event)',
],
];
28 changes: 16 additions & 12 deletions lang/de/events/github/pull_request.php
Original file line number Diff line number Diff line change
@@ -1,36 +1,40 @@
<?php

return [
'review' => '👥 Reviewers: ',
'review' => 'Reviewers: ',
'title' => 'Title',
'name' => 'Name',
'assigned' => [
'title' => '‍👷‍♂️🛠️ <b>Assigned Pull Request</b> - 🦑:repo by :user',
'title' => '<b>Assigned Pull Request</b> - :repo by :user',
'body' => ':name has been assigned in the pull request <b>:pullRequest</b>',
],
'closed' => [
'title' => ':title - 🦑:repo by :user',
'title_merged' => '<b>Pull Request Merged</b>',
'title_closed' => '🚫 <b>Pull Request Closed</b>',
'title' => ':title - :repo by :user',
'title_merged' => '<b>Pull Request Merged</b>',
'title_closed' => '<b>Pull Request Closed</b>',
],
'labeled' => [
'title' => '‍👷‍♂️🛠️ <b>Labeled Pull Request</b> - 🦑:repo by :user',
'name' => 'Label',
'description' => 'Description',
'title' => '<b>Labeled Pull Request</b> - :repo by :user',
],
'locked' => [
'title' => '‍👷‍♂️🛠️ <b>Locked Pull Request</b> - 🦑:repo by :user',
'title' => '<b>Locked Pull Request</b> - :repo by :user',
],
'opened' => [
'title' => '👷‍♂️🛠️ <b>New Pull Request</b> - 🦑:repo by :user',
'title' => '<b>New Pull Request</b> - :repo by :user',
],
'reopened' => [
'title' => '👷‍♂️🛠️ <b>Reopened Pull Request</b> - 🦑:repo by :user',
'title' => '<b>Reopened Pull Request</b> - :repo by :user',
],
'unassigned' => [
'title' => '‍👷‍♂️🛠️ <b>Unassigned Pull Request</b> - 🦑:repo by :user',
'title' => '<b>Unassigned Pull Request</b> - :repo by :user',
'body' => ':name has been unassigned in the pull request <b>:pullRequest</b>',
],
'unlabeled' => [
'title' => '‍👷‍♂️🛠️ <b>Unlabeled Pull Request</b> - 🦑:repo by :user',
'title' => '<b>Unlabeled Pull Request</b> - :repo by :user',
],
'unlocked' => [
'title' => '‍👷‍♂️🛠️ <b>Unlocked Pull Request</b> - 🦑:repo by :user',
'title' => '<b>Unlocked Pull Request</b> - :repo by :user',
],
];
7 changes: 4 additions & 3 deletions lang/de/events/github/pull_request_review.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@

return [
'dismissed' => [
'title' => '👷‍♂️🛠️ <b>Dismissed Pull Request Review Comment</b> 💬 - 🦑:repo by :user',
'title' => '<b>Dismissed Pull Request Review Comment</b> 💬 - :repo by :user',
],
'submitted' => [
'title' => '👷‍♂️‍🛠️ <b>New Pull Request Review Comment</b> 💬 - 🦑:repo by :user',
'title' => '<b>New Pull Request Review Comment</b> 💬 - :repo by :user',
],
'link' => '🔗 Link: :review',
'link' => 'Link: :review',
'name' => 'PR Name',
];
2 changes: 1 addition & 1 deletion lang/de/events/github/push.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
'default' => [
'title' => '👷⚙️ <b>:count</b> new :noun to 🦊<b>:repo:<code>:branch</code></b>',
'commit' => '[:commit] :commit_message - by <i>:commit_by</i>',
'pusher' => '👤 Pushed by : <b>:name</b>',
'pusher' => 'Pushed by',
],
];
8 changes: 4 additions & 4 deletions lang/de/events/github/star.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

return [
'created' => [
'title' => '🎉 <b>New Star 🌟</b> from 🦑:repo',
'seeder' => '👤 Starer: <b>:sender_login</b> 👀',
'title' => '<b>New Star 🌟</b> from',
'seeder' => 'Starer',
],

'deleted' => [
'title' => '🚫 <b>Star 🌟 Removed</b> from 🦑:repo',
'remover' => '👤 Remover: <b>:sender_login</b> 👀',
'title' => '<b>Star 🌟 Removed</b> from',
'remover' => 'Remover',
],
];
4 changes: 2 additions & 2 deletions lang/de/events/github/watch.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

return [
'started' => [
'title' => '🎉 (betrachten) <b>Neuer Stern 🌟</b> von 🦑:repo',
'watcher' => '👤 Betrachter: <b>:sender_login</b> 👀',
'title' => '(betrachten) <b>Neuer Stern 🌟</b> von :repo',
'watcher' => 'Betrachter',
],
];
23 changes: 13 additions & 10 deletions lang/de/events/github/workflow_job.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,22 @@

return [
'completed' => [
'completed' => '🎉 <b>Action Completed</b> from :repo',
'done' => 'Done action: 🎉 <b>:runner_name</b> ✨',

'canceled' => '🚫 <b>Canceled Action</b> from 🦑:repo',
'failed' => 'Failed action: 🚫 <b>:runner_name</b> ❌',
'success' => '<b>Action Completed</b> from :repo',
'failure' => '<b>Canceled Action</b> from :repo',
],
'status' => [
'title' => 'Status',
'success' => 'Success',
'failure' => 'Failure',
],
'in_progress' => [
'progress' => '🔧 <b>Action in progress</b> form🦑:repo',
'running' => 'Running action: 💥 <b>:runner_name</b> ⏳',
'progress' => '<b>Action in progress</b> form :repo',
'running' => 'Running action',
],
'queued' => [
'title' => ' <b>Action Queued</b> from 🦑:repo',
'body' => 'Queued action: 💥 <b>:runner_name</b> ⏰',
'title' => ' <b>Action Queued</b> from :repo',
'name' => 'Queued action',
],
'link' => '🔗 Workflow job link: :link',
'link' => 'Workflow job link: :link',
'name' => 'Workflow job name',
];
23 changes: 12 additions & 11 deletions lang/de/events/github/workflow_run.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,26 @@
return [
'completed' => [
'success' => [
'title' => '🎉 <b>Workflow Completed</b> from 🦑 :repo',
'body' => 'Done workflow: 🎉 <b>:name</b> ✨ ',
'title' => '🎉 <b>Workflow Completed</b> from :repo',
'body' => 'Done workflow: 🎉 <code>:name</code> ✨ ',
],
'failure' => [
'title' => '🚫 <b>Workflow Failed</b> from 🦑:repo',
'body' => 'Failed workflow: 🚫 <b>:name</b> ❌',
'title' => '🚫 <b>Workflow Failed</b> from :repo',
'body' => 'Failed workflow: 🚫 <code>:name</code> ❌',
],
'cancelled' => [
'title' => '❌ <b>Workflow Cancelled</b> from 🦑 :repo',
'body' => 'Cancelled workflow: 🚨 <b>:name</b> ❌ ',
'title' => '❌ <b>Workflow Cancelled</b> from :repo',
'body' => 'Cancelled workflow: 🚨 <code>:name</code> ❌ ',
],
'default' => [
'title' => "🚨 <b>Workflow Can't Success</b> from 🦑:repo",
'body' => "Can't Success workflow: 🚨 <b>:name</b> ❌",
'title' => "🚨 <b>Workflow Can't Success</b> from :repo",
'body' => "Can't Success workflow: 🚨 <code>:name</code> ❌",
],
],
'requested' => [
'title' => ' <b>Workflow Requested</b> from 🦑:repo',
'body' => 'Running workflow: 💥 <b>:name</b> ⏳',
'title' => ' <b>Workflow Requested</b> from :repo',
'body' => 'Running workflow',
],
'link' => '🔗 Workflow run link: :link',
'link' => 'Workflow run link: :link',
'display_title' => 'Title',
];
7 changes: 5 additions & 2 deletions lang/de/events/shared/github.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@

return [
'_body' => [
'title' => '📖 <b>Content:</b>',
'title' => 'Content',
],
'_assignee' => [
'title' => '🙋 Assignee: ',
'title' => 'Assignee',
],
'_description' => [
'title' => 'Description',
],
];
Loading

0 comments on commit dc5a012

Please sign in to comment.