aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Cabo <david@calibea.com>2012-03-20 21:58:16 +0100
committerDavid Cabo <david@calibea.com>2012-03-20 21:58:16 +0100
commit1bde9c9484cc71c94849b1c1b7dd39b881b3a6a8 (patch)
treeea065dd1629eef828b455bf3203e4c2b7b993eb8
parent308707f1512fc43c570023ee786463d37e43f1fb (diff)
I18n some strings in user/show
-rw-r--r--app/views/user/show.rhtml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/user/show.rhtml b/app/views/user/show.rhtml
index 8f1803442..f8b820f03 100644
--- a/app/views/user/show.rhtml
+++ b/app/views/user/show.rhtml
@@ -1,7 +1,7 @@
<% if @show_requests %>
- <% @title = h(@display_user.name) + " - Freedom of Information requests" %>
+ <% @title = h(@display_user.name) + _(" - Freedom of Information requests") %>
<% else %>
- <% @title = h(@display_user.name) + " - user profile" %>
+ <% @title = h(@display_user.name) + _(" - user profile") %>
<% end %>
<% if (@same_name_users.size >= 1) %>
@@ -139,7 +139,7 @@
<% if !@xapian_requests.nil? %>
<% if @xapian_requests.results.empty? %>
<% if @page == 1 %>
- <h2 class="foi_results" id="foi_requests"><%= @is_you ? 'Freedom of Information requests made by you' : 'Freedom of Information requests made by this person' %> <%= @match_phrase %>
+ <h2 class="foi_results" id="foi_requests"><%= @is_you ? _('Freedom of Information requests made by you') : _('Freedom of Information requests made by this person') %> <%= @match_phrase %>
</h2>
<p><%= @is_you ? _('You have made no Freedom of Information requests using this site.') : _('This person has made no Freedom of Information requests using this site.') %>
<%= @page_desc %>