Skip to content
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.

Commit

Permalink
Localize death messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Pablete1234 committed Aug 30, 2015
1 parent 6ce8cbd commit 50eeaa5
Show file tree
Hide file tree
Showing 3 changed files with 125 additions and 54 deletions.
39 changes: 38 additions & 1 deletion src/main/java/in/twizmwaz/cardinal/chat/ChatConstant.java
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,44 @@ public enum ChatConstant {
UI_DEFAULT_CHANNEL_GLOBAL("userInterface.defaultChannelGlobal"),
UI_DEFAULT_CHANNEL_ADMIN("userInterface.defaultChannelAdmin"),
UI_DEFAULT_CHANNEL_TEAM("userInterface.defaultChannelTeam"),
UI_TIME_ELAPSED("userInterface.timeElapsed");
UI_TIME_ELAPSED("userInterface.timeElapsed"),

DEATH_EXPLOSION_SELF("deathMsg.explosionSelf"),
DEATH_EXPLOSION_PLAYER("deathMsg.explosionPlayer"),
DEATH_EXPLOSION("deathMsg.explosion"),
DEATH_CONTACT("deathMsg.contact"),
DEATH_DROWNING("deathMsg.drowning"),
DEATH_ATTACK_PLAYER_FISTS("deathMsg.attackPlayerFists"),
DEATH_ATTACK_PLAYER("deathMsg.attackPlayer"),
DEATH_ATTACK("deathMsg.attack"),
DEATH_FISTS("deathMsg.fists"),
DEATH_ENCHANTED("deathMsg.enchanted"),
DEATH_FALL_PLAYER_KNOCKED("deathMsg.fallPlayerKnocked"),
DEATH_FALL_PLAYER_KNOCKED_FISTS("deathMsg.fallPlayerKnockedFists"),
DEATH_FALL_PLAYER_SHOT("deathMsg.fallPlayerShot"),
DEATH_FALL_PLAYER_BLOWN("deathMsg.fallPlayerBlown"),
DEATH_SPLEEFED("deathMsg.spleefed"),
DEATH_FALL("deathMsg.fall"),
DEATH_FALLING_BLOCK("deathMsg.fallingBlock"),
DEATH_FIRE("deathMsg.fire"),
DEATH_LAVA("deathMsg.lava"),
DEATH_LIGHTNING("deathMsg.lightning"),
DEATH_POTION_PLAYER("deathMsg.potionPlayer"),
DEATH_POTION("deathMsg.potion"),
DEATH_PROJECTILE_PLAYER("deathMsg.projectilePlayer"),
DEATH_PROJECTILE("deathMsg.projectile"),
DEATH_STARVATION("deathMsg.starvation"),
DEATH_SUFFOCATION("deathMsg.suffocation"),
DEATH_SUICIDE("deathMsg.suicide"),
DEATH_THORNS_PLAYER("deathMsg.thornsPlayer"),
DEATH_THORNS("deathMsg.thorns"),
DEATH_VOID_PLAYER_KNOCKED("deathMsg.voidPlayerKnocked"),
DEATH_VOID_PLAYER_KNOCKED_FISTS("deathMsg.voidPlayerKnockedFists"),
DEATH_VOID_PLAYER_SHOT("deathMsg.voidPlayerShot"),
DEATH_VOID_PLAYER_BLOWN("deathMsg.voidPlayerBlown"),
DEATH_VOID("deathMsg.void"),
DEATH_WITHER("deathMsg.wither"),
DEATH_UNKNOWN("deathMsg.unknown");

private final String path;

Expand Down
Loading

0 comments on commit 50eeaa5

Please sign in to comment.