aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/models/spam_address.rb4
-rw-r--r--app/views/request_game/play.html.erb8
2 files changed, 6 insertions, 6 deletions
diff --git a/app/models/spam_address.rb b/app/models/spam_address.rb
index b3ad329d8..2c84beaa0 100644
--- a/app/models/spam_address.rb
+++ b/app/models/spam_address.rb
@@ -11,8 +11,8 @@
class SpamAddress < ActiveRecord::Base
attr_accessible :email
- validates_presence_of :email, :message => _('Please enter the email address to mark as spam')
- validates_uniqueness_of :email, :message => _('This address is already marked as spam')
+ validates_presence_of :email, :message => 'Please enter the email address to mark as spam'
+ validates_uniqueness_of :email, :message => 'This address is already marked as spam'
def self.spam?(email_address)
exists?(:email => email_address)
diff --git a/app/views/request_game/play.html.erb b/app/views/request_game/play.html.erb
index 6020bd101..544274e93 100644
--- a/app/views/request_game/play.html.erb
+++ b/app/views/request_game/play.html.erb
@@ -30,9 +30,9 @@
<div id="game">
<h2><%= _("Play the request categorisation game!")%></h2>
<p><%= _("Some people who've made requests haven't let us know whether they were
- successful or not. We need <strong>your</strong> help &ndash;
- choose one of these requests, read it, and let everyone know whether or not the
- information has been provided. Everyone'll be exceedingly grateful.")%></p>
+successful or not. We need <strong>your</strong> help &ndash;
+choose one of these requests, read it, and let everyone know whether or not the
+information has been provided. Everyone'll be exceedingly grateful.")%></p>
<% for info_request in @requests %>
<%= render :partial => 'request/request_listing_single', :locals => { :info_request => info_request } %>
<% end %>
@@ -41,7 +41,7 @@
<%= button_to _('I don\'t want to do any more tidying now!'), categorise_stop_url %>
</p>
<p><%= _('Thanks for helping - your work will make it easier for everyone to find successful
- responses, and maybe even let us make league tables...')%></p>
+responses, and maybe even let us make league tables...')%></p>
</div>