Skip to content

Commit 4d0d826

Browse files
committed
fix
1 parent 670a637 commit 4d0d826

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public TransmitConfigPanel() {
5353
speed = addOption(Component.translatable("channel.config.net.flow"), new TLabel(Component.empty())).getB();
5454
netSampleRate.setTooltip(Tooltip.create(Component.translatable("channel.config.net.samplerate.tooltip")));
5555

56-
addOptionSplitter(Component.translatable("channel.config.subsapce"));
56+
addOptionSplitter(Component.translatable("channel.config.subspace"));
5757
off = (HorizontalTitledOption<TLabel>) addOption(Component.empty(), new TLabel(Component.translatable("channel.config.subspace.off"))).getB().getParent();
5858
address = (HorizontalTitledOption<TLabel>) addOption(Component.translatable("channel.config.subspace.address"), new TLabel(Component.empty())).getB().getParent();
5959
port = (HorizontalTitledOption<TLabel>) addOption(Component.translatable("channel.config.subspace.port"), new TLabel(Component.empty())).getB().getParent();

src/main/java/cn/ussshenzhou/channel/subspace/server/SubspaceConnection.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ protected void initChannel(SocketChannel ch) {
6363
new Varint21FrameDecoder(null),
6464

6565
new Varint21LengthFieldPrepender(),
66-
new AesGcmEncoder(cfg.subspaceFrequency)
66+
new AesGcmEncoder(cfg.getSubspaceFrequency())
6767
);
6868
}
6969
})

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
"channel.config.net.opus_bitrate": "Compressed Bitrate(kbps)",
8383
"channel.config.net.flow": "Compressed Upload Rate",
8484

85-
"channel.config.subsapce": " §oSubspace§r Relay",
85+
"channel.config.subspace": " §oSubspace§r Relay",
8686
"channel.config.subspace.off": "Subspace relay is not enabled on this server.",
8787
"channel.config.subspace.address": "Subspace Server Address",
8888
"channel.config.subspace.port": "Subspace Server Port",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
"channel.config.net.opus_bitrate": "压缩后比特率(kbps)",
8383
"channel.config.net.flow": "压缩后上传速率",
8484

85-
"channel.config.subsapce": " §o子空间§r中继",
85+
"channel.config.subspace": " §o子空间§r中继",
8686
"channel.config.subspace.off": "此服务器未启用子空间中继。",
8787
"channel.config.subspace.address": "远程服务器地址",
8888
"channel.config.subspace.port": "远程服务器端口",

0 commit comments

Comments
 (0)