Permalink
Browse files

Added translations for gallery and gallery help (form for item/new). …

…Need revision
  • Loading branch information...
1 parent 0c613f2 commit baae360a42f2609c610e9ec7067a905e81e29352 @tucano tucano committed Mar 14, 2012
Showing with 4 additions and 2 deletions.
  1. +2 −2 app/views/refinery/portfolio/admin/items/_form.html.erb
  2. +2 −0 config/locales/en.yml
@@ -42,8 +42,8 @@
<div class='field'>
<span class='label_with_help'>
- <%= f.label :gallery_id, t('.gallery') -%>
- <%= refinery_help_tag t('.gallery_help') -%>
+ <%= f.label :gallery_id, t('gallery', :scope => 'refinery.portfolio.admin.items.item') -%>
+ <%= refinery_help_tag t('gallery_help', :scope => 'refinery.portfolio.admin.items.item') -%>
</span>
<%= f.select :gallery_id, nested_set_options(::Refinery::Portfolio::Gallery, @gallery) { |i| "#{'-' * i.level} #{i.title}" }, :include_blank => true %>
</div>
View
@@ -7,6 +7,8 @@ en:
admin:
items:
item:
+ gallery: Gallery
+ gallery_help: Add this image to a gallery
delete: Remove this image from this gallery
edit: Edit this image
view_live_html: View this image in its gallery

0 comments on commit baae360

Please sign in to comment.