diff -u libtranslate-0.99/debian/changelog libtranslate-0.99/debian/changelog
--- libtranslate-0.99/debian/changelog
+++ libtranslate-0.99/debian/changelog
@@ -1,3 +1,10 @@
+libtranslate (0.99-0ubuntu4.1) hardy-proposed; urgency=low
+
+  * Add debian/patches/05_systran.patch patch, allow use of systran
+    (LP: #230027).
+
+ -- Devid Antonio Filoni <[EMAIL PROTECTED]>  Sun, 07 Sep 2008 13:41:20 +0200
+
 libtranslate (0.99-0ubuntu4) gutsy; urgency=low

   * Add libtranslate-bin to Section: utils (probably wrong)
only in patch2:
unchanged:
--- libtranslate-0.99.orig/debian/patches/05_systran.patch
+++ libtranslate-0.99/debian/patches/05_systran.patch
@@ -0,0 +1,20 @@
+diff -Nur -x '*.orig' -x '*~' libtranslate-0.99/data/services.xml.in 
libtranslate-0.99.new/data/services.xml.in
+--- libtranslate-0.99/data/services.xml.in     2005-01-17 11:54:27.000000000 
-0500
++++ libtranslate-0.99.new/data/services.xml.in 2008-07-03 13:25:05.000000000 
-0400
+@@ -73,13 +73,10 @@
+       <language tag="ru" to="en"/>
+       <language tag="es" to="en,fr"/>
+       <language tag="sv" to="en"/>
+-      <http-header name="Referer" value="http://www.systransoft.com/"/>
+-      <text-translation 
url="http://www.systranbox.com/systran/box?systran_charset=utf-8&amp;ttype=text&amp;systran_text=${text:escape}&amp;systran_lp=${from}_${to}";>
+-      <pre-marker text="&lt;textarea name=&quot;translation&quot;"/>
+-      <pre-marker text="&gt;"/>
+-      <post-marker text="&lt;/textarea&gt;"/>
++      <text-translation 
url="http://www2.systranbox.com/sai?gui=sbox/normal/systran/sboxEN&amp;lp=${from}_${to}&amp;service=translate";
 post="${text}">
+++     <pre-marker text="body=&#10;"/>
+       </text-translation>
+-      <web-page-translation 
url="http://www.systranbox.com/systran/box?systran_id=SystranSoft-en&amp;systran_url=${url:escape}&amp;systran_lp=${from}_${to}&amp;systran_f=${time}"/>
++      <web-page-translation 
url="http://svsurl.systransoft.com/?trans=1&amp;gui=sbox/normal/systran/systranEN&amp;lp=${from}_${to}&amp;loc_lang=en&amp;path=systran/systranEN&amp;frame=1&amp;url=${url:escape}"/>
+     </group>
+   </service>
+

-- 
libtranslate doesn't translate english/italian
https://bugs.launchpad.net/bugs/230027
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to