From 60b628ea9c8cd6d3d059a42b95b11bcf020863ac Mon Sep 17 00:00:00 2001 From: avel Date: Thu, 23 Oct 2003 13:43:58 +0000 Subject: [PATCH] Added rest of translation pairs of systran.otenet.gr, besides greek pairs. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@6008 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- plugins/translate/options.php | 2 +- plugins/translate/setup.php | 65 +++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+), 1 deletion(-) diff --git a/plugins/translate/options.php b/plugins/translate/options.php index a90bf6c5..6977c26c 100644 --- a/plugins/translate/options.php +++ b/plugins/translate/options.php @@ -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"). - "
".sprintf(_("Number of supported language pairs: %s"),"4")." " , + "
".sprintf(_("Number of supported language pairs: %s"),"20")." " , 'http://systran.otenet.gr/' ); ShowTrad( 'PROMT', _("Russian translations, maximum of 500 characters translated"). diff --git a/plugins/translate/setup.php b/plugins/translate/setup.php index de129663..9aefc853 100644 --- a/plugins/translate/setup.php +++ b/plugins/translate/setup.php @@ -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 ''. 'OTEnet: '; -- 2.25.1