diff options
Diffstat (limited to 'src/notifications.h')
-rw-r--r-- | src/notifications.h | 213 |
1 files changed, 142 insertions, 71 deletions
diff --git a/src/notifications.h b/src/notifications.h index 5906eea74..981b6ecc6 100644 --- a/src/notifications.h +++ b/src/notifications.h @@ -41,6 +41,7 @@ namespace NotifyManager struct NotificationInfo final { + const char *sound; const char *text; const NotifyFlags flags; }; @@ -123,78 +124,148 @@ namespace NotifyManager static const NotificationInfo notifications[] = { - {"", EMPTY}, - {N_("Thanks for buying."), EMPTY}, - {N_("Unable to buy."), EMPTY}, - {N_("Nothing to sell."), EMPTY}, - {N_("Thanks for selling."), EMPTY}, - {N_("Unable to sell."), EMPTY}, - {N_("Unable to sell while trading."), EMPTY}, - {N_("Unable to sell unsellable item."), EMPTY}, - {N_("Online users: %d"), INT}, - {N_("Guild created."), EMPTY}, - {N_("You are already in guild."), EMPTY}, - {N_("Emperium check failed."), EMPTY}, - {N_("Unknown server response."), EMPTY}, - {N_("You have left the guild."), EMPTY}, - {N_("Could not invite user to guild."), GUILD}, - {N_("User rejected guild invite."), GUILD}, - {N_("User is now part of your guild."), GUILD}, - {N_("Your guild is full."), GUILD}, - {N_("Unknown guild invite response."), GUILD}, - {N_("%s has left your guild."), GUILD_STRING}, - {N_("You were kicked from guild."), EMPTY}, - {N_("%s has kicked from your guild."), GUILD_STRING}, - {N_("Failed to use item."), EMPTY}, - {N_("Unable to equip."), EMPTY}, - {N_("Could not create party."), EMPTY}, - {N_("Party successfully created."), EMPTY}, - {N_("You have left the party."), EMPTY}, - {N_("%s has joined your party."), PARTY_STRING}, - {N_("%s is already a member of a party."), PARTY_STRING}, - {N_("%s refused your invitation."), PARTY_STRING}, - {N_("%s is now a member of your party."), PARTY_STRING}, - {N_("%s can't join your party because party is full."), PARTY_STRING}, - {N_("QQQ Unknown invite response for %s."), PARTY_STRING}, - {N_("Experience sharing enabled."), PARTY}, - {N_("Experience sharing disabled."), PARTY}, - {N_("Experience sharing not possible."), PARTY}, - {N_("Item sharing enabled."), PARTY}, - {N_("Item sharing disabled."), PARTY}, - {N_("Item sharing not possible."), PARTY}, - {N_("%s has left your party."), PARTY_STRING}, - {N_("An unknown member tried to say: %s"), PARTY_STRING}, - {N_("%s is not in your party!"), PARTY_STRING}, - {N_("You picked up %s."), STRING}, - {N_("You spent %s."), STRING}, - {N_("Cannot raise skill!"), EMPTY}, - {N_("Equip arrows first."), EMPTY}, - {N_("Trading with %s isn't possible. Trade partner is too far away."), + {"", + "", EMPTY}, + {"buy done", + N_("Thanks for buying."), EMPTY}, + {"buy fail", + N_("Unable to buy."), EMPTY}, + {"sell empty", + N_("Nothing to sell."), EMPTY}, + {"sell done", + N_("Thanks for selling."), EMPTY}, + {"sell fail", + N_("Unable to sell."), EMPTY}, + {"sell trade fail", + N_("Unable to sell while trading."), EMPTY}, + {"sell unsellable fail", + N_("Unable to sell unsellable item."), EMPTY}, + {"online users", + N_("Online users: %d"), INT}, + {"guild created", + N_("Guild created."), EMPTY}, + {"guild already", + N_("You are already in guild."), EMPTY}, + {"guild create fail", + N_("Emperium check failed."), EMPTY}, + {"guild error", + N_("Unknown server response."), EMPTY}, + {"guild left", + N_("You have left the guild."), EMPTY}, + {"guild invite fail", + N_("Could not invite user to guild."), GUILD}, + {"guild invite rejected", + N_("User rejected guild invite."), GUILD}, + {"guild invite joined", + N_("User is now part of your guild."), GUILD}, + {"guild invite full", + N_("Your guild is full."), GUILD}, + {"guild invite error", + N_("Unknown guild invite response."), GUILD}, + {"guild user left", + N_("%s has left your guild."), GUILD_STRING}, + {"guild kicked", + N_("You were kicked from guild."), EMPTY}, + {"guild user kicked", + N_("%s has kicked from your guild."), GUILD_STRING}, + {"use failed", + N_("Failed to use item."), EMPTY}, + {"equip failed", + N_("Unable to equip."), EMPTY}, + {"party create failed", + N_("Could not create party."), EMPTY}, + {"party created", + N_("Party successfully created."), EMPTY}, + {"party left", + N_("You have left the party."), EMPTY}, + {"party user joined", + N_("%s has joined your party."), PARTY_STRING}, + {"party invite already member", + N_("%s is already a member of a party."), PARTY_STRING}, + {"party invite refused", + N_("%s refused your invitation."), PARTY_STRING}, + {"party invite done", + N_("%s is now a member of your party."), PARTY_STRING}, + {"party invite full", + N_("%s can't join your party because party is full."), PARTY_STRING}, + {"party invite error", + N_("QQQ Unknown invite response for %s."), PARTY_STRING}, + {"party exp sharing on", + N_("Experience sharing enabled."), PARTY}, + {"party exp sharing off", + N_("Experience sharing disabled."), PARTY}, + {"party exp sharing error", + N_("Experience sharing not possible."), PARTY}, + {"party item sharing on", + N_("Item sharing enabled."), PARTY}, + {"party item sharing off", + N_("Item sharing disabled."), PARTY}, + {"party item sharing error", + N_("Item sharing not possible."), PARTY}, + {"party user left", + N_("%s has left your party."), PARTY_STRING}, + {"party unknown user msg", + N_("An unknown member tried to say: %s"), PARTY_STRING}, + {"party user not in party", + N_("%s is not in your party!"), PARTY_STRING}, + {"money get", + N_("You picked up %s."), STRING}, + {"money spend", + N_("You spent %s."), STRING}, + {"skill raise error", + N_("Cannot raise skill!"), EMPTY}, + {"arrow equip needed", + N_("Equip arrows first."), EMPTY}, + {"trade fail far away", + N_("Trading with %s isn't possible. Trade partner is " + "too far away."), STRING}, + {"trade fail chat not exists", + N_("Trading with %s isn't possible. Character doesn't exist."), STRING}, - {N_("Trading with %s isn't possible. Character doesn't exist."), - STRING}, - {N_("Trade cancelled due to an unknown reason."), EMPTY}, - {N_("Trade with %s cancelled."), STRING}, - {N_("Unhandled trade cancel packet with %s"), STRING}, - {N_("Failed adding item. Trade partner is over weighted."), EMPTY}, - {N_("Failed adding item. Trade partner has no free slot."), EMPTY}, - {N_("Failed adding item. You can't trade this item."), EMPTY}, - {N_("Failed adding item for unknown reason."), EMPTY}, - {N_("Trade canceled."), EMPTY}, - {N_("Trade completed."), EMPTY}, - {N_("Kick failed!"), EMPTY}, - {N_("Kick succeeded!"), EMPTY}, - {N_("MVP player: %s"), STRING}, - {N_("All whispers ignored."), EMPTY}, - {N_("All whispers ignore failed."), EMPTY}, - {N_("All whispers unignored."), EMPTY}, - {N_("All whispers unignore failed."), EMPTY}, - {"%s", STRING}, - {N_("pvp off, gvg off"), SPEECH}, - {N_("pvp on"), SPEECH}, - {N_("gvg on"), SPEECH}, - {N_("pvp on, gvg on"), SPEECH}, - {N_("unknown pvp"), SPEECH}, + {"trade cancelled error", + N_("Trade cancelled due to an unknown reason."), EMPTY}, + {"trade cancelled user", + N_("Trade with %s cancelled."), STRING}, + {"trade error unknown", + N_("Unhandled trade cancel packet with %s"), STRING}, + {"trade add partner over weighted", + N_("Failed adding item. Trade partner is over weighted."), EMPTY}, + {"trade add partned has no free slots", + N_("Failed adding item. Trade partner has no free slot."), EMPTY}, + {"trade add untradable item", + N_("Failed adding item. You can't trade this item."), EMPTY}, + {"trade add error", + N_("Failed adding item for unknown reason."), EMPTY}, + {"trade cancelled", + N_("Trade canceled."), EMPTY}, + {"trade complete", + N_("Trade completed."), EMPTY}, + {"kick fail", + N_("Kick failed!"), EMPTY}, + {"kick succeed", + N_("Kick succeeded!"), EMPTY}, + {"mvp player", + N_("MVP player: %s"), STRING}, + {"whispers ignored", + N_("All whispers ignored."), EMPTY}, + {"whispers ignore failed", + N_("All whispers ignore failed."), EMPTY}, + {"whispers unignored", + N_("All whispers unignored."), EMPTY}, + {"whispers unignore failed", + N_("All whispers unignore failed."), EMPTY}, + {"skill fail message", + "%s", STRING}, + {"pvp off gvg off", + N_("pvp off, gvg off"), SPEECH}, + {"pvp on", + N_("pvp on"), SPEECH}, + {"gvg on", + N_("gvg on"), SPEECH}, + {"pvp on gvg on", + N_("pvp on, gvg on"), SPEECH}, + {"unknown pvp", + N_("unknown pvp"), SPEECH}, }; } #endif |