Kannada: add missing integration files

Without these files the dictionary would not appear in LibreOffice
and would not be used.
Without modifying Module_dictionaries.mk the dictionary would not be
even built.

Change-Id: Ib704f26a8baeba2290f07ef311d6b648a76e99f6
Reviewed-on: https://gerrit.libreoffice.org/c/dictionaries/+/185128
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
This commit is contained in:
Andras Timar
2025-05-10 12:58:21 +02:00
parent 390b7976f0
commit 5be6599599
5 changed files with 47 additions and 1 deletions

View File

@ -13,7 +13,6 @@ $(eval $(call gb_Dictionary_add_root_files,dict-kn,\
dictionaries/kn_IN/kn_IN.aff \
dictionaries/kn_IN/kn_IN.dic \
dictionaries/kn_IN/hyph_kn_IN.dic \
))
# vim: set noet sw=4 ts=4:

View File

@ -50,6 +50,7 @@ $(eval $(call gb_Module_add_l10n_targets,dictionaries,\
Dictionary_is \
$(if $(and $(MPL_SUBSET), $(filter-out LINUX,$(OS))),,Dictionary_it) \
Dictionary_kmr-Latn \
Dictionary_kn \
Dictionary_ko-KR \
Dictionary_lo \
Dictionary_lt \

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE manifest:manifest PUBLIC "-//OpenOffice.org//DTD Manifest 1.0//EN" "Manifest.dtd">
<manifest:manifest xmlns:manifest="http://openoffice.org/2001/manifest">
<manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data" manifest:full-path="dictionaries.xcu"/>
</manifest:manifest>

12
kn_IN/description.xml Normal file
View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<description xmlns="http://openoffice.org/extensions/description/2006" xmlns:d="http://openoffice.org/extensions/description/2006" xmlns:xlink="http://www.w3.org/1999/xlink">
<version value="2025.05.10" />
<identifier value="org.libreoffice.kannada.hunspell.dictionaries" />
<display-name>
<name lang="en-US">Kannada spelling dictionary, and hyphenation rules</name>
</display-name>
<platform value="all" />
<dependencies>
<OpenOffice.org-minimal-version value="3.0" d:name="OpenOffice.org 3.0" />
</dependencies>
</description>

29
kn_IN/dictionaries.xcu Normal file
View File

@ -0,0 +1,29 @@
<?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_kn_IN" oor:op="fuse">
<prop oor:name="Locations" oor:type="oor:string-list">
<value>%origin%/kn_IN.aff %origin%/kn_IN.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>kn-IN</value>
</prop>
</node>
<node oor:name="HyphDic_kn_IN" oor:op="fuse">
<prop oor:name="Locations" oor:type="oor:string-list">
<value>%origin%/hyph_kn_IN.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>kn-IN</value>
</prop>
</node>
</node>
</node>
</oor:component-data>