i18n for closet icons

This commit is contained in:
Emi Matchu 2013-01-01 22:15:17 -05:00
parent 1ca59c5288
commit 52225c0f3d
3 changed files with 16 additions and 2 deletions

View file

@ -54,11 +54,13 @@ module ItemsHelper
end end
def owned_icon 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 end
def wanted_icon 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 end
def closeted_icons_for(item) def closeted_icons_for(item)

View file

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

View file

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