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

View File

@ -287,11 +287,17 @@ msgstr "Team web sites"
msgid "POLL_HELP_GOOGLE",
msgstr "Google or other search engines"
msgid "POLL_",
msgstr
msgid "POLL_",
msgstr
msgid "POLL_ERROR_TITLE",
msgstr "Error - results not recorded"
msgid "POLL_ERROR_TEXT",
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_",
msgstr