diff options
Diffstat (limited to 'bot/src/localization/line_id.hpp')
| -rw-r--r-- | bot/src/localization/line_id.hpp | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/bot/src/localization/line_id.hpp b/bot/src/localization/line_id.hpp new file mode 100644 index 0000000..41ceec6 --- /dev/null +++ b/bot/src/localization/line_id.hpp @@ -0,0 +1,56 @@ +#pragma once + +#include <optional> +#include <string> + +namespace bot { + namespace loc { + enum LineId { + MsgOwner, + + ArgumentSubcommand, + ArgumentMessage, + ArgumentInterval, + ArgumentName, + ArgumentTarget, + ArgumentValue, + ArgumentAmount, + + ErrorTemplate, + ErrorNotEnoughArguments, + ErrorIncorrectArgument, + ErrorIncompatibleName, + ErrorNamesakeCreation, + ErrorNotFound, + ErrorSomethingWentWrong, + ErrorExternalAPIError, + ErrorInsufficientRights, + ErrorIllegalCommand, + + PingResponse, + + EventOn, + EventOff, + + NotifySub, + NotifyUnsub, + + JoinResponse, + JoinResponseInChat, + JoinAlreadyIn, + JoinRejoined, + JoinFromOtherChat, + JoinNotAllowed, + + CustomcommandNew, + CustomcommandDelete, + + TimerNew, + TimerDelete, + + HelpResponse + }; + + std::optional<LineId> string_to_line_id(const std::string &str); + } +} |
