rust/hedgewars-server/src/handlers/strings.rs
changeset 15532 f1205f33bf5b
parent 15519 b3157d218ae2
child 15534 bb93e9642b5b
equal deleted inserted replaced
15531:ede5f4ec48f3 15532:f1205f33bf5b
     1 pub const ACCESS_DENIED: &str = "Access denied.";
     1 pub const ACCESS_DENIED: &str = "Access denied.";
     2 pub const AUTHENTICATION_FAILED: &str = "Authentication failed.";
     2 pub const AUTHENTICATION_FAILED: &str = "Authentication failed";
       
     3 pub const BAD_NUMBER: &str = "Bad number.";
       
     4 pub const ILLEGAL_CLIENT_NAME: &str = "Illegal nickname! Nicknames 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 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: $()*+?[]^{|}";
     5 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: $()*+?[]^{|}";
       
     6 pub const NICKNAME_PROVIDED: &str = "Nickname already provided.";
       
     7 pub const NO_CHECKER_RIGHTS: &str = "No checker rights";
     4 pub const NO_ROOM: &str = "No such room.";
     8 pub const NO_ROOM: &str = "No such room.";
     5 pub const NO_TEAM: &str = "No such team.";
     9 pub const NO_TEAM: &str = "No such team.";
     6 pub const NO_TEAM_TO_REMOVE: &str = "Error: The team you tried to remove does not exist.";
    10 pub const NO_TEAM_TO_REMOVE: &str = "Error: The team you tried to remove does not exist.";
     7 pub const NO_USER: &str = "No such user.";
    11 pub const NO_USER: &str = "No such user.";
     8 pub const NOT_MASTER: &str = "You're not the room master!";
    12 pub const NOT_MASTER: &str = "You're not the room master!";
       
    13 pub const PROTOCOL_PROVIDED: &str = "Protocol already known.";
       
    14 pub const PROTOCOL_TOO_OLD: &str = "Protocol version is too old";
     9 pub const REPLAY_LOAD_FAILED: &str = "Could't load the replay";
    15 pub const REPLAY_LOAD_FAILED: &str = "Could't load the replay";
    10 pub const REPLAY_NOT_SUPPORTED: &str = "This server does not support replays!";
    16 pub const REPLAY_NOT_SUPPORTED: &str = "This server does not support replays!";
    11 pub const REGISTRATION_REQUIRED: &str = "This server only allows registered users to join.";
    17 pub const REGISTRATION_REQUIRED: &str = "This server only allows registered users to join.";
    12 pub const REGISTERED_ONLY_ENABLED: &str =
    18 pub const REGISTERED_ONLY_ENABLED: &str =
    13     "This server no longer allows unregistered players to join.";
    19     "This server no longer allows unregistered players to join.";