summaryrefslogtreecommitdiff
path: root/src/resources/itemtypemapdata.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/itemtypemapdata.h')
-rw-r--r--src/resources/itemtypemapdata.h56
1 files changed, 38 insertions, 18 deletions
diff --git a/src/resources/itemtypemapdata.h b/src/resources/itemtypemapdata.h
index c232dbe52..b1412414c 100644
--- a/src/resources/itemtypemapdata.h
+++ b/src/resources/itemtypemapdata.h
@@ -23,28 +23,48 @@
#include "localconsts.h"
+#include "utils/gettext.h"
+
#include "resources/itemtypemap.h"
ItemTypeMap itemTypeMap[] =
{
- {"generic", ItemType::UNUSABLE},
- {"other", ItemType::UNUSABLE},
- {"usable", ItemType::USABLE},
- {"equip-1hand", ItemType::EQUIPMENT_ONE_HAND_WEAPON},
- {"equip-2hand", ItemType::EQUIPMENT_TWO_HANDS_WEAPON},
- {"equip-torso", ItemType::EQUIPMENT_TORSO},
- {"equip-arms", ItemType::EQUIPMENT_ARMS},
- {"equip-head", ItemType::EQUIPMENT_HEAD},
- {"equip-legs", ItemType::EQUIPMENT_LEGS},
- {"equip-shield", ItemType::EQUIPMENT_SHIELD},
- {"equip-ring", ItemType::EQUIPMENT_RING},
- {"equip-charm", ItemType::EQUIPMENT_CHARM},
- {"equip-necklace", ItemType::EQUIPMENT_NECKLACE},
- {"equip-neck", ItemType::EQUIPMENT_NECKLACE},
- {"equip-feet", ItemType::EQUIPMENT_FEET},
- {"equip-ammo", ItemType::EQUIPMENT_AMMO},
- {"racesprite", ItemType::SPRITE_RACE},
- {"hairsprite", ItemType::SPRITE_HAIR},
+ // TRANSLATORS: inventory button
+ {"generic", ItemType::UNUSABLE, N_("Use")},
+ // TRANSLATORS: inventory button
+ {"other", ItemType::UNUSABLE, N_("Use")},
+ // TRANSLATORS: inventory button
+ {"usable", ItemType::USABLE, N_("Use")},
+ // TRANSLATORS: inventory button
+ {"equip-1hand", ItemType::EQUIPMENT_ONE_HAND_WEAPON, N_("Equip")},
+ // TRANSLATORS: inventory button
+ {"equip-2hand", ItemType::EQUIPMENT_TWO_HANDS_WEAPON, N_("Equip")},
+ // TRANSLATORS: inventory button
+ {"equip-torso", ItemType::EQUIPMENT_TORSO, N_("Equip")},
+ // TRANSLATORS: inventory button
+ {"equip-arms", ItemType::EQUIPMENT_ARMS, N_("Equip")},
+ // TRANSLATORS: inventory button
+ {"equip-head", ItemType::EQUIPMENT_HEAD, N_("Equip")},
+ // TRANSLATORS: inventory button
+ {"equip-legs", ItemType::EQUIPMENT_LEGS, N_("Equip")},
+ // TRANSLATORS: inventory button
+ {"equip-shield", ItemType::EQUIPMENT_SHIELD, N_("Equip")},
+ // TRANSLATORS: inventory button
+ {"equip-ring", ItemType::EQUIPMENT_RING, N_("Equip")},
+ // TRANSLATORS: inventory button
+ {"equip-charm", ItemType::EQUIPMENT_CHARM, N_("Equip")},
+ // TRANSLATORS: inventory button
+ {"equip-necklace", ItemType::EQUIPMENT_NECKLACE, N_("Equip")},
+ // TRANSLATORS: inventory button
+ {"equip-neck", ItemType::EQUIPMENT_NECKLACE, N_("Equip")},
+ // TRANSLATORS: inventory button
+ {"equip-feet", ItemType::EQUIPMENT_FEET, N_("Equip")},
+ // TRANSLATORS: inventory button
+ {"equip-ammo", ItemType::EQUIPMENT_AMMO, N_("Equip")},
+ // TRANSLATORS: inventory button
+ {"racesprite", ItemType::SPRITE_RACE, N_("Use")},
+ // TRANSLATORS: inventory button
+ {"hairsprite", ItemType::SPRITE_HAIR, N_("Use")},
};
#endif // RESOURCES_ITEMTYPEMAPDATA_H