Skip to content

Commit

Permalink
Merge pull request #32 from cslant/feature/view_template
Browse files Browse the repository at this point in the history
Feature/view template
  • Loading branch information
tanhongit authored Nov 23, 2023
2 parents 4993fb0 + d20507d commit d77f56c
Show file tree
Hide file tree
Showing 106 changed files with 921 additions and 300 deletions.
8 changes: 4 additions & 4 deletions lang/de/events/github/pull_request.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
return [
'review' => '👥 Reviewers: ',
'closed' => [
'title' => ':title - 🦑:issue by :user',
'title' => ':title - 🦑:repo by :user',
'title_merged' => '✅ <b>Pull Request Merged</b>',
'title_closed' => ' <b>Pull Request Closed</b>',
'title_closed' => '🚫 <b>Pull Request Closed</b>',
],
'opened' => [
'title' => '👷‍♂️🛠️ <b>New Pull Request</b> - 🦑:issue by :user',
'title' => '👷‍♂️🛠️ <b>New Pull Request</b> - 🦑:repo by :user',
],
'reopened' => [
'title' => '👷‍♂️🛠️ <b>Reopened Pull Request</b> - 🦑:issue by :user',
'title' => '👷‍♂️🛠️ <b>Reopened Pull Request</b> - 🦑:repo by :user',
],
];
6 changes: 3 additions & 3 deletions lang/de/events/github/push.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

return [
'default' => [
'title' => '👷⚙️ <b>:count</b> new :noun to 🦑<b>:user:<code>:branch</code></b>',
'commit' => ':commit: :commit_message - by <i>:commit_name</i>',
'pushed' => '👤 Pushed by : <b>:name</b>',
'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>',
],
];
2 changes: 1 addition & 1 deletion lang/de/events/github/workflow_run.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@
'title' => ' <b>Workflow Requested</b> form 🦑:user',
'body' => 'Running workflow: 💥 <b>:name</b> ⏳',
],
'link' => '🔗 Link: :link',
'link' => '🔗 Workflow run link: :link',
];
9 changes: 9 additions & 0 deletions lang/de/events/gitlab/feature_flag.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

return [
'title' => [
'enabled' => '<b>Feature Flag Enabled</b> 🦊:flag_tag by :user_tag',
'disabled' => '<b>Feature Flag Disabled</b> 🦊:flag_tag by :user_tag',
],
'name' => 'Name: <b>:flag_name</b>',
];
28 changes: 28 additions & 0 deletions lang/de/events/gitlab/issues.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?php

return [
'issue_title' => '📢',
'closed' => [
'title' => '🚫 <b>Issue Closed </b> to 🦊 :issue by :user',
],
'edited' => [
'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',
],
'body' => [
'title' => '📖 <b>Body</b> has been changed',
'message' => 'Please check the issue for more details',
],
],
],
'opened' => [
'title' => '⚠️ <b>New Issue</b> to 🦊 :issue by :user',
],
'reopened' => [
'title' => '⚠️ <b>Issue has been reopened</b> ⚠️ to 🦊 :issue by :user',
],
];
32 changes: 32 additions & 0 deletions lang/de/events/gitlab/merge_request.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php

return [
'review' => '👥 Reviewers: ',
'closed' => [
'title' => '🚫 <b>Merge Request Closed</b> - 🦊:repo by :user',
],
'merged' => [
'title' => '✅ <b>Merge Request Merged</b> - 🦊:repo by :user',
],
'opened' => [
'title' => '👷‍♂️🛠️ <b>New Merge Request</b> - 🦊:repo by :user',
],
'reopened' => [
'title' => '👷‍♂️🛠️ <b>Merge Request Reopened</b> - 🦊:repo by :user',
],
'approved' => [
'title' => '👍 <b>Merge Request Approved</b> ✅ - 🦊:repo by :user',
],
'unapproved' => [
'title' => '👎 <b>Merge Request Unapproved</b> ❌ - 🦊:repo by :user',
],
'approval' => [
'title' => '👍 <b>Merge Request Approval</b> ✅ - 🦊:repo by :user',
],
'unapproval' => [
'title' => '👎 <b>Merge Request Unapproval</b> ❌ - 🦊:repo by :user',
],
'update' => [
'title' => '🛠️ <b>Merge Request Updated</b> - 🦊:repo by :user',
],
];
12 changes: 12 additions & 0 deletions lang/de/events/gitlab/note.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php

return [
'title' => [
'commit' => '💬 <b>New Comment on Commit</b> - 🦊:repo by :user',
'issue' => '💬 <b>New Comment on Issue</b> - 🦊:repo by :user',
'merge_request' => '💬 <b>New Comment on Merge Request</b> - 🦊:repo by :user',
'snippet' => '💬 <b>New Comment on Snippet</b> - 🦊:repo by :user',
],
'view_comment' => '🔗 View Comment: :link',
'snippet_comment' => 'View Comment on Snippet',
];
9 changes: 9 additions & 0 deletions lang/de/events/gitlab/push.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

return [
'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>',
],
];
9 changes: 9 additions & 0 deletions lang/de/events/gitlab/release.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

return [
'title' => [
'create' => '✅🚀 <b>Release Created</b> - 🦊:repo by :user',
'update' => '📝🚀 <b>Release Updated</b> - 🦊:repo by :user',
'delete' => '🚫🚀 <b>Release Deleted</b> - 🦊:repo by :user',
],
];
7 changes: 7 additions & 0 deletions lang/de/events/gitlab/tag_push.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

return [
'title' => '⚙️ <b>A new tag has been pushed to the project</b> 🦊:repo',
'name' => '🔖 <b>Tag Name</b>: :tag_name',
'pusher' => '👤 Pushed by: <b>:pusher</b>',
];
10 changes: 10 additions & 0 deletions lang/de/events/gitlab/wiki_page.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php

return [
'title' => [
'create' => '📒 <b>Wiki Page Created</b> - 🦊:repo by :user',
'update' => '📝 <b>Wiki Page Updated</b> - 🦊:repo by :user',
'delete' => '🗑 <b>Wiki Page Deleted</b> - 🦊:repo by :user',
],
'name' => '📝 Page Name: <b>:name</b>',
];
10 changes: 10 additions & 0 deletions lang/de/events/shared/gitlab.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php

return [
'_body' => [
'title' => '📖 <b>Content:</b>',
],
'_assignee' => [
'title' => '🙋 Assignee: ',
],
];
8 changes: 4 additions & 4 deletions lang/en/events/github/pull_request.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
return [
'review' => '👥 Reviewers: ',
'closed' => [
'title' => ':title - 🦑:issue by :user',
'title' => ':title - 🦑:repo by :user',
'title_merged' => '✅ <b>Pull Request Merged</b>',
'title_closed' => ' <b>Pull Request Closed</b>',
'title_closed' => '🚫 <b>Pull Request Closed</b>',
],
'opened' => [
'title' => '👷‍♂️🛠️ <b>New Pull Request</b> - 🦑:issue by :user',
'title' => '👷‍♂️🛠️ <b>New Pull Request</b> - 🦑:repo by :user',
],
'reopened' => [
'title' => '👷‍♂️🛠️ <b>Reopened Pull Request</b> - 🦑:issue by :user',
'title' => '👷‍♂️🛠️ <b>Reopened Pull Request</b> - 🦑:repo by :user',
],
];
6 changes: 3 additions & 3 deletions lang/en/events/github/push.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

return [
'default' => [
'title' => '👷⚙️ <b>:count</b> new :noun to 🦑<b>:user:<code>:branch</code></b>',
'commit' => ':commit: :commit_message - by <i>:commit_name</i>',
'pushed' => '👤 Pushed by : <b>:name</b>',
'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>',
],
];
2 changes: 1 addition & 1 deletion lang/en/events/github/workflow_run.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@
'title' => ' <b>Workflow Requested</b> form 🦑:user',
'body' => 'Running workflow: 💥 <b>:name</b> ⏳',
],
'link' => '🔗 Link: :link',
'link' => '🔗 Workflow run link: :link',
];
9 changes: 9 additions & 0 deletions lang/en/events/gitlab/feature_flag.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

return [
'title' => [
'enabled' => '<b>Feature Flag Enabled</b> 🦊:flag_tag by :user_tag',
'disabled' => '<b>Feature Flag Disabled</b> 🦊:flag_tag by :user_tag',
],
'name' => 'Name: <b>:flag_name</b>',
];
28 changes: 28 additions & 0 deletions lang/en/events/gitlab/issues.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?php

return [
'issue_title' => '📢',
'closed' => [
'title' => '🚫 <b>Issue Closed </b> to 🦊 :issue by :user',
],
'edited' => [
'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',
],
'body' => [
'title' => '📖 <b>Body</b> has been changed',
'message' => 'Please check the issue for more details',
],
],
],
'opened' => [
'title' => '⚠️ <b>New Issue</b> to 🦊 :issue by :user',
],
'reopened' => [
'title' => '⚠️ <b>Issue has been reopened</b> ⚠️ to 🦊 :issue by :user',
],
];
32 changes: 32 additions & 0 deletions lang/en/events/gitlab/merge_request.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php

return [
'review' => '👥 Reviewers: ',
'closed' => [
'title' => '🚫 <b>Merge Request Closed</b> - 🦊:repo by :user',
],
'merged' => [
'title' => '✅ <b>Merge Request Merged</b> - 🦊:repo by :user',
],
'opened' => [
'title' => '👷‍♂️🛠️ <b>New Merge Request</b> - 🦊:repo by :user',
],
'reopened' => [
'title' => '👷‍♂️🛠️ <b>Merge Request Reopened</b> - 🦊:repo by :user',
],
'approved' => [
'title' => '👍 <b>Merge Request Approved</b> ✅ - 🦊:repo by :user',
],
'unapproved' => [
'title' => '👎 <b>Merge Request Unapproved</b> ❌ - 🦊:repo by :user',
],
'approval' => [
'title' => '👍 <b>Merge Request Approval</b> ✅ - 🦊:repo by :user',
],
'unapproval' => [
'title' => '👎 <b>Merge Request Unapproval</b> ❌ - 🦊:repo by :user',
],
'update' => [
'title' => '🛠️ <b>Merge Request Updated</b> - 🦊:repo by :user',
],
];
12 changes: 12 additions & 0 deletions lang/en/events/gitlab/note.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php

return [
'title' => [
'commit' => '💬 <b>New Comment on Commit</b> - 🦊:repo by :user',
'issue' => '💬 <b>New Comment on Issue</b> - 🦊:repo by :user',
'merge_request' => '💬 <b>New Comment on Merge Request</b> - 🦊:repo by :user',
'snippet' => '💬 <b>New Comment on Snippet</b> - 🦊:repo by :user',
],
'view_comment' => '🔗 View Comment: :link',
'snippet_comment' => 'View Comment on Snippet',
];
9 changes: 9 additions & 0 deletions lang/en/events/gitlab/push.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

return [
'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>',
],
];
9 changes: 9 additions & 0 deletions lang/en/events/gitlab/release.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

return [
'title' => [
'create' => '✅🚀 <b>Release Created</b> - 🦊:repo by :user',
'update' => '📝🚀 <b>Release Updated</b> - 🦊:repo by :user',
'delete' => '🚫🚀 <b>Release Deleted</b> - 🦊:repo by :user',
],
];
7 changes: 7 additions & 0 deletions lang/en/events/gitlab/tag_push.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

return [
'title' => '⚙️ <b>A new tag has been pushed to the project</b> 🦊:repo',
'name' => '🔖 <b>Tag Name</b>: :tag_name',
'pusher' => '👤 Pushed by: <b>:pusher</b>',
];
10 changes: 10 additions & 0 deletions lang/en/events/gitlab/wiki_page.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php

return [
'title' => [
'create' => '📒 <b>Wiki Page Created</b> - 🦊:repo by :user',
'update' => '📝 <b>Wiki Page Updated</b> - 🦊:repo by :user',
'delete' => '🗑 <b>Wiki Page Deleted</b> - 🦊:repo by :user',
],
'name' => '📝 Page Name: <b>:name</b>',
];
10 changes: 10 additions & 0 deletions lang/en/events/shared/gitlab.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php

return [
'_body' => [
'title' => '📖 <b>Content:</b>',
],
'_assignee' => [
'title' => '🙋 Assignee: ',
],
];
8 changes: 4 additions & 4 deletions lang/ja/events/github/pull_request.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
return [
'review' => '👥 Reviewers: ',
'closed' => [
'title' => ':title - 🦑:issue by :user',
'title' => ':title - 🦑:repo by :user',
'title_merged' => '✅ <b>Pull Request Merged</b>',
'title_closed' => ' <b>Pull Request Closed</b>',
'title_closed' => '🚫 <b>Pull Request Closed</b>',
],
'opened' => [
'title' => '👷‍♂️🛠️ <b>New Pull Request</b> - 🦑:issue by :user',
'title' => '👷‍♂️🛠️ <b>New Pull Request</b> - 🦑:repo by :user',
],
'reopened' => [
'title' => '👷‍♂️🛠️ <b>Reopened Pull Request</b> - 🦑:issue by :user',
'title' => '👷‍♂️🛠️ <b>Reopened Pull Request</b> - 🦑:repo by :user',
],
];
6 changes: 3 additions & 3 deletions lang/ja/events/github/push.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

return [
'default' => [
'title' => '👷⚙️ <b>:count</b> new :noun to 🦑<b>:user:<code>:branch</code></b>',
'commit' => ':commit: :commit_message - by <i>:commit_name</i>',
'pushed' => '👤 Pushed by : <b>:name</b>',
'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>',
],
];
2 changes: 1 addition & 1 deletion lang/ja/events/github/workflow_run.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@
'title' => ' <b>Workflow Requested</b> form 🦑:user',
'body' => 'Running workflow: 💥 <b>:name</b> ⏳',
],
'link' => '🔗 Link: :link',
'link' => '🔗 Workflow run link: :link',
];
9 changes: 9 additions & 0 deletions lang/ja/events/gitlab/feature_flag.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

return [
'title' => [
'enabled' => '<b>Feature Flag Enabled</b> 🦊:flag_tag by :user_tag',
'disabled' => '<b>Feature Flag Disabled</b> 🦊:flag_tag by :user_tag',
],
'name' => 'Name: <b>:flag_name</b>',
];
Loading

0 comments on commit d77f56c

Please sign in to comment.