aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Cabo <david@calibea.com>2011-08-15 02:07:31 +0200
committerDavid Cabo <david@calibea.com>2011-08-15 02:07:31 +0200
commit2d35fc2f60fba67c683b3a0101cf702b348fee7e (patch)
treefe32b789732e8ebc8ad823d042c8cf1f32dee1c5
parent10c794cb79d27d67fdcdf8dc8aff2db7a7882353 (diff)
Minor changes to i18n'd strings to match already existing ones
-rw-r--r--app/views/request/new.rhtml7
-rw-r--r--app/views/request/select_authority.rhtml6
-rw-r--r--app/views/user/signin_successful.rhtml6
3 files changed, 7 insertions, 12 deletions
diff --git a/app/views/request/new.rhtml b/app/views/request/new.rhtml
index 6105fe344..2d7531e67 100644
--- a/app/views/request/new.rhtml
+++ b/app/views/request/new.rhtml
@@ -113,8 +113,7 @@
<%= f.text_field :title, :size => 50, :id =>"typeahead_search" %>
</p>
<div class="form_item_note">
- (<%= _('a one line summary of the information you are requesting,
- e.g.') %>
+ (<%= _("a one line summary of the information you are requesting, \n\t\t\te.g.") %>
<% if @info_request.law_used == 'eir' %>
<%= _("'Pollution levels over time for the River Tyne'") %>
<% else %>
@@ -159,8 +158,8 @@
<% end %>
<p class="form_note">
- <%= _('<strong> Can I request information about myself?</strong>
- <a href="%s">No! (Click here for details)</a>') % [help_requesting_path+"#data_protection"] %>
+ <%= _("<strong> Can I request information about myself?</strong>\n" +
+ "\t\t\t<a href=\"%s\">No! (Click here for details)</a>") % [help_requesting_path+"#data_protection"] %>
</p>
<div class="form_button">
diff --git a/app/views/request/select_authority.rhtml b/app/views/request/select_authority.rhtml
index ee46b2fdb..72660283e 100644
--- a/app/views/request/select_authority.rhtml
+++ b/app/views/request/select_authority.rhtml
@@ -31,9 +31,9 @@
<% form_tag({:controller => "general", :action => "search_redirect"}, {:id => "search_form"}) do %>
<p>
<p>
- <%= _('First, type in the <strong>name of the UK public authority</strong> you\'d
- <br>like information from. <strong>By law, they have to respond</strong>
- (<a href="{{url}}">why?</a>).', :url=>help_about_url) %>
+ <%= _('First, type in the <strong>name of the UK public authority</strong> you\'d
+ <br>like information from. <strong>By law, they have to respond</strong>
+ (<a href="%s">why?</a>).') % help_about_url %>
</p>
<%= text_field_tag 'query', params[:query], { :size => 30 } %>
<%= hidden_field_tag 'bodies', 1 %>
diff --git a/app/views/user/signin_successful.rhtml b/app/views/user/signin_successful.rhtml
index ca5978a8d..38aebb846 100644
--- a/app/views/user/signin_successful.rhtml
+++ b/app/views/user/signin_successful.rhtml
@@ -1,8 +1,4 @@
-<!-- XXX Unfinished page -->
-
-You're in.
-
-<a href="#" id="send-request">Continue sending your request</a>
+<%= _("You're in. <a href=\"#\" id=\"send-request\">Continue sending your request</a>") %>
<script>
$("#send-request").click(function() {