diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-04-05 22:18:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-04-06 01:56:21 +0300 |
commit | 4b5f5a0718db7074c32be2fff266a6bf77dbb518 (patch) | |
tree | 2502dc6173ec3d01f66528f2d303119ed5a146f9 /src/resources | |
parent | 75ddffb8941594a218ec23f86b8c16b5d54b728a (diff) | |
download | mv-4b5f5a0718db7074c32be2fff266a6bf77dbb518.tar.gz mv-4b5f5a0718db7074c32be2fff266a6bf77dbb518.tar.bz2 mv-4b5f5a0718db7074c32be2fff266a6bf77dbb518.tar.xz mv-4b5f5a0718db7074c32be2fff266a6bf77dbb518.zip |
eathena: impliment packet SMSG_CHAT_ROOM_JOIN_FAILED.
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/notifications.h | 28 | ||||
-rw-r--r-- | src/resources/notifytypes.h | 7 |
2 files changed, 35 insertions, 0 deletions
diff --git a/src/resources/notifications.h b/src/resources/notifications.h index eb2b520c6..5f3eeb5d5 100644 --- a/src/resources/notifications.h +++ b/src/resources/notifications.h @@ -535,6 +535,34 @@ namespace NotifyManager // TRANSLATORS: notification message N_("%s role changed to room owner."), NotifyFlags::STRING}, + {"chat room error full", + // TRANSLATORS: notification message + N_("Room join failed. Room full."), + NotifyFlags::EMPTY}, + {"chat room error password", + // TRANSLATORS: notification message + N_("Room join failed. Wrong password."), + NotifyFlags::EMPTY}, + {"chat room error kicked", + // TRANSLATORS: notification message + N_("Room join failed. Kicked from room."), + NotifyFlags::EMPTY}, + {"chat room error zeny", + // TRANSLATORS: notification message + N_("Room join failed. Not enought money."), + NotifyFlags::EMPTY}, + {"chat room error low level", + // TRANSLATORS: notification message + N_("Room join failed. Too low level."), + NotifyFlags::EMPTY}, + {"chat room error high level", + // TRANSLATORS: notification message + N_("Room join failed. Too high level."), + NotifyFlags::EMPTY}, + {"chat room error race", + // TRANSLATORS: notification message + N_("Room join failed. Wrong race."), + NotifyFlags::EMPTY}, }; } // namespace NotifyManager #endif // RESOURCES_NOTIFICATIONS_H diff --git a/src/resources/notifytypes.h b/src/resources/notifytypes.h index 76c0118cf..0b1a9285b 100644 --- a/src/resources/notifytypes.h +++ b/src/resources/notifytypes.h @@ -152,6 +152,13 @@ namespace NotifyTypes ROOM_LEAVE, ROOM_KICKED, ROOM_ROLE_OWNER, + ROOM_ERROR_FULL, + ROOM_ERROR_WRONG_PASSWORD, + ROOM_ERROR_KICKED, + ROOM_ERROR_ZENY, + ROOM_ERROR_LOW_LEVEL, + ROOM_ERROR_HIGH_LEVEL, + ROOM_ERROR_RACE, TYPE_END }; |