X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Ftranslate%2Fsetup.php;h=281f53b71acc3dd04d8620f23b3eaf21cb6a15ec;hp=1aa616afc3c48bbc5d9558cb20d0cd7c68f6e16a;hb=5cfb96b98ed18661a6ee0b9e6841b9a99b3a775c;hpb=15e6162eacc97158393bc75aed3afeb7b19c24a6
diff --git a/plugins/translate/setup.php b/plugins/translate/setup.php
index 1aa616af..281f53b7 100644
--- a/plugins/translate/setup.php
+++ b/plugins/translate/setup.php
@@ -3,7 +3,7 @@
/**
* setup.php
*
- * Copyright (c) 1999-2002 The SquirrelMail Project Team
+ * Copyright (c) 1999-2003 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* $Id$
@@ -56,12 +56,12 @@ function translate_read_form() {
$new_body = $body;
$pos = strpos($new_body,
- '">Download this as a file
');
+ '">'. _("Download this as a file") . '
');
if (is_int($pos)) {
$new_body = substr($new_body, 0, $pos);
}
-
- $trans = get_html_translation_table('HTMLENTITIES');
+
+ $trans = get_html_translation_table(HTML_ENTITIES);
$trans[' '] = ' ';
$trans = array_flip($trans);
$new_body = strtr($new_body, $trans);
@@ -369,6 +369,7 @@ function translate_form_intertran($message) {
translate_lang_opt('', '', 'slo', _("Slovenian") . ' (CP 1250)').
translate_lang_opt('es', '', 'spa', _("Spanish")).
translate_lang_opt('sv', '', 'swe', _("Swedish")).
+ translate_lang_opt('', '', 'tur', _("Turkish") . ' (CP 1254)').
translate_lang_opt('', '', 'wel', _("Welsh")).
'';
@@ -399,6 +400,7 @@ function translate_form_intertran($message) {
translate_lang_opt('', '', 'slo', _("Slovenian") . ' (CP 1250)').
translate_lang_opt('', 'es', 'spa', _("Spanish")).
translate_lang_opt('', 'sv', 'swe', _("Swedish")).
+ translate_lang_opt('', '', 'tur', _("Turkish") . ' (CP 1254)').
translate_lang_opt('', '', 'wel', _("Welsh")).
'';
printf( _("%s to %s"), $left, $right );
@@ -481,7 +483,7 @@ function translate_form_dictionary($message) {
sprintf( _("%s to %s"),
_("Spanish"),
_("English"))) .
- '<\SELECT>'.
+ ''.
'Dictionary.com: ';
translate_table_end();