| 1 | <?php |
| 2 | /** |
| 3 | * Default SquirrelMail translate plugin configuration |
| 4 | * |
| 5 | * Copyright (c) 2004-2005 The SquirrelMail Project Team |
| 6 | * Licensed under the GNU GPL. For full terms see the file COPYING. |
| 7 | * |
| 8 | * @version $Id$ |
| 9 | * @package plugins |
| 10 | * @subpackage translate |
| 11 | */ |
| 12 | |
| 13 | /** |
| 14 | * Default translation engine |
| 15 | * @global string $translate_default_engine |
| 16 | */ |
| 17 | global $translate_default_engine; |
| 18 | $translate_default_engine='babelfish'; |
| 19 | |
| 20 | /** |
| 21 | * Babelfish translation engine controls |
| 22 | * @global boolean $translate_babelfish_enabled |
| 23 | */ |
| 24 | global $translate_babelfish_enabled; |
| 25 | $translate_babelfish_enabled=true; |
| 26 | |
| 27 | /** |
| 28 | * Go.com translation engine controls |
| 29 | * |
| 30 | * Translation is no longer available |
| 31 | * @global boolean $translate_go_enabled |
| 32 | */ |
| 33 | global $translate_go_enabled; |
| 34 | $translate_go_enabled=false; |
| 35 | |
| 36 | /** |
| 37 | * Dictionary.com translation engine controls |
| 38 | * @global boolean $translate_dictionary_enabled |
| 39 | */ |
| 40 | global $translate_dictionary_enabled; |
| 41 | $translate_dictionary_enabled=true; |
| 42 | |
| 43 | /** |
| 44 | * Google translation engine controls |
| 45 | * @global boolean $translate_google_enabled |
| 46 | */ |
| 47 | global $translate_google_enabled; |
| 48 | $translate_google_enabled=true; |
| 49 | |
| 50 | /** |
| 51 | * Intertran translation engine controls |
| 52 | * @global boolean $translate_intertran_enabled |
| 53 | */ |
| 54 | global $translate_intertran_enabled; |
| 55 | $translate_intertran_enabled=true; |
| 56 | |
| 57 | /** |
| 58 | * Promt translation engine controls |
| 59 | * @global boolean $translate_promt_enabled |
| 60 | */ |
| 61 | global $translate_promt_enabled; |
| 62 | $translate_promt_enabled=true; |
| 63 | |
| 64 | /** |
| 65 | * Otenet translation engine controls |
| 66 | * @global boolean $translate_otenet_enabled |
| 67 | */ |
| 68 | global $translate_otenet_enabled; |
| 69 | $translate_otenet_enabled=true; |
| 70 | |
| 71 | /** |
| 72 | * Gpltrans translation engine controls |
| 73 | * @global boolean $translate_gpltrans_enabled |
| 74 | */ |
| 75 | global $translate_gpltrans_enabled; |
| 76 | $translate_gpltrans_enabled=true; |
| 77 | |
| 78 | /** |
| 79 | * Sets URL to custom GPLTrans server CGI. |
| 80 | * |
| 81 | * Original URL (http://www.translator.cx/cgi-bin/gplTrans) |
| 82 | * is no longer valid. If string is empty, GPLTrans is disabled |
| 83 | * regardless of $translate_gpltrans_enabled setting. |
| 84 | * @global string $translate_gpltrans_url |
| 85 | */ |
| 86 | global $translate_gpltrans_url; |
| 87 | $translate_gpltrans_url=''; |
| 88 | |
| 89 | /** |
| 90 | * Translation in compose controls |
| 91 | * |
| 92 | * Currently unimplemened and disabled |
| 93 | * @global boolean $disable_compose_translate |
| 94 | */ |
| 95 | global $disable_compose_translate; |
| 96 | $disable_compose_translate=true; |
| 97 | |
| 98 | /** Custom translation engine setup */ |
| 99 | |
| 100 | /** |
| 101 | * Controls inclusion of custom translation engine. |
| 102 | * |
| 103 | * If you enable custom translation engines, you must include |
| 104 | * translate_form_custom(), translate_custom_showtrad() and |
| 105 | * $translate_custom_showoption() functions in your config. |
| 106 | * @example plugins/translate/config_sample.php |
| 107 | * @global bool $translate_custom_enabled |
| 108 | */ |
| 109 | global $translate_custom_enabled; |
| 110 | $translate_custom_enabled=false; |
| 111 | ?> |