Skip to content

Commit

Permalink
Translate Strings to English
Browse files Browse the repository at this point in the history
  • Loading branch information
dlsf committed Apr 19, 2021
1 parent 64b20b5 commit 2ea78da
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public enum MainConfig implements IConfiguration {
/**
* The name of the {@link net.seliba.thirdpersonspectator.gui.SpectateGUI}.
*/
INVENTORY_NAME("spectate-gui.name", "&c&lSpieler"),
INVENTORY_NAME("spectate-gui.name", "&c&lPlayers"),

/**
* The size of the {@link net.seliba.thirdpersonspectator.gui.SpectateGUI}.
Expand All @@ -22,17 +22,17 @@ public enum MainConfig implements IConfiguration {
/**
* The lore of the Player heads in the {@link net.seliba.thirdpersonspectator.gui.SpectateGUI}.
*/
INVENTORY_LORE("spectate-gui.skull-lore", Collections.singletonList("&7Klicke, um diesen Spieler zu beobachten")),
INVENTORY_LORE("spectate-gui.skull-lore", Collections.singletonList("&7Click to spectate this player")),

/**
* Name of the item which skips the previous page in a {@link net.seliba.thirdpersonspectator.gui.GUI}.
*/
PREVIOUS_PAGE_BUTTON("gui.previous-button-name", "&bVorherige Seite"),
PREVIOUS_PAGE_BUTTON("gui.previous-button-name", "&bPrevious Page"),

/**
* Name of the item which skips the next page in a {@link net.seliba.thirdpersonspectator.gui.GUI}.
*/
NEXT_PAGE_BUTTON("gui.next-button-name", "&bNächste Seite");
NEXT_PAGE_BUTTON("gui.next-button-name", "&bNext Page");

private final String configKey;
private final Object defaultValue;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,22 @@ public enum Message implements IConfiguration {
/**
* Message which is sent to the console if it tries to execute a command.
*/
NO_PLAYER("no-player", "&cDazu musst du ein Spieler sein!"),
NO_PLAYER("no-player", "&cYou have to be a player to do that!"),

/**
* Messages which is sent when the requested Player for an operation is not online.
*/
PLAYER_NOT_ONLINE("player-not-online", "&cDieser Spieler ist nicht online!"),
PLAYER_NOT_ONLINE("player-not-online", "&cPlayer not found!"),

/**
* Message which is sent when a Player is requesting an operation on a Player which is (currently) unavailable.
*/
INVALID_TARGET("invalid-target", "&cDiesen Spieler kannst du nicht beobachten!"),
INVALID_TARGET("invalid-target", "&cYou can't spectate this player!"),

/**
* Message which is sent when a Player can't switch his GameMode because he is in the third-person spectator view.
*/
GAMEMODE_CHANGE_NOT_ALLOWED("gamemode-change-not-allowed", "&cDu darfst deinen Gamemode nicht wechseln!");
GAMEMODE_CHANGE_NOT_ALLOWED("gamemode-change-not-allowed", "&cYou're not allowed to change your gamemode!");

private final String configKey;
private final Object defaultValue;
Expand Down

0 comments on commit 2ea78da

Please sign in to comment.