Permalink
Browse files

Merge pull request #65 from tucano/rails-3-1

Rails 3 1
  • Loading branch information...
ugisozols committed Mar 20, 2012
2 parents e23ab39 + baae360 commit 92fe83588281950266f4a2911ab05a078a5574c9
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 92fe835

Please sign in to comment.