Added rest of translation pairs of systran.otenet.gr, besides greek pairs.
authoravel <avel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 23 Oct 2003 13:43:58 +0000 (13:43 +0000)
committeravel <avel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 23 Oct 2003 13:43:58 +0000 (13:43 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@6008 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/translate/options.php
plugins/translate/setup.php

index a90bf6c..6977c26 100644 (file)
@@ -125,7 +125,7 @@ require_once(SM_PATH . 'include/load_prefs.php');
               'http://www.translator.cx/' );
     ShowTrad( 'OTEnet',
               _("Hellenic translations, no known limits, powered by Systran").
-             "<br>".sprintf(_("Number of supported language pairs: %s"),"4")." " ,
+             "<br>".sprintf(_("Number of supported language pairs: %s"),"20")." " ,
               'http://systran.otenet.gr/' );
     ShowTrad( 'PROMT',
               _("Russian translations, maximum of 500 characters translated").
index de12966..9aefc85 100644 (file)
@@ -550,6 +550,71 @@ function translate_form_otenet($message) {
             translate_lang_opt('el',  'fr',  'el_fr',
                                 sprintf( _("%s to %s"),
                                          _("Greek"),
+                                         _("French"))) .
+            translate_lang_opt('#',  '',  '', "----------------") .
+            translate_lang_opt('en',  'fr',  'en_fr',
+                                sprintf( _("%s to %s"),
+                                         _("English"),
+                                         _("French"))) .
+            translate_lang_opt('fr',  'en',  'fr_en',
+                                sprintf( _("%s to %s"),
+                                         _("French"),
+                                         _("English"))) .
+            translate_lang_opt('en',  'de',  'en_de',
+                                sprintf( _("%s to %s"),
+                                         _("English"),
+                                         _("German"))) .
+            translate_lang_opt('de',  'en',  'de_en',
+                                sprintf( _("%s to %s"),
+                                         _("German"),
+                                         _("English"))) .
+            translate_lang_opt('en',  'es',  'en_es',
+                                sprintf( _("%s to %s"),
+                                         _("English"),
+                                         _("Spanish"))) .
+            translate_lang_opt('es',  'en',  'es_en',
+                                sprintf( _("%s to %s"),
+                                         _("Spanish"),
+                                         _("English"))) .
+            translate_lang_opt('en',  'it',  'en_it',
+                                sprintf( _("%s to %s"),
+                                         _("English"),
+                                         _("Italian"))) .
+            translate_lang_opt('it',  'en',  'it_en',
+                                sprintf( _("%s to %s"),
+                                         _("Italian"),
+                                         _("English"))) .
+            translate_lang_opt('en',  'pt',  'en_pt',
+                                sprintf( _("%s to %s"),
+                                         _("English"),
+                                         _("Portuguese"))) .
+            translate_lang_opt('pt',  'en',  'pt_en',
+                                sprintf( _("%s to %s"),
+                                         _("Portuguese"),
+                                         _("English"))) .
+            translate_lang_opt('fr',  'de',  'fr_de',
+                                sprintf( _("%s to %s"),
+                                         _("French"),
+                                         _("German"))) .
+            translate_lang_opt('de',  'fr',  'de_fr',
+                                sprintf( _("%s to %s"),
+                                         _("German"),
+                                         _("French"))) .
+            translate_lang_opt('fr',  'es',  'fr_es',
+                                sprintf( _("%s to %s"),
+                                         _("French"),
+                                         _("Spanish"))) .
+            translate_lang_opt('es',  'fr',  'es_fr',
+                                sprintf( _("%s to %s"),
+                                         _("Spanish"),
+                                         _("French"))) .
+            translate_lang_opt('fr',  'nl',  'fr_nl',
+                                sprintf( _("%s to %s"),
+                                         _("French"),
+                                         _("Dutch"))) .
+            translate_lang_opt('nl',  'fr',  'nl_fr',
+                                sprintf( _("%s to %s"),
+                                         _("Dutch"),
                                          _("French"))) ;
     echo '</select>'.
          'OTEnet: <input type="Submit" value="' . _("Translate") . '">';