diff --git a/youmubot-osu/src/models/parse.rs b/youmubot-osu/src/models/parse.rs index fcb0532..c4aed0d 100644 --- a/youmubot-osu/src/models/parse.rs +++ b/youmubot-osu/src/models/parse.rs @@ -184,7 +184,7 @@ fn parse_language(s: impl AsRef) -> ParseResult { use Language::*; Ok(match t { 0 => Any, - 1 => Other, + 1 | 14 => Other, 2 => English, 3 => Japanese, 4 => Chinese, @@ -197,7 +197,7 @@ fn parse_language(s: impl AsRef) -> ParseResult { 11 => Italian, _ => { return Err(ParseError::InvalidValue { - field: "langugae", + field: "language", value: t.to_string(), }) }