From 52225c0f3dd27fef0d84d363c618c752610cd020 Mon Sep 17 00:00:00 2001 From: Matchu Date: Tue, 1 Jan 2013 22:15:17 -0500 Subject: [PATCH] i18n for closet icons --- app/helpers/items_helper.rb | 6 ++++-- config/locales/en-meep.yml | 6 ++++++ config/locales/en.yml | 6 ++++++ 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/app/helpers/items_helper.rb b/app/helpers/items_helper.rb index a8aef737..47662b54 100644 --- a/app/helpers/items_helper.rb +++ b/app/helpers/items_helper.rb @@ -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) diff --git a/config/locales/en-meep.yml b/config/locales/en-meep.yml index 6fd9022e..4d8123ea 100644 --- a/config/locales/en-meep.yml +++ b/config/locales/en-meep.yml @@ -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 diff --git a/config/locales/en.yml b/config/locales/en.yml index 01942ecc..87e85176 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -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