i18n for closet icons

This commit is contained in:
Emi Matchu 2013-01-01 22:15:17 -05:00
parent 30cdbface5
commit 99e3bba72f
3 changed files with 16 additions and 2 deletions

View file

@ -54,11 +54,13 @@ module ItemsHelper
end
def owned_icon
image_tag 'owned.png', :title => 'You own this', :alt => 'Own'
image_tag 'owned.png', :title => t('items.item.owned.description'),
:alt => t('items.item.owned.abbr')
end
def wanted_icon
image_tag 'wanted.png', :title => 'You want this', :alt => 'Want'
image_tag 'wanted.png', :title => t('items.item.wanted.description'),
:alt => t('items.item.wanted.abbr')
end
def closeted_icons_for(item)

View file

@ -224,6 +224,12 @@ en-meep:
nc:
abbr: MC
description: This is a MC Meep item
owned:
abbr: Meened
description: You own this meepit
wanted:
abbr: Weented
description: You want this meepit
show:
rarity: Meepity

View file

@ -225,6 +225,12 @@ en:
nc:
abbr: NC
description: This is an NC Mall item
owned:
abbr: Owned
description: You own this item
wanted:
abbr: Wanted
description: You want this item
show:
rarity: Rarity