rust/hedgewars-server/src/handlers/strings.rs
changeset 15504 4cc9ec732392
parent 15465 61a0bd0bb021
child 15541 b3157d218ae2
--- a/rust/hedgewars-server/src/handlers/strings.rs	Thu Oct 24 09:41:10 2019 -0400
+++ b/rust/hedgewars-server/src/handlers/strings.rs	Sat Oct 26 02:36:08 2019 +0300
@@ -2,7 +2,9 @@
 pub const AUTHENTICATION_FAILED: &str = "Authentication failed.";
 pub const ILLEGAL_ROOM_NAME: &str = "Illegal room name! A room name must be between 1-40 characters long, must not have a trailing or leading space and must not have any of these characters: $()*+?[]^{|}";
 pub const NO_ROOM: &str = "No such room.";
+pub const NO_TEAM: &str = "No such team.";
 pub const NO_USER: &str = "No such user.";
+pub const NOT_MASTER: &str = "You're not the room master!";
 pub const REPLAY_LOAD_FAILED: &str = "Could't load the replay";
 pub const REPLAY_NOT_SUPPORTED: &str = "This server does not support replays!";
 pub const REGISTRATION_REQUIRED: &str = "This server only allows registered users to join.";