Skip to content

Commit 2b9d825

Browse files
committed
improve welcome
1 parent 9e8d5af commit 2b9d825

4 files changed

Lines changed: 5 additions & 4 deletions

File tree

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ mod_name=Channel
3030
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
3131
mod_license=GNU GPL 3.0
3232
# The mod version. See https://semver.org/
33-
mod_version=26.1.2-33+beta
33+
mod_version=26.1.2-34+beta
3434
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
3535
# This should match the base package used for the mod sources.
3636
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html

src/main/java/cn/ussshenzhou/channel/gui/LoginNotificationHelper.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ public class LoginNotificationHelper {
1818
public static void showNotification(ClientPlayerNetworkEvent.LoggingIn event) {
1919
TSimpleNotification.fire(
2020
Component.translatable("channel.welcome",
21-
ModKeyMappingRegistry.CONFIG.getKeyModifier().getCombinedName(ModKeyMappingRegistry.CONFIG.getKey(), () -> ModKeyMappingRegistry.CONFIG.getKey().getDisplayName()).getString()
21+
ModKeyMappingRegistry.CONFIG.getKeyModifier().getCombinedName(ModKeyMappingRegistry.CONFIG.getKey(), () -> ModKeyMappingRegistry.CONFIG.getKey().getDisplayName()).getString(),
22+
ModKeyMappingRegistry.PTT.getKeyModifier().getCombinedName(ModKeyMappingRegistry.PTT.getKey(), () -> ModKeyMappingRegistry.PTT.getKey().getDisplayName()).getString()
2223
),
2324
12,
2425
TSimpleNotification.Severity.TIP

src/main/resources/assets/channel/lang/en_us.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"channel.welcome": "Press [%1$s] to open the Channel config screen,\nand adjust your microphone and audio processing options.",
2+
"channel.welcome": "Press [%1$s] to open the Channel config screen,and adjust your microphone and audio processing options. \nPress [%2$s] to turn on/off mic.",
33

44
"key.category.channel.channel": "Channel",
55
"key.channel.config_screen": "Config Screen",

src/main/resources/assets/channel/lang/zh_cn.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"channel.welcome": "按下[%1$s]打开沉浸语音配置界面,\n调整您的麦克风和音频处理选项",
2+
"channel.welcome": "按下 [%1$s] 打开沉浸语音配置界面,调整您的麦克风和音频处理选项。\n按下 [%2$s] 切换麦克风静音",
33

44
"key.category.channel.channel": "沉浸语音",
55
"key.channel.config_screen": "配置界面",

0 commit comments

Comments
 (0)