add correct message for equipping equipment

Currently, when you put on equipment, you see the messageBought notification. There was no messageEquipped notification in the code so I've added one.

I've updated ALL locale files IN ENGLISH, following the convention already in place for using English when there is no translation (e.g., locales/pl/messages.json, locales/sv/messages.json).
This commit is contained in:
Alice Harris
2014-05-18 10:45:24 +10:00
parent 3f9daafb8e
commit 7edeb53cda
17 changed files with 33 additions and 18 deletions
+1 -1
View File
@@ -649,7 +649,7 @@ api.wrap = (user, main=true) ->
item = content.gear.flat[key]
if user.items.gear[type][item.type] is key
user.items.gear[type][item.type] = "#{item.type}_base_0"
message = i18n.t('messageBought', {itemText: item.text(req.language)}, req.language)
message = i18n.t('messageEquipped', {itemText: item.text(req.language)}, req.language)
else
user.items.gear[type][item.type] = item.key
message = user.fns.handleTwoHanded(item,type,req)