A BUGNOTE has been added to this bug.
=======================================================================
http://131.152.105.154/mantis/view_bug_page.php?f_id=0000009
=======================================================================
Reporter: ofels_admin
Handler: davipt
=======================================================================
Project: OPIE
Bug ID: 0000009
Category: Translations
Reproducibility: always
Severity: crash
Priority: high
Status: assigned
=======================================================================
Date Submitted: 06-18-02 12:18 CEST
Last Modified: 06-26-02 15:35 CEST
=======================================================================
Summary: After changing to pt_BR is impossible to go back to
en
Description:
after upgrading opie to the latest build, it started to segfault.
investigating the problem I found that if I deleted everything in /root dir
it would come to live again.
investigating a litle more, I found the following:
when pt_BR is installed, some entries of /root/Settings/qpe.conf gets
translated to portuguese. the most important is
[InputMethod]
current = Teclado
see the problem ? this isn't a problem if all packages are upgraded at
once, since pt_BR will still be installed, but it'll make impossible to
return opie to english without a segfault. this probablly happens because
i18n-en doesn't have the .qm files teaching opie how to translate "Teclado"
back to "Keyboard".
=======================================================================
-----------------------------------------------------------------------
davipt - 06-23-02 03:21 CEST
-----------------------------------------------------------------------
inputMethods should have another method besides ::name to identify the
input and not beeing translated, like:
QString KeyboardImpl::nameKey()
{
//return qApp->translate( "InputMethods", "Keyboard" );
return "Keyboard";
}
and then inputmethods/keyboard/keyboardimpl.cpp should rely on this nameKey
instead of name.
I've patched my code and it works ok
-----------------------------------------------------------------------
davipt - 06-23-02 03:24 CEST
-----------------------------------------------------------------------
sorry, I mean core/launcher/inputmethods.cpp
-----------------------------------------------------------------------
davipt - 06-23-02 03:46 CEST
-----------------------------------------------------------------------
Patch attached. s/nameKey/whatever
-----------------------------------------------------------------------
ofels - 06-26-02 15:20 CEST
-----------------------------------------------------------------------
Is this fixed and in CVS ?
-----------------------------------------------------------------------
ljp - 06-26-02 15:35 CEST
-----------------------------------------------------------------------
if you add virtual methods to that file, you'll break compatibilty.
Received on Wed Jun 26 13:35:08 2002
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:46:21 EDT