diff --git a/lang/de/tools/menu.php b/lang/de/tools/menu.php index fa225a2..0869d81 100644 --- a/lang/de/tools/menu.php +++ b/lang/de/tools/menu.php @@ -10,8 +10,9 @@ 'usage' => 'Show step by step usage', 'server' => 'To get Server Information', 'settings' => 'Go to settings of the bot', + 'set_menu' => 'Set the menu of the bot', 'back' => 'Back', - 'discussion' => '🗨 Discussion', - 'source_code' => '💠 Source Code', + 'discussion' => 'Discussion', + 'source_code' => 'Source Code', ]; diff --git a/lang/en/tools/menu.php b/lang/en/tools/menu.php index fa225a2..0869d81 100644 --- a/lang/en/tools/menu.php +++ b/lang/en/tools/menu.php @@ -10,8 +10,9 @@ 'usage' => 'Show step by step usage', 'server' => 'To get Server Information', 'settings' => 'Go to settings of the bot', + 'set_menu' => 'Set the menu of the bot', 'back' => 'Back', - 'discussion' => '🗨 Discussion', - 'source_code' => '💠 Source Code', + 'discussion' => 'Discussion', + 'source_code' => 'Source Code', ]; diff --git a/lang/ja/tools/menu.php b/lang/ja/tools/menu.php index fa225a2..0869d81 100644 --- a/lang/ja/tools/menu.php +++ b/lang/ja/tools/menu.php @@ -10,8 +10,9 @@ 'usage' => 'Show step by step usage', 'server' => 'To get Server Information', 'settings' => 'Go to settings of the bot', + 'set_menu' => 'Set the menu of the bot', 'back' => 'Back', - 'discussion' => '🗨 Discussion', - 'source_code' => '💠 Source Code', + 'discussion' => 'Discussion', + 'source_code' => 'Source Code', ]; diff --git a/lang/vi/tools/menu.php b/lang/vi/tools/menu.php index fa225a2..0869d81 100644 --- a/lang/vi/tools/menu.php +++ b/lang/vi/tools/menu.php @@ -10,8 +10,9 @@ 'usage' => 'Show step by step usage', 'server' => 'To get Server Information', 'settings' => 'Go to settings of the bot', + 'set_menu' => 'Set the menu of the bot', 'back' => 'Back', - 'discussion' => '🗨 Discussion', - 'source_code' => '💠 Source Code', + 'discussion' => 'Discussion', + 'source_code' => 'Source Code', ]; diff --git a/src/Services/CommandService.php b/src/Services/CommandService.php index 69fb414..efaa7ae 100644 --- a/src/Services/CommandService.php +++ b/src/Services/CommandService.php @@ -108,6 +108,9 @@ public static function menuCommands(): array ], [ 'command' => '/settings', 'description' => __('tg-notifier::tools/menu.settings'), + ], [ + 'command' => '/set_menu', + 'description' => __('tg-notifier::tools/menu.set_menu'), ], ]; } diff --git a/src/Traits/Markup.php b/src/Traits/Markup.php index 0cd09d1..e7e40d0 100644 --- a/src/Traits/Markup.php +++ b/src/Traits/Markup.php @@ -15,9 +15,9 @@ public function menuMarkup(Telegram $telegram): array { return [ [ - $telegram->buildInlineKeyBoardButton(__('tg-notifier::tools/menu.discussion'), config('telegram-git-notifier.author.discussion')), + $telegram->buildInlineKeyBoardButton('🗨 '.__('tg-notifier::tools/menu.discussion'), config('telegram-git-notifier.author.discussion')), ], [ - $telegram->buildInlineKeyBoardButton(__('tg-notifier::tools/menu.source_code'), config('telegram-git-notifier.author.source_code')), + $telegram->buildInlineKeyBoardButton('💠 '.__('tg-notifier::tools/menu.source_code'), config('telegram-git-notifier.author.source_code')), ], ]; }