aboutsummaryrefslogtreecommitdiff
path: root/error.cgi
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 /error.cgi
parent81803975b690804d46d8ea719a404bc732a9f604 (diff)
massive english corrections, thanks to Haezel
Diffstat (limited to 'error.cgi')
-rwxr-xr-xerror.cgi8
1 files changed, 4 insertions, 4 deletions
diff --git a/error.cgi b/error.cgi
index f19c98d..f91d85d 100755
--- a/error.cgi
+++ b/error.cgi
@@ -47,10 +47,10 @@ if File.exists?($conf.errorlog)
end
- errormessagebody = _("Hi!\n\nI found a bug in your application at %{urlofsite}.\nI did the following:\n\n<please describe what you did>\n<e.g., I wanted to sent a comment to the poll.>\n\nI am using <please state your browser and operating system>\n%{errormessage}\nYours,\n") % {:errormessage => errormessage, :urlofsite => $conf.siteurl}
- subject = _("Bug in dudle")
+ errormessagebody = _("Hi!\n\nI found a bug in your application at %{urlofsite}.\nI did the following:\n\n<please describe what you did>\n<e.g., I wanted to post a comment to the poll.>\n\nI am using <please state your browser and operating system>\n%{errormessage}\nSincerely,\n") % {:errormessage => errormessage, :urlofsite => $conf.siteurl}
+ subject = _("Bug in Dudle")
- $d << _("An error occurred while executing dudle.<br/>Please send an error report, including your browser, operating system, and what you did to %{admin}.") % {:admin => "<a href='mailto:#{$conf.bugreportmail}?subject=#{urlescape(subject)}&amp;body=#{urlescape(errormessagebody)}'>#{$conf.bugreportmail}</a>"}
+ $d << _("An error occurred while executing Dudle.<br/>Please send an error report, including your browser, operating system, and what you did to %{admin}.") % {:admin => "<a href='mailto:#{$conf.bugreportmail}?subject=#{urlescape(subject)}&amp;body=#{urlescape(errormessagebody)}'>#{$conf.bugreportmail}</a>"}
if (errorstr)
errorheadstr = _("Please include the following as well:")
@@ -76,7 +76,7 @@ if $conf.auto_send_report && !known
f << errorstr
}
- %x{mail -s "Bug in dudle" #{$conf.bugreportmail} < #{tmpfile}}
+ %x{mail -s "Bug in Dudle" #{$conf.bugreportmail} < #{tmpfile}}
File.delete(tmpfile)