Bug 234225

Summary: Plugin does not remember settings upon hitting ok
Product: [Unmaintained] kopete Reporter: Adam Jimerson <vendion>
Component: Translator PluginAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Adam Jimerson 2010-04-13 05:01:57 UTC
Version:           1.0.0 (using 4.4.2 (KDE 4.4.2), Arch Linux)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.33-ARCH

When I try to configure the Translate plugin and re-enter the configuration dialog for it all the settings get replaced with the default values.  So If I were to enter the following into it:

Default native language: English
Translation Service: Google

Incoming Messages: Translate directly

Outgoing Messages: Show Dialog before sending

then hit ok, then go back in I see this

Default native language: German
Translation Service: Babelfish

Incoming Messages: Do not transalte

Outgoing Messages: Do not translate

Could it be the "OK" and "Cancel" buttons are backwards?  (sorry for the bad joke)
Comment 1 Raphael Kubo da Costa 2010-07-04 18:59:40 UTC
SVN commit 1145937 by rkcosta:

Revamp the translator plugin.

From the original description:

"This patch makes translator plugin for kopete work again; it adds support for different language lists for different services; it adds up-to-date info about languages and supported translations (for google and for babelfish); it also ports KCM of this plugin to KConfigXT."

Patch from Igor Poboiko, thanks a lot!

BUG: 164870
BUG: 167503
BUG: 168026
BUG: 213133
BUG: 230686
BUG: 234225
CCMAIL: igor.poboiko@gmail.com


 M  +6 -0      CMakeLists.txt  
 A             translatorconfig.kcfg  
 A             translatorconfig.kcfgc  
 M  +125 -33   translatorlanguages.cpp  
 M  +16 -16    translatorlanguages.h  
 M  +60 -67    translatorplugin.cpp  
 M  +2 -4      translatorplugin.h  
 M  +82 -27    translatorpreferences.cpp  
 A             translatorpreferences.h   [License: GPL (v2+)]
 M  +9 -9      translatorprefsbase.ui  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1145937