aboutsummaryrefslogtreecommitdiff
path: root/delete_poll.rb
diff options
context:
space:
mode:
authortaowa <taowa@users.noreply.github.com>2016-08-06 12:36:07 -0400
committerGitHub <noreply@github.com>2016-08-06 12:36:07 -0400
commitddd18f91662d247912df0e069b60089594b8fae5 (patch)
treea1e08fa7ea4b576efd9e300133ddacc0b8e3dc81 /delete_poll.rb
parente8c76151d9435c454c311477bc0bb233a32d7f90 (diff)
Changed some strings for grammar and clarity
Diffstat (limited to 'delete_poll.rb')
-rwxr-xr-xdelete_poll.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/delete_poll.rb b/delete_poll.rb
index 574c1f2..06fe9bf 100755
--- a/delete_poll.rb
+++ b/delete_poll.rb
@@ -40,7 +40,7 @@ if $cgi.include?("confirmnumber")
if $conf.examples.collect{|e| e[:url] }.include?($d.urlsuffix)
deleteconfirmstr = _("Example polls can not be deleted.")
- accidentstr = ""
+ accidentstr = "You should never see this text."
else
FileUtils.cp_r($d.urlsuffix, "/tmp/#{$d.urlsuffix}.#{rand(9999999)}")
FileUtils.rm_r($d.urlsuffix)
@@ -54,7 +54,7 @@ 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 indeterministic amount of time, maybe it is already to 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 = _("Things you can do now are")
homepagestr = _("Return to dudle home and schedule a new poll")
@@ -108,7 +108,7 @@ end
$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 in what you are doing, please type “%{question}” into the form.") % {:question => QUESTIONS[CONFIRM]}
+$d.html << _("If you are sure that you want to permanently remove this poll, please type “%{question}” into the form.") % {:question => QUESTIONS[CONFIRM]}
deletestr = _("Delete")
$d.html << %{
#{hint}