From cb442c312d945fdf928c1bf3b9f4b30dab0b4ab6 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 22 Jul 2006 18:45:21 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=10732 --- doc/poll_action.php | 10 ++++------ languages/translations/en.po | 16 +++++++++++----- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/doc/poll_action.php b/doc/poll_action.php index 7b761c2d74..a0ab047e14 100644 --- a/doc/poll_action.php +++ b/doc/poll_action.php @@ -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(); diff --git a/languages/translations/en.po b/languages/translations/en.po index 0aebd4ba06..72c8892c34 100644 --- a/languages/translations/en.po +++ b/languages/translations/en.po @@ -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