Skip to content

Commit 4ed484e

Browse files
authored
Merge pull request #77 from tanhongit/update-event-template
fix: update menu translations
2 parents db80ffd + de1b0ef commit 4ed484e

File tree

6 files changed

+17
-10
lines changed

6 files changed

+17
-10
lines changed

lang/de/tools/menu.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@
1010
'usage' => 'Show step by step usage',
1111
'server' => 'To get Server Information',
1212
'settings' => 'Go to settings of the bot',
13+
'set_menu' => 'Set the menu of the bot',
1314
'back' => 'Back',
1415

15-
'discussion' => '🗨 Discussion',
16-
'source_code' => '💠 Source Code',
16+
'discussion' => 'Discussion',
17+
'source_code' => 'Source Code',
1718
];

lang/en/tools/menu.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@
1010
'usage' => 'Show step by step usage',
1111
'server' => 'To get Server Information',
1212
'settings' => 'Go to settings of the bot',
13+
'set_menu' => 'Set the menu of the bot',
1314
'back' => 'Back',
1415

15-
'discussion' => '🗨 Discussion',
16-
'source_code' => '💠 Source Code',
16+
'discussion' => 'Discussion',
17+
'source_code' => 'Source Code',
1718
];

lang/ja/tools/menu.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@
1010
'usage' => 'Show step by step usage',
1111
'server' => 'To get Server Information',
1212
'settings' => 'Go to settings of the bot',
13+
'set_menu' => 'Set the menu of the bot',
1314
'back' => 'Back',
1415

15-
'discussion' => '🗨 Discussion',
16-
'source_code' => '💠 Source Code',
16+
'discussion' => 'Discussion',
17+
'source_code' => 'Source Code',
1718
];

lang/vi/tools/menu.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@
1010
'usage' => 'Show step by step usage',
1111
'server' => 'To get Server Information',
1212
'settings' => 'Go to settings of the bot',
13+
'set_menu' => 'Set the menu of the bot',
1314
'back' => 'Back',
1415

15-
'discussion' => '🗨 Discussion',
16-
'source_code' => '💠 Source Code',
16+
'discussion' => 'Discussion',
17+
'source_code' => 'Source Code',
1718
];

src/Services/CommandService.php

+3
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ public static function menuCommands(): array
108108
], [
109109
'command' => '/settings',
110110
'description' => __('tg-notifier::tools/menu.settings'),
111+
], [
112+
'command' => '/set_menu',
113+
'description' => __('tg-notifier::tools/menu.set_menu'),
111114
],
112115
];
113116
}

src/Traits/Markup.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ public function menuMarkup(Telegram $telegram): array
1515
{
1616
return [
1717
[
18-
$telegram->buildInlineKeyBoardButton(__('tg-notifier::tools/menu.discussion'), config('telegram-git-notifier.author.discussion')),
18+
$telegram->buildInlineKeyBoardButton('🗨 '.__('tg-notifier::tools/menu.discussion'), config('telegram-git-notifier.author.discussion')),
1919
], [
20-
$telegram->buildInlineKeyBoardButton(__('tg-notifier::tools/menu.source_code'), config('telegram-git-notifier.author.source_code')),
20+
$telegram->buildInlineKeyBoardButton('💠 '.__('tg-notifier::tools/menu.source_code'), config('telegram-git-notifier.author.source_code')),
2121
],
2222
];
2323
}

0 commit comments

Comments
 (0)