Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update view template for bot's tool #38

Merged
merged 4 commits into from
Nov 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions lang/de/globals/access_denied.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

return [
'title' => '🔒 <b>Access Denied to Bot</b> 🚫',
'chat_id' => '🛑 <b>Chat ID:</b> <code>:chatId</code> ',
'message' => 'Please contact the administrator for further information, Thank You..',
];
6 changes: 6 additions & 0 deletions lang/de/tools/about.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php

return [
'title' => 'Thanks for using our bot.',
'description' => 'The bot is designed to send notifications based on GitHub and GitLab events from your repo instantly to your Telegram account.',
];
8 changes: 8 additions & 0 deletions lang/de/tools/custom_event.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php

return [
'title' => 'Go to check the :link for more information about events.',
'instruction' => '<b>Click and configure child events if the option has the ⚙ icon.</b>',
'eventSelection' => 'And select an event to enable or disable notifications:',
'documentation' => 'documentation',
];
6 changes: 6 additions & 0 deletions lang/de/tools/custom_event_action.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php

return [
'title' => 'Setting actions for the <b>:event</b> event :platformIcon.',
'actionPrompt' => 'Please select an action of this event to enable or disable notifications:',
];
5 changes: 5 additions & 0 deletions lang/de/tools/id.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php

return [
'title' => 'Your id is <code>:chat_id</code>',
];
17 changes: 17 additions & 0 deletions lang/de/tools/menu.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?php

return [
'title' => 'BOT MENU',

'start' => 'Welcome to the bot',
'menu' => 'Show menu of the bot',
'token' => 'Show token of the bot',
'id' => 'Show the ID of the current chat',
'usage' => 'Show step by step usage',
'server' => 'To get Server Information',
'settings' => 'Go to settings of the bot',
'back' => 'Back',

'discussion' => '🗨 Discussion',
'source_code' => '💠 Source Code',
];
8 changes: 8 additions & 0 deletions lang/de/tools/server.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php

return [
'address' => 'Server Address : :link',
'name' => 'Server Name : :link',
'port' => 'Server Port : :link',
'software' => 'Server Software : :link',
];
6 changes: 6 additions & 0 deletions lang/de/tools/set_menu_cmd.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php

return [
'title' => '✅ Menu button set successfully!',
'restartMessage' => 'Please restart the bot to apply the changes.',
];
5 changes: 5 additions & 0 deletions lang/de/tools/settings.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php

return [
'title' => '<b>Settings for your bot</b> 🤖',
];
8 changes: 8 additions & 0 deletions lang/de/tools/start.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php

return [
'title' => '<b>🙋🏻 :appName 🤓</b>',
'firstName' => 'Hey <b>:firstName</b>,',
'notification' => 'I can send you notifications from your 🦑<b>GitHub</b> or 🦊<b>GitLab</b> Repository instantly to your Telegram.
Use /menu for more options.',
];
5 changes: 5 additions & 0 deletions lang/de/tools/token.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php

return [
'title' => 'This bot token is: <code>:token</code>',
];
24 changes: 24 additions & 0 deletions lang/de/tools/usage.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?php

return [
'github' => [
'title' => '<b>Adding webhook (Web Address) to GitHub repositories</b> 🦑',
'webhookSetupSteps' => [
'1) Redirect to <i>Repository Settings->Webhooks->Add Webhook</i>.',
'2) Set your Payload URL.',
'3) Set content type to \"<code>application/x-www-form-urlencoded</code>\".',
'4) Choose events you would like to trigger in this webhook. (Recommended: <code>Let me select individual events</code>, and choose any events you want).',
'5) Check <code>Active</code> checkbox. And click <code>Add Webhook</code>.',
],
],
'gitlab' => [
'title' => '<b>Adding webhook (Web Address) to GitLab repositories</b> 🦊',
'webhookSetupSteps' => [
'1) Redirect to <i>Repository Settings->Webhooks->Add new webhook</i>.',
'2) Set your Payload URL.',
'3) Choose events you would like to trigger in this webhook.',
'4) Check <code>Enable SSL verification</code> if you are using SSL. And click <code>Add Webhook</code>.',
],
],
'completionMessage' => '<b>That it. you will receive all notifications through me 🤗</b>',
];
7 changes: 7 additions & 0 deletions lang/en/globals/access_denied.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

return [
'title' => '🔒 <b>Access Denied to Bot</b> 🚫',
'chat_id' => '🛑 <b>Chat ID:</b> <code>:chatId</code> ',
'message' => 'Please contact the administrator for further information, Thank You..',
];
6 changes: 6 additions & 0 deletions lang/en/tools/about.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php

return [
'title' => 'Thanks for using our bot.',
'description' => 'The bot is designed to send notifications based on GitHub and GitLab events from your repo instantly to your Telegram account.',
];
8 changes: 8 additions & 0 deletions lang/en/tools/custom_event.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php

return [
'title' => 'Go to check the :link for more information about events.',
'instruction' => '<b>Click and configure child events if the option has the ⚙ icon.</b>',
'eventSelection' => 'And select an event to enable or disable notifications:',
'documentation' => 'documentation',
];
6 changes: 6 additions & 0 deletions lang/en/tools/custom_event_action.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php

return [
'title' => 'Setting actions for the <b>:event</b> event :platformIcon.',
'actionPrompt' => 'Please select an action of this event to enable or disable notifications:',
];
5 changes: 5 additions & 0 deletions lang/en/tools/id.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php

return [
'title' => 'Your id is <code>:chat_id</code>',
];
8 changes: 8 additions & 0 deletions lang/en/tools/server.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php

return [
'address' => 'Server Address : :link',
'name' => 'Server Name : :link',
'port' => 'Server Port : :link',
'software' => 'Server Software : :link',
];
6 changes: 6 additions & 0 deletions lang/en/tools/set_menu_cmd.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php

return [
'title' => '✅ Menu button set successfully!',
'restartMessage' => 'Please restart the bot to apply the changes.',
];
5 changes: 5 additions & 0 deletions lang/en/tools/settings.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php

return [
'title' => '<b>Settings for your bot</b> 🤖',
];
8 changes: 8 additions & 0 deletions lang/en/tools/start.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php

return [
'title' => '<b>🙋🏻 :appName 🤓</b>',
'firstName' => 'Hey <b>:firstName</b>,',
'notification' => 'I can send you notifications from your 🦑<b>GitHub</b> or 🦊<b>GitLab</b> Repository instantly to your Telegram.
Use /menu for more options.',
];
5 changes: 5 additions & 0 deletions lang/en/tools/token.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php

return [
'title' => 'This bot token is: <code>:token</code>',
];
24 changes: 24 additions & 0 deletions lang/en/tools/usage.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?php

return [
'github' => [
'title' => '<b>Adding webhook (Web Address) to GitHub repositories</b> 🦑',
'webhookSetupSteps' => [
'1) Redirect to <i>Repository Settings->Webhooks->Add Webhook</i>.',
'2) Set your Payload URL.',
'3) Set content type to \"<code>application/x-www-form-urlencoded</code>\".',
'4) Choose events you would like to trigger in this webhook. (Recommended: <code>Let me select individual events</code>, and choose any events you want).',
'5) Check <code>Active</code> checkbox. And click <code>Add Webhook</code>.',
],
],
'gitlab' => [
'title' => '<b>Adding webhook (Web Address) to GitLab repositories</b> 🦊',
'webhookSetupSteps' => [
'1) Redirect to <i>Repository Settings->Webhooks->Add new webhook</i>.',
'2) Set your Payload URL.',
'3) Choose events you would like to trigger in this webhook.',
'4) Check <code>Enable SSL verification</code> if you are using SSL. And click <code>Add Webhook</code>.',
],
],
'completionMessage' => '<b>That it. you will receive all notifications through me 🤗</b>',
];
7 changes: 7 additions & 0 deletions lang/ja/globals/access_denied.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

return [
'title' => '🔒 <b>Access Denied to Bot</b> 🚫',
'chat_id' => '🛑 <b>Chat ID:</b> <code>:chatId</code> ',
'message' => 'Please contact the administrator for further information, Thank You..',
];
6 changes: 6 additions & 0 deletions lang/ja/tools/about.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php

return [
'title' => 'Thanks for using our bot.',
'description' => 'The bot is designed to send notifications based on GitHub and GitLab events from your repo instantly to your Telegram account.',
];
7 changes: 7 additions & 0 deletions lang/ja/tools/custom_event.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

return [
'title' => 'Go to check the :link for more information about events.',
'instruction' => '<b>Click and configure child events if the option has the ⚙ icon.</b>',
'eventSelection' => 'And select an event to enable or disable notifications:',
];
6 changes: 6 additions & 0 deletions lang/ja/tools/custom_event_action.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php

return [
'title' => 'Setting actions for the <b>:event</b> event :platformIcon.',
'actionPrompt' => 'Please select an action of this event to enable or disable notifications:',
];
5 changes: 5 additions & 0 deletions lang/ja/tools/id.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php

return [
'title' => 'Your id is <code>:chat_id</code>',
];
17 changes: 17 additions & 0 deletions lang/ja/tools/menu.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?php

return [
'title' => 'BOT MENU',

'start' => 'Welcome to the bot',
'menu' => 'Show menu of the bot',
'token' => 'Show token of the bot',
'id' => 'Show the ID of the current chat',
'usage' => 'Show step by step usage',
'server' => 'To get Server Information',
'settings' => 'Go to settings of the bot',
'back' => 'Back',

'discussion' => '🗨 Discussion',
'source_code' => '💠 Source Code',
];
8 changes: 8 additions & 0 deletions lang/ja/tools/server.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php

return [
'address' => 'Server Address : :link',
'name' => 'Server Name : :link',
'port' => 'Server Port : :link',
'software' => 'Server Software : :link',
];
6 changes: 6 additions & 0 deletions lang/ja/tools/set_menu_cmd.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php

return [
'title' => '✅ Menu button set successfully!',
'restartMessage' => 'Please restart the bot to apply the changes.',
];
5 changes: 5 additions & 0 deletions lang/ja/tools/settings.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php

return [
'title' => '<b>Settings for your bot</b> 🤖',
];
8 changes: 8 additions & 0 deletions lang/ja/tools/start.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php

return [
'title' => '<b>🙋🏻 :appName 🤓</b>',
'firstName' => 'Hey <b>:firstName</b>,',
'notification' => 'I can send you notifications from your 🦑<b>GitHub</b> or 🦊<b>GitLab</b> Repository instantly to your Telegram.
Use /menu for more options.',
];
5 changes: 5 additions & 0 deletions lang/ja/tools/token.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php

return [
'title' => 'This bot token is: <code>:token</code>',
];
24 changes: 24 additions & 0 deletions lang/ja/tools/usage.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?php

return [
'github' => [
'title' => '<b>Adding webhook (Web Address) to GitHub repositories</b> 🦑',
'webhookSetupSteps' => [
'1) Redirect to <i>Repository Settings->Webhooks->Add Webhook</i>.',
'2) Set your Payload URL.',
'3) Set content type to \"<code>application/x-www-form-urlencoded</code>\".',
'4) Choose events you would like to trigger in this webhook. (Recommended: <code>Let me select individual events</code>, and choose any events you want).',
'5) Check <code>Active</code> checkbox. And click <code>Add Webhook</code>.',
],
],
'gitlab' => [
'title' => '<b>Adding webhook (Web Address) to GitLab repositories</b> 🦊',
'webhookSetupSteps' => [
'1) Redirect to <i>Repository Settings->Webhooks->Add new webhook</i>.',
'2) Set your Payload URL.',
'3) Choose events you would like to trigger in this webhook.',
'4) Check <code>Enable SSL verification</code> if you are using SSL. And click <code>Add Webhook</code>.',
],
],
'completionMessage' => '<b>That it. you will receive all notifications through me 🤗</b>',
];
7 changes: 7 additions & 0 deletions lang/vi/globals/access_denied.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

return [
'title' => '🔒 <b>Access Denied to Bot</b> 🚫',
'chat_id' => '🛑 <b>Chat ID:</b> <code>:chatId</code> ',
'message' => 'Please contact the administrator for further information, Thank You..',
];
6 changes: 6 additions & 0 deletions lang/vi/tools/about.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php

return [
'title' => 'Thanks for using our bot.',
'description' => 'The bot is designed to send notifications based on GitHub and GitLab events from your repo instantly to your Telegram account.',
];
7 changes: 7 additions & 0 deletions lang/vi/tools/custom_event.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

return [
'title' => 'Go to check the :link for more information about events.',
'instruction' => '<b>Click and configure child events if the option has the ⚙ icon.</b>',
'eventSelection' => 'And select an event to enable or disable notifications:',
];
6 changes: 6 additions & 0 deletions lang/vi/tools/custom_event_action.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php

return [
'title' => 'Setting actions for the <b>:event</b> event :platformIcon.',
'actionPrompt' => 'Please select an action of this event to enable or disable notifications:',
];
5 changes: 5 additions & 0 deletions lang/vi/tools/id.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php

return [
'title' => 'Your id is <code>:chat_id</code>',
];
17 changes: 17 additions & 0 deletions lang/vi/tools/menu.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?php

return [
'title' => 'BOT MENU',

'start' => 'Welcome to the bot',
'menu' => 'Show menu of the bot',
'token' => 'Show token of the bot',
'id' => 'Show the ID of the current chat',
'usage' => 'Show step by step usage',
'server' => 'To get Server Information',
'settings' => 'Go to settings of the bot',
'back' => 'Back',

'discussion' => '🗨 Discussion',
'source_code' => '💠 Source Code',
];
8 changes: 8 additions & 0 deletions lang/vi/tools/server.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php

return [
'address' => 'Server Address : :link',
'name' => 'Server Name : :link',
'port' => 'Server Port : :link',
'software' => 'Server Software : :link',
];
Loading