[kmail2] [Bug 320074] New: KMail uses a wrong autocorrection filename

André Marcelo Alvarenga alvarenga at kde.org
Tue May 21 05:02:10 BST 2013


https://bugs.kde.org/show_bug.cgi?id=320074

            Bug ID: 320074
           Summary: KMail uses a wrong autocorrection filename
    Classification: Unclassified
           Product: kmail2
           Version: 4.10.2
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdepim-bugs at kde.org
          Reporter: alvarenga at kde.org

I'm using pt_BR language in my system.

I was testing the autocorrection feature in KMail, but when I add any
Find/Replace words using 'Configure KMail->Compositor->Autocorrection->Advanced
Autocorrection', the program save a custom-pt.xml file in 
/home/user/.kde/share/apps/autocorrect/ folder. This is not correct, since I'm
using pt_BR language (should be custom-pt_BR.xml)

In Advanced Autocorrection tab there is the option: "Replacement and exception
for language:" set as "Brazilian Portuguese".

Works if I change the language and return to "Brazilian Portuguese" again.


More tests:

I put two different files in /usr/share/kde4/apps/autocorrect (pt.xml and
pt_BR.xml).
KMail is using pt.xml instead of pt_BR.xml, but works if I change the language
and return to "Brazilian Portuguese" again.

Reproducible: Always

Steps to Reproduce:
1. Set language to pt_BR
2. Run KMail and open "Configurações->Configurar o KMail..." 
3. Choose "Compositor" and "Correção automática" tab
3. Choose "Correção automática avançada" tab
4. Enable "Habilitar substituição de palavras" option
5. Type any words in "Localizar" and "Substituir" fields
6. Click on "Adicionar" button
7. Click on "Aplicar" or "OK" buttons
8. See the created file in /home/user/.kde/share/apps/autocorrect/ folder.
(custom-pt.xml, instead of custom-pt_BR.xml)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list