[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdeaddons/konq-plugins/babelfish
From: Jonathan Riddell <jr () jriddell ! org>
Date: 2005-01-17 22:13:26
Message-ID: 20050117221326.85B3E1BBD6 () office ! kde ! org
[Download RAW message or body]
CVS commit by jriddell:
Remove English->Arabic, service is now subscription only
M +1 -16 plugin_babelfish.cpp 1.22
M +0 -1 translaterc 1.2
--- kdeaddons/konq-plugins/babelfish/plugin_babelfish.cpp #1.21:1.22
@@ -60,7 +60,4 @@ PluginBabelFish::PluginBabelFish( QObjec
actionCollection(), "translatewebpage_nl" );
- m_en->insert( new KAction( i18n("&Arabic"), 0,
- this, SLOT(translateURL()),
- actionCollection(), "en_ar") );
m_en->insert( new KAction( i18n("&Chinese (Simplified)"), 0,
this, SLOT(translateURL()),
@@ -264,17 +261,5 @@ void PluginBabelFish::translateURL()
KURL result;
QString query;
- if( engine == "almisbar" )
- {
- // Provides only English to Arabic translations.
- if ( part->hasSelection() )
- {
- result = KURL( "http://www.almisbar.com/scripts/ata/txttrs.dll" );
- query = "lang=eng&text=";
- } else {
- result = KURL( "http://www.almisbar.com/scripts/ata/urltrs.dll" );
- query = "lang=eng&atatheme=0&options=abbr&options=translit&urlTarget=";
- }
- query += totrans;
- } else if( engine == "freetranslation" ) {
+ if( engine == "freetranslation" ) {
query = "sequence=core&Submit=FREE Translation&language=";
if( sender()->name() == QString( "en_es" ) )
--- kdeaddons/konq-plugins/babelfish/translaterc #1.1:1.2
@@ -1,3 +1,2 @@
-en_ar=almisbar
en_nl=freetranslation
en_no=freetranslation
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic