Autocorrect

laurent Montel montel at kde.org
Fri Sep 14 15:44:08 BST 2012


Le vendredi 14 septembre 2012 15:24:15 Yuri Chornoivan a écrit :
> написане Fri, 14 Sep 2012 14:18:51 +0300, laurent Montel <montel at kde.org>:
> 
> > Hi,
> > Sorry for cross-posting.
> >
> > In kmail (4.10) I implemented auto-correction for kmcomposer. So now we  
> > can autocorrect text when we wrote as in calligraword for example.
> >
> > There is a autocorrect.xml file in each language.
> >
> > And I looked at in fr directory and there is the same file in  
> > l10n/fr/data/calligra/autocorrect and l10n/fr/data/koffice/autocorrect
> > So it’s already duplicated.
> >
> > Now I would like to use the same file.
> >
> > So I would like that we move this file in  
> > l10n/fr/data/kdelibs/autocorrect and install it in  
> > <kdedir>/share/apps/autocorrect/<language> for example.
> >
> > Same for other language :)
> >
> > What do you think about it ?
> >
> >
> > I don’t want to download all l10n :)
> >
> > I can create a patch for calligra/koffice if necessary to fix path for  
> > the future (and keep compatibility)
> >
> >
> > Regards:
> >
> > PS: I looked at calligra code and fixed some code, because there is a  
> > lot of bugs into and it’s not totally implemented...
> >
> 
> Hi,
> 
> Just two questions:
> 
> 1. The previous naming scheme was <language>_<locale>.xml with  
> installation into ${DATA_INSTALL_DIR}/calligra/autocorrect [1]. How to  
> adopt CMakeLists.txt to the new location (if it's needed)?

Just install into ${DATA_INSTALL_DIR}/autocorrect/<language>_<locale>.xml no ?
For me it’s good no ?

> 2. Will this change be ported into stable (should we change the names and  
> CMakeLists.txt in stable branch)?

For 4.10 not for 4.9.x.
I created code for 4.10

> 
> Thanks in advance for your answers.
> 
> Best regards,
> Yuri
> 
> [1] http://lists.kde.org/?l=calligra-devel&m=133208596016809&w=2
-- 
Laurent Montel | laurent.montel at kdab.com | KDE/Qt Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-independent software solutions



More information about the calligra-devel mailing list