|
From: <jgs...@us...> - 2004-03-01 06:45:21
|
Update of /cvsroot/serverfilters In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27802 Modified Files: options.php setup.php Added Files: getpot serversidefilter.pot Log Message: Added in i18n patches. --- NEW FILE: serversidefilter.pot --- # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2004-02-29 23:27-0600\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL...@li...>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #: options.php:188 msgid "Options" msgstr "" #: options.php:188 setup.php:29 msgid "Mail Filters" msgstr "" #: options.php:195 msgid "Enter A New Filter:" msgstr "" #: options.php:200 recipie_functions.php:247 msgid "If" msgstr "" #: options.php:203 options.php:237 options.php:259 recipie_functions.php:241 #: recipie_functions.php:244 recipie_functions.php:250 msgid "then" msgstr "" #: options.php:206 options.php:239 recipie_functions.php:255 #: recipie_functions.php:257 msgid "move" msgstr "" #: options.php:207 options.php:240 recipie_functions.php:255 #: recipie_functions.php:257 msgid "copy" msgstr "" #: options.php:212 options.php:243 options.php:265 recipie_functions.php:262 msgid "Folder" msgstr "" #: options.php:216 options.php:246 options.php:268 recipie_functions.php:265 msgid "Email" msgstr "" #: options.php:225 msgid "" "Selecting \"Custom\" allows you to enter your own Regular Expression (ie: " "you use wildcard characters such as" msgstr "" #: options.php:237 options.php:259 msgid "if message is marked as" msgstr "" #: options.php:237 recipie_functions.php:244 msgid "SPAM" msgstr "" #: options.php:242 options.php:264 recipie_functions.php:259 msgid "to" msgstr "" #: options.php:250 msgid "save new" msgstr "" #: options.php:259 recipie_functions.php:241 msgid "UNSURE" msgstr "" #: options.php:276 msgid "Existing Filters:" msgstr "" #: options.php:283 msgid "Notice:" msgstr "" #: options.php:283 msgid "" "Use of these filters may prevent the reading of mail in non-IMAP mail " "clients." msgstr "" #: recipie_functions.php:241 recipie_functions.php:244 msgid "If message is marked as" msgstr "" #: setup.php:31 msgid "Here you may set up server-side filters on all of your incoming mail." msgstr "" Index: options.php =================================================================== RCS file: /cvsroot/serverfilters/options.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** options.php 1 Mar 2004 04:24:06 -0000 1.15 --- options.php 1 Mar 2004 06:26:42 -0000 1.16 *************** *** 90,95 **** $recipies = array(); - - set_filter_app(); $file = filter_get(); read_recipies($file); --- 90,93 ---- *************** *** 179,182 **** --- 177,183 ---- $value = count($recipies); displayPageHeader($color, 'None'); + bindtextdomain('serversidefilter', SM_PATH . 'locale'); + textdomain('serversidefilter'); + ?> <br> *************** *** 201,206 **** ?> <select name=action> ! <option value=m>move</option> ! <option value=c>copy</option> </select> to --- 202,207 ---- ?> <select name=action> ! <option value=m><?php echo _("move") ?></option> ! <option value=c><?php echo _("copy") ?></option> </select> to *************** *** 216,223 **** </table> </td> ! <td align=center valign=top><input type=image src="images/saveas.gif" border=0 name=create alt="save new"></td> </tr> <tr> ! <td colspan=8>* Selecting "Custom" allows you to enter your own Regular Expression (ie: you use wildcard characters such as *)</td> </tr> </form> --- 217,225 ---- </table> </td> ! <td align=center valign=top> ! <input type=image src="images/saveas.gif" border=0 name=create alt="<?php echo _("save new") ?>"></td> </tr> <tr> ! <td colspan=8>* <?php echo _("Selecting \"Custom\" allows you to enter your own Regular Expression (ie: you use wildcard characters such as") ?> *)</td> </tr> </form> *************** *** 233,238 **** ._("if message is marked as").' <b>'._("SPAM").'</b> '._("then") .' <select name=action>' ! .'<option value=m>move</option>' ! .'<option value=c>copy</option>' .'</select>' .' '._("to").'</td><td><table border=0 cellpadding=0 cellspacing=0>' --- 235,240 ---- ._("if message is marked as").' <b>'._("SPAM").'</b> '._("then") .' <select name=action>' ! .'<option value=m>'._("move").'</option>' ! .'<option value=c>'._("copy").'</option>' .'</select>' .' '._("to").'</td><td><table border=0 cellpadding=0 cellspacing=0>' *************** *** 243,247 **** .'<td><input type=text name=add_string></td>' .'</tr></table></td>' ! .'<td colspan=4 align=center valign=top><input type=image src="images/saveas.gif" border=0 name=create alt="save new"></td></tr>' .'</form>'; } --- 245,250 ---- .'<td><input type=text name=add_string></td>' .'</tr></table></td>' ! .'<td colspan=4 align=center valign=top>' ! .'<input type=image src="images/saveas.gif" border=0 name=create alt="'._("save new").'"></td></tr>' .'</form>'; } *************** *** 274,278 **** ?> </table> ! <p><b><?php echo _("Notice:") . "</b> " . _("Use of these filters may prevent the reading of mail in non-IMAP mail clients.") ?> </td></tr> </table> --- 277,287 ---- ?> </table> ! <p><b> ! <?php ! echo _("Notice:") . "</b> " . _("Use of these filters may prevent the reading of mail in non-IMAP mail clients."); ! ! bindtextdomain('squirrelmail', SM_PATH . 'locale'); ! textdomain('squirrelmail'); ! ?> </td></tr> </table> Index: setup.php =================================================================== RCS file: /cvsroot/serverfilters/setup.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** setup.php 22 Feb 2004 21:20:17 -0000 1.2 --- setup.php 1 Mar 2004 06:26:42 -0000 1.3 *************** *** 18,21 **** --- 18,28 ---- global $optpage_blocks; + if (defined("SM_PATH")) { + bindtextdomain ('serversidefilter', SM_PATH . 'locale'); + } else { + bindtextdomain ('serversidefilter', '../locale'); + } + textdomain ('serversidefilter'); + $optpage_blocks[] = array( *************** *** 24,32 **** 'desc' => _("Here you may set up server-side filters on all of your incoming mail."), 'js' => FALSE); } function serversidefilter_version() { ! return '1.40beta1'; } --- 31,46 ---- 'desc' => _("Here you may set up server-side filters on all of your incoming mail."), 'js' => FALSE); + + if (defined("SM_PATH")) { + bindtextdomain('squirrelmail', SM_PATH . 'locale'); + } else { + bindtextdomain ('squirrelmail', '../locale'); + } + textdomain('squirrelmail'); } function serversidefilter_version() { ! return '1.40'; } |