From 6f06cd42b8e56aaae2be853a31d73d0115a39c2a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 4 Apr 2015 15:45:30 +0300 Subject: Add chat command for create chat room (incomplete). New chat command: /chatroom NAME --- src/resources/notifications.h | 8 ++++++++ src/resources/notifytypes.h | 2 ++ 2 files changed, 10 insertions(+) (limited to 'src/resources') diff --git a/src/resources/notifications.h b/src/resources/notifications.h index 019879aba..e6d577633 100644 --- a/src/resources/notifications.h +++ b/src/resources/notifications.h @@ -511,6 +511,14 @@ namespace NotifyManager // TRANSLATORS: notification message N_("You got negative manner points from %s."), NotifyFlags::STRING}, + {"chat room limit exceed", + // TRANSLATORS: notification message + N_("Chat room limit exceeded"), + NotifyFlags::EMPTY}, + {"chat room already exists", + // TRANSLATORS: notification message + N_("Chat room already exists"), + NotifyFlags::EMPTY}, }; } // namespace NotifyManager #endif // RESOURCES_NOTIFICATIONS_H diff --git a/src/resources/notifytypes.h b/src/resources/notifytypes.h index 27bad8673..3269192a3 100644 --- a/src/resources/notifytypes.h +++ b/src/resources/notifytypes.h @@ -146,6 +146,8 @@ namespace NotifyTypes MANNER_CHANGED, MANNER_POSITIVE_POINTS, MANNER_NEGATIVE_POINTS, + ROOM_LIMIT_EXCEEDED, + ROOM_ALREADY_EXISTS, TYPE_END }; -- cgit v1.2.3-70-g09d2