Skip to content

Commit

Permalink
everything should be translated
Browse files Browse the repository at this point in the history
  • Loading branch information
xxAROX committed Jul 10, 2024
1 parent a994ee3 commit 53a132c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@

public class GeneralTab extends AUITab {
JLabel backend_status = new JLabel();

JPanel server_info = new JPanel();

public GeneralTab(AppUI frame) {
Expand Down Expand Up @@ -242,9 +241,9 @@ protected void init(JPanel contentPane) {
server_info = new JPanel();
server_info.setSize(500, 100);
server_info.setLayout(new GridLayout(2, 1));
server_info.setBorder(BorderFactory.createTitledBorder("Server Info"));
server_info.setBorder(BorderFactory.createTitledBorder(Lang.get("ui.tab.home.server_info.title")));

JLabel serverName = new JLabel("Not connected", SwingConstants.CENTER);
JLabel serverName = new JLabel(Lang.get("ui.tab.home.server_info.network.nop"), SwingConstants.CENTER);
serverName.setForeground(Color.RED);
serverName.setVisible(true);
serverName.setFocusable(false);
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/languages/de_DE.properties
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ ui.tab.home.discord.connected.nop=Discord-Status: Getrennt
ui.tab.home.discord.connected.yes=Discord-Status: Verbunden
ui.tab.home.discord.connected.rec=Erneut verbinden
ui.tab.home.discord.user=Discord-Benutzer: {username}
ui.tab.home.server_info.title=Server info:
ui.tab.home.server_info.network.yes=Verbunden mit {network}
ui.tab.home.server_info.network.nop=Nicht verbunden
ui.tab.home.server_info.server.yes=Spielt auf {server}
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/languages/en_US.properties
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ ui.tab.home.discord.connected.nop=Discord Status: Disconnected
ui.tab.home.discord.connected.yes=Discord Status: Connected
ui.tab.home.discord.connected.rec=Reconnect
ui.tab.home.discord.user=Discord User: {username}
ui.tab.home.server_info.title=Server info:
ui.tab.home.server_info.network.yes=Connected to {network}
ui.tab.home.server_info.network.nop=Not connected
ui.tab.home.server_info.server.yes=Playing {server}
Expand Down

0 comments on commit 53a132c

Please sign in to comment.