Grammalecte  Check-in [e62980249b]

Overview
Comment:[lo] replace Hunspell by Graphspell + update locales list
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | lo
Files: files | file ages | folders
SHA3-256: e62980249b3ad094ee0155f2320bfea4b32fac9726db1072291f8cf942b874b2
User & Date: olr on 2018-04-04 16:13:59
Other Links: manifest | tags
Context
2018-04-05
21:20
[lo] change menu order check-in: 4706c41cb7 user: olr tags: trunk, lo
2018-04-04
16:13
[lo] replace Hunspell by Graphspell + update locales list check-in: e62980249b user: olr tags: trunk, lo
15:31
[lo] use LibreOffice API to implement a spellchecker check-in: a25b510c2c user: olr tags: trunk, lo
Changes

Modified gc_core/py/oxt/Linguistic.xcu from [ff91c8d07f] to [feb1fc78c5].

1
2
3
4
5
6
7
8
9
10





11
12
13
14
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19










+
+
+
+
+




<?xml version="1.0" encoding="UTF-8"?>
<oor:component-data oor:name="Linguistic"
        oor:package="org.openoffice.Office" xmlns:oor="http://openoffice.org/2001/registry"
        xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <node oor:name="ServiceManager">
        <node oor:name="GrammarCheckers">
            <node oor:name="org.openoffice.comp.pyuno.Lightproof.${implname}" oor:op="fuse">
                <prop oor:name="Locales" oor:type="oor:string-list">
                    <value>${locales}</value>
                </prop>
            </node>
            <node oor:name="net.grammalecte.graphspell" oor:op="fuse">
                <prop oor:name="Locales" oor:type="oor:string-list">
                    <value>${locales}</value>
                </prop>
            </node>
        </node>
    </node>
</oor:component-data>

Modified gc_core/py/oxt/manifest.xml from [a65b8c3dc8] to [e8c5375688].

12
13
14
15
16
17
18




19
20
21
22
23
24
25
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29







+
+
+
+







        <manifest:file-entry manifest:media-type="application/vnd.sun.star.uno-component;type=Python"
                manifest:full-path="Grammalecte.py"/>
        <manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data"
                manifest:full-path="Linguistic.xcu"/>
        <manifest:file-entry manifest:media-type="application/vnd.sun.star.package-bundle-description"
                manifest:full-path="package-description.txt"/>

        <!-- Graphspell -->
        <manifest:file-entry manifest:media-type="application/vnd.sun.star.uno-component;type=Python"
                manifest:full-path="Graphspell.py"/>

        <!-- Application laucher -->
        <manifest:file-entry manifest:media-type="application/vnd.sun.star.uno-component;type=Python"
                manifest:full-path="AppLauncher.py"/>

        <!-- Context Menu -->
        <manifest:file-entry manifest:media-type="application/vnd.sun.star.uno-component;type=Python"
                manifest:full-path="ContextMenu.py"/>

Modified gc_lang/fr/config.ini from [cadd2f7e22] to [e9cc346772].

1
2
3
4

5
6
7
8
9
10
11
1
2
3

4
5
6
7
8
9
10
11



-
+







[args]
lang = fr
lang_name = French
locales = fr_FR fr_BE fr_CA fr_CH fr_LU fr_MC fr_BF fr_CI fr_SN fr_ML fr_NE fr_TG fr_BJ
locales = fr_FR fr_BE fr_CA fr_CH fr_LU fr_BF fr_BJ fr_CD fr_CI fr_CM fr_MA fr_ML fr_MU fr_NE fr_RE fr_SN fr_TG 
country_default = FR
name = Grammalecte
implname = grammalecte
# always use 3 numbers for version: x.y.z
version = 0.6.3
author = Olivier R.
provider = Dicollecte
75
76
77
78
79
80
81


82
83
84
85
86
87
88
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90







+
+







oxt/_img/logo120_text.png = img/logo120_text.png
oxt/_img/LaMouette_small.png = img/LaMouette_small.png
oxt/_img/Algoo_logo.png = img/Algoo_logo.png
oxt/_img/grammalecte_16.bmp = img/grammalecte_16.bmp
oxt/_img/french_flag_16.bmp = img/french_flag_16.bmp
# AppLauncher
oxt/AppLauncher.py = AppLauncher.py
# Graphspell
oxt/Graphspell.py = Graphspell.py
# About
oxt/About/About.py = pythonpath/About.py
oxt/About/ab_strings.py = pythonpath/ab_strings.py
# Dictionaries
oxt/Dictionnaires/dictionaries = dictionaries
oxt/Dictionnaires/dictionaries.xcu = dictionaries.xcu
oxt/Dictionnaires/DictionarySwitcher.py = pythonpath/DictionarySwitcher.py

Modified gc_lang/fr/oxt/Dictionnaires/dictionaries.xcu from [fb466201bf] to [364c96ad52].

1
2
3
4
5
6
7
8
9
10
11
12

13

14
15
16
17
18
19
20
21
22
23
24
25
26

27
28
29
30
31
32
33
34
35
36
37

38
39
40
41
42
1
2
3
4
5
6
7
8
9
10
11
12
13

14
15
16
17
18
19
20
21
22
23
24
25
26

27
28
29
30
31
32
33
34
35
36
37

38
39
40
41
42
43












+
-
+












-
+










-
+





<?xml version="1.0" encoding="UTF-8"?>
<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Linguistic" oor:package="org.openoffice.Office">
 <node oor:name="ServiceManager">
    <node oor:name="Dictionaries">
        <node oor:name="HunSpellDic_fr" oor:op="fuse">
            <prop oor:name="Locations" oor:type="oor:string-list">
                <value>%origin%/dictionaries/fr-classique.aff %origin%/dictionaries/fr-classique.dic</value>
            </prop>
            <prop oor:name="Format" oor:type="xs:string">
                <value>DICT_SPELL</value>
            </prop>
            <prop oor:name="Locales" oor:type="oor:string-list">
                <value>fr-MC</value>
                <value>fr-FR fr-BE fr-CA fr-CH fr-LU fr-MC fr-BF fr-CI fr-SN fr-ML fr-NE fr-TG fr-BJ</value>
                <!-- <value>fr-FR fr-BE fr-CA fr-CH fr-LU fr-MC fr-BF fr-BJ fr-CD fr-CI fr-CM fr-MA fr-ML fr-MU fr-NE fr-RE fr-SN fr-TG</value> -->
                <!-- France, Belgique, Canada, Suisse, Luxembourg, Monaco -->
                <!-- Burkina Faso, Côte d’Ivoire, Sénégal, Mali, Niger, Togo, Benin -->
            </prop>
        </node>
        <node oor:name="HyphDic_fr" oor:op="fuse">
            <prop oor:name="Locations" oor:type="oor:string-list">
                <value>%origin%/dictionaries/hyph_fr.dic</value>
            </prop>
            <prop oor:name="Format" oor:type="xs:string">
                <value>DICT_HYPH</value>
            </prop>
            <prop oor:name="Locales" oor:type="oor:string-list">
                <value>fr-FR fr-BE fr-CA fr-CH fr-LU fr-MC fr-BF fr-CI fr-SN fr-ML fr-NE fr-TG fr-BJ</value>
                <value>fr-FR fr-BE fr-CA fr-CH fr-LU fr-MC fr-BF fr-BJ fr-CD fr-CI fr-CM fr-MA fr-ML fr-MU fr-NE fr-RE fr-SN fr-TG</value>
            </prop>
        </node>
        <node oor:name="ThesDic_fr" oor:op="fuse">
            <prop oor:name="Locations" oor:type="oor:string-list">
                <value>%origin%/dictionaries/thes_fr.dat %origin%/dictionaries/thes_fr.idx</value>
            </prop>
            <prop oor:name="Format" oor:type="xs:string">
                <value>DICT_THES</value>
            </prop>
            <prop oor:name="Locales" oor:type="oor:string-list">
                <value>fr-FR fr-BE fr-CA fr-CH fr-LU fr-MC fr-BF fr-CI fr-SN fr-ML fr-NE fr-TG fr-BJ</value>
                <value>fr-FR fr-BE fr-CA fr-CH fr-LU fr-MC fr-BF fr-BJ fr-CD fr-CI fr-CM fr-MA fr-ML fr-MU fr-NE fr-RE fr-SN fr-TG</value>
            </prop>
        </node>
    </node>
 </node>  
</oor:component-data>

Name change from gc_lang/fr/oxt/Graphspell/Graphspell.py to gc_lang/fr/oxt/Graphspell.py.