projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Obsolete array.php
[squirrelmail.git]
/
plugins
/
translate
/
setup.php
diff --git
a/plugins/translate/setup.php
b/plugins/translate/setup.php
index 1aa616afc3c48bbc5d9558cb20d0cd7c68f6e16a..c01cebcae2c3e92ab5f758786134e75ea54a2aa5 100644
(file)
--- a/
plugins/translate/setup.php
+++ b/
plugins/translate/setup.php
@@
-60,8
+60,8
@@
function translate_read_form() {
if (is_int($pos)) {
$new_body = substr($new_body, 0, $pos);
}
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);
$trans[' '] = ' ';
$trans = array_flip($trans);
$new_body = strtr($new_body, $trans);
@@
-481,7
+481,7
@@
function translate_form_dictionary($message) {
sprintf( _("%s to %s"),
_("Spanish"),
_("English"))) .
sprintf( _("%s to %s"),
_("Spanish"),
_("English"))) .
- '<
\
SELECT>'.
+ '<
/
SELECT>'.
'Dictionary.com: <INPUT TYPE="submit" VALUE="'._("Translate").'">';
translate_table_end();
'Dictionary.com: <INPUT TYPE="submit" VALUE="'._("Translate").'">';
translate_table_end();