Commit 8913b9b60e4a2a6924c470454705dc97581cae3e

Authored by Daniel
Committed by Diego Camarinha
1 parent c3eb6b91

Fix missing translation on processing information when a date is chosen

The button for searching for a processing result set by date manually
sets the HTML for the loading message. It was not using the correct
translation for the message. Fix that.
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/views/repositories/show.html.erb
... ... @@ -47,7 +47,7 @@
47 47 <%= select_tag(:month, options_for_select(month_options), :style => "width:55px; margin-top:5px") %>
48 48 <%= label_tag :year, t("year") %>:
49 49 <%= select_tag(:year, options_for_select(year_options), :style => "width:70px; margin-top:5px") %>
50   - <%= submit_tag(t('search'), class: 'btn btn-info', style: 'margin-bottom:5px', onClick: "Repository.State.set_loader('#{image_tag 'loader.gif'} Loading data. Please, wait.')") %>
  50 + <%= submit_tag(t('search'), class: 'btn btn-info', style: 'margin-bottom:5px', onClick: "Repository.State.set_loader('#{image_tag 'loader.gif'} #{j(t('repository.show.loading'))}')") %>
51 51 </p>
52 52 <% end %>
53 53  
... ...