From d41c4aa2176be7cd8131430a4fe61bcea1887916 Mon Sep 17 00:00:00 2001 From: tokul Date: Tue, 15 Aug 2006 13:57:27 +0000 Subject: [PATCH] updated google translate form. * eight additional language pairs * fixed form field order git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11588 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- plugins/translate/functions.php | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/plugins/translate/functions.php b/plugins/translate/functions.php index cc649dcf..0d22c64c 100644 --- a/plugins/translate/functions.php +++ b/plugins/translate/functions.php @@ -284,7 +284,7 @@ function translate_showtrad() { 'http://www.dictionary.com/translate' ); if ($translate_google_enabled) translate_showtrad_internal( 'Google Translate', _("No known limits, powered by Systran"). - '
'.sprintf(_("Number of supported language pairs: %s"),'12').' ' , + '
'.sprintf(_("Number of supported language pairs: %s"),'20').' ' , 'http://www.google.com/translate' ); if ($translate_gpltrans_enabled && $translate_gpltrans_url!='') translate_showtrad_internal( 'GPLTrans', _("No known limits, powered by GPLTrans (free, open source)"). @@ -909,10 +909,7 @@ function translate_form_promt($message) { */ function translate_form_google($message) { translate_new_form('http://www.google.com/translate_t','utf-8'); - echo '' . - '' . - '' . - ''; + echo ''; echo ''. - 'Google: '; + '' . + '' . + '' . + 'Google: '; translate_table_end(); } -- 2.25.1