Skip to content

Commit

Permalink
Merge pull request #2378 from projecthydra/i18n-config
Browse files Browse the repository at this point in the history
Additional i18n config option for dashboard
  • Loading branch information
mjgiarlo committed Jul 27, 2016
2 parents 4951ae3 + 2a074d0 commit 89bef51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/users/_vitals.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<div class="list-group-item">
<span class="badge"><%= number_of_works(user) %></span>
<span class="glyphicon glyphicon-upload"></span> <%= link_to_field('depositor', user.to_s, 'Works created', human_readable_type: "Work") %>
<span class="glyphicon glyphicon-upload"></span> <%= link_to_field('depositor', user.to_s, t("sufia.dashboard.stats.works"), human_readable_type: "Work") %>

<ul class="views-downloads-dashboard list-unstyled">
<li><span class="badge badge-optional"><%= user.total_file_views %></span> <%= t("sufia.dashboard.stats.file_views").pluralize(user.total_file_views) %></li>
Expand Down
1 change: 1 addition & 0 deletions config/locales/sufia.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ en:
files: "Files deposited"
file_views: "View"
file_downloads: "Download"
works: "Works created"
collections: "Collections created"
following: "People you follow"
followers: "People who are following you"
Expand Down

0 comments on commit 89bef51

Please sign in to comment.