aboutsummaryrefslogtreecommitdiff
path: root/delete_poll.rb
diff options
context:
space:
mode:
authorBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2018-08-25 22:54:45 +0200
committerBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2018-08-25 22:54:45 +0200
commitfaab2792af4e54342362c9ba96b72d1c8c806908 (patch)
treec8378815ff5a997f37b65e23b1f5831e649311ad /delete_poll.rb
parent81803975b690804d46d8ea719a404bc732a9f604 (diff)
massive english corrections, thanks to Haezel
Diffstat (limited to 'delete_poll.rb')
-rwxr-xr-xdelete_poll.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/delete_poll.rb b/delete_poll.rb
index 12f6e9b..156ab1d 100755
--- a/delete_poll.rb
+++ b/delete_poll.rb
@@ -39,7 +39,7 @@ if $cgi.include?("confirmnumber")
Dir.chdir("..")
if $conf.examples.collect{|e| e[:url] }.include?($d.urlsuffix)
- deleteconfirmstr = _("Example polls can not be deleted.")
+ deleteconfirmstr = _("Example polls cannot be deleted.")
accidentstr = _("You should never see this text.")
else
FileUtils.cp_r($d.urlsuffix, "/tmp/#{$d.urlsuffix}.#{rand(9999999)}")
@@ -54,10 +54,10 @@ if $cgi.include?("confirmnumber")
end
deleteconfirmstr = _("The poll was deleted successfully!")
- accidentstr = _("If this was done by accident, please contact the administrator of the system. The poll can be recovered for an indeterminate amount of time, it could already be too late.")
+ accidentstr = _("If this was done by accident, please contact the administrator of the system. The poll can be recovered for an indeterminate amount of time; it could already be too late.")
end
nextthingsstr = _("You can now")
- homepagestr = _("Return to dudle home and schedule a new poll")
+ homepagestr = _("Return to Dudle home and schedule a new poll")
wikipediastr = _("Browse Wikipedia")
searchstr = _("Search for something on the Internet")
@@ -105,7 +105,7 @@ else
CONFIRM = rand(QUESTIONS.size()-1) +1
end
-$d.html << "<h2>" + _("Delete this Poll") + "</h2>"
+$d.html << "<h2>" + _("Delete this poll") + "</h2>"
$d.html << _("You want to delete the poll named") + " <b>#{$d.table.name}</b>.<br />"
$d.html << _("This is an irreversible action!") + "<br />"
$d.html << _("If you are sure that you want to permanently remove this poll, please type “%{question}” into the form.") % {:question => QUESTIONS[CONFIRM]}