# HG changeset patch # User alfadur # Date 1569963189 -10800 # Node ID 96e438b114f0ef8c0887b6538434e15d9665ed15 # Parent a158ff8f84ef2f035c34d60e4efa801d97b4dfc3 add missing file diff -r a158ff8f84ef -r 96e438b114f0 rust/hedgewars-server/src/handlers/strings.rs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rust/hedgewars-server/src/handlers/strings.rs Tue Oct 01 23:53:09 2019 +0300 @@ -0,0 +1,9 @@ +pub const ACCESS_DENIED: &str = "Access denied."; +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_USER: &str = "No such user."; +pub const ROOM_EXISTS: &str = "A room with the same name already exists."; +pub const ROOM_FULL: &str = "This room is already full."; +pub const ROOM_JOIN_RESTRICTED: &str = "Access denied. This room currently doesn't allow joining."; +pub const VARIABLE_UPDATED: &str = "Server variable has been updated."; +pub const WRONG_PROTOCOL: &str = "Room version incompatible to your Hedgewars version!";