aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdelete_poll.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/delete_poll.rb b/delete_poll.rb
index 574c1f2..3f31262 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,12 +54,12 @@ 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")
+ nextthingsstr = _("You can now")
homepagestr = _("Return to dudle home and schedule a new poll")
wikipediastr = _("Browse Wikipedia")
- searchstr = _("Search something in the Internet")
+ searchstr = _("Search for something on the Internet")
$d.html << %{
<p class='textcolumn'>
@@ -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}