aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/user
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/user')
-rw-r--r--app/views/user/_signin.rhtml2
-rw-r--r--app/views/user/_signup.rhtml2
-rw-r--r--app/views/user/set_crop_profile_photo.rhtml2
-rw-r--r--app/views/user/set_draft_profile_photo.rhtml2
-rw-r--r--app/views/user/set_profile_about_me.rhtml6
-rw-r--r--app/views/user/show.rhtml4
-rw-r--r--app/views/user/signchangeemail.rhtml2
7 files changed, 10 insertions, 10 deletions
diff --git a/app/views/user/_signin.rhtml b/app/views/user/_signin.rhtml
index 49f604ca5..1c19ac05c 100644
--- a/app/views/user/_signin.rhtml
+++ b/app/views/user/_signin.rhtml
@@ -4,7 +4,7 @@
<%= foi_error_messages_for :user_signin %>
<% if not sign_in_as_existing_user %>
- <h2><%= _('If you\'ve used WhatDoTheyKnow before')%></h2>
+ <h2><%= _('If you\'ve used {{site_name}} before', :site_name=>site_name)%></h2>
<% end %>
<p>
diff --git a/app/views/user/_signup.rhtml b/app/views/user/_signup.rhtml
index c3c286151..02abede5d 100644
--- a/app/views/user/_signup.rhtml
+++ b/app/views/user/_signup.rhtml
@@ -3,7 +3,7 @@
<% form_tag({:action => "signup"}, {:id => "signup_form"}) do %>
<%= foi_error_messages_for :user_signup %>
- <h2><%= _('If you\'re new to WhatDoTheyKnow')%></h2>
+ <h2><%= _('If you\'re new to {{site_name}}', :site_name=>site_name)%></h2>
<p>
<label class="form_label" for="user_signup_email"><%= _('Your e-mail:')%></label>
diff --git a/app/views/user/set_crop_profile_photo.rhtml b/app/views/user/set_crop_profile_photo.rhtml
index 33b78e193..db18d10a1 100644
--- a/app/views/user/set_crop_profile_photo.rhtml
+++ b/app/views/user/set_crop_profile_photo.rhtml
@@ -33,7 +33,7 @@
<%= hidden_field_tag 'draft_profile_photo_id', @draft_profile_photo.id %>
<p><%= _('<strong>Privacy note:</strong> Your photo will be shown in public on the Internet,
- wherever you do something on WhatDoTheyKnow.')%>
+ wherever you do something on {{site_name}}.', :site_name=>site_name)%>
<p>
<%= hidden_field_tag 'submitted_crop_profile_photo', 1 %>
diff --git a/app/views/user/set_draft_profile_photo.rhtml b/app/views/user/set_draft_profile_photo.rhtml
index b6a39df5e..70d27074b 100644
--- a/app/views/user/set_draft_profile_photo.rhtml
+++ b/app/views/user/set_draft_profile_photo.rhtml
@@ -16,7 +16,7 @@
<ul>
<li><%= _('Your photo will be shown in public <strong>on the Internet</strong>,
- wherever you do something on WhatDoTheyKnow.')%>
+ wherever you do something on {{site_name}}.', :site_name=>site_name)%>
</li>
<li><%= _('Please don\'t upload offensive pictures. We will take down images
diff --git a/app/views/user/set_profile_about_me.rhtml b/app/views/user/set_profile_about_me.rhtml
index aa53d6720..af6433e89 100644
--- a/app/views/user/set_profile_about_me.rhtml
+++ b/app/views/user/set_profile_about_me.rhtml
@@ -1,4 +1,4 @@
-<% @title = _('Change the text about you on your profile at WhatDoTheyKnow.com') %>
+<% @title = _('Change the text about you on your profile at {{site_name}}', :site_name=>site_name) %>
<% raise _('internal error') if not @user %>
@@ -11,8 +11,8 @@
<%= _(' What are you investigating using Freedom of Information? ')%>
</p>
<p>
- <%= _(' This will appear on your WhatDoTheyKnow profile, to make it
- easier for others to get involved with what you\'re doing.')%>
+ <%= _(' This will appear on your {{site_name}} profile, to make it
+ easier for others to get involved with what you\'re doing.', :site_name=>site_name)%>
</p>
</div>
diff --git a/app/views/user/show.rhtml b/app/views/user/show.rhtml
index 09bf3de5f..5e2c29d84 100644
--- a/app/views/user/show.rhtml
+++ b/app/views/user/show.rhtml
@@ -59,7 +59,7 @@
<h1> <%= h(@display_user.name) + (@is_you ? _(" (you)") : "") %></h1>
<p class="subtitle">
- <%= _('Joined WhatDoTheyKnow in') %> <%= year_from_date(@display_user.created_at) %>
+ <%= _('Joined {{site_name}} in', :site_name=>site_name) %> <%= year_from_date(@display_user.created_at) %>
<% if !@user.nil? && @user.admin_page_links? %>
(<%= link_to "admin", user_admin_url(@display_user) %>)
<% end %>
@@ -76,7 +76,7 @@
<div id="user_public_banned">
<p>
<strong>
- <%= _('This user has been banned from WhatDoTheyKnow.com ')%>
+ <%= _('This user has been banned from {{site_name}} ', :site_name=>site_name)%>
</strong>
</p>
<p>
diff --git a/app/views/user/signchangeemail.rhtml b/app/views/user/signchangeemail.rhtml
index c0c559380..0f8b76bc5 100644
--- a/app/views/user/signchangeemail.rhtml
+++ b/app/views/user/signchangeemail.rhtml
@@ -34,7 +34,7 @@
<div class="form_button">
<%= hidden_field_tag 'submitted_signchangeemail_do', 1 %>
- <%= submit_tag "Change email on WhatDoTheyKnow.com" %>
+ <%= submit_tag _("Change email on {{site_name}}", :site_name=>site_name) %>
</div>
<% end %>