Skip to content

Commit

Permalink
Merge pull request cslant#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.