From 876efbe1cdd5861503a78255ae5cdedbc01a170f Mon Sep 17 00:00:00 2001 From: tokul Date: Fri, 24 Oct 2003 16:31:09 +0000 Subject: [PATCH] Converting strings to gettext git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@6011 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- plugins/bug_report/bug_report.php | 84 ++++++++++++++++--------------- plugins/spamcop/options.php | 82 ++++++++++++++++++------------ 2 files changed, 92 insertions(+), 74 deletions(-) diff --git a/plugins/bug_report/bug_report.php b/plugins/bug_report/bug_report.php index f0563761..a4e997a7 100644 --- a/plugins/bug_report/bug_report.php +++ b/plugins/bug_report/bug_report.php @@ -126,50 +126,52 @@ $body = htmlspecialchars($body_top . $body); ?>
-
-
Submit a Bug Report
-
- - - -

Before you send your bug report, please make sure to - check this checklist for any common problems.

- - - -

Pressing the button below will start a mail message to the developers - of SquirrelMail that will contain a lot of information about your system, - your browser, how SquirrelMail is set up, and your IMAP server. It will - also prompt you for information. Just fill out the sections at the top. - If you like, you can scroll down in the message to see what else is being - sent.

- -

Please make sure to fill out as much information as you possibly can to - give everyone a good chance of finding and removing the bug. Submitting - your bug like this will not have it automatically added to the bug list on - SourceForge, but someone who gets your message may add it for you.

- + + "._("Submit a Bug Report")."",'center',$color[0]); ?> +
+ + "; + echo _("Before you send your bug report, please make sure to check this checklist for any common problems."); + echo "

"; + + echo "\n"; + + echo "

"; + echo _("Pressing the button below will start a mail message to the developers of SquirrelMail that will contain a lot of information about your system, your browser, how SquirrelMail is set up, and your IMAP server. It will also prompt you for information. Just fill out the sections at the top. If you like, you can scroll down in the message to see what else is being sent."); + echo "

\n"; + + echo "

"; + echo _("Please make sure to fill out as much information as you possibly can to give everyone a good chance of finding and removing the bug. Submitting your bug like this will not have it automatically added to the bug list on SourceForge, but someone who gets your message may add it for you."); + echo "

\n"; +?>
@@ -179,7 +181,7 @@ $body = htmlspecialchars($body_top . $body); - + ">
- This bug involves: + +
diff --git a/plugins/spamcop/options.php b/plugins/spamcop/options.php index 430319f7..d264cf93 100755 --- a/plugins/spamcop/options.php +++ b/plugins/spamcop/options.php @@ -12,6 +12,15 @@ define('SM_PATH','../../'); require_once(SM_PATH . 'include/validate.php'); +function spamcop_enable_disable($option,$disable_action,$enable_action) { + if ($option) { + $ret= _("Enabled") . "(" . _("Disable it") . ")\n"; + } else { + $ret = _("Disabled") . "(" . _("Enable it") . ")\n"; + } + return $ret; +} + displayPageHeader($color, 'None'); /* globals */ @@ -59,57 +68,64 @@ spamcop_load();
-
- Message Filtering
+

- - + - - + \n" . + '(' . _("Only works with email-based reporting") . ')', + 'right','','valign="top"'); + echo html_tag('td', spamcop_enable_disable($spamcop_delete,'save','delete'),'','','valign="top"'); + ?> - - - + " . + '(' . _("see below") . ')','right','','valign="top"'); + ?>
SpamCop link is:Enabled (Disable it) - Disabled (Enable it) -
Delete spam when reported:
- (Only works with email-based reporting) -
Enabled (Disable it) - Disabled (Enable it) -
Spam Reporting Method: + + + - + ">
Your SpamCop authorization code:
- (see below) -
- + " />
-- 2.25.1