Skip to content

Commit

Permalink
Merge pull request #78 from cslant/fix/update-gitlab-event-template-p…
Browse files Browse the repository at this point in the history
…hu-tong

Fix/update gitlab event template
  • Loading branch information
tanhongit authored May 20, 2024
2 parents 28162c9 + 298c197 commit db80ffd
Show file tree
Hide file tree
Showing 47 changed files with 179 additions and 174 deletions.
4 changes: 2 additions & 2 deletions lang/de/events/gitlab/feature_flag.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

return [
'title' => [
'enabled' => '<b>Feature Flag Enabled</b> 🦊:flag_tag by :user_tag',
'disabled' => '<b>Feature Flag Disabled</b> 🦊:flag_tag by :user_tag',
'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>',
];
16 changes: 8 additions & 8 deletions lang/de/events/gitlab/issues.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,26 @@
return [
'issue_title' => '📢',
'closed' => [
'title' => '🚫 <b>Issue Closed </b> to 🦊 :issue by :user',
'title' => '<b>Issue Closed </b> to :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',
],
],
],
'opened' => [
'title' => '⚠️ <b>New Issue</b> to 🦊 :issue by :user',
'title' => '<b>New Issue</b> to :issue by :user',
],
'reopened' => [
'title' => '⚠️ <b>Issue has been reopened</b> ⚠️ to 🦊 :issue by :user',
'title' => '<b>Issue has been reopened</b> :issue by :user',
],
];
20 changes: 10 additions & 10 deletions lang/de/events/gitlab/merge_request.php
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
<?php

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

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',
'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',
'view_comment' => 'View Comment: :link',
'snippet_comment' => 'View Comment on Snippet',
];
2 changes: 1 addition & 1 deletion lang/de/events/gitlab/push.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

return [
'default' => [
'title' => '👷⚙️ <b>:count</b> new :noun to 🦑<b>:repo:<code>:branch</code></b>',
'title' => '<b>:count</b> new :noun to :repo:<code>:branch</code></b>',
'commit' => '[:commit] :commit_message - by <i>:commit_by</i>',
'pusher' => '👤 Pushed by : <b>:name</b>',
],
Expand Down
8 changes: 5 additions & 3 deletions lang/de/events/gitlab/release.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

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',
'create' => '<b>Release Created</b> - :repo by :user',
'update' => '<b>Release Updated</b> - :repo by :user',
'delete' => '<b>Release Deleted</b> - :repo by :user',
],
'tag' => 'Tag',
'name' => 'Release Name',
];
4 changes: 2 additions & 2 deletions lang/en/events/gitlab/feature_flag.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

return [
'title' => [
'enabled' => '<b>Feature Flag Enabled</b> 🦊:flag_tag by :user_tag',
'disabled' => '<b>Feature Flag Disabled</b> 🦊:flag_tag by :user_tag',
'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>',
];
16 changes: 8 additions & 8 deletions lang/en/events/gitlab/issues.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,26 @@
return [
'issue_title' => '📢',
'closed' => [
'title' => '🚫 <b>Issue Closed </b> to 🦊 :issue by :user',
'title' => '<b>Issue Closed </b> to :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',
],
],
],
'opened' => [
'title' => '⚠️ <b>New Issue</b> to 🦊 :issue by :user',
'title' => '<b>New Issue</b> to :issue by :user',
],
'reopened' => [
'title' => '⚠️ <b>Issue has been reopened</b> ⚠️ to 🦊 :issue by :user',
'title' => '<b>Issue has been reopened</b> :issue by :user',
],
];
20 changes: 10 additions & 10 deletions lang/en/events/gitlab/merge_request.php
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
<?php

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

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',
'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',
'view_comment' => 'View Comment: :link',
'snippet_comment' => 'View Comment on Snippet',
];
2 changes: 1 addition & 1 deletion lang/en/events/gitlab/push.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

return [
'default' => [
'title' => '👷⚙️ <b>:count</b> new :noun to 🦑<b>:repo:<code>:branch</code></b>',
'title' => '<b>:count</b> new :noun to :repo:<code>:branch</code></b>',
'commit' => '[:commit] :commit_message - by <i>:commit_by</i>',
'pusher' => '👤 Pushed by : <b>:name</b>',
],
Expand Down
8 changes: 5 additions & 3 deletions lang/en/events/gitlab/release.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

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',
'create' => '<b>Release Created</b> - :repo by :user',
'update' => '<b>Release Updated</b> - :repo by :user',
'delete' => '<b>Release Deleted</b> - :repo by :user',
],
'tag' => 'Tag',
'name' => 'Release Name',
];
4 changes: 2 additions & 2 deletions lang/ja/events/gitlab/feature_flag.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

return [
'title' => [
'enabled' => '<b>Feature Flag Enabled</b> 🦊:flag_tag by :user_tag',
'disabled' => '<b>Feature Flag Disabled</b> 🦊:flag_tag by :user_tag',
'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>',
];
16 changes: 8 additions & 8 deletions lang/ja/events/gitlab/issues.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,26 @@
return [
'issue_title' => '📢',
'closed' => [
'title' => '🚫 <b>Issue Closed </b> to 🦊 :issue by :user',
'title' => '<b>Issue Closed </b> to :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',
],
],
],
'opened' => [
'title' => '⚠️ <b>New Issue</b> to 🦊 :issue by :user',
'title' => '<b>New Issue</b> to :issue by :user',
],
'reopened' => [
'title' => '⚠️ <b>Issue has been reopened</b> ⚠️ to 🦊 :issue by :user',
'title' => '<b>Issue has been reopened</b> :issue by :user',
],
];
20 changes: 10 additions & 10 deletions lang/ja/events/gitlab/merge_request.php
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
<?php

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

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',
'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',
'view_comment' => 'View Comment: :link',
'snippet_comment' => 'View Comment on Snippet',
];
2 changes: 1 addition & 1 deletion lang/ja/events/gitlab/push.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

return [
'default' => [
'title' => '👷⚙️ <b>:count</b> new :noun to 🦑<b>:repo:<code>:branch</code></b>',
'title' => '<b>:count</b> new :noun to :repo:<code>:branch</code></b>',
'commit' => '[:commit] :commit_message - by <i>:commit_by</i>',
'pusher' => '👤 Pushed by : <b>:name</b>',
],
Expand Down
8 changes: 5 additions & 3 deletions lang/ja/events/gitlab/release.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

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',
'create' => '<b>Release Created</b> - :repo by :user',
'update' => '<b>Release Updated</b> - :repo by :user',
'delete' => '<b>Release Deleted</b> - :repo by :user',
],
'tag' => 'Tag',
'name' => 'Release Name',
];
4 changes: 2 additions & 2 deletions lang/vi/events/gitlab/feature_flag.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

return [
'title' => [
'enabled' => '<b>Feature Flag Enabled</b> 🦊:flag_tag by :user_tag',
'disabled' => '<b>Feature Flag Disabled</b> 🦊:flag_tag by :user_tag',
'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 db80ffd

Please sign in to comment.