rust/hedgewars-server/src/handlers/strings.rs
changeset 15440 96e438b114f0
child 15441 61a0bd0bb021
equal deleted inserted replaced
15439:a158ff8f84ef 15440:96e438b114f0
       
     1 pub const ACCESS_DENIED: &str = "Access denied.";
       
     2 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: $()*+?[]^{|}";
       
     3 pub const NO_ROOM: &str = "No such room.";
       
     4 pub const NO_USER: &str = "No such user.";
       
     5 pub const ROOM_EXISTS: &str = "A room with the same name already exists.";
       
     6 pub const ROOM_FULL: &str = "This room is already full.";
       
     7 pub const ROOM_JOIN_RESTRICTED: &str = "Access denied. This room currently doesn't allow joining.";
       
     8 pub const VARIABLE_UPDATED: &str = "Server variable has been updated.";
       
     9 pub const WRONG_PROTOCOL: &str = "Room version incompatible to your Hedgewars version!";