Re: Autocorrect

"Yuri Chornoivan" <[email protected]> Fri, 14 Sep 2012 15:24:15 +0300
Newsgroups gmane.comp.kde.devel.internationalization-and-documentation,gmane.comp.kde.devel.koffice,gmane.comp.kde.devel.calligra
Organization S.P. Timoshenko Institute of Mechanics
Message-ID <op.wkmkqptkl2zvei@localhost>
=D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BD=D0=B5 Fri, 14 Sep 2012 14:18:=
51 +0300, laurent Montel <[email protected]>:

> Hi,
> Sorry for cross-posting.
>
> In kmail (4.10) I implemented auto-correction for kmcomposer. So now w=
e  =

> 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=E2=80=99s 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=E2=80=99t 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=E2=80=99s 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)?

2. Will this change be ported into stable (should we change the names an=
d  =

CMakeLists.txt in stable branch)?

Thanks in advance for your answers.

Best regards,
Yuri

[1] http://lists.kde.org/?l=3Dcalligra-devel&m=3D133208596016809&w=3D2