diff --git a/app/views/outfits/_outfit.html.haml b/app/views/outfits/_outfit.html.haml index 181ff8d9..ff97db75 100644 --- a/app/views/outfits/_outfit.html.haml +++ b/app/views/outfits/_outfit.html.haml @@ -7,8 +7,8 @@ = link_to outfit.name, outfit, :class => 'outfit-name' %footer - = link_to_edit_outfit 'edit', outfit, :class => 'outfit-edit-link' - = button_to 'delete', outfit, :method => 'delete', :class => 'outfit-delete-button', :confirm => "Are you sure you want to delete the outfit #{outfit.name}?" - - - + = link_to_edit_outfit t('.edit'), outfit, :class => 'outfit-edit-link' + = button_to t('.delete'), outfit, :method => 'delete', + :class => 'outfit-delete-button', + :confirm => t('.delete_confirmation', + :outfit_name => outfit.name) diff --git a/config/locales/en-MEEP.yml b/config/locales/en-MEEP.yml index 902c41d1..cecea409 100644 --- a/config/locales/en-MEEP.yml +++ b/config/locales/en-MEEP.yml @@ -645,6 +645,12 @@ en-MEEP: Thanks for meeping us %{pet_name}. Meep up the good work! + outfit: + edit: eedit + delete: demeep + delete_confirmation: + Are you sure you want to demeep the outfit %{outfit_name}? + show: default_outfit_name: Meeped outfit edit: Meep diff --git a/config/locales/en.yml b/config/locales/en.yml index fb6a8494..27238125 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -691,6 +691,12 @@ en: Thanks for showing us %{pet_name}. Keep up the good work! + outfit: + edit: edit + delete: delete + delete_confirmation: + Are you sure you want to delete the outfit %{outfit_name}? + show: default_outfit_name: Shared outfit edit: Edit