Skip to content

Commit e413d86

Browse files
committed
Added en-US and ru-RU localizations.
1 parent b9ec38e commit e413d86

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

src/main/kotlin/com/mairwunnx/projectessentials/projectessentialshome/commands/HomeCommand.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ object HomeCommand {
9999
)
100100
if (player.world.worldInfo.worldName == clientWorld) {
101101
player.teleport(targetWorld, xPos, yPos, zPos, yaw, pitch)
102-
sendMsg("home", player.commandSource, "home.success")
102+
sendMsg("home", player.commandSource, "home.success", home.home)
103103
} else {
104104
sendMsg("home", player.commandSource, "home.not_found")
105105
logger.info("Player ${player.name.string} try teleport to not exist home ${home.home}")
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"project_essentials_home.home.restricted": "§cYou §7don't have permission §cto teleport to home.",
3+
"project_essentials_home.home.success": "§6Teleported to home §7%0§6.",
4+
"project_essentials_home.home.set.restricted": "§cYou §7don't have permission §cto set new home.",
5+
"project_essentials_home.home.set.success": "§6New home with name §7\"%0\" §6has been saved.",
6+
"project_essentials_home.home.not_found": "§cHome with name §7\"%0\" §cnot found."
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"project_essentials_home.home.restricted": "§cУ вас §7нет прав §cна телепортацию к дому.",
3+
"project_essentials_home.home.success": "§6Вы телепортированы к дому §7%0§6.",
4+
"project_essentials_home.home.set.restricted": "§cУ вас §7нет прав §cна установку точки нового дома.",
5+
"project_essentials_home.home.set.success": "§6Новая точка дома была установлена с именем §7\"%0\"§6.",
6+
"project_essentials_home.home.not_found": "§cТочка дома с именем §7\"%0\" §cне найдена."
7+
}

0 commit comments

Comments
 (0)