From faab2792af4e54342362c9ba96b72d1c8c806908 Mon Sep 17 00:00:00 2001 From: Benjamin Kellermann Date: Sat, 25 Aug 2018 22:54:45 +0200 Subject: massive english corrections, thanks to Haezel --- delete_poll.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'delete_poll.rb') 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 << "

" + _("Delete this Poll") + "

" +$d.html << "

" + _("Delete this poll") + "

" $d.html << _("You want to delete the poll named") + " #{$d.table.name}.
" $d.html << _("This is an irreversible action!") + "
" $d.html << _("If you are sure that you want to permanently remove this poll, please type “%{question}” into the form.") % {:question => QUESTIONS[CONFIRM]} -- cgit v1.2.3