summaryrefslogtreecommitdiff
path: root/hu_HU
diff options
context:
space:
mode:
Diffstat (limited to 'hu_HU')
-rw-r--r--hu_HU/Lightproof.components18
-rw-r--r--hu_HU/Lightproof.py4
-rw-r--r--hu_HU/META-INF/manifest.xml4
3 files changed, 22 insertions, 4 deletions
diff --git a/hu_HU/Lightproof.components b/hu_HU/Lightproof.components
new file mode 100644
index 0000000..7af6868
--- /dev/null
+++ b/hu_HU/Lightproof.components
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+-->
+<components xmlns="http://openoffice.org/2010/uno-components">
+ <component loader="com.sun.star.loader.Python" uri="./Lightproof.py">
+ <implementation name="org.libreoffice.comp.pyuno.Lightproof.hu_HU">
+ <service name="com.sun.star.linguistic2.Proofreader"/>
+ </implementation>
+ <implementation
+ name="org.libreoffice.comp.pyuno.LightproofOptionsEventHandler.hu_HU"/>
+ </component>
+</components>
diff --git a/hu_HU/Lightproof.py b/hu_HU/Lightproof.py
index 45368ee..74af535 100644
--- a/hu_HU/Lightproof.py
+++ b/hu_HU/Lightproof.py
@@ -148,8 +148,8 @@ class Lightproof( unohelper.Base, XProofreader, XServiceInfo, XServiceName, XSer
g_ImplementationHelper = unohelper.ImplementationHelper()
g_ImplementationHelper.addImplementation( Lightproof, \
"org.libreoffice.comp.pyuno.Lightproof." + pkg,
- ("com.sun.star.linguistic2.Proofreader",),)
+ ("com.sun.star.linguistic2.Proofreader",))
g_ImplementationHelper.addImplementation( lightproof_handler_hu_HU.LightproofOptionsEventHandler, \
"org.libreoffice.comp.pyuno.LightproofOptionsEventHandler." + pkg,
- ("com.sun.star.awt.XContainerWindowEventHandler",),)
+ ())
diff --git a/hu_HU/META-INF/manifest.xml b/hu_HU/META-INF/manifest.xml
index a9ff14b..87487ed 100644
--- a/hu_HU/META-INF/manifest.xml
+++ b/hu_HU/META-INF/manifest.xml
@@ -7,8 +7,8 @@
manifest:media-type="application/vnd.sun.star.configuration-schema" />
<manifest:file-entry manifest:full-path="dialog/OptionsDialog.xcu"
manifest:media-type="application/vnd.sun.star.configuration-data" />
- <manifest:file-entry manifest:media-type="application/vnd.sun.star.uno-component;type=Python"
- manifest:full-path="Lightproof.py"/>
+ <manifest:file-entry manifest:media-type="application/vnd.sun.star.uno-components"
+ manifest:full-path="Lightproof.components"/>
<manifest:file-entry
manifest:media-type="application/vnd.sun.star.configuration-data"
manifest:full-path="Linguistic.xcu" />