*** empty log message ***

svn path=/trunk/boinc/; revision=10732
This commit is contained in:
David Anderson 2006-07-22 18:45:21 +00:00
parent edafe87ad4
commit cb442c312d
2 changed files with 15 additions and 11 deletions

View File

@ -4,10 +4,8 @@ require_once("poll.inc");
require_once("poll_data.inc"); require_once("poll_data.inc");
function error() { function error() {
page_head("Error - results not recorded"); page_head(tr(POLL_ERROR_TITLE));
echo "An internal error has prevented us from recording echo tr(POLL_ERROR_TEXT);
your survey response. Please try again later.
";
page_tail(); page_tail();
exit(); exit();
} }
@ -29,8 +27,8 @@ if ($response) {
$result = new_response($uid, $xml); $result = new_response($uid, $xml);
} }
if ($result) { if ($result) {
page_head("Survey response recorded"); page_head(tr(POLL_RECORDED));
echo "Thank you for completing the BOINC user survey.\n "; echo tr(POLL_THANKS);
page_tail(); page_tail();
} else { } else {
error(); error();

View File

@ -287,11 +287,17 @@ msgstr "Team web sites"
msgid "POLL_HELP_GOOGLE", msgid "POLL_HELP_GOOGLE",
msgstr "Google or other search engines" msgstr "Google or other search engines"
msgid "POLL_", msgid "POLL_ERROR_TITLE",
msgstr msgstr "Error - results not recorded"
msgid "POLL_", msgid "POLL_ERROR_TEXT",
msgstr msgstr "An internal error has prevented us from recording your survey response. Please try again later."
msgid "POLL_RECORDED",
msgstr "Survey response recorded"
msgid "POLL_THANKS",
msgstr "Thank you for completing the BOINC user survey."
msgid "POLL_", msgid "POLL_",
msgstr msgstr