Skip to content

Commit a067dac

Browse files
authored
Merge pull request #80 from tanhongit/update-event-template
Update gitlab and tool template and translations
2 parents 83980a1 + 155a2f4 commit a067dac

37 files changed

+78
-75
lines changed

lang/de/app.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@
55
'unknown_callback' => 'Unknown Callback. Something went wrong!',
66
'invalid_request' => 'Invalid Request!',
77
'branch' => 'Branch',
8+
'commit' => 'Commit',
9+
'title' => 'Title',
810
];

lang/de/events/gitlab/push.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
<?php
22

33
return [
4-
'default' => [
5-
'title' => '<b>:count</b> new :noun to :repo:<code>:branch</code></b>',
6-
'commit' => '[:commit] :commit_message - by <i>:commit_by</i>',
7-
'pusher' => '👤 Pushed by : <b>:name</b>',
8-
],
4+
'title' => '<b>:count</b> new :noun to <b>:repo:<code>:branch</code></b>',
5+
'commit' => '[:commit] :commit_message - by <i>:commit_by</i>',
6+
'pusher' => 'Pushed by : <b>:name</b>',
7+
'new_branch_title' => '<b>A new branch has been pushed to the project</b> :repo',
98
];

lang/de/events/gitlab/tag_push.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
return [
44
'title' => '<b>A new tag has been pushed to the project</b> :repo',
5-
'name' => '<b>Tag Name</b>: :tag_name',
5+
'name' => 'Tag Name',
66
'pusher' => ' Pushed by',
77
];

lang/de/tools/start.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
return [
4-
'title' => '<b>🙋🏻 :appName 🤓</b>',
4+
'title' => '<b>:appName</b>',
55
'firstName' => 'Hey <b>:firstName</b>,',
66
'notification' => 'I can send you notifications from your 🦑<b>GitHub</b> or 🦊<b>GitLab</b> Repository instantly to your Telegram.
77
Use /menu for more options.',

lang/en/app.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@
55
'unknown_callback' => 'Unknown Callback. Something went wrong!',
66
'invalid_request' => 'Invalid Request!',
77
'branch' => 'Branch',
8+
'commit' => 'Commit',
9+
'title' => 'Title',
810
];

lang/en/events/gitlab/push.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
<?php
22

33
return [
4-
'default' => [
5-
'title' => '<b>:count</b> new :noun to :repo:<code>:branch</code></b>',
6-
'commit' => '[:commit] :commit_message - by <i>:commit_by</i>',
7-
'pusher' => '👤 Pushed by : <b>:name</b>',
8-
],
4+
'title' => '<b>:count</b> new :noun to <b>:repo:<code>:branch</code></b>',
5+
'commit' => '[:commit] :commit_message - by <i>:commit_by</i>',
6+
'pusher' => 'Pushed by : <b>:name</b>',
7+
'new_branch_title' => '<b>A new branch has been pushed to the project</b> :repo',
98
];

lang/en/events/gitlab/tag_push.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
return [
44
'title' => '<b>A new tag has been pushed to the project</b> :repo',
5-
'name' => '<b>Tag Name</b>: :tag_name',
5+
'name' => 'Tag Name',
66
'pusher' => ' Pushed by',
77
];

lang/en/tools/start.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
return [
4-
'title' => '<b>🙋🏻 :appName 🤓</b>',
4+
'title' => '<b>:appName</b>',
55
'firstName' => 'Hey <b>:firstName</b>,',
66
'notification' => 'I can send you notifications from your 🦑<b>GitHub</b> or 🦊<b>GitLab</b> Repository instantly to your Telegram.
77
Use /menu for more options.',

lang/ja/app.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@
55
'unknown_callback' => 'Unknown Callback. Something went wrong!',
66
'invalid_request' => 'Invalid Request!',
77
'branch' => 'Branch',
8+
'commit' => 'Commit',
9+
'title' => 'Title',
810
];

lang/ja/events/gitlab/push.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
<?php
22

33
return [
4-
'default' => [
5-
'title' => '<b>:count</b> new :noun to :repo:<code>:branch</code></b>',
6-
'commit' => '[:commit] :commit_message - by <i>:commit_by</i>',
7-
'pusher' => '👤 Pushed by : <b>:name</b>',
8-
],
4+
'title' => '<b>:count</b> new :noun to <b>:repo:<code>:branch</code></b>',
5+
'commit' => '[:commit] :commit_message - by <i>:commit_by</i>',
6+
'pusher' => 'Pushed by : <b>:name</b>',
7+
'new_branch_title' => '<b>A new branch has been pushed to the project</b> :repo',
98
];

0 commit comments

Comments
 (0)