diff options
Diffstat (limited to 'src/localization/line_id.cpp')
| -rw-r--r-- | src/localization/line_id.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/localization/line_id.cpp b/src/localization/line_id.cpp index 2eca697..560ac90 100644 --- a/src/localization/line_id.cpp +++ b/src/localization/line_id.cpp @@ -10,6 +10,10 @@ namespace bot { return LineId::PingResponse; } + else if (str == "msg.owner") { + return LineId::MsgOwner; + } + else if (str == "argument.subcommand") { return LineId::ArgumentSubcommand; } else if (str == "argument.message") { @@ -56,6 +60,20 @@ namespace bot { return LineId::NotifyUnsub; } + else if (str == "join.response") { + return LineId::JoinResponse; + } else if (str == "join.response_in_chat") { + return LineId::JoinResponseInChat; + } else if (str == "join.already_in") { + return LineId::JoinAlreadyIn; + } else if (str == "join.rejoined") { + return LineId::JoinRejoined; + } else if (str == "join.from_other_chat") { + return LineId::JoinFromOtherChat; + } else if (str == "join.not_allowed") { + return LineId::JoinNotAllowed; + } + else { return std::nullopt; } |
