Skip to content

Commit

Permalink
AR-1646 Translate language codes to their full names
Browse files Browse the repository at this point in the history
  • Loading branch information
marktriggs committed Jun 19, 2017
1 parent 9d82e8e commit 01c38ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public-new/app/views/resources/_infinite_item.html.erb
Expand Up @@ -34,11 +34,11 @@
<% if @result['language'] %>
<dl class="dl-horizontal">
<dt><%= t('resource._public.finding_aid.language')%></dt>
<dd><%= @result['language'].upcase %></dd>
<dd><%= t('enumerations.language_iso639_2.' + @result['language'].downcase) %></dd>
</dl>
<% else %>
<% langmaterial_note = @result.note('langmaterial') %>
<% if langmaterial_note %>
<%= render partial: 'shared/single_note', locals: {:type => 'langmaterial', :note_struct => langmaterial_note, :notitle => false} %>
<% end %>
<% end %>
<% end %>

0 comments on commit 01c38ff

Please sign in to comment.