aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Kellermann <kellerben@users.noreply.github.com>2016-08-14 21:42:52 +0200
committerGitHub <noreply@github.com>2016-08-14 21:42:52 +0200
commit14704c3659aa7f8a30d1d6d9a744a57e880ed2ff (patch)
treeef63cb55fb166d07b961c3b4b04fa58bcd6b40d0
parente8c76151d9435c454c311477bc0bb233a32d7f90 (diff)
parentee1e96130c4d0b4e24085a2e8bb369dd6e984c6d (diff)
Merge pull request #50 from taowa/patch-1
Changed some strings for grammar and clarity
-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}